CVE Professor
/
All CVEs
CVE-2026-139101

CVE-2026-139101 — Linux Kernel — NONE Vulnerability

NONE CVSS 0 ⚡ EPSS 0.4% NVD+CVE.org

In the Linux kernel, the following vulnerability has been resolved: eth: bnxt: hand XDP frags over to the copybreak skb With a multi-buffer XDP program attached, a packet only has agg buffers if it filled its head buffer, which in page mode holds most of a page. The program can still move the start of the packet forward with bpf_xdp_adjust_head() and leave at most rx_copybreak bytes in the head. bnxt_rx_pkt() then copies the head into a new skb, puts the head page back on the ring, and calls bnxt_xdp_build_skb() on the copy. bnxt_xdp_build_skb() only sets nr_frags and the skb's length accounting, because it expects an skb built around the head page, sharing its shinfo with the xdp_buff. The copy ends up with nr_frags set but no frag descriptors, and the stack later reads and releases whatever its frags array happens to contain. The real frags leak. Copy the frag descriptors to the new skb in bnxt_copy_xdp(), so that bnxt_xdp_build_skb() finds the frags where it expects them. The frags now belong to the skb, and the head page goes back on the ring as before. Pointed out in LLM review of the first patch of the series. Confirmed by reading the code, the unfixed kernel was not run with the reproducer below. Tested on a BCM57504 at MTU 9000 with rx-copybreak raised to 1024 and a frags-capable XDP program moving the start of multi-buffer frames 3000B forward with bpf_xdp_adjust_head(), receiving 8000B ICMPv6 echo requests (a head and two agg buffers each). All 60k frames took the copybreak path with frags attached, the sampled skbs reached GRO with len=4998 data_len=4492 nr_frags=2, and were freed by the stack with the page pools' inflight count staying flat, no KASAN or DEBUG_PAGEALLOC splats.

In the Linux kernel, the following vulnerability has been resolved: eth: bnxt: hand XDP frags over to the copybreak skb With a multi-buffer XDP program attached, a packet only has agg buffers if it filled its head buffer, which in page mode holds most of a page. The program can still move the start of the packet forward with bpf_xdp_adjust_head() and leave at most rx_copybreak bytes in the head. bnxt_rx_pkt() then copies the head into a new skb, puts the head page back on the ring, and calls bnxt_xdp_build_skb() on the copy. bnxt_xdp_build_skb() only sets nr_frags and the skb's length accounting, because it expects an skb built around the head page, sharing its shinfo with the xdp_buff. The copy ends up with nr_frags set but no frag descriptors, and the stack later reads and releases whatever its frags array happens to contain. The real frags leak. Copy the frag descriptors to the new skb in bnxt_copy_xdp(), so that bnxt_xdp_build_skb() finds the frags where it expects them. The frags now belong to the skb, and the head page goes back on the ring as before. Pointed out in LLM review of the first patch of the series. Confirmed by reading the code, the unfixed kernel was not run with the reproducer below. Tested on a BCM57504 at MTU 9000 with rx-copybreak raised to 1024 and a frags-capable XDP program moving the start of multi-buffer frames 3000B forward with bpf_xdp_adjust_head(), receiving 8000B ICMPv6 echo requests (a head and two agg buffers each). All 60k frames took the copybreak path with frags attached, the sampled skbs reached GRO with len=4998 data_len=4492 nr_frags=2, and were freed by the stack with the page pools' inflight count staying flat, no KASAN or DEBUG_PAGEALLOC splats.

EPSS — Exploit Prediction Scoring System
0.4%
30-day probability
In the 32. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

This vulnerability is a Use-After-Free (UAF) and Memory Corruption flaw in the Linux kernel's Broadcom NetXtreme (bnxt) network driver, specifically within the XDP (eXpress Data Path) processing pipeline.

Technical Flaw Analysis:
The issue arises in the interaction between bnxt_rx_pkt(), bnxt_copy_xdp(), and bnxt_xdp_build_skb() when handling multi-buffer XDP frames that trigger the "copybreak" path.

