# CVE-2026-63985: ethtool: eeprom: add more safeties to EEPROM Netlink fallback

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-19T14:56:07.527Z
- Modified: 2026-10-19T21:17:16.633Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 96d971e307cc0e434f96329b42bbd98cfbca07d2 before 0e182689831277faf2ef683573a60474c208f690; from 96d971e307cc0e434f96329b42bbd98cfbca07d2 before 6ed7ebe22e9c3e3e946b6973c1ce43d3c38aeac1; from 96d971e307cc0e434f96329b42bbd98cfbca07d2 before 65674d2489a12b8efd2ca0effb3de1d12224b596; from 96d971e307cc0e434f96329b42bbd98cfbca07d2 before d81376053a00865c70b8d8506a1cb93f2943d413; from 96d971e307cc0e434f96329b42bbd98cfbca07d2 before fd0de51c54fa8474a0ddeedd71c65ad09fada390; from 96d971e307cc0e434f96329b42bbd98cfbca07d2 before 4fe1bc4b3603f621240d5b401742f302190db769; from 96d971e307cc0e434f96329b42bbd98cfbca07d2 before 67cfdd9210b99f260b3e0afeb9525e0acc7be31e; 5.13 (not affected: before 5.13; from 5.15.210 up to 5.15.*; from 6.1.176 up to 6.1.*; from 6.6.143 up to 6.6.*; from 6.12.93 up to 6.12.*; from 6.18.35 up to 6.18.*; from 7.0.12 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: 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

## References

- <https://git.kernel.org/stable/c/0e182689831277faf2ef683573a60474c208f690> (patch)
- <https://git.kernel.org/stable/c/6ed7ebe22e9c3e3e946b6973c1ce43d3c38aeac1> (patch)
- <https://git.kernel.org/stable/c/65674d2489a12b8efd2ca0effb3de1d12224b596> (patch)
- <https://git.kernel.org/stable/c/d81376053a00865c70b8d8506a1cb93f2943d413> (patch)
- <https://git.kernel.org/stable/c/fd0de51c54fa8474a0ddeedd71c65ad09fada390> (patch)
- <https://git.kernel.org/stable/c/4fe1bc4b3603f621240d5b401742f302190db769> (patch)
- <https://git.kernel.org/stable/c/67cfdd9210b99f260b3e0afeb9525e0acc7be31e> (patch)

## Sources

- CVE List: [CVE-2026-63985](https://www.cve.org/CVERecord?id=CVE-2026-63985), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-63985](https://nvd.nist.gov/vuln/detail/CVE-2026-63985), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-63985 · Whole record: https://cve.day/CVE-2026-63985.json · Rebuilt by cve.day 2026-11-25T22:59:28.893Z
