net: lan966x: fix the DB dataptr of frames from ndo_xdp_xmit

Summary

CVECVE-2026-139170
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:18:36 UTC
Updated2026-11-30 14:18:36 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: net: lan966x: fix the DB dataptr of frames from ndo_xdp_xmit lan966x_fdma_xmit_xdpf() transmits both XDP_TX frames and xdp_frames from ndo_xdp_xmit, and builds the DB with lan966x_fdma_xdp_tx_dataptr_cb(), which adds XDP_PACKET_HEADROOM to the stored DMA address. Before this patch, the headroom is also added for xdp_frames. For XDP_TX the stored address is the start of the page pool page, but for an xdp_frame it is the mapping of the IFH placed in front of the frame data, so frames from ndo_xdp_xmit are read from XDP_PACKET_HEADROOM bytes after their IFH. Use the plain tx dataptr callback for xdp_frames. Found by an AI code review agent. Reproduced on a lan9668 board with an XDP program redirecting frames from one port to another: none of the 20 frames arrived intact on the link partner. With the fix all 20 did.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf 9d869f0432c3571756b6694b4dd33eaec3f457b6 git Not specified
CNA Linux Linux affected 29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf dd75b001792e2f67538b6bdc7ee66f4d352fbca9 git Not specified
CNA Linux Linux affected 29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf 92b35a3669db7cfb2fff5a58a09c2a3d3640bf89 git Not specified
CNA Linux Linux affected 29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf ce3192e0dafa829e76edefecc16a32589b53c875 git Not specified
CNA Linux Linux affected 6.12 Not specified
CNA Linux Linux unaffected 6.12 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/9d869f0432c3571756b6694b4dd33eaec3f457b6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/92b35a3669db7cfb2fff5a58a09c2a3d3640bf89 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/dd75b001792e2f67538b6bdc7ee66f4d352fbca9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ce3192e0dafa829e76edefecc16a32589b53c875 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