1. Context: When a multi-buffer XDP program moves the packet head forward using bpf_xdp_adjust_head(), the remaining data in the head buffer may be smaller than rx_copybreak.
2. The Bug: bnxt_rx_pkt() detects this condition and copies the head data into a new sk_buff (skb). It then returns the original head page to the ring pool.
3. The Error: The function bnxt_xdp_build_skb() is called on this new skb. This function assumes it is operating on an skb built directly around the original head page (sharing shinfo with the xdp_buff). Consequently, it sets skb->nr_frags and length accounting but fails to copy the actual fragment descriptors (skb_shinfo(skb)->frags[]) from the original xdp_buff to the new skb.
4. Result: The new skb has nr_frags > 0 but its frags array contains uninitialized or stale memory (garbage pointers). When the network stack later processes this skb (e.g., during GRO or transmission), it attempts to read and release these invalid page pointers.
5. Consequence:
* Memory Corruption: The kernel reads from arbitrary memory addresses defined by the garbage pointers.
* Use-After-Free/Leak: The actual page references held by the original xdp_buff are never properly transferred or released, leading to page leaks. If the garbage pointers happen to point to freed memory, it results in a UAF.

CWE Classification:

  • CWE-416: Use After Free (Primary)

  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer (Secondary, due to reading uninitialized frags array)
  • CVSS Note: The provided CVSS score is 0/10 (NONE), which is technically incorrect for a kernel memory corruption bug. A realistic CVSS v3.1 score would be High (7.8 - 8.8) depending on the attack vector (Local vs. Network) and the ability to trigger the specific XDP path. The "NONE" rating likely reflects that it requires specific driver configuration (XDP + Copybreak) and is not trivially exploitable by default, but it is still a serious kernel integrity issue.

    ⚡ Attack Chain

    Prerequisites:
    1. Target system runs Linux kernel 5.19 or later with the bnxt driver.
    2. The network interface is using the bnxt driver (e.g., Broadcom NetXtreme-E).
    3. An XDP program is attached to the interface.
    4. The XDP program is capable of multi-buffer handling and uses bpf_xdp_adjust_head().
    5. The rx_copybreak sysctl is set to a value that allows the copy path to be triggered (e.g., > 0).

    Step 1: Discovery & Reconnaissance

  • Fingerprinting: Identify the target OS and kernel version via nmap -O or banner grabbing.

  • Driver Check: Verify if the bnxt driver is loaded:
  • lsmod | grep bnxt
        # or
        ethtool -i eth0 | grep driver
  • XDP Status: Check if XDP is active on the interface:
  • ip link show eth0 | grep xdp
        # or
        bpftool prog list
  • Configuration Check: Verify rx_copybreak setting:
  • sysctl net.core.rx_copybreak

    Step 2: Exploitation

  • Attack Vector: This is primarily a Local Privilege Escalation (LPE) or Denial of Service (DoS) vector. A remote attacker cannot directly trigger this without already having the ability to load an XDP program (which requires CAP_NET_ADMIN).

  • Scenario: A local user with CAP_NET_ADMIN (or root) attaches a malicious XDP program that manipulates packet headers to force the copybreak path with multi-buffer frames.

  • PoC Concept (Illustrative):

  • 1. Load an XDP program that:
    * Accepts multi-buffer packets.
    * Calls bpf_xdp_adjust_head(ctx, -3000) to move the head forward, leaving a small amount of data in the head buffer (less than rx_copybreak).
    * Returns XDP_PASS or XDP_TX.
    2. Generate traffic that results in multi-buffer frames (e.g., large ICMPv6 echo requests or TCP segments with MTU 9000).
    3. The kernel processes the packet, hits the bug, and corrupts memory.
    4. Exploitation Goal:
    * DoS: Trigger a kernel panic or oops due to invalid memory access.
    * LPE: If the garbage pointers in frags[] can be influenced (e.g., via heap spraying or controlling the previous contents of the xdp_buff), an attacker might redirect execution or corrupt critical kernel structures.

    Step 3: Post-Exploitation

  • DoS: The system crashes or becomes unstable.

  • LPE: If memory corruption is controlled, the attacker may escalate privileges to root by overwriting function pointers or credentials in the kernel.
  • 🌍 Real World Impact

  • Confidentiality: Low to High. If UAF is exploited, an attacker might read kernel memory, potentially exposing sensitive data (e.g., cryptographic keys, credentials).
  • Integrity: High. Kernel memory corruption can lead to arbitrary code execution in kernel space.
  • Availability: High. The most likely outcome is a kernel panic or system crash (DoS).
  • Practical Consequences:

  • Server Instability: Systems using Broadcom NICs with XDP offloading (common in high-performance networking, cloud infrastructure, and data centers) may crash under specific traffic patterns.

  • Security Boundary Breach: If exploited for LPE, it compromises the entire host, allowing an attacker to bypass all OS-level security controls.
  • 🛡️ Remediation & Mitigation

    1. Patching (Primary Solution)

  • Affected Versions: Linux kernel 5.19 and later (up to the fixed version).

  • Fix: The vulnerability is fixed by ensuring bnxt_copy_xdp() copies the fragment descriptors to the new skb.

  • Action: Upgrade to the latest stable Linux kernel version that includes the patch. Check your distribution's security advisories for the specific patch commit.

  • Example:* For RHEL/CentOS, apply the latest kernel update. For Ubuntu, use apt-get upgrade linux-image-generic.

    2. Workarounds

  • Disable XDP: If XDP is not strictly required, remove the XDP program from the interface:
  • ip link set dev eth0 xdp off
  • Adjust rx_copybreak: Set rx_copybreak to 0 to disable the copy path:
  • sysctl -w net.core.rx_copybreak=0

    Note: This may impact performance for small packets.

  • Avoid Multi-Buffer XDP: Ensure XDP programs do not use bpf_xdp_adjust_head() in a way that triggers the copybreak path with multi-buffer frames.
  • 3. Detection

  • Kernel Logs: Monitor dmesg or /var/log/kern.log for:

  • * BUG: KASAN: use-after-free in ...
    * BUG: unable to handle page fault ...
    * bnxt: ... errors related to XDP or skb processing.
  • Network Traffic: Unusual spikes in ICMPv6 echo requests or large TCP segments on interfaces using bnxt and XDP.

  • System Crashes: Unexplained kernel panics or reboots on systems with Broadcom NICs.
  • ⚠️ Urgency

    CVSS Score: 0/10 (NONE) - Note: This score is likely a placeholder or error. The actual risk is High.*

  • CISA KEV: No

  • Exploit Complexity: High (Requires specific driver, XDP program, and traffic pattern).

  • Patching Priority: Medium to High

