CVE-2026-139102: eth: bnxt: free XDP frags when xdp_do_redirect() fails
In the Linux kernel, the following vulnerability has been resolved:
eth: bnxt: free XDP frags when xdpdoredirect() fails
When xdpdoredirect() fails bnxtrxxdp() 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 AFXDP socket in copy mode fails this way with -ENOMEM whenever the socket's fill ring runs out of buffers. A socket bound without XDPUSESG 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.