Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E61DD3AEF58 for ; Wed, 25 Mar 2026 10:29:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434594; cv=none; b=NCMz1IcP61B9Ks4YRgTJSoE292F0GeW3VrKO6ZkCtD4RBdK9P+ESqunmuHbqXLrNXpiF0hGatJopTo8JUCmVnpsSqFNTr3KZMjaaLHtbEWmapcdCHQmrXMDTdCGIIeq3dJKtlV7Y5Y665aR8bHOeONrF3BhQkP3F3N9A3NhXHcE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434594; c=relaxed/simple; bh=UBiKlzB1EJA1WR6UsKwFvQPjYyuJqoQrCJ3bMwo7yRI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TA4LW5X7Gg3kvo6HuBzq0IUayJKy8hx7YwzbmOJmNQoWc3uqiPDK1SNgreYBeOY/vT2RpgqagPuZ15EdesupF4YMlAy0H+R7Oo+QXaAlaVadvULVbGxcrOcBv8BnXRpFSodVAD+hzuctTlqDaJspdHyhJ4C8C0q4NJsNjJmWVRU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ahZViONT; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ahZViONT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 22070C4CEF7; Wed, 25 Mar 2026 10:29:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434593; bh=UBiKlzB1EJA1WR6UsKwFvQPjYyuJqoQrCJ3bMwo7yRI=; h=From:To:Cc:Subject:Date:Reply-To:From; b=ahZViONTgZ4lSRVky8pFZhDQVWBma1x64KJ+SFmge0jTFuGPM1PlNHtd2P3wuKH7F FJMqUasemjqf15x2vNHQZ55MZajhctLqK33L1rSK1qYEZZuKc5e83KpqRbRGNB5D1N WOiudruw/+TOQ+A0BUsMiGdpX/UYfMqFnoZ1Yjoc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23336: wifi: cfg80211: cancel rfkill_block work in wiphy_unregister() Date: Wed, 25 Mar 2026 11:27:20 +0100 Message-ID: <2026032533-CVE-2026-23336-d365@gregkh> X-Mailer: git-send-email 2.53.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=3738; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=m0LoLPPu1nSUqOEQD8pLPzVIoWasB6aEL4MjY25V4RE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHd0T5J525sN3llnuqgn/mLF2Hd2XT7qd4JdoWrWF2+ rS18NWljlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI070MC6ZMjf9tsPR+Geca 7t+STebFgRkCHAwLGjvLLD+oSM2Ywtkun7TbKXW5pdViAA== 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: cfg80211: cancel rfkill_block work in wiphy_unregister() There is a use-after-free error in cfg80211_shutdown_all_interfaces found by syzkaller: BUG: KASAN: use-after-free in cfg80211_shutdown_all_interfaces+0x213/0x220 Read of size 8 at addr ffff888112a78d98 by task kworker/0:5/5326 CPU: 0 UID: 0 PID: 5326 Comm: kworker/0:5 Not tainted 6.19.0-rc2 #2 PREEMPT(voluntary) Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014 Workqueue: events cfg80211_rfkill_block_work Call Trace: dump_stack_lvl+0x116/0x1f0 print_report+0xcd/0x630 kasan_report+0xe0/0x110 cfg80211_shutdown_all_interfaces+0x213/0x220 cfg80211_rfkill_block_work+0x1e/0x30 process_one_work+0x9cf/0x1b70 worker_thread+0x6c8/0xf10 kthread+0x3c5/0x780 ret_from_fork+0x56d/0x700 ret_from_fork_asm+0x1a/0x30 The problem arises due to the rfkill_block work is not cancelled when wiphy is being unregistered. In order to fix the issue cancel the corresponding work in wiphy_unregister(). Found by Linux Verification Center (linuxtesting.org) with Syzkaller. The Linux kernel CVE team has assigned CVE-2026-23336 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.31 with commit 1f87f7d3a3b42b20f34cb03f0fd1a41c3d0e27f3 and fixed in 6.1.167 with commit eeea8da43ab86ac0a6b9cec225eec91564346940 Issue introduced in 2.6.31 with commit 1f87f7d3a3b42b20f34cb03f0fd1a41c3d0e27f3 and fixed in 6.6.130 with commit fa18639deab4a3662d543200c5bfc29bf4e23173 Issue introduced in 2.6.31 with commit 1f87f7d3a3b42b20f34cb03f0fd1a41c3d0e27f3 and fixed in 6.12.77 with commit 57e39fe8da573435fa35975f414f4dc17d9f8449 Issue introduced in 2.6.31 with commit 1f87f7d3a3b42b20f34cb03f0fd1a41c3d0e27f3 and fixed in 6.18.17 with commit 584279ad9ff1e8e7c5494b9fce286201f7d1f9e2 Issue introduced in 2.6.31 with commit 1f87f7d3a3b42b20f34cb03f0fd1a41c3d0e27f3 and fixed in 6.19.7 with commit cd2f52944c7b95dcdfe0d87f385a2d96458a3ae5 Issue introduced in 2.6.31 with commit 1f87f7d3a3b42b20f34cb03f0fd1a41c3d0e27f3 and fixed in 7.0-rc2 with commit 767d23ade706d5fa51c36168e92a9c5533c351a1 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-23336 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/core.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/eeea8da43ab86ac0a6b9cec225eec91564346940 https://git.kernel.org/stable/c/fa18639deab4a3662d543200c5bfc29bf4e23173 https://git.kernel.org/stable/c/57e39fe8da573435fa35975f414f4dc17d9f8449 https://git.kernel.org/stable/c/584279ad9ff1e8e7c5494b9fce286201f7d1f9e2 https://git.kernel.org/stable/c/cd2f52944c7b95dcdfe0d87f385a2d96458a3ae5 https://git.kernel.org/stable/c/767d23ade706d5fa51c36168e92a9c5533c351a1