* High for systems using XDP on Broadcom NICs in production, especially in cloud or high-performance environments.
* Medium for systems where XDP is not used or where the bnxt driver is not present.
* Immediate if you are running a custom XDP program on a bnxt interface and have observed instability.

Recommendation: Apply the kernel patch as soon as possible. If you are using XDP on Broadcom hardware, prioritize this fix.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Linux Linux"
CVSS Score
0 / 10 · CVSS NONE
Affected Products (2)
Linux Kernel (commit: 637705bb47) Linux Kernel (5.19)
Related CVEs
9.4
CVE-2026-129109
Calico installations managed by the Tigera Operator install a FlexVolume driver (nodeagent~uds/uds) on every L
8.8
CVE-2026-105101
An OS command injection vulnerability in the ping diagnostic function (InternetState.java) in Elinktek UZ801 4
8.8
CVE-2026-118966
A missing authentication vulnerability in the SSH server of Nokia SR Linux allows an unauthenticated attacker
8.7
CVE-2026-145182
Mullvad gotatun 0.1.0 before 0.10.1 contains a denial of service vulnerability that allows unauthenticated rem
0.0
CVE-2026-132063
The 2C2P Redirect API for WooCommerce WordPress plugin through 7.0.3 does not stop processing a payment callba
0.0
CVE-2026-140849
Multiple malformed-packet handling vulnerabilities exist in a number of Nokia SR OS control-plane protocols (B
0.0
CVE-2026-141072
Rejected reason: Not a valid vulnerability.