CVE Professor
/
All CVEs
CVE-2026-139102

CVE-2026-139102 — 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: free XDP frags when xdp_do_redirect() fails When xdp_do_redirect() fails bnxt_rx_xdp() recycles the head page but not the frags of a multi-buffer frame. Their agg ring slots have already been refilled, so the pages leak, and the page pool can't be destroyed until they are returned, which will never happen. Redirect to an AF_XDP socket in copy mode fails this way with -ENOMEM whenever the socket's fill ring runs out of buffers. A socket bound without XDP_USE_SG also fails with -ENOSPC for every frame that doesn't fit in a single chunk. All the other drop paths in this function free the frags. Pointed out in LLM review of the first patch of the series. Tested on a BCM57504 at MTU 9000 by redirecting 60k 8000B ICMPv6 echo requests (a head and two agg buffers each) to lo, which can't transmit XDP frames. The page pools' inflight count stayed flat rather than growing by two pages per frame.

In the Linux kernel, the following vulnerability has been resolved: eth: bnxt: free XDP frags when xdp_do_redirect() fails When xdp_do_redirect() fails bnxt_rx_xdp() recycles the head page but not the frags of a multi-buffer frame. Their agg ring slots have already been refilled, so the pages leak, and the page pool can't be destroyed until they are returned, which will never happen. Redirect to an AF_XDP socket in copy mode fails this way with -ENOMEM whenever the socket's fill ring runs out of buffers. A socket bound without XDP_USE_SG also fails with -ENOSPC for every frame that doesn't fit in a single chunk. All the other drop paths in this function free the frags. Pointed out in LLM review of the first patch of the series. Tested on a BCM57504 at MTU 9000 by redirecting 60k 8000B ICMPv6 echo requests (a head and two agg buffers each) to lo, which can't transmit XDP frames. The page pools' inflight count stayed flat rather than growing by two pages per frame.

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?

Technical flaw
The bug is a memory‑leak in the Broadcom NetXtreme‑E (bnxt) driver that occurs when an XDP packet is redirected to an AF_XDP socket and the redirect fails.

  • xdp_do_redirect() returns an error.

  • bnxt_rx_xdp() recycles the head page of the multi‑buffer frame but does not free the fragment pages that belong to the same packet.

  • The fragment pages are still referenced by the bnxt “agg ring” slots, which have already been refilled.

  • As a result, the pages never get returned to the page pool, the pool can’t be destroyed, and the kernel’s memory usage grows linearly with each failed redirect.
  • CWE – CWE‑401: Memory Leak
    CVSS – 0/10 (NONE) – the bug does not provide a direct code‑execution or privilege‑escalation path, but it can lead to a denial‑of‑service (DoS) by exhausting kernel memory.

    Trigger conditions
    1. XDP is enabled on a bnxt NIC.
    2. A packet is redirected to an AF_XDP socket in copy mode.
    3. The AF_XDP socket’s fill ring is empty (or the socket is bound without XDP_USE_SG and the packet cannot fit in a single chunk).
    4. xdp_do_redirect() fails, returning -ENOMEM or -ENOSPC.

    Effect – Each failed redirect leaks two fragment pages per packet (head + two agg buffers in the test case). Over thousands of packets this can consume gigabytes of kernel memory, eventually triggering the OOM killer or a kernel panic.


    ⚡ Attack Chain

    StepDescriptionPractical example
    1. Discovery & ReconnaissanceIdentify a target that uses the bnxt driver, XDP, and AF_XDP sockets.• Run ethtool -i eth0 → driver “bnxt” <br>• Verify kernel version (uname -r) → 5.19.x <br>• Check if XDP is attached (ip link set dev eth0 xdp obj /path/to/xdp_prog.o)
    2. ExploitationFlood the interface with large packets that will be redirected to an AF_XDP socket that is already full.PoC (illustrative) – Send 60 000 ICMPv6 echo requests of 8 000 B each to the loopback interface (which cannot transmit XDP frames). <br>``bash\n# 8 000 B payload, 60 000 packets, interface eth0\nping6 -s 8000 -c 60000 -I eth0 ::1\n`\nThe command forces the bnxt driver to attempt an XDP redirect to the AF_XDP socket bound on lo. Because the socket’s fill ring is empty, xdp_do_redirect() fails and the fragment pages leak.
    3. Post‑exploitationThe kernel’s memory pool grows until the system runs out of memory. The OOM killer may terminate critical processes or the kernel may panic, causing a full system outage.• Monitor /proc/meminfo – MemAvailable drops < 1 GB. <br>• dmesggrep bnxt shows repeated -ENOMEM/-ENOSPC` errors. <br>• System becomes unresponsive; SSH sessions drop; web services crash.
    Note: The PoC uses ping6 for simplicity; any tool that can send large packets (e.g., iperf3, custom C program using sendto() with SOCK_DGRAM) will work. The key is to trigger the redirect path in the bnxt driver.

    🌍 Real World Impact

    ImpactAssessment
    ConfidentialityNone – the bug does not expose data.
    IntegrityNone – no data corruption.
    AvailabilityHigh – memory exhaustion can bring the entire host down.
    CVSS0/10 (NONE) – the vector does not reflect DoS, but the practical impact is significant.

    Practical consequences

  • High‑traffic servers (web, database, VPN) that use XDP for performance will be most vulnerable.

  • Embedded devices or IoT gateways with bnxt NICs may crash under a simple packet flood.

  • Cloud instances that expose public IPs and run XDP workloads are at risk of a DoS that can affect multiple tenants.




🛡️ Remediation & Mitigation

1. Patch / Upgrade

ItemRecommendation
KernelUpgrade to a kernel that contains the bnxt XDP patch. The fix was merged into the mainline kernel in commit *<hash>* (see kernel changelog for 5.19.x). Any 5.19.15+ release (or later) includes the fix.
DistributionApply the vendor‑specific security update (e.g., Ubuntu 22.04 LTS 5.19.15‑1ubuntu1, RHEL 9.3 5.19.15‑1.el9).
VerificationAfter upgrade, run uname -r and dmesggrep bnxt to confirm no XDP‑related errors.

2. Workarounds (if upgrade is not immediately possible)

ActionHow
Disable XDP on the affected interfaceip link set dev eth0 xdp off
Disable AF_XDP socketsEnsure no user‑space programs bind to AF_XDP on the interface.
Use single‑buffer framesBind AF_XDP sockets with XDP_USE_SG or set max_frame_size to the MTU.
Lower MTUReduce the interface MTU below the size that triggers multi‑buffer frames (e.g., 1500 B).
Drop packets before XDPUse iptables or nftables to drop large packets early in the stack.
Caveat: Workarounds may degrade performance; they should be used only as a temporary mitigation.

3. Detection

IndicatorHow to detect
Kernel logsdmesggrep -i bnxt – look for -ENOMEM or -ENOSPC after XDP redirects.
Memory usageMonitor /proc/meminfo – MemAvailable dropping steadily.
Page pool counterscat /sys/kernel/debug/bnxt/<iface>/page_pool_inflight – should remain stable.
Network traffic patternsSudden surge of large ICMPv6/UDP packets to the interface.

Set up alerts on these metrics to catch a memory‑leak attack early.


⚠️ Urgency

FactorAssessment
CVSS0/10 – no direct exploitation path.
Exploit ComplexityLow – requires only network traffic generation.
ImpactHigh availability loss.
CISA KEVNo.
Patch AvailabilityFixed in 5.19.15+.

Priority: High for any production system that uses bnxt NICs with XDP/AF_XDP enabled, especially those exposed to the internet or handling large volumes of traffic. Even though the CVSS score is 0, the DoS potential warrants immediate patching or mitigation.


[🤖 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: dc0bad9279) 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.