Linux kernelのbnxtドライバーに、XDP使用時のバッファー解放漏れの脆弱性
Summary
Linux kernelのbnxtドライバーで、XDPを使ったパケット受信時に確保に失敗するとバッファーが解放されず、サービス妨害につながるおそれがあります。影響するのは5.19.0から6.12.120未満、6.13.0から6.18.65未満、6.19.0から7.3.6未満のkernelで、修正版は6.12.120、6.18.65、7.3.6です。修正版への更新を優先して検討してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Linux kernelのbnxtドライバーで、XDPを使ったパケット受信時に確保に失敗するとバッファーが解放されず、サービス妨害につながるおそれがあります。影響するのは5.19.0から6.12.120未満、6.13.0から6.18.65未満、6.19.0から7.3.6未満のkernelで、修正版は6.12.120、6.18.65、7.3.6です。修正版への更新を優先して検討してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 5.19.0, < 6.12.120→ 6.12.120 ≥ 6.13.0, < 6.18.65→ 6.18.65 ≥ 6.19.0, < 7.3.6→ 7.3.6 |
6.12.120 6.18.65 7.3.6 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-139103 linux-lts Fix available
- Debian DEBIAN-CVE-2026-139103 linux Fix available
- Ubuntu UBUNTU-CVE-2026-139103 linux-xilinx-zynqmp, linux-xilinx, linux-vmware +166 more No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com