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

CVE-2026-97574: Linux Kernel bnxt_en Use-After-Free Vulnerability

CVE-2026-97574 is a use-after-free flaw in the Linux kernel bnxt_en driver that can cause memory corruption during queue restart failures. This post explains its technical details, affected versions, and mitigation steps.

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-97574 Overview

CVE-2026-97574 is a use-after-free vulnerability in the Linux kernel's bnxt_en network driver for Broadcom NetXtreme Ethernet adapters. The flaw resides in the bnxt_queue_mem_alloc() function, which shallow-copies a live RX ring into a clone structure during queue restart operations. The clone retains pointers to rx_tpa and rx_tpa_idx_map memory owned by the live ring. If a subsequent allocation fails and the err_free_tpa_info cleanup path executes, the live ring's Transparent Packet Aggregation (TPA) state is freed while still in use. The upstream fix initializes the clone's pointers to NULL to prevent inadvertent release of live ring state.

Critical Impact

An allocation failure during RX queue restart can free memory still referenced by the active ring, leading to kernel memory corruption on affected Broadcom NIC deployments.

Affected Products

  • Linux kernel versions containing the bnxt_en driver with queue restart support
  • Systems using Broadcom NetXtreme (BCM57xx) Ethernet controllers
  • Stable kernel branches prior to the patch commits referenced below

Discovery Timeline

  • 2026-09-25 - CVE-2026-97574 published to NVD
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-97574

Vulnerability Analysis

The bnxt_en driver manages RX ring state for Broadcom NetXtreme Ethernet adapters. During a queue restart, bnxt_queue_mem_alloc() creates a clone of the live receive ring using a memcpy(clone, rxr, sizeof(*rxr)) operation. This shallow copy duplicates all pointer fields, including those that reference heap-allocated TPA tracking structures.

The existing code zeroes out several clone-owned pointers such as rx_agg_bmap after the copy. However, the rx_tpa and rx_tpa_idx_map pointers are left intact, so both the clone and the live ring reference the same TPA buffers. When a downstream allocation fails inside bnxt_queue_mem_alloc(), control transfers to the err_free_tpa_info label. That cleanup routine releases the TPA memory through the clone's pointers, which also deallocates buffers the live ring continues to use.

Root Cause

The root cause is incomplete pointer sanitization after a shallow structure copy. Because the clone shares ownership semantics with the live ring for rx_tpa and rx_tpa_idx_map, the error path cannot distinguish freshly allocated memory from inherited references. The fix explicitly sets these fields to NULL on the clone before any allocation can fail, ensuring the error path only frees clone-owned resources.

Attack Vector

Triggering the condition requires reaching the error path in bnxt_queue_mem_alloc(), which depends on kernel memory allocation failure during a queue restart. A local attacker able to induce memory pressure while initiating queue reconfiguration on a bnxt-managed interface could provoke the use-after-free. Subsequent packet processing on the live ring would then access freed TPA state, enabling kernel memory corruption or denial of service.

No verified public exploit code is available. See the upstream patches for implementation detail: Kernel Git Commit 0596a7ca, Kernel Git Commit 5ce7f36c, and Kernel Git Commit 8ade9561.

Detection Methods for CVE-2026-97574

Indicators of Compromise

  • Kernel oops or panic logs referencing bnxt_en, rx_tpa, or bnxt_queue_mem_alloc in the call stack.
  • KASAN (Kernel Address Sanitizer) use-after-free reports tied to TPA structures on systems with Broadcom NetXtreme NICs.
  • Unexpected RX ring resets or NIC resets correlated with periods of host memory pressure.

Detection Strategies

  • Enable KASAN on test and staging kernels running the bnxt_en driver to surface use-after-free conditions during queue restart scenarios.
  • Audit installed kernel versions against the fixed commits (0596a7ca, 5ce7f36c, 8ade9561) to identify hosts still exposed.
  • Correlate NIC queue-restart events with concurrent allocation failures reported in dmesg or kernel telemetry.

Monitoring Recommendations

  • Forward kernel ring buffer messages and crash dumps to a centralized logging platform for pattern analysis across the fleet.
  • Monitor for repeated bnxt-related warnings or NIC resets that may indicate exploitation attempts or latent instability.
  • Track memory-pressure metrics on hosts with Broadcom NetXtreme adapters to identify conditions that can trigger the error path.

How to Mitigate CVE-2026-97574

Immediate Actions Required

  • Inventory Linux hosts using the bnxt_en driver, particularly servers equipped with Broadcom NetXtreme (BCM57xx) adapters.
  • Apply the upstream kernel patches or vendor-provided stable kernel updates that initialize the clone's rx_tpa and rx_tpa_idx_map pointers to NULL.
  • Reboot affected systems after patching to load the corrected kernel image.

Patch Information

The vulnerability is resolved by three upstream commits: Kernel Git Commit 0596a7ca, Kernel Git Commit 5ce7f36c, and Kernel Git Commit 8ade9561. Each patch ensures the cloned RX ring no longer owns references to the live ring's TPA state. Distribution vendors backport these commits into stable kernel branches; consult your distribution's security tracker for the exact fixed package version.

Workarounds

  • Avoid issuing queue restart operations (for example, via ethtool -L or runtime ring reconfiguration) on bnxt-managed interfaces until a patched kernel is deployed.
  • Reduce host memory pressure through workload tuning so that the bnxt_queue_mem_alloc() error path is less likely to execute.
  • Where feasible, disable TPA (Large Receive Offload) on affected interfaces using ethtool -K <iface> lro off to shrink the window for exercising the vulnerable code path.
bash
# Verify running kernel and disable LRO as a temporary mitigation
uname -r
ethtool -K eth0 lro off

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.