CVE-2026-74489
published high CVSS 3.1 · 8.8wifi: mac80211: fix tid_tx use-after-free on BA session stop
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux98acd4c1d9f7dc9c426e840c16e81b57315ff84b to < 09fc36eec7841cdf732f4db39855e0c73bd075cc · 98acd4c1d9f7dc9c426e840c16e81b57315ff84b to < 2f067f5a450ea07efd249142a11d940a068fe29c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 7.1.8 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: fix tid_tx use-after-free on BA session stop ieee80211_stop_tx_ba_cb() hands tid_tx to kfree_rcu() through ieee80211_remove_tid_tx(), and then reads tid_tx->ndp after dropping sta->lock: ieee80211_remove_tid_tx(sta, tid); /* kfree_rcu(tid_tx, rcu_head) */ ... spin_unlock_bh(&sta->lock); if (start_txq) ieee80211_agg_start_txq(sta, tid, false); if (send_delba) ieee80211_send_delba(..., tid_tx->ndp); That read is not covered by an RCU read-side critical section, and it runs in preemptible process context: both callers hold the wiphy mutex, reaching it either from the ieee80211_ba_session_work() wiphy work or from ieee80211_sta_tear_down_BA_sessions() during station teardown. Softirqs can run in that window too, both from the local_bh_enable() that ends ieee80211_agg_start_txq() and from any interrupt exit, so the RCU callback can free tid_tx before the read. Driving the function from a test module with the grace period forced into that window, KASAN reports the read, and the free arrives on the ordinary RCU softirq path: BUG: KASAN: slab-use-after-free in ieee80211_stop_tx_ba_cb+0x3cd/0x400 Read of size 1 at addr ffff888002b9f52e by task kworker/0:1/10 [...] Freed by task 57: __kasan_slab_free+0x47/0x70 __rcu_free_sheaf_prepare+0x70/0x250 rcu_free_sheaf_nobarn+0x18/0x40 rcu_core+0x426/0x1310 handle_softirqs+0x144/0x590 __irq_exit_rcu+0xea/0x150 irq_exit_rcu+0x9/0x20 sysvec_apic_timer_interrupt+0x6b/0x80 asm_sysvec_apic_timer_interrupt+0x1a/0x20 send_delba is only set when tx_stop is set, which happens for AGG_STOP_LOCAL_REQUEST alone, so this is reached on local teardown - session idle timeout, PTK rekey, suspend, HW reconfig - and not from a peer's DELBA. Read ndp into a local before the session is freed, while sta->lock is still held. tid_tx->ndp has a single writer, in ieee80211_tx_ba_session_handle_start(), which cannot run concurrently here: both paths are serialised by the wiphy mutex, and the session is already marked HT_AGG_STATE_STOPPING at this point. tid_tx->ndp is also the only tid_tx dereference left after ieee80211_remove_tid_tx() in this function. [move/change the comment a bit to be more general not just on ndp, initialize ndp directly]
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:A - The bug is in mac80211 WiFi block-ack teardown; an adjacent 802.11 peer with an active TX BA session can drive AGG_STOP_LOCAL_REQUEST via negotiated session-idle timeouts, PTK rekey, or link conditions that cause local session stop. AC:L - This is a slab use-after-free where RCU can free tid_tx between ieee80211_remove_tid_tx() and the post-unlock tid_tx->ndp read; the commit reproduced it reliably, and an attacker can repeatedly trigger local BA teardown to hit the race window. PR:N - Exploitation requires no Linux user or administrator privileges on the victim, only normal 802.11 association as a WiFi peer to maintain a block-ack session that later undergoes local teardown. UI:N - No victim interaction beyond routine WiFi connectivity is needed; session-idle timers, rekey, and driver-initiated local BA stop can fire from background wireless activity without the user performing a specific action. S:U - Impact is confined to kernel memory corruption and privilege escalation within the host kernel; it does not cross a VM, IOMMU, or sandbox security boundary. C:H - Reading tid_tx->ndp after kfree_rcu() is a slab use-after-free of a kernel heap object, which can disclose or infer kernel memory contents and support further exploitation primitives. I:H - Use-after-free of tid_ampdu_tx enables heap corruption and control of freed object contents, which can be leveraged for arbitrary kernel writes or code execution beyond the single-byte ndp read. A:H - The freed-object dereference can cause kernel oops/panic; KASAN reported slab-use-after-free in ieee80211_stop_tx_ba_cb during BA session stop, and UAFs in mac80211 commonly crash the system.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 98acd4c1d9f7dc9c426e840c16e81b57315ff84b to < 09fc36eec7841cdf732f4db39855e0c73bd075cc (affected · git)98acd4c1d9f7dc9c426e840c16e81b57315ff84b to < 2f067f5a450ea07efd249142a11d940a068fe29c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.1 (affected)0 to < 7.1 (unaffected · semver)7.1.8 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
2Linux · cna
wifi: mac80211: fix tid_tx use-after-free on BA session stop
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8bd3b130842c88caa02d1d88f79668bcc322d7ff1cd4d9ecf3b28ee9ed9674e4
- Ingested
- 16 Oct 2026, 19:21:18 UTC
- Source record
- Official CVE record