# CVE-2026-139102: eth: bnxt: free XDP frags when xdp_do_redirect() fails

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-11-30T13:31:35.710Z
- Modified: 2026-11-30T14:18:18.647Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from a7559bc8c17c3f9a91dcbeefe8642ba757fd09e8 before dc0bad9279cb1a899120219895e086896545153d; from a7559bc8c17c3f9a91dcbeefe8642ba757fd09e8 before a7483cb7fff5ab02596bd62c335bd2cd7a30cddb; from a7559bc8c17c3f9a91dcbeefe8642ba757fd09e8 before 00017064ceb31e1a2fc4cb2161a80273b134a4df; from a7559bc8c17c3f9a91dcbeefe8642ba757fd09e8 before 39b324489666914165ec99719c3167758eebeb3f; from a7559bc8c17c3f9a91dcbeefe8642ba757fd09e8 before bd56d9c36a640d7540a2313d5728c210b029255d; from a7559bc8c17c3f9a91dcbeefe8642ba757fd09e8 before c10f3420d59859df107838aa97b49357616d9b47; 5.19 (not affected: before 5.19; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/dc0bad9279cb1a899120219895e086896545153d>
- <https://git.kernel.org/stable/c/a7483cb7fff5ab02596bd62c335bd2cd7a30cddb>
- <https://git.kernel.org/stable/c/00017064ceb31e1a2fc4cb2161a80273b134a4df>
- <https://git.kernel.org/stable/c/39b324489666914165ec99719c3167758eebeb3f>
- <https://git.kernel.org/stable/c/bd56d9c36a640d7540a2313d5728c210b029255d>
- <https://git.kernel.org/stable/c/c10f3420d59859df107838aa97b49357616d9b47>

## Sources

- CVE List: [CVE-2026-139102](https://www.cve.org/CVERecord?id=CVE-2026-139102), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139102](https://nvd.nist.gov/vuln/detail/CVE-2026-139102), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139102 · Whole record: https://cve.day/CVE-2026-139102.json · Rebuilt by cve.day 2026-11-30T14:32:52.024Z
