CVE-2026-63997

ethtool: module: avoid leaking a netdev ref on module flash errors

Published Jul 19, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ethtool: module: avoid leaking a netdev ref on module flash errors

module_flash_fw_schedule() is missing undo for setting
the "in_progress" flag and taking the netdev reference.
Delay taking these, the device can't disappear while
we are holding rtnl_lock.

Analysis

AI-generated

Technical impact

The Linux kernel ethtool module contains a flaw where the function module_flash_fw_schedule does not release a network device reference and clear its in_progress flag when a firmware flash operation fails. This omission can lead to a stale reference while the rtnl_lock is held, potentially causing kernel instability and preventing the affected network device from being cleanly removed. The weakness manifests as an unfreed memory/resource leak (CWE‑401).

Affected Systems

All Linux kernel distributions that compile the ethtool module without the patch that restores proper reference handling are affected. This includes any kernel version prior to the commit referenced in the kernel tree that fixes the reference handling in module_flash_fw_schedule. Specific version numbers are not supplied, so any kernel lacking the fix should be treated as vulnerable.

Risk and Exploitability

The base CVSS score of 5.5 denotes medium severity. EPSS is under 1 %, indicating a very low likelihood of exploitation. The vulnerability is not listed in CISA KEV. Exploitation would require local or privileged access to invoke the firmware flash ability of ethtool, making the attack vector likely local or insider. Successful exploitation could lead to a local denial‑of‑service of the networking subsystem but does not provide remote code execution. Because the CVE description does not explicitly describe the attack vector, this interpretation is inferred.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the commit restoring proper reference handling in ethtool's module_flash_fw_schedule.
  • If updating the kernel is not immediately feasible, restrict the firmware flashing capability of ethtool to trusted privileged users or disable it entirely.
  • Configure system monitoring or audit logging to detect repeated firmware flash failures and intervene if stale references accumulate; consider adding a watchdog that resets affected network devices.

Generated by OpenCVE AI on October 17, 2026 at 10:36 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
Ubuntu USN Ubuntu USN USN-8663-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8664-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-401
CPEs cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*
Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Low

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ethtool: module: avoid leaking a netdev ref on module flash errors module_flash_fw_schedule() is missing undo for setting the "in_progress" flag and taking the netdev reference. Delay taking these, the device can't disappear while we are holding rtnl_lock.
Title ethtool: module: avoid leaking a netdev ref on module flash errors
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Jul 19, 2026, 2:56 PM
Reserved
Jul 19, 2026, 7:54 AM
Status
Analyzed
Published
Jul 19, 2026, 4:17 PM
Modified
Oct 13, 2026, 2:39 PM
Severity
Low
Public date
Jul 19, 2026, 12:00 AM