CVE-2026-138886: wifi: mt76: fix memory leak in USB TX path
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: fix memory leak in USB TX path
When errors occur in mt76utxqueueskb(), the skb is not properly freed, leading to memory leaks. This happens when: - The queue is full - txprepareskb() drops zero-length frames (such as WMM NULL frames) to prevent hardware TX hangs - Buffer setup fails
Fix by properly releasing the skb with ieee80211txstatusext() when the queue is full or txprepareskb() fails, and using mt76txcompleteskb() when mt76utxsetupbuffers() fails (since txprepareskb() has already succeeded and may have allocated resources that need cleanup)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In mt76u_tx_queue_skb(), properly release the skb with ieee80211_tx_status_ext() on the error paths, including when the queue is full or tx_prepare_skb() fails; use mt76_tx_complete_skb() when mt76u_tx_setup_buffers() fails.