CVE-2026-63985

Source
https://cve.org/CVERecord?id=CVE-2026-63985
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63985.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-63985
Downstream
Published
2026-07-19T14:56:07.527Z
Modified
2026-07-21T03:47:42.344706526Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
ethtool: eeprom: add more safeties to EEPROM Netlink fallback
Details

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 (fallbacksetparams()) validates that offset < eepromlen, but does not check that offset + length stays within eepromlen. The ioctl equivalent (ethtoolgetany_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 fallbacksetparams(), mirroring the ioctl.

Similarly - ethtool core in general, and ethtoolgetanyeeprom() in particular tries to zero-init all buffers passed to the drivers to avoid any extra work of zeroing things out. eepromfallback() uses a plain kmalloc(), change it to zalloc.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63985.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
96d971e307cc0e434f96329b42bbd98cfbca07d2
Fixed
0e182689831277faf2ef683573a60474c208f690
Fixed
6ed7ebe22e9c3e3e946b6973c1ce43d3c38aeac1
Fixed
65674d2489a12b8efd2ca0effb3de1d12224b596
Fixed
d81376053a00865c70b8d8506a1cb93f2943d413
Fixed
fd0de51c54fa8474a0ddeedd71c65ad09fada390
Fixed
4fe1bc4b3603f621240d5b401742f302190db769
Fixed
67cfdd9210b99f260b3e0afeb9525e0acc7be31e

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63985.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.13.0
Fixed
5.15.210
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.176
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.143
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.93
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.35
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.12

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63985.json"