CVE-2026-90370: wifi: mt76: mt7996: bound TLV walk in mt7996_mcu_get_chip_config
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7996: bound TLV walk in mt7996_mcu_get_chip_config
The response TLV loop advanced by tlv->len without a minimum, so a theoretical firmware response containing a zero-length TLV could spin forever, hanging the CPU during device probe.
The u32 payload was also read without bounds checking. Reject a short fixed field, stop on a TLV whose length underruns the header or overruns the skb.
The Linux kernel CVE team has assigned CVE-2026-90370 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.3 with commit 5d33053be609abfcfa9f5ca75d5554f2109aa40b and fixed in 6.6.157 with commit 3106f62809d45c1e6aadfad1f4d7c3f74cd53a96 Issue introduced in 6.3 with commit 5d33053be609abfcfa9f5ca75d5554f2109aa40b and fixed in 6.12.110 with commit 39aa6b853b6d69dd1fee3507efdb3c277b7c53e6 Issue introduced in 6.3 with commit 5d33053be609abfcfa9f5ca75d5554f2109aa40b and fixed in 6.18.52 with commit d0bb2189ade617e624f3c8f444ebb05f59bb2524 Issue introduced in 6.3 with commit 5d33053be609abfcfa9f5ca75d5554f2109aa40b and fixed in 7.2.6 with commit 93eaddfdd35aa6bfe570c087db4e97fb9d8a791a Issue introduced in 6.3 with commit 5d33053be609abfcfa9f5ca75d5554f2109aa40b and fixed in 7.3-rc1 with commit 44af52467e72094351a362bf69effd52f1d9c186
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-90370
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/mt7996/mcu.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/3106f62809d45c1e6aadfad1f4d7c3f74cd53a96 https://git.kernel.org/stable/c/39aa6b853b6d69dd1fee3507efdb3c277b7c53e6 https://git.kernel.org/stable/c/d0bb2189ade617e624f3c8f444ebb05f59bb2524 https://git.kernel.org/stable/c/93eaddfdd35aa6bfe570c087db4e97fb9d8a791a https://git.kernel.org/stable/c/44af52467e72094351a362bf69effd52f1d9c186