CVE-2026-138887: wifi: mt76: mt792x: fix UAF in SDIO TX path when out of memory
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt792x: fix UAF in SDIO TX path when out of memory
Using skbpad() instead of skbpad() in mt76skbadjustpad() to prevent double-free, as the caller handles cleanup.
Free the MCU message skb in mt76x02umcusendmsg() as well, which relied on skbpad() to release it.
Affected Software
Event History
Frequently Asked Questions
Which systems are most relevant to triage?
The issue is in the Linux kernel's mt76 mt792x SDIO transmit path. Systems using that path are the relevant population, particularly when they can encounter out-of-memory conditions during transmission.
What failure condition triggers the unsafe behavior?
The problem occurs when packet padding is handled during an out-of-memory condition in the SDIO TX path. The prior use of skb_pad() could release an skb that the caller also cleaned up, resulting in a double-free/use-after-free condition.
What does the resolution change?
The fix uses __skb_pad() so that cleanup remains with the caller, preventing duplicate skb release. It also explicitly frees the MCU message skb in __mt76x02u_mcu_send_msg().