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.
Published: 2026-07-19
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s ethtool subsystem includes a Netlink fallback for reading EEPROM data that checks only the offset against the stored EEPROM length. It fails to verify that the requested read length does not extend beyond the buffer, creating a classic out‑of‑bounds read. This flaw could cause unpredictable data leakage or corruption when drivers or firmware process the returned buffer. The vulnerability is a pure input‑validation failure and is classified as CWE‑125.

Affected Systems

All Linux kernel builds that use the original ethtool EEPROM code before commit 0e1826898 are affected. This includes custom kernels and vendor distributions that have not applied the patch. Kernel releases incorporating the updated ethtool implementation are not vulnerable, and the Netlink interface for EEPROM reads is safe thereafter.

Risk and Exploitability

The flaw has a CVSS score of 7.8, indicating moderate to high severity. The EPSS score is less than 1 % and the vulnerability is not listed in CISA’s KEV catalog, suggesting low likelihood of exploitation. Attack requires local access to the kernel’s ethtool Netlink interface; no remote or privilege‑escalation vectors are described. An attacker could read beyond the EEPROM buffer, but no confirmed impact on system integrity or confidentiality is documented in the advisory.

Generated by OpenCVE AI on August 4, 2026 at 18:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel commit 0e1826898, which adds full offset‑plus‑length bounds checking and zero‑initializes the fallback buffer for EEPROM reads.
  • If using a custom or older kernel, replace the old fallback_set_params() implementation with the patched code or rebuild the ethtool module from the fixed source.
  • As a temporary mitigation, prefer the ioctl path for EEPROM reads or implement your own validation to ensure "offset + length" does not exceed the EEPROM size before invoking the Netlink interface.

Generated by OpenCVE AI on August 4, 2026 at 18:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Mon, 27 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-788

Wed, 22 Jul 2026 12:15:00 +0000


Tue, 21 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
CWE-20
CWE-788

Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sun, 19 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title ethtool: eeprom: add more safeties to EEPROM Netlink fallback
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:37:53.524Z

Reserved: 2026-07-19T07:54:57.025Z

Link: CVE-2026-63985

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-63985 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T18:15:03Z

Weaknesses