Skip to main content
Vulnerability Database/CVE-2026-98619

CVE-2026-98619: Linux Kernel Race Condition Vulnerability

CVE-2026-98619 is a race condition flaw in the Linux kernel ethtool self-test implementation that causes improper locking during device reconfiguration. This article covers technical details, affected versions, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-98619 Overview

CVE-2026-98619 is a locking defect in the Linux kernel networking stack. The ETHTOOL_TEST ioctl path invokes offline self tests that tear down and reopen a network interface without holding rtnl_lock. The regression affects ops-locked drivers where the ethtool IOCTL path became rtnl-optional, causing netif_close() and netif_open() to run with only the netdev instance lock held. Lockdep reports a suspicious RCU usage warning in netpoll_poll_disable, and ASSERT_RTNL() can trip in __dev_close_many() and __dev_open(). The upstream fix adds an opt-in flag so drivers whose offline self test needs rtnl_lock can request it on the ioctl path.

Critical Impact

Running the offline ethtool self test on ops-locked drivers reconfigures the device without the required rtnl_lock, risking inconsistent network state and kernel warnings.

Affected Products

  • Linux kernel networking subsystem (net/ethtool)
  • fbnic driver (ops-locked via queue_mgmt_ops)
  • bnxt driver (ops-locked via queue_mgmt_ops)

Discovery Timeline

  • 2026-10-18 - CVE-2026-98619 published to NVD
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-98619

Vulnerability Analysis

The Linux kernel ethtool IOCTL path became rtnl-optional for ops-locked drivers. As a result, the ETHTOOL_TEST ioctl handler now executes with only the netdev instance lock held rather than rtnl_lock. Offline self tests on affected drivers call netif_close() followed by netif_open() to cycle the interface. Both operations require rtnl_lock because they mutate global netdev state and traverse structures protected by RTNL.

With lockdep enabled, the condition reproduces deterministically. A warning fires in net/core/netpoll.c:207 from rcu_dereference_protected() because the caller holds &dev->lock instead of the expected RTNL. The call chain traces through dev_ethtool, dev_ethtool_locked, the driver's fbnic_self_test or bnxt_self_test, then into netif_close and __dev_close_many.

Root Cause

The root cause is a missing lock acquisition on the ethtool self test code path for ops-locked drivers. The self_test operation is a legacy ioctl-only command, but driver implementations assume RTNL is held when they invoke netif_close() / netif_open() or the bnxt equivalents bnxt_close_nic(), bnxt_half_open_nic(), bnxt_half_close_nic(), and bnxt_open_nic(). Without lockdep, the stricter ASSERT_RTNL() check in __dev_close_many() and __dev_open() only samples the global RTNL state and can be masked by a concurrent RTNL holder, hiding the defect while the device is reconfigured unsafely.

Attack Vector

The issue is triggered locally by any process with permission to issue the ETHTOOL_TEST ioctl against an interface backed by an ops-locked driver, typically by running ethtool -t <iface> offline. There is no evidence of remote exploitation, and the public kernel discussion frames this as a correctness and stability bug rather than a privilege boundary violation. The upstream commits introduce an opt-in bit that drivers set when their self test requires rtnl_lock, and the ioctl path acquires RTNL when the bit is present.

See the upstream fixes for implementation details: Kernel Git Commit 1b82958 and Kernel Git Commit 4ca15034.

Detection Methods for CVE-2026-98619

Indicators of Compromise

  • Kernel log entries containing WARNING: suspicious RCU usage originating from net/core/netpoll.c during ethtool activity.
  • ASSERT_RTNL() splats sourced from __dev_close_many() or __dev_open() on hosts running the fbnic or bnxt driver.
  • Audit records showing ioctl calls with ETHTOOL_TEST against interfaces served by ops-locked drivers.

Detection Strategies

  • Enable CONFIG_PROVE_LOCKING and CONFIG_LOCKDEP on test kernels and run ethtool -t <iface> offline to deterministically reproduce the warning on vulnerable builds.
  • Scrape dmesg and journald for the call trace signature fbnic_self_test or bnxt_self_test followed by netif_close / __dev_close_many.
  • Track kernel versions across the fleet and flag hosts running pre-patch kernels with fbnic or bnxt NICs.

Monitoring Recommendations

  • Forward kernel ring-buffer events to a central log store and alert on new suspicious RCU usage or ASSERT_RTNL strings.
  • Monitor administrative use of ethtool -t through auditd rules on the ioctl syscall with cmd=ETHTOOL_TEST.
  • Correlate NIC flap events with recent ethtool activity to identify operator-induced interface churn.

How to Mitigate CVE-2026-98619

Immediate Actions Required

  • Apply stable kernel updates that include the upstream commits 1b82958f3f03 and 4ca1503491f1.
  • Avoid running offline ethtool self tests on production hosts using fbnic or bnxt until the patched kernel is deployed.
  • Restrict CAP_NET_ADMIN to operators who require it, limiting who can invoke ETHTOOL_TEST.

Patch Information

The fix adds an opt-in bit for drivers whose self test must run under rtnl_lock and sets that bit on fbnic and bnxt. On the ioctl path, the ethtool core then takes rtnl_lock before dispatching ETHTOOL_TEST to the driver. Patches are published in the stable tree at Kernel Git Commit 1b82958 and Kernel Git Commit 4ca15034.

Workarounds

  • Skip the offline self test and use the online variant where supported, since only the offline path cycles the interface.
  • Hold rtnl_lock externally by serializing ethtool activity through orchestration that avoids concurrent netdev reconfiguration.
  • Disable scheduled NIC diagnostics that invoke ethtool -t <iface> offline on affected drivers until the kernel is updated.
bash
# Verify kernel version and search for the fix
uname -r
git log --oneline v6.x..HEAD -- net/ethtool/ioctl.c | grep -i self

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.