CVE-2026-138887
published high CVSS 3.1 · 7.5wifi: mt76: mt792x: fix UAF in SDIO TX path when out of memory
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb64d196280aff8494ba6fb387e37b18479c99b83 to < c8b50dd730ff1a2d15382355108dbf3f6c61b1e9 · 9ef1351209d42b7d96604f2a13d7ea8215a24e07 to < 03f00293538ba014bda41de91700e689a996bdf7 · c2c7f16f2c62f79f7c381e500afa7123580742a5 to < 194d71b4cdeba3fc9521888295659ed1e863ccb4 · 6a8000c76dc34490a2bb321ad1a5f882a2ccab7c to < 0d35a2922d2cb2a78038d3923a3e18cef97c01f7 · ddf6a17d8e3d0dbb841c13c10d7c1340a138a80d to < 2fff1ca283f1e4a49a259befdcc23bbbac4b45f7 · 808f2767d4217a5b96f674288573b9b89d432eed to < ec6d03d8b21c3af9cfe94543e59a889caba171d0 · 808f2767d4217a5b96f674288573b9b89d432eed to < f5dd4833463ed45794027e33928539b3c532f82d · 6a342db7a6502bc6781579145e05d4d4731786ab · 5.15.221 to < 5.15.226 · 6.1.188 to < 6.1.193 · 6.6.157 to < 6.6.163 · 6.12.110 to < 6.12.117 · 6.18.52 to < 6.18.63 · 7.2.6 to < 7.3 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.3 (affected) · 0 to < 7.3 (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 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: mt792x: fix UAF in SDIO TX path when out of memory Using __skb_pad() instead of skb_pad() in mt76_skb_adjust_pad() to prevent double-free, as the caller handles cleanup. Free the MCU message skb in __mt76x02u_mcu_send_msg() as well, which relied on skb_pad() to release it.
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 - mt76s_tx_queue_skb() is the SDIO .tx_queue_skb op that __mt76_tx_queue_skb() runs for every frame mt792x_tx()/mt76_txq_send_burst() queues, including frames a WiFi peer elicits (ICMP echo replies carrying its payload, ARP/TCP replies, AP-mode probe/auth responses). No malformed input exists; the double-freed skb is a frame bound for that peer over the radio link, so the reach is radio range: Adjacent. AC:H - The double free needs __skb_pad() inside mt76_skb_adjust_pad() to fail: pskb_expand_head(GFP_ATOMIC) or skb_linearize() on a cloned, nonlinear or short-tailroom skb. That allocation cannot reclaim and is not memcg-charged, so it fails only under system-wide atomic memory exhaustion, which neither a radio peer nor an unprivileged local user can produce on demand. PR:N - Eliciting transmissions needs no account or capability on the host: a peer on the same WLAN, or in AP mode an unauthenticated station sending probe/auth requests, makes mac80211 queue frames through mt792x_tx()/mt7663 SDIO into mt76s_tx_queue_skb(). UI:N - The TX path runs from the mt76 tx worker (mt76_txq_schedule / mt76_txq_schedule_pending) on an interface that is already up; no local user has to open, mount or configure anything. S:U - The corruption stays in the host kernel's skbuff_head_cache and skb data heap; the SDIO function is not an IOMMU or VM boundary, and no other security authority is affected. C:H - After skb_pad() has freed the skb, mt76s_tx_queue_skb() passes it to ieee80211_tx_status_ext(), which reads the freed skb's control block in ieee80211_report_used_skb() and then frees it again; a reclaimable freed sk_buff is a usable primitive for kernel memory disclosure. I:H - The second dev_kfree_skb() double-frees the sk_buff and runs skb_release_data() on its head buffer a second time (over-dropping the dataref of cloned TCP skbs), giving overlapping-allocation heap corruption usable for arbitrary write and control-flow hijack. A:H - The use of the freed skb and the second free trip SLUB/KASAN double-free detection or corrupt the slab freelist, oopsing the mt76 tx worker and taking down the host.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b64d196280aff8494ba6fb387e37b18479c99b83 to < c8b50dd730ff1a2d15382355108dbf3f6c61b1e9 (affected · git)9ef1351209d42b7d96604f2a13d7ea8215a24e07 to < 03f00293538ba014bda41de91700e689a996bdf7 (affected · git)c2c7f16f2c62f79f7c381e500afa7123580742a5 to < 194d71b4cdeba3fc9521888295659ed1e863ccb4 (affected · git)6a8000c76dc34490a2bb321ad1a5f882a2ccab7c to < 0d35a2922d2cb2a78038d3923a3e18cef97c01f7 (affected · git)ddf6a17d8e3d0dbb841c13c10d7c1340a138a80d to < 2fff1ca283f1e4a49a259befdcc23bbbac4b45f7 (affected · git)808f2767d4217a5b96f674288573b9b89d432eed to < ec6d03d8b21c3af9cfe94543e59a889caba171d0 (affected · git)808f2767d4217a5b96f674288573b9b89d432eed to < f5dd4833463ed45794027e33928539b3c532f82d (affected · git)6a342db7a6502bc6781579145e05d4d4731786ab (affected · git)5.15.221 to < 5.15.226 (affected · semver)6.1.188 to < 6.1.193 (affected · semver)6.6.157 to < 6.6.163 (affected · semver)6.12.110 to < 6.12.117 (affected · semver)6.18.52 to < 6.18.63 (affected · semver)7.2.6 to < 7.3 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 7.3 (affected)0 to < 7.3 (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 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
7- https://git.kernel.org/stable/c/03f00293538ba014bda41de91700e689a996bdf7
- https://git.kernel.org/stable/c/0d35a2922d2cb2a78038d3923a3e18cef97c01f7
- https://git.kernel.org/stable/c/194d71b4cdeba3fc9521888295659ed1e863ccb4
- https://git.kernel.org/stable/c/2fff1ca283f1e4a49a259befdcc23bbbac4b45f7
- https://git.kernel.org/stable/c/c8b50dd730ff1a2d15382355108dbf3f6c61b1e9
- https://git.kernel.org/stable/c/ec6d03d8b21c3af9cfe94543e59a889caba171d0
- https://git.kernel.org/stable/c/f5dd4833463ed45794027e33928539b3c532f82d
Provider assertions
1Linux · cna
wifi: mt76: mt792x: fix UAF in SDIO TX path when out of memory
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1bd764a5f3c4b7144ea2114e66ed3f0bde248924da3b8efa1473aba12e381861
- Ingested
- 01 Dec 2026, 05:47:22 UTC
- Source record
- Official CVE record