Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected b747fa343817fd322b4463dda99d28fc51e19c52 before b64d196280aff8494ba6fb387e37b18479c99b83; affected b747fa343817fd322b4463dda99d28fc51e19c52 before 9ef1351209d42b7d96604f2a13d7ea8215a24e07; affected b747fa343817fd322b4463dda99d28fc51e19c52 before c2c7f16f2c62f79f7c381e500afa7123580742a5; affected b747fa343817fd322b4463dda99d28fc51e19c52 before 6a8000c76dc34490a2bb321ad1a5f882a2ccab7c; affected b747fa343817fd322b4463dda99d28fc51e19c52 before ddf6a17d8e3d0dbb841c13c10d7c1340a138a80d; affected b747fa343817fd322b4463dda99d28fc51e19c52 before 6a342db7a6502bc6781579145e05d4d4731786ab; affected b747fa343817fd322b4463dda99d28fc51e19c52 before 808f2767d4217a5b96f674288573b9b89d432eed |
| Linux / Linux | affected 5.12; unaffected 0 before 5.12; unaffected 5.15.221 through 5.15.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/b64d196280aff8494ba6fb387e37b18479c99b83
- https://git.kernel.org/stable/c/9ef1351209d42b7d96604f2a13d7ea8215a24e07
- https://git.kernel.org/stable/c/c2c7f16f2c62f79f7c381e500afa7123580742a5
- https://git.kernel.org/stable/c/6a8000c76dc34490a2bb321ad1a5f882a2ccab7c
- https://git.kernel.org/stable/c/ddf6a17d8e3d0dbb841c13c10d7c1340a138a80d
- https://git.kernel.org/stable/c/6a342db7a6502bc6781579145e05d4d4731786ab
- https://git.kernel.org/stable/c/808f2767d4217a5b96f674288573b9b89d432eed