CVE-2026-139170: net: lan966x: fix the DB dataptr of frames from ndo_xdp_xmit

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

lan966xfdmaxmitxdpf() transmits both XDPTX frames and xdpframes from ndoxdpxmit, and builds the DB with lan966xfdmaxdptxdataptrcb(), which adds XDPPACKETHEADROOM to the stored DMA address.

Before this patch, the headroom is also added for xdpframes. For XDPTX the stored address is the start of the page pool page, but for an xdpframe it is the mapping of the IFH placed in front of the frame data, so frames from ndoxdpxmit are read from XDPPACKETHEADROOM bytes after their IFH.

Use the plain tx dataptr callback for xdpframes.

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.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:32 PM
Data Sourced
via MITRE·01:32 PM
Description

Frequently Asked Questions

1

Which systems are affected in practice?

Systems using the Linux lan966x network driver and transmitting XDP frames through ndo_xdp_xmit are affected. The reported reproduction used a lan9668 board with an XDP program redirecting traffic between ports.

2

What traffic or configuration is needed to trigger the problem?

The issue is triggered when xdp_frames supplied through ndo_xdp_xmit are transmitted by lan966x_fdma_xmit_xdpf(). An XDP redirect path between ports is a demonstrated trigger.

3

How can I tell whether the issue is occurring?

Affected transmissions can be corrupted because the device reads frame data starting XDP_PACKET_HEADROOM bytes after the IFH. In the reported test, none of 20 redirected frames arrived intact at the link partner.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203