wifi: mt76: mt7915: bound the device EEPROM address before the EFUSE copy
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e57b7901469fc0b021930b83a8094baaf3d81b09 · < 44b5adfe49499f53002737f5fe81d608c08122fc| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7915: bound the device EEPROM address before the EFUSE copy
mt7915_mcu_get_eeprom() copies a fixed EFUSE block into the driver's dev->mt76.eeprom.data buffer at the offset reported by the MCU response (res->addr, a device-controlled __le32) without checking it against the buffer size. A malicious or malfunctioning device can report an arbitrary address and drive a 16-byte out-of-bounds write 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 mt7915 driver does not check a device-reported EEPROM address before copying a 16-byte EFUSE block into a buffer. A malicious or malfunctioning device can report an out-of-bounds address and cause a write past the buffer. The input does not specify authentication or user-interaction requirements.
Engineers running Linux kernels with the mt76 mt7915 driver should check their deployments; affected versions are not specified.