CVE-2026-138885
published high CVSS 3.1 · 7.5wifi: mt76: take rcu_read_lock in the USB/SDIO tx completion path
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa001c2f6a40c162f59059156b74c3831fb201ea2 to < fa99f662158801704628e0e4efc825c9b5b77b64 · dc66a129adf1f25e944d0b93cd2df2ee0f0bd4d6 to < 104acda59872786902ef4b40e50b0795bea45551 · dc66a129adf1f25e944d0b93cd2df2ee0f0bd4d6 to < e31af818bf5bc66b2d170a4ed9c28175890c8f7b · dc66a129adf1f25e944d0b93cd2df2ee0f0bd4d6 to < a7871a7ae5a8625f0ba0a89454ac734c383dd538 · 6.12.46 to < 6.12.120 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.12.120 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 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: mt76: take rcu_read_lock in the USB/SDIO tx completion path The USB and SDIO completion path reads a station pointer that RCU protects, without holding the read lock. Lockdep catches it on the first association: mt76.h:1305 suspicious rcu_dereference_check() usage! no locks held by mt76-usb-status/1254. mt7925_usb_sdio_tx_complete_skb+0x119/0x130 [mt7925_common] mt76_queue_tx_complete+0x27/0x60 [mt76] mt76u_status_worker+0xed/0x1e0 [mt76_usb] mt7925/mac.c:856 suspicious rcu_dereference_check() usage! mt7925_tx_check_aggr.part.0+0xc2/0xe0 [mt7925_common] mt7925_usb_sdio_tx_complete_skb+0xa0/0x130 [mt7925_common] mt7921 does the same, and warns once instead of twice because its aggregation check reads the default link directly. The DMA path makes the same reads but completes from softirq, so it stays quiet. Take the read lock around the lookup and the check. Tested on 7.2-rc5 with lockdep, fresh module load per arm, 4000 packets each and no change to the link: splats before after MT7925 Netgear A9000 2 0 MT7921 Alfa 1 0 mt7921e same kernel 0 0
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
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:A - The free side is driven by the WiFi peer: a deauth/disassoc frame reaches ieee80211_rx_mgmt_deauth->ieee80211_set_disassoc->sta_info_flush (STA mode), or a client's deauth makes hostapd issue NL80211_CMD_DEL_STATION->sta_info_destroy_addr_bss (AP mode), freeing the sta that mt7921/mt7925_usb_sdio_tx_complete_skb still holds from __mt76_wcid_ptr(); radio range makes it Adjacent. AC:H - The attacker can tear down the station and keep QoS TX to it flowing, but the UAF needs the mt76-usb-status/sdio-status SCHED_FIFO kthread to stall between __mt76_wcid_ptr() and ieee80211_start_tx_ba_session() across a whole synchronize_net() grace period plus part2's MCU teardown and kfree(sta); that scheduling is beyond attacker control, and STA mode drains queues via mt792x_flush first. PR:N - No credentials needed: ieee80211_rx_mgmt_deauth only checks the bssid against the associated AP, so a spoofed unprotected deauth works on a non-PMF network, and an open AP admits the attacking client; the local path (nl80211 disconnect/DEL_STATION) needs CAP_NET_ADMIN in init_net and is not the worst case. UI:N - The victim only has to be associated and sending QoS data through an mt7921u/mt7921s/mt7925u interface, which is its normal operating state; the attacker's frames start the teardown with no user action. S:U - The stale sta_info is ordinary kernel heap and the worst outcome is code execution in the same kernel; no guest/host, IOMMU or other authority boundary is crossed. C:H - After __sta_info_destroy_part2 kfree()s the sta, the worker keeps reading it (sta->deflink.ht_cap in mt76_connac2_tx_check_aggr, sta->link[] and link_sta caps in mt7925_tx_check_aggr) and follows pointers from it; with the slot reclaimed this is a kernel heap UAF read. I:H - The stale path writes into freed memory: test_and_set_bit() on wcid->ampdu_state in sta->drv_priv, and ieee80211_start_tx_ba_session() takes sta->lock, stores tid_start_tx[tid] and calls wiphy_work_queue(&sta->ampdu_mlme.work), linking a work_struct in reclaimed memory into the wiphy work list, which is a path to control-flow hijack. A:H - Even without heap control, spinning on a freed sta->lock or queueing the freed ampdu_mlme.work corrupts the wiphy work list and oopses or hangs the kernel, and the attacker can repeat the deauth/reassociate cycle to keep retrying.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a001c2f6a40c162f59059156b74c3831fb201ea2 to < fa99f662158801704628e0e4efc825c9b5b77b64 (affected · git)dc66a129adf1f25e944d0b93cd2df2ee0f0bd4d6 to < 104acda59872786902ef4b40e50b0795bea45551 (affected · git)dc66a129adf1f25e944d0b93cd2df2ee0f0bd4d6 to < e31af818bf5bc66b2d170a4ed9c28175890c8f7b (affected · git)dc66a129adf1f25e944d0b93cd2df2ee0f0bd4d6 to < a7871a7ae5a8625f0ba0a89454ac734c383dd538 (affected · git)6.12.46 to < 6.12.120 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.16 (affected)0 to < 6.16 (unaffected · semver)6.12.120 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
wifi: mt76: take rcu_read_lock in the USB/SDIO tx completion path
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 083644e6fadc7bab47ca7253d4db8591c8673f964dd2ac9c5d13b16c9d86c32e
- Ingested
- 01 Dec 2026, 05:47:22 UTC
- Source record
- Official CVE record