CVE-2026-63985

ethtool: eeprom: add more safeties to EEPROM Netlink fallback

State
Published
Severity
7.8 High
Published
Jul 19, 2026
Updated
Oct 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 96d971e307cc0e434f96329b42bbd98cfbca07d2 to before 0e182689831277faf2ef683573a60474c208f690Affected
  • 96d971e307cc0e434f96329b42bbd98cfbca07d2 to before 6ed7ebe22e9c3e3e946b6973c1ce43d3c38aeac1Affected
  • 96d971e307cc0e434f96329b42bbd98cfbca07d2 to before 65674d2489a12b8efd2ca0effb3de1d12224b596Affected
  • 96d971e307cc0e434f96329b42bbd98cfbca07d2 to before d81376053a00865c70b8d8506a1cb93f2943d413Affected
  • 96d971e307cc0e434f96329b42bbd98cfbca07d2 to before fd0de51c54fa8474a0ddeedd71c65ad09fada390Affected
  • 96d971e307cc0e434f96329b42bbd98cfbca07d2 to before 4fe1bc4b3603f621240d5b401742f302190db769Affected
  • 96d971e307cc0e434f96329b42bbd98cfbca07d2 to before 67cfdd9210b99f260b3e0afeb9525e0acc7be31eAffected
LinuxLinux
  • 5.13Affected
  • before 5.13Not affected
  • 5.15.210 through 5.15.*Not affected
  • 6.1.176 through 6.1.*Not affected
  • 6.6.143 through 6.6.*Not affected
  • 6.12.93 through 6.12.*Not affected
  • 6.18.35 through 6.18.*Not affected
  • 7.0.12 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.