CVE-2026-74665
net: fix skb length accounting after generic XDP frag adjustment
Reported by linux · Published August 22, 2026
In the Linux kernel, the following vulnerability has been resolved: net: fix skb length accounting after generic XDP frag adjustment Generic XDP exposes non-linear skb fragments through an xdp_buff. If an XDP program adjusts the fragment area, bpf_prog_run_generic_xdp() copies xdp_frags_size back to skb->data_len but leaves skb->len containing the old fragment contribution. After a fragment shrink, this makes skb_headlen() larger than the actual linear area. In the reproduced UDP receive path, __skb_datagram_iter() copied 1024 bytes past the actual linear tail to userspace, starting at struct skb_shared_info. The copied bytes included the affected skb's nr_frags, xdp_frags_size and a kernel pointer from skb_shinfo(skb)->frags[0]. Real packet data was displaced by the same amount and truncated at the end. Subtract the old data_len before replacing it and add the new data_len afterwards, keeping skb->len and skb->data_len synchronized. A 60000-byte UDP datagram on a veth pair with MTU 64000 was shortened by 1024 bytes from its fragment area. Before the fix, all 10 runs produced corrupted payloads. After the fix, all 10 runs matched the expected payload exactly.
EPSS 0.37% · 31.9th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf6.12 | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.48-107.148.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.48-107.148.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.48-107.148.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.48-107.148.amzn2023 |
| kernel-livepatch-6.12.110-135.201 | Amazon Linux | 1:1.0-0.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.48-107.148.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.48-107.148.amzn2023 |
| Linux | Linux | ea1ccd6d1c6370868e3b032a3fc575b9c397f2e1, 72468efcc089782fa047afddd10856b11a14ef5b, 5f30f9c302cea1f2ebf97abe574c1826544223d7, 33f2b2eb33d666ecac68031e0f31424fb70528db |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | e6d5dbdd20aa6a86974af51deb9414cd2e7794cb, e6d5dbdd20aa6a86974af51deb9414cd2e7794cb, e6d5dbdd20aa6a86974af51deb9414cd2e7794cb |
| Linux | Linux | 6.9, 0, 6.12.104 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel-livepatch-6.12.110-135.201 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| Linux | Linux | 7.2, *, * |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | perf6.18 | 0 |
| linux | linux_kernel | 6.9, 6.9, 6.9 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | perf6.12 | 0 |
…and 7 more
Timeline
- Aug 22, 2026 Coalition ESS Score
- Aug 22, 2026 CVE Published
- Aug 23, 2026 EPSS Score (30 in total, the first dated here)
- Sep 3, 2026 Security Advisory
- Oct 14, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-74665
vulnetix vdb fixes CVE-2026-74665
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-74665/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart