wifi: mt76: mt792x: Fix memory leak in SDIO TX path
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ b747fa343817fd322b4463dda99d28fc51e19c52 · < 6a342db7a6502bc6781579145e05d4d4731786ab| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt792x: Fix memory leak in SDIO TX path
When tx_prepare_skb() returns an error in the SDIO TX path, the skb is not freed, leading to a memory leak. This can occur when zero-length frames (such as WNM NULL frames) are dropped to prevent potential hardware TX hangs.
Fix this by properly releasing the skb with ieee80211_tx_status_ext() when tx_prepare_skb() fails.
From the CVE record · Linux
The Linux kernel’s mt792x SDIO TX path leaks an skb when tx_prepare_skb() returns an error. This can occur when zero-length frames are dropped to prevent potential hardware TX hangs. The input does not specify an attacker or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the mt792x SDIO TX path should check whether their kernel includes the fix; affected versions are not specified.