CVE-2026-139170
publishednet: lan966x: fix the DB dataptr of frames from ndo_xdp_xmit
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf to < 9d869f0432c3571756b6694b4dd33eaec3f457b6 · 29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf to < dd75b001792e2f67538b6bdc7ee66f4d352fbca9 · 29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf to < 92b35a3669db7cfb2fff5a58a09c2a3d3640bf89 · 29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf to < ce3192e0dafa829e76edefecc16a32589b53c875 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.12 (affected) · 0 to < 6.12 (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf to < 9d869f0432c3571756b6694b4dd33eaec3f457b6 (affected · git)29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf to < dd75b001792e2f67538b6bdc7ee66f4d352fbca9 (affected · git)29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf to < 92b35a3669db7cfb2fff5a58a09c2a3d3640bf89 (affected · git)29cc3a66a81ddaa237a3fe3c14cf0fc582db25bf to < ce3192e0dafa829e76edefecc16a32589b53c875 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.12 (affected)0 to < 6.12 (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
net: lan966x: fix the DB dataptr of frames from ndo_xdp_xmit
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 149ad9dfbb6851f738f5e4bd818435e4ff3b25e6166548cfa0d20f9635a261fb
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record