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 62D9B3B38BF for ; Sun, 18 Oct 2026 16:05:11 +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=1792339513; cv=none; b=RAQg6ndCG8dWI27x6qO5VfXbdmTEYD51PGXVcwbce5s9EFNUMgZMm47VT1d3VL7WB0G2bRCVsoldNdOBaiRBDS/NpQc5WPqnnJJ7enmTDuBS8WV0DGfwC8zCGaFa8TReYiCW1KUcKYefwIUxNLf8ywUg8oNJQCSRXjiRQqIk2u0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792339513; c=relaxed/simple; bh=lJPXITY7mVgqoRRAYLDtxRbLwI1zXH7gyjw8scUZREM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iuRAXlOyUkWU/PxSD7dqT/vu23/ARjbn8gcs8R6LxabeIyau1OoAxW6oSKDygTX02gW3Betg5mT5IO+6TAtFF6ByZENuGV9pKkeBONts8NTKQU+FSplMiB92wY4daFCY2qWkR+KCLNSrFPRzyNQt5cCHofupc4oV8/rRSRk3cX4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Ye4SoFr6; 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="Ye4SoFr6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D75751F000C4; Sun, 18 Oct 2026 16:05:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792339511; bh=TuckpaECdadrRv/rhvTB0KAa1cTNW9xfOmvkP5vAPkU=; h=From:To:Cc:Subject:Date:Reply-To; b=Ye4SoFr6Fvc5ltX+HYAx/Av9YdZsaNI1qzxt+pNpmXNVaL8Kf0jECzbX9xeUDyMhV 6yINEPyMYpcqtLWCCu7ARoPzNpbwZUV1A5eCv8P7EQ4G+rjGhHDtMcH0TJp7PdtXg1 kX6DYZd+YwWeRP/BukWm9ou8WMyAEMO5xi3e2onM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98709: wifi: mac80211: count only matching reservations in reserved switch Date: Sun, 18 Oct 2026 17:44:44 +0200 Message-ID: <2026101806-CVE-2026-98709-863f@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=2979; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Bbc4ogmIen/vIYGOq4cYU5dpw1CKq8H4VzCYVzrRyAw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXXro5a/98Xrurpu7KJvagSUU/2HnWT7y2RMj836NnD Q5PU+IjOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi5ysY5plXF0y159tU7xB1 6/BJ1qhzyT0BWgzzS12v2T6od5jVODdwYwfj11dsKzhOAgA= 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: mac80211: count only matching reservations in reserved switch ieee80211_vif_use_reserved_switch() validates a replacement by counting assigned links on ctx->replace_ctx and treating reservations too broadly. A link can still be assigned to the old channel context while holding a reservation that belongs to a different replacement operation. That can make the current replacement appear complete too early. If another link finalizes first, the function can free the WILL_BE_REPLACED chanctx while the unmatched link and driver still use it, leading to a use-after-free in later beacon generation. Require an in-place reservation to point at the current replacement context, and require the reserved and assigned contexts to be the matching replacement pair, before counting or moving the link. The Linux kernel CVE team has assigned CVE-2026-98709 to this issue. Affected and fixed versions =========================== Issue introduced in 3.17 with commit 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f and fixed in 6.12.113 with commit d31f655e44631891788ca67018ec5e1ed1c7de86 Issue introduced in 3.17 with commit 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f and fixed in 6.18.56 with commit 03525b632908b049f4d04cc8a71cdff2329589cf Issue introduced in 3.17 with commit 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f and fixed in 7.2.10 with commit 5cc54a000960bc88f8c58940164dca0e601ab39c Issue introduced in 3.17 with commit 5bcae31d9cb1ebfad3ad5a3eea04c8cdc329a04f and fixed in 7.3-rc6 with commit 437f3727b4fd715266c296435c116288f82666fd 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-98709 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/mac80211/chan.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/d31f655e44631891788ca67018ec5e1ed1c7de86 https://git.kernel.org/stable/c/03525b632908b049f4d04cc8a71cdff2329589cf https://git.kernel.org/stable/c/5cc54a000960bc88f8c58940164dca0e601ab39c https://git.kernel.org/stable/c/437f3727b4fd715266c296435c116288f82666fd