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

CVE-2026-97571: Linux Kernel Privilege Escalation Vulnerability

CVE-2026-97571 is a privilege escalation flaw in the Linux kernel bnxt_en driver that can cause uninitialized memory access. This article covers the 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-97571 Overview

CVE-2026-97571 is a Linux kernel vulnerability in the Broadcom NetXtreme-C/E (bnxt_en) network driver. The flaw stems from bnxt_queue_mem_alloc() discarding the return value of bnxt_alloc_one_tpa_info_data(). When a Transparent Packet Aggregation (TPA) buffer allocation fails with -ENOMEM, the partially initialized receive ring is still installed by bnxt_queue_start(). This leaves uninitialized entries in rxr->rx_tpa[], allowing a zero DMA address to be handed to the device at runtime.

Critical Impact

An uninitialized TPA slot can be selected by hardware aggregation, causing the Broadcom NIC to receive a zero DMA address and triggering memory corruption or device-level faults on affected kernels.

Affected Products

  • Linux kernel versions containing the bnxt_en queue memory allocation path prior to the referenced stable commits
  • Systems using Broadcom NetXtreme-C/E Ethernet controllers with the bnxt_en driver
  • Downstream distributions shipping unpatched bnxt_en driver code

Discovery Timeline

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

Technical Details for CVE-2026-97571

Vulnerability Analysis

The vulnerability resides in the bnxt_en driver's receive ring initialization logic. The function bnxt_alloc_one_tpa_info_data() iterates through TPA entries and returns -ENOMEM on the first allocation failure. Any remaining rxr->rx_tpa[] entries stay zero-initialized rather than fully populated with valid DMA buffer metadata.

The caller bnxt_queue_mem_alloc() ignores this error code. Control passes to bnxt_queue_start(), which installs the partially initialized ring onto the active data path. The driver proceeds as if ring setup succeeded.

At runtime, the hardware chooses an aggregation ID (agg_id) when assembling received packets. The helper bnxt_alloc_agg_idx maps that hardware-chosen ID to a software index in rxr->rx_tpa[]. If the selected index corresponds to an uninitialized slot, the driver passes a zero DMA address to the device, producing an invalid buffer reference during packet reception.

Root Cause

The root cause is improper error propagation [CWE-252] combined with use of uninitialized memory in a DMA-mapped structure. The allocation routine signals failure correctly, but the caller discards the return value. The resulting partial initialization leaves the ring in an inconsistent state while the driver treats it as valid.

Attack Vector

The condition requires memory pressure sufficient to fail a TPA buffer allocation during queue setup or restart. A local actor who can trigger queue reconfiguration under constrained memory conditions can reach the vulnerable code path. Successful triggering results in zero DMA addresses being exposed to the NIC, which can lead to device malfunction, kernel instability, or memory corruption. No proof-of-concept exploit has been published for this issue.

The fix checks the return value of bnxt_alloc_one_tpa_info_data(), unwinds the partial allocation, and frees the ring buffers before returning. See the upstream patches for implementation details: Kernel Git Commit 37e08dc, Kernel Git Commit b814dfb, and Kernel Git Commit c805038.

Detection Methods for CVE-2026-97571

Indicators of Compromise

  • Kernel log entries from bnxt_en referencing DMA errors, invalid buffer addresses, or receive ring faults after queue reconfiguration
  • Unexpected NIC resets, link flaps, or receive stalls on hosts using Broadcom NetXtreme-C/E adapters
  • Allocation failure messages (page allocation failure, order:X) immediately preceding bnxt_en warnings

Detection Strategies

  • Inventory running kernel versions and compare against the fixed commits in each stable branch
  • Correlate dmesg output with periods of high memory pressure or queue restart events (ethtool ring changes, interface up/down)
  • Monitor IOMMU fault logs for DMA address violations originating from the bnxt_en PCI function

Monitoring Recommendations

  • Collect kernel ring buffer and /var/log/messages entries centrally and alert on bnxt_en error strings
  • Track memory allocation failure counters exposed via /proc/vmstat on hosts with Broadcom NICs
  • Observe NIC interface counters for sudden drops, resets, or receive errors following queue operations

How to Mitigate CVE-2026-97571

Immediate Actions Required

  • Apply the upstream Linux kernel patches referenced in the stable tree commits to all affected hosts
  • Prioritize hosts with Broadcom NetXtreme-C/E adapters serving production or network-critical workloads
  • Validate vendor kernel updates from distribution maintainers and schedule reboots once backports are available

Patch Information

The fix adds error handling to bnxt_queue_mem_alloc() so that an -ENOMEM return from bnxt_alloc_one_tpa_info_data() triggers cleanup of previously allocated ring buffers. The relevant upstream commits are 37e08dc, b814dfb, and c805038. Apply the patch matching your stable kernel branch.

Workarounds

  • Avoid runtime queue reconfiguration (ethtool -L, ethtool -G) on affected hosts until patched
  • Reduce memory pressure on NIC hosts by right-sizing workloads so TPA ring allocations succeed on the first attempt
  • Disable TPA / Large Receive Offload via ethtool -K <iface> lro off where operationally acceptable to narrow the vulnerable code path

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.