wifi: mt76: fix memory leak in USB TX path
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: fix memory leak in USB TX path
When errors occur in mt76u_tx_queue_skb(), the skb is not properly freed, leading to memory leaks. This happens when: - The queue is full - tx_prepare_skb() drops zero-length frames (such as WMM NULL frames) to prevent hardware TX hangs - Buffer setup fails
Fix by properly releasing the skb with ieee80211_tx_status_ext() when the queue is full or tx_prepare_skb() fails, and using mt76_tx_complete_skb() when mt76u_tx_setup_buffers() fails (since tx_prepare_skb() has already succeeded and may have allocated resources that need cleanup)
| Product | Versions |
|---|---|
| Linux Linux | b40b15e1521f7764ea8c68d5a00ecc971b673d21 to before c86f258842b5c999b98257de6c4e83a88eb1d806 Affectedb40b15e1521f7764ea8c68d5a00ecc971b673d21 to before 027f0e413bb348c99a0cd1029b2fce97f8ad0b09 Affectedb40b15e1521f7764ea8c68d5a00ecc971b673d21 to before 5bbfc1573665571ea59a193d40543885cc28619c Affectedb40b15e1521f7764ea8c68d5a00ecc971b673d21 to before 001c88ed4a17ea6705b7c00cf00cdd73d60078e7 Affectedb40b15e1521f7764ea8c68d5a00ecc971b673d21 to before ad626a35bd7884de79d6a3c27e70089490787838 Affectedb40b15e1521f7764ea8c68d5a00ecc971b673d21 to before 82856da2d3b6a30011f4db6ea5f34c13484e0ef8 Affected |
| Linux Linux | 4.19 Affectedbefore 4.19 Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/c86f258842b5c999b98257de6c4e83a88eb1d806
- https://git.kernel.org/stable/c/027f0e413bb348c99a0cd1029b2fce97f8ad0b09
- https://git.kernel.org/stable/c/5bbfc1573665571ea59a193d40543885cc28619c
- https://git.kernel.org/stable/c/001c88ed4a17ea6705b7c00cf00cdd73d60078e7
- https://git.kernel.org/stable/c/ad626a35bd7884de79d6a3c27e70089490787838
- https://git.kernel.org/stable/c/82856da2d3b6a30011f4db6ea5f34c13484e0ef8
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.