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 ACC003E44E4 for ; Tue, 6 Oct 2026 10:28:52 +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=1791282536; cv=none; b=jrCa39wGZxMHk6Tdl6aEaDvf2eOe7y43cR4l4+EPsPakeJBgXq819T26J5aEiLOJ1dlTv/UdheXd9v6USAIKeVk1NDaV1b5T3yS577bCpZcZs6gO6nriH3gspJOV0QCdUnsGw0caT5NjBhwK22q2gCaOg5jkHXEMSF3nGZeiuK0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282536; c=relaxed/simple; bh=n2WlgW8QAQlGa69i+7u7BSm30bmX4JfFGy7Lq/ResRQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JHIxBpYvFzs5aTNKH1bT2KpD0sRGMvXplrMFfrO4f/sx0mKbPuJAZTfEVEirIQK+WhjYmv75fjV+ShjXEPOy5T7QNJKH2+aHd5dj6CJ+8zJqaK43m1OFeX4OmhHMD4w0xFDXnaAw0msCSzlgq3d/QKlXr0zqgYyqsYkf4d8Y06Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NuXLfIVB; 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="NuXLfIVB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D7131F000FF; Tue, 6 Oct 2026 10:28:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282532; bh=EuQ+aPAD94nQDSeMitoAg8OJtITPaGo/6oWnkqdIZUM=; h=From:To:Cc:Subject:Date:Reply-To; b=NuXLfIVB4drSuTTy5lSf44Wyn0c3Cs5G96K922gXi7u0hCKGqkrSTmAwDqxI4s6lV arZ5hYIuKoFzpCOX6xL+b6xRz3jplcHG+z7fJygSJeZrzoD57w5fPeHIwgLu2K0AFr Ib/iEuwWztFc/ZoJcXWe0CuKtWkCBi5LPRRC+r5A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98341: wifi: cfg80211: don't free driver-owned scan requests Date: Tue, 6 Oct 2026 10:47:22 +0200 Message-ID: <2026100617-CVE-2026-98341-9c94@gregkh> X-Mailer: git-send-email 2.56.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=2720; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1tcMHDiGT93ffDSwJZtXHADEknZ7E9bLhIfJZ8+fVj0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtsqGayT3Mb/pz/kQy66Smz61VU95A+/NCWVtomdUn jgH6j3riGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgImET2GYp38tP7drxdOUQtez 0u7JHu90TxW0Mcx3fGz+lU2jbf8sDruAiu07GfhUugMB 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: don't free driver-owned scan requests When an interface goes down while a scan is running, cfg80211 completes the scan towards userspace and frees the scan request. However, the driver can be convinced that it owns the request, since the cancellation is (intended to be) asynchronous. The WARN_ON() in the netdev notifier was meant to catch this, but it's not actually avoidable, so it triggers and we get a UAF in scan_done(). There doesn't seem to be a great way around it, so just track that the driver is still convinced it owns the request, and then just free it on completion if it was already cancelled. Also remove the warnings since they can trigger in the intended architecture. The Linux kernel CVE team has assigned CVE-2026-98341 to this issue. Affected and fixed versions =========================== Issue introduced in 3.14 with commit 4a58e7c38443154fce1b47910e1a9184f65c5d72 and fixed in 6.18.54 with commit e8c75736cfd0c6c87562cda2312e3fe5e2227955 Issue introduced in 3.14 with commit 4a58e7c38443154fce1b47910e1a9184f65c5d72 and fixed in 7.2.8 with commit cf6da29d17994865f73ca70976495ea856909c63 Issue introduced in 3.14 with commit 4a58e7c38443154fce1b47910e1a9184f65c5d72 and fixed in 7.3-rc4 with commit dab68a74e90b8e07f08ed9deaa5884857a3cfe89 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-98341 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 net/wireless/core.h net/wireless/rdev-ops.h 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/e8c75736cfd0c6c87562cda2312e3fe5e2227955 https://git.kernel.org/stable/c/cf6da29d17994865f73ca70976495ea856909c63 https://git.kernel.org/stable/c/dab68a74e90b8e07f08ed9deaa5884857a3cfe89