Skip to contentSkip to conversation

CVE-2026-98707: wifi: mac80211: shut down RX BA session timer on teardown

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 18

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

wifi: mac80211: shut down RX BA session timer on teardown

Tearing down an RX BA session can leave the session timer queued on a freed tid_rx. Later timer-wheel processing and the timer callback itself then run against freed memory.

An RX BAR handler can dereference tid_rx under RCU before teardown unpublishes it and stay in its read-side critical section while teardown deletes the session timer. The stale handler can then rearm the timer after timer_delete_sync() returns and before the RCU callback frees tid_rx.

Use timer_shutdown_sync() so rearm attempts become ineffective once teardown starts. Keep reorder_timer unchanged: teardown marks the session removed under reorder_lock and its release path checks that state before rearming. session_timer has no equivalent guard because ieee80211_rx_h_ctrl() rearms it before taking reorder_lock.

The Linux kernel CVE team has assigned CVE-2026-98707 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 2.6.36 with commit a87f736d942c86255e3088c606f0e3eab6bbf784 and fixed in 6.12.113 with commit 7bb2a5bd4f07192fca35644fab7d49a17bfbc861
	Issue introduced in 2.6.36 with commit a87f736d942c86255e3088c606f0e3eab6bbf784 and fixed in 6.18.56 with commit 481f9230284c27052b59c587069f232c5d84779e
	Issue introduced in 2.6.36 with commit a87f736d942c86255e3088c606f0e3eab6bbf784 and fixed in 7.2.10 with commit 09b7d5e4f88504e62ddf4ff31ebeebb3b87578ba
	Issue introduced in 2.6.36 with commit a87f736d942c86255e3088c606f0e3eab6bbf784 and fixed in 7.3-rc6 with commit e588e83e5c7a0f6d7a77dbbb58927c8c8cfd598e

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-98707

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/agg-rx.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/7bb2a5bd4f07192fca35644fab7d49a17bfbc861
	https://git.kernel.org/stable/c/481f9230284c27052b59c587069f232c5d84779e
	https://git.kernel.org/stable/c/09b7d5e4f88504e62ddf4ff31ebeebb3b87578ba
	https://git.kernel.org/stable/c/e588e83e5c7a0f6d7a77dbbb58927c8c8cfd598e