From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C82D93909A8 for ; Thu, 25 Jun 2026 09:45:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782380746; cv=none; b=q6aNSYS0TAHTdyt7UrDA9hAlhwMDE6JIoe1fHsq+29sWLNW9Mwz62zwgoyBzL+YafPrx7IEVcKwbqUgr68n7m0cDRAFX3Nen/dw82akPIXZCDLF7wv+gXi2yXmpuqbB2zFgncA+6qLrq4BquYJe3M7Y13mgJ4mFm4JLMVP+au8o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782380746; c=relaxed/simple; bh=2eE8ndM+VorhGmkoC8U2gqQmaXfrwb2NXXc7/U8ZpQI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ewlkooUW5wHAnzpDxzKmgIhm96CRphLhh4DQ2mXis62LLBMUZLICN/d5guLsWkX7iQITS7Oe2VMbOt3hgkz7UmCmNei7jq2P+Kpys6eS6a+TZaBkwsJATOPd3HRT829QzB4cHTWETT7gqatNiwRS7IMrRiSP8yag2TDuyHKVGNU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wqjC8fpW; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="wqjC8fpW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D283A1F000E9; Thu, 25 Jun 2026 09:45:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782380745; bh=bQWO0Z443/vctR/f6ZL2njVOa9NYw188DB5X6THnD00=; h=From:To:Cc:Subject:Date:Reply-To; b=wqjC8fpWY+1JWc7Z3knGMx5zefMeK2fmN5SeZf9BeJ5jA5+4+dFe9aJ4LCKp1NZXv 2mXeofsDDlFT6SY5X0EKZJ46IC2cQGlUnQr5KmT1tXjK9K004t/q/Y/X+8yJVvWZJc nE7D5tYMsnEAjd4/PAotaTyHbuWmdMQP+KF7QAdM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53258: wifi: fix leak if split 6 GHz scanning fails Date: Thu, 25 Jun 2026 09:41:46 +0100 Message-ID: <2026062515-CVE-2026-53258-50dc@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3111; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5nFfmiwv2sM/W4mtQWP0dLCwByYbSstHD3boju8dI8s=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2L/Pv8N2+dpf3w7UC32tf9rNv7u5XS9nFFHhu9SSDy IBypX0fO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiPeoM88t+LNF/bqfr5bQx 8Z/ZM7XuhzZq4QxzOB+clZBjfK/XOlXBWn/ywdWGJ3b/BQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: wifi: fix leak if split 6 GHz scanning fails rdev->int_scan_req is leaked if cfg80211_scan() fails. Note that it's supposed to be released at ___cfg80211_scan_done() but this doesn't happen as rdev->scan_req is NULL at that point, too, leading to the early return from the freeing function. unreferenced object 0xffff8881161d0800 (size 512): comm "wpa_supplicant", pid 379, jiffies 4294749765 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 f0 81 13 16 81 88 ff ff ................ backtrace (crc c867fdb6): kmemleak_alloc+0x89/0x90 __kmalloc_noprof+0x2fd/0x410 cfg80211_scan+0x133/0x730 nl80211_trigger_scan+0xc69/0x1cc0 genl_family_rcv_msg_doit+0x204/0x2f0 genl_rcv_msg+0x431/0x6b0 netlink_rcv_skb+0x143/0x3f0 genl_rcv+0x27/0x40 netlink_unicast+0x4f6/0x820 netlink_sendmsg+0x797/0xce0 __sock_sendmsg+0xc4/0x160 ____sys_sendmsg+0x5e4/0x890 ___sys_sendmsg+0xf8/0x180 __sys_sendmsg+0x136/0x1e0 __x64_sys_sendmsg+0x76/0xc0 x64_sys_call+0x13f0/0x17d0 Found by Linux Verification Center (linuxtesting.org). The Linux kernel CVE team has assigned CVE-2026-53258 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit c8cb5b854b40f2ce52ccd032fa19750f4181d5fc and fixed in 6.18.36 with commit fb8db813eba2e56ee001c9fb5c2ce2cb78c42642 Issue introduced in 5.10 with commit c8cb5b854b40f2ce52ccd032fa19750f4181d5fc and fixed in 7.0.13 with commit a24134ddc18b4d440714365637d440b7121447b9 Issue introduced in 5.10 with commit c8cb5b854b40f2ce52ccd032fa19750f4181d5fc and fixed in 7.1 with commit e8694f7cc29287e843648d1075177b9a2000d957 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-53258 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: net/wireless/scan.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/fb8db813eba2e56ee001c9fb5c2ce2cb78c42642 https://git.kernel.org/stable/c/a24134ddc18b4d440714365637d440b7121447b9 https://git.kernel.org/stable/c/e8694f7cc29287e843648d1075177b9a2000d957