Skip to main content
← All vulnerabilities
CVE-2026-63985

ethtool: eeprom: add more safeties to EEPROM Netlink fallback

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.15.210, 6.1.176, 6.6.143, 6.12.93, 6.18.35, and 1 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From 96d971e307cc0e434f96329b42bbd98cfbca07d2 · fixed in 0e182689831277faf2ef683573a60474c208f690; From 96d971e307cc0e434f96329b42bbd98cfbca07d2 · fixed in 6ed7ebe22e9c3e3e946b6973c1ce43d3c38aeac1; From 96d971e307cc0e434f96329b42bbd98cfbca07d2 · fixed in 65674d2489a12b8efd2ca0effb3de1d12224b596; From 96d971e307cc0e434f96329b42bbd98cfbca07d2 · fixed in d81376053a00865c70b8d8506a1cb93f2943d413; From 96d971e307cc0e434f96329b42bbd98cfbca07d2 · fixed in fd0de51c54fa8474a0ddeedd71c65ad09fada390; From 96d971e307cc0e434f96329b42bbd98cfbca07d2 · fixed in 4fe1bc4b3603f621240d5b401742f302190db769; From 96d971e307cc0e434f96329b42bbd98cfbca07d2 · fixed in 67cfdd9210b99f260b3e0afeb9525e0acc7be31e

  • Linux Linux

    5.13

  • KernelLinux

    From 5.13.0 · fixed in 5.15.210; From 5.16.0 · fixed in 6.1.176; From 6.2.0 · fixed in 6.6.143; From 6.7.0 · fixed in 6.12.93; From 6.13.0 · fixed in 6.18.35; From 6.19.0 · fixed in 7.0.12

References 7

git.kernel.org