In the Linux kernel, the following vulnerability has been resolved:
ethtool: eeprom: add more safeties to EEPROM Netlink fallback
The Netlink fallback path for reading module EEPROM
(fallback_set_params()) validates that offset < eeprom_len,
but does not check that offset + length stays within eeprom_len.
The ioctl equivalent (ethtool_get_any_eeprom() in ioctl.c) has
always enforced both bounds:
if (eeprom.offset + eeprom.len > total_len)
return -EINVAL;
This could lead to surprises in both drivers and device FW.
Add the missing offset + length validation to fallback_set_params(),
mirroring the ioctl.
Similarly - ethtool core in general, and ethtool_get_any_eeprom()
in particular tries to zero-init all buffers passed to the drivers
to avoid any extra work of zeroing things out. eeprom_fallback()
uses a plain kmalloc(), change it to zalloc.
CVSS
7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
96d971e307cc0e434f96329b42bbd98cfbca07d2 builds before 0e182689831277faf2ef683573a60474c208f690; 96d971e307cc0e434f96329b42bbd98cfbca07d2 builds before 6ed7ebe22e9c3e3e946b6973c1ce43d3c38aeac1; from 96d971e307cc0e434f96329b42bbd98cfbca07d2 before 65674d2489a12b8efd2ca0effb3de1d12224b596; from 96d971e307cc0e434f96329b42bbd98cfbca07d2 before d81376053a00865c70b8d8506a1cb93f2943d413; from 96d971e307cc0e434f96329b42bbd98cfbca07d2 before fd0de51c54fa8474a0ddeedd71c65ad09fada390; 96d971e307cc0e434f96329b42bbd98cfbca07d2 builds before 4fe1bc4b3603f621240d5b401742f302190db769; 96d971e307cc0e434f96329b42bbd98cfbca07d2 builds before 67cfdd9210b99f260b3e0afeb9525e0acc7be31e
from 5.13 before 5.15.210; from 5.16 before 6.1.176; from 6.2 before 6.6.143; from 6.7 before 6.12.93; from 6.13 before 6.18.35; from 6.19 before 7.0.12; 7.1; 7.1; and 3 more ranges
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.
Printed from infosecsignals.com. Every record links back to the agency that published it.
Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.