wifi: mt76: mt7996: validate RX band_idx before dereferencing phys[]
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: validate RX band_idx before dereferencing phys[]
band_idx comes from a 2-bit descriptor field (0-3) and was used directly to index dev->mt76.phys[] (size __MT_MAX_BAND == 3) and dereference the result. A corrupt or reserved descriptor value could index out of bounds or hit a NULL phy on parts with fewer bands. Reject invalid band indices, mirroring mt7996_rx_get_wcid().
From the CVE record · Linux
The Linux kernel mt76 mt7996 Wi-Fi driver did not validate an RX descriptor’s band index before using it to access a three-entry array of physical devices. A corrupt or reserved index could cause an out-of-bounds access or a NULL pointer dereference on devices with fewer bands. The input does not establish how an attacker could supply such a descriptor or whether authentication or user interaction is required.
Engineers running Linux kernels with the mt76 mt7996 driver should check their kernel version against the vendor advisory; affected versions are not specified.