HIGH Introduced in 2.6.36
mac80211 RxBaSession UAF
CVE-2026-98707
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
01Description
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.
02KernelScan AI Analysis
Risk summary
An attacker within WiFi radio range can trigger a use-after-free in the kernel's 802.11 RX block-acknowledgment handling by sending crafted frames during session teardown. This can lead to kernel memory corruption, information disclosure, and system crash.
Vulnerability analysis
When an RX block-acknowledgment session is torn down, the session timer can remain queued on a freed data structure. A concurrent Block Acknowledgment Request (BAR) handler running under RCU can rearm the timer after the teardown code believes it has been deleted but before the memory is actually reclaimed. This leaves the timer subsystem operating on freed memory, enabling use-after-free exploitation. The fix replaces the timer deletion with a shutdown operation that permanently disables rearming, closing the race window. The vulnerability is reachable by any attacker able to transmit 802.11 frames to the target device — no authentication or local access is required.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 5.15 | 2.6.36 | 5.15.224 | 225c67a0bea0 |
| 6.1 | 2.6.36 | 6.1.191 | 18cf74311f3f |
| 6.12 | 2.6.36 | 6.12.113 | 7bb2a5bd4f07 |
| 6.18 | 2.6.36 | 6.18.56 | 481f9230284c |
| 6.6 | 2.6.36 | 6.6.160 | d0da6ab1fc53 |
| 7.2 | 2.6.36 | 7.2.10 | 09b7d5e4f885 |
| mainline | 2.6.36 | 7.3 | e588e83e5c7a |
| cip/6.12 | 2.6.36 | 6.12.114-cip34 | 7bb2a5bd4f07 |
04CIP Kernels
State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.
| CIP tree | State |
|---|---|
| cip/6.12 | Fixed in 6.12.114-cip34 |
| cip/6.1 | Affected — no CIP fix yet (latest 6.1.190-cip62) |
| cip/6.1-rt | Affected — no CIP fix yet (latest 6.1.189-cip61-rt32) |
| cip/5.10 | Affected — no CIP fix yet (latest 5.10.272-cip79) |
| cip/5.10-rt | Affected — no CIP fix yet (latest 5.10.272-cip79-rt35) |
| cip/4.19 | Affected — no CIP fix yet (latest 4.19.325-cip136) |
| cip/4.19-rt | Affected — no CIP fix yet (latest 4.19.325-cip136-rt50) |
| cip/4.4 | Affected — no CIP fix yet (latest 4.4.302-cip115) |
| cip/4.4-rt | Affected — no CIP fix yet (latest 4.4.302-cip115-rt63) |