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?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Linux kernelUbiquitous | = 5.19 | 7.4-rc1 |
What to do
Update to a fixed version: 7.4-rc1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.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
- Prerequisites multiplied together0.450
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.45 × threat 0.853.825
- Rounded to one decimal between 0.1 and 103.8
Exploitation and evidence timeline
- 30 Nov 2026 Published
- 3 Dec 2026 Risk 3.8 (cvss fallback)
Weakness
No weakness type given.
References
- https://git.kernel.org/stable/c/6ea0a69fb3a42a8f09f7b1f62d236818a4a20de5
- https://git.kernel.org/stable/c/59ef0dc55089a6bfc711a5d2367c20912e1495d2
- https://git.kernel.org/stable/c/e83550fdb3eccad6095d70d2b07571b31475d546
- https://git.kernel.org/stable/c/1b2f02fb4ba92d01603c8261c94be8d348de65b0
- CVE-2026-139103 on CVE.org