{"id":"CVE-2026-138886","summary":"wifi: mt76: fix memory leak in USB TX path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: fix memory leak in USB TX path\n\nWhen errors occur in mt76u_tx_queue_skb(), the skb is not properly\nfreed, leading to memory leaks. This happens when:\n- The queue is full\n- tx_prepare_skb() drops zero-length frames (such as WMM NULL frames)\n  to prevent hardware TX hangs\n- Buffer setup fails\n\nFix by properly releasing the skb with ieee80211_tx_status_ext() when\nthe queue is full or tx_prepare_skb() fails, and using\nmt76_tx_complete_skb() when mt76u_tx_setup_buffers() fails (since\ntx_prepare_skb() has already succeeded and may have allocated resources\nthat need cleanup)","modified":"2026-12-01T21:02:34.987296421Z","published":"2026-11-30T13:25:54.296Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138886.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/001c88ed4a17ea6705b7c00cf00cdd73d60078e7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/027f0e413bb348c99a0cd1029b2fce97f8ad0b09"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5bbfc1573665571ea59a193d40543885cc28619c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/82856da2d3b6a30011f4db6ea5f34c13484e0ef8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ad626a35bd7884de79d6a3c27e70089490787838"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c86f258842b5c999b98257de6c4e83a88eb1d806"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138886.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138886"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b40b15e1521f7764ea8c68d5a00ecc971b673d21"},{"fixed":"c86f258842b5c999b98257de6c4e83a88eb1d806"},{"fixed":"027f0e413bb348c99a0cd1029b2fce97f8ad0b09"},{"fixed":"5bbfc1573665571ea59a193d40543885cc28619c"},{"fixed":"001c88ed4a17ea6705b7c00cf00cdd73d60078e7"},{"fixed":"ad626a35bd7884de79d6a3c27e70089490787838"},{"fixed":"82856da2d3b6a30011f4db6ea5f34c13484e0ef8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138886.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.19.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138886.json"}}],"schema_version":"1.9.2"}