CVE-2026-139101

Not scored yetLast modified Nov 30, 2026

Description

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139102In the Linux kernel, the following vulnerability has been resolved: eth: bnxt: free XDP frags when xdp_do_redirect() fails When xdp_do_redCVE-2026-1391038.1In the Linux kernel, the following vulnerability has been resolved: eth: bnxt: don't leak buffers when XDP agg buffer allocation fails If CVE-2026-139104In the Linux kernel, the following vulnerability has been resolved: eth: bnxt: recycle agg buffers when Rx head buffer allocation fails bnCVE-2026-139105In the Linux kernel, the following vulnerability has been resolved: netdev-genl: ignore NETDEV_UNREGISTER rebroadcasts netdev_wait_allrefsCVE-2026-139106In the Linux kernel, the following vulnerability has been resolved: apparmor: check connect permission for SCTP SCTP can start an associatCVE-2026-139107In the Linux kernel, the following vulnerability has been resolved: apparmor: convert duplicated dfa transitions to match_char() For histoCVE-2026-1391087.8In the Linux kernel, the following vulnerability has been resolved: apparmor: fix table_size() integer overflow on 32 bit table_size() cheCVE-2026-139109In the Linux kernel, the following vulnerability has been resolved: apparmor: fix a leak on a rejected string table entry unpack_strs_tablCVE-2026-139115.3Insufficient policy enforcement in Spellcheck in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the rendCVE-2026-139110In the Linux kernel, the following vulnerability has been resolved: apparmor: mediate AF_UNSPEC socket disconnects aa_inet_connect_perm() CVE-2026-139111In the Linux kernel, the following vulnerability has been resolved: blk-iocost: publish hweights as one atomic value current_hweight() pubCVE-2026-1391129.8In the Linux kernel, the following vulnerability has been resolved: rnbd-srv: publish the sess_dev at the end of OPEN rnbd_sess_dev_alloc(
CVE-2026-139101: Unscored | Vulnix