eth: bnxt: free XDP frags when xdp_do_redirect() fails

Summary

CVECVE-2026-139102
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:18:18 UTC
Updated2026-11-30 14:18:18 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected a7559bc8c17c3f9a91dcbeefe8642ba757fd09e8 dc0bad9279cb1a899120219895e086896545153d git Not specified
CNA Linux Linux affected a7559bc8c17c3f9a91dcbeefe8642ba757fd09e8 a7483cb7fff5ab02596bd62c335bd2cd7a30cddb git Not specified
CNA Linux Linux affected a7559bc8c17c3f9a91dcbeefe8642ba757fd09e8 00017064ceb31e1a2fc4cb2161a80273b134a4df git Not specified
CNA Linux Linux affected a7559bc8c17c3f9a91dcbeefe8642ba757fd09e8 39b324489666914165ec99719c3167758eebeb3f git Not specified
CNA Linux Linux affected a7559bc8c17c3f9a91dcbeefe8642ba757fd09e8 bd56d9c36a640d7540a2313d5728c210b029255d git Not specified
CNA Linux Linux affected a7559bc8c17c3f9a91dcbeefe8642ba757fd09e8 c10f3420d59859df107838aa97b49357616d9b47 git Not specified
CNA Linux Linux affected 5.19 Not specified
CNA Linux Linux unaffected 5.19 semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/a7483cb7fff5ab02596bd62c335bd2cd7a30cddb 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/dc0bad9279cb1a899120219895e086896545153d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/39b324489666914165ec99719c3167758eebeb3f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/bd56d9c36a640d7540a2313d5728c210b029255d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c10f3420d59859df107838aa97b49357616d9b47 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/00017064ceb31e1a2fc4cb2161a80273b134a4df 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report