* CVE-2026-138886: wifi: mt76: fix memory leak in USB TX path
@ 2026-11-30 13:26 Greg Kroah-Hartman
0 siblings, 0 replies; only message in thread
From: Greg Kroah-Hartman @ 2026-11-30 13:26 UTC (permalink / raw)
To: linux-cve-announce; +Cc: Greg Kroah-Hartman
From: Greg Kroah-Hartman <gregkh@kernel.org>
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)
The Linux kernel CVE team has assigned CVE-2026-138886 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.19 with commit b40b15e1521f7764ea8c68d5a00ecc971b673d21 and fixed in 6.1.193 with commit c86f258842b5c999b98257de6c4e83a88eb1d806
Issue introduced in 4.19 with commit b40b15e1521f7764ea8c68d5a00ecc971b673d21 and fixed in 6.6.163 with commit 027f0e413bb348c99a0cd1029b2fce97f8ad0b09
Issue introduced in 4.19 with commit b40b15e1521f7764ea8c68d5a00ecc971b673d21 and fixed in 6.12.117 with commit 5bbfc1573665571ea59a193d40543885cc28619c
Issue introduced in 4.19 with commit b40b15e1521f7764ea8c68d5a00ecc971b673d21 and fixed in 6.18.63 with commit 001c88ed4a17ea6705b7c00cf00cdd73d60078e7
Issue introduced in 4.19 with commit b40b15e1521f7764ea8c68d5a00ecc971b673d21 and fixed in 7.3.4 with commit ad626a35bd7884de79d6a3c27e70089490787838
Issue introduced in 4.19 with commit b40b15e1521f7764ea8c68d5a00ecc971b673d21 and fixed in 7.4-rc1 with commit 82856da2d3b6a30011f4db6ea5f34c13484e0ef8
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-138886
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/wireless/mediatek/mt76/usb.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-30 13:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 13:26 CVE-2026-138886: wifi: mt76: fix memory leak in USB TX path Greg Kroah-Hartman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.