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)
https://git.kernel.org/stable/c/c86f258842b5c999b98257de6c4e83a88eb1d806
https://git.kernel.org/stable/c/ad626a35bd7884de79d6a3c27e70089490787838
https://git.kernel.org/stable/c/82856da2d3b6a30011f4db6ea5f34c13484e0ef8
https://git.kernel.org/stable/c/5bbfc1573665571ea59a193d40543885cc28619c
https://git.kernel.org/stable/c/027f0e413bb348c99a0cd1029b2fce97f8ad0b09
https://git.kernel.org/stable/c/001c88ed4a17ea6705b7c00cf00cdd73d60078e7