wifi: mt76: mt7996: bound the device EEPROM address before the EFUSE copy
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 the device EEPROM address before the EFUSE copy
mt7996_mcu_get_eeprom() derives the destination of the EFUSE/EXT block copy from the address reported by the MCU response (event->addr, a device-controlled __le32) and clamps only the copy length, never the destination offset into dev->mt76.eeprom.data. A malicious or malfunctioning device can report an arbitrary address and drive an out-of-bounds write of up to MT7996_EXT_EEPROM_BLOCK_SIZE bytes past eeprom.data.
Reject a response whose address would place the copy outside eeprom.data before deriving the destination pointer. Devices that echo the requested in-bounds offset are unaffected.
From the CVE record · Linux
The Linux kernel’s mt76 mt7996 driver does not check a device-reported EEPROM address before copying an EFUSE block. A malicious or malfunctioning device can supply an address that causes an out-of-bounds write. The input does not specify authentication or user-interaction requirements.
Engineers running Linux systems with mt7996 devices should check their kernel builds; affected versions are not specified.