wifi: mt76: mt7996: validate default EEPROM firmware size
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 default EEPROM firmware size
The default EEPROM firmware is parsed and copied as a full EEPROM without checking its length. A truncated file can make the driver read beyond the firmware buffer during variant validation or the fallback copy.
Reject files shorter than MT7996_EEPROM_SIZE before parsing or copying the firmware.
From the CVE record · Linux
The Linux kernel's mt76 mt7996 driver does not check the length of default EEPROM firmware before parsing or copying it. A truncated firmware file can cause an out-of-bounds read during variant validation or the fallback copy. The input does not specify how an attacker could supply the file or whether authentication or user interaction is required.
Teams running Linux kernels with the mt76 mt7996 driver should check whether their kernel is affected; affected versions were not provided.