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 8A9B43CB561 for ; Sun, 18 Oct 2026 15:55:14 +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=1792338915; cv=none; b=YiDOJ+WuGo3xUbjaEjtYcS+XViO+NAv2FkDqdNj7ZHXzBQynWAnVXm5Nem5GQ3p0Ngy/Lv1xxgYGS6H3PSos3hzUgGFPtUD5GjbLv4u0Y2o/b5Obq4wkyg5VLEqkrLuFpxMQmwaryYanjZYcpp99czEkNX56lOB2k+y39GcvsoI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792338915; c=relaxed/simple; bh=hPoXeqJp8psYon82ypC7KxErHtt3kYMsnwLdC+6n/ZU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bHIAVZZUVUWzxezxT4Tcy8G5EzHnl+JHkI2YR+hxYBdRvYUZDHh+wqN7OQVgGuHT63HWez9GXaaZWLx9i3u5m7vnPsMonU1O/77TDLnK1DR9mAyOzdKo3XTO4bvP3z1vZA+bCNd00dC95Al5yXPY0mRJnVg8+jB16+Obelsfkzo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nkPtgxCk; 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="nkPtgxCk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5CF51F000C4; Sun, 18 Oct 2026 15:55:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792338914; bh=xBtJ0+mltNKnlnce4WH4CPi8kBt9EIiNDByzYTmsvxw=; h=From:To:Cc:Subject:Date:Reply-To; b=nkPtgxCk263celZV2VZH1gUYYQMJibqjczwRyoG8dvw3jKRqv2EJJqSl5wX0JqKT2 4uiXIdDMuy0EZ+gbwqGM5bcf2pHkraGAUolVZ91osS7LqbVVpP0ATSe+pp8Fb4p1NX kaJvQsTJyhSkt7yOijc0Ivq4BpRcNuA6xKjJ0E5c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98706: wifi: mac80211: drain PS delivery work during station teardown Date: Sun, 18 Oct 2026 17:44:41 +0200 Message-ID: <2026101806-CVE-2026-98706-1788@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=3618; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1a6qIcho2nAFIeupPyrZBVuBqoxpMK29Lm0maVnVYIs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXXrqx9YVO2eOvvT26+efK/g3LFsw/+HZWiNZqUz+xb dtuRV9W7ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJxAcyLLhUUHMhKvx6QspW r/tGecuurZX0DWFYMOWm33JjqY0HA20mFvUvuZIqZPDxMwA= 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: drain PS delivery work during station teardown Removing an AP or mesh station can notify the driver and wake TXQs after the station has already been removed from the driver, and can update num_sta_ps and the power-save queues after station cleanup has purged them. sta_deliver_ps_frames() tests sta->dead only before it starts delivery. A worker that passes that test can be delayed while teardown sets sta->dead and removes the station from the driver; when it resumes it still runs the full delivery. The existing cancel_work_sync() sits near the end of __cleanup_single_sta(), after the final driver state transition and after PS accounting and queue purging, so it drains the worker only once the state it has to protect has already changed. Before commit d34ba2168a3c ("mac80211: don't delay station destruction") cleanup was deferred through the same ordered workqueue as the delivery work, which kept the two ordered. Cancel the work after setting sta->dead and before moving the driver state, and move the existing cancellation to the start of __cleanup_single_sta(). The first drain closes the driver-lifetime window; driver callbacks during the remaining state transitions can still queue drv_deliver_wk through ieee80211_sta_block_awake(), so retain the second drain at the start of __cleanup_single_sta(). That drain also covers insertion failures, which reach cleanup without setting sta->dead. The Linux kernel CVE team has assigned CVE-2026-98706 to this issue. Affected and fixed versions =========================== Issue introduced in 3.14 with commit d34ba2168a3c10e7301cca06069c39865b4c3ec6 and fixed in 6.12.113 with commit 843d3a1e6f25027ac85f88f67b95d82c67306dee Issue introduced in 3.14 with commit d34ba2168a3c10e7301cca06069c39865b4c3ec6 and fixed in 6.18.56 with commit 772bd89304ecf057cc51ce4ce24a1a96ac9c8de3 Issue introduced in 3.14 with commit d34ba2168a3c10e7301cca06069c39865b4c3ec6 and fixed in 7.2.10 with commit 097460fcdd8ab9ef6f6018b2fdc29ba0ea499298 Issue introduced in 3.14 with commit d34ba2168a3c10e7301cca06069c39865b4c3ec6 and fixed in 7.3-rc6 with commit 67a9e80c3ca20c9044cd6ee72cd6278dd19b5023 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-98706 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/sta_info.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/843d3a1e6f25027ac85f88f67b95d82c67306dee https://git.kernel.org/stable/c/772bd89304ecf057cc51ce4ce24a1a96ac9c8de3 https://git.kernel.org/stable/c/097460fcdd8ab9ef6f6018b2fdc29ba0ea499298 https://git.kernel.org/stable/c/67a9e80c3ca20c9044cd6ee72cd6278dd19b5023