nvmem: layouts: onie-tlv: fix hang on unknown types
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:
nvmem: layouts: onie-tlv: fix hang on unknown types
The EEPROM on my board has a vendor specific entry of type 0x41. When stumbling upon that, this driver hangs in an endless loop.
Fix it by keep incrementing the offset on unknown entries, so the loop will eventually stop.
From the CVE record · Linux
The Linux kernel’s onie-tlv nvmem layout driver can enter an endless loop when it encounters an unknown EEPROM entry type, such as vendor-specific type 0x41. The input does not specify how an attacker could cause this condition or whether access or user interaction is required.
Engineers running Linux kernels that use the onie-tlv nvmem layout should check their systems; affected versions are not specified.