wifi: mt76: mt7996: bound TLV walk in mt7996_mcu_get_chip_config
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s mt7996 Wi-Fi driver did not adequately check lengths while parsing firmware response TLVs. A theoretical zero-length TLV could cause an endless loop and hang the CPU during device probe; the driver could also read a u32 payload without bounds checking. The input does not establish an attacker route or specify authentication or user-interaction requirements.
Engineers running Linux kernels with the mt7996 Wi-Fi driver should check whether their kernel includes the fix; affected versions were not provided.