CVE-2026-90378: wifi: mt76: mt792x: Fix memory leak in SDIO TX path
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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.
The Linux kernel CVE team has assigned CVE-2026-90378 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.12 with commit b747fa343817fd322b4463dda99d28fc51e19c52 and fixed in 5.15.221 with commit b64d196280aff8494ba6fb387e37b18479c99b83 Issue introduced in 5.12 with commit b747fa343817fd322b4463dda99d28fc51e19c52 and fixed in 6.1.188 with commit 9ef1351209d42b7d96604f2a13d7ea8215a24e07 Issue introduced in 5.12 with commit b747fa343817fd322b4463dda99d28fc51e19c52 and fixed in 6.6.157 with commit c2c7f16f2c62f79f7c381e500afa7123580742a5 Issue introduced in 5.12 with commit b747fa343817fd322b4463dda99d28fc51e19c52 and fixed in 6.12.110 with commit 6a8000c76dc34490a2bb321ad1a5f882a2ccab7c Issue introduced in 5.12 with commit b747fa343817fd322b4463dda99d28fc51e19c52 and fixed in 6.18.52 with commit ddf6a17d8e3d0dbb841c13c10d7c1340a138a80d Issue introduced in 5.12 with commit b747fa343817fd322b4463dda99d28fc51e19c52 and fixed in 7.2.6 with commit 6a342db7a6502bc6781579145e05d4d4731786ab Issue introduced in 5.12 with commit b747fa343817fd322b4463dda99d28fc51e19c52 and fixed in 7.3-rc1 with commit 808f2767d4217a5b96f674288573b9b89d432eed
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-90378
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/sdio.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/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