Skip to content

Linux kernel

eth: bnxt: don't leak buffers when XDP agg buffer allocation fails

CVE-2026-139103Published 30 Nov 2026, 13:31 UTC

Real-world risk

3.8/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

8.1

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from Linux)

In the Linux kernel, the following vulnerability has been resolved: eth: bnxt: don't leak buffers when XDP agg buffer allocation fails If a replacement agg buffer can't be allocated for a packet received with XDP attached, bnxt_rx_pkt() drops the packet without returning its head buffer to the ring. The head buffer leaks, and since rx_prod still advances, the device gets a BD with a stale DMA address which points at a buffer the driver no longer owns. When that BD completes the driver finds no buffer in the slot. The agg buffers consumed before the failing one have already been replaced on the agg ring, they are referenced only by the frags of the xdp_buff, which nobody frees. bnxt_xdp_buff_frags_free() would skip them since the frags flag is set only on success, so set it upfront. Pointed out in LLM review of the first patch of the series. Tested on a BCM57504 at MTU 9000 with a frags-capable XDP_PASS program, receiving 8000B ICMPv6 echo requests (a head and two agg buffers each) while page_pool_alloc_netmems() called from bnxt_rx_agg_netmems_xdp() failed half of the time (bpftrace override()). 44.7k packets were dropped, the page pools' inflight count stayed flat and there were no KASAN or DEBUG_PAGEALLOC splats.

Am I affected?

ProductAffected versions (from the sources)Fixed in
Linux kernelUbiquitous= 5.197.4-rc1

What to do

Update to a fixed version: 7.4-rc1.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 1.0% chance of exploitation in 30 days (percentile 64), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.450
  2. Threat T1: Nothing known0.850
  3. 10 × impact 1 × prerequisites 0.45 × threat 0.853.825
  4. Rounded to one decimal between 0.1 and 103.8

How the score works

Exploitation and evidence timeline

  1. 30 Nov 2026 Published
  2. 3 Dec 2026 Risk 3.8 (cvss fallback)

Weakness

No weakness type given.

References

Get alerts for Linux kernel

Free email or text alerts when a vulnerability in Linux kernel reaches risk 8 or higher. Nothing else.