VDB

CVE-2026-74612

CVE-2026-74612 PUBLISHED CVSS 10 CRITICAL

veth: fix skb length accounting after XDP frag adjustment

Reported by linux · Published August 22, 2026

In the Linux kernel, the following vulnerability has been resolved: veth: fix skb length accounting after XDP frag adjustment veth exposes non-linear skb fragments through an xdp_buff. If an XDP program adjusts the fragment area, veth_xdp_rcv_skb() 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. Additionally, bpf_xdp_pull_data() can advance data_end while leaving frags present. The skb is then still non-linear, so the old __skb_put(skb, off) triggers SKB_LINEAR_ASSERT(). Use skb_set_tail_pointer() and update skb->len explicitly instead, following bpf_prog_run_generic_xdp(). Unlike __skb_put(), skb_set_tail_pointer() does not require a linear skb. 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. A forced-tailroom reproducer also exercises bpf_xdp_pull_data() with frags still present; the old code triggers SKB_LINEAR_ASSERT(), while this fix passes 10/10 runs.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perf6.12Amazon Linux1:6.12.110-135.201.amzn2023
python3-perf6.18Amazon Linux1:6.18.48-107.148.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.48-107.148.amzn2023
kernel6.18Amazon Linux1:6.18.48-107.148.amzn2023
kernel6.12-develAmazon Linux1:6.12.110-135.201.amzn2023
kernel-develAmazon Linux1:6.1.186-228.374.amzn2023
bpftoolAmazon Linux1:6.1.186-228.374.amzn2023
kernelAmazon Linux1:6.1.186-228.374.amzn2023
perfAmazon Linux1:6.1.186-228.374.amzn2023
bpftool6.18Amazon Linux1:6.18.48-107.148.amzn2023
LinuxLinux5.18

Risk scores

CVSS 3.1
10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux718a18a0c8a67f97781e40bdef7cdd055c430996, 718a18a0c8a67f97781e40bdef7cdd055c430996, 718a18a0c8a67f97781e40bdef7cdd055c430996
LinuxLinux5.18, 0, 6.1.184
amazon:2023perf6.120
amazon:2023python3-perf6.180
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.180
amazon:2023kernel6.12-devel0
amazon:2023kernel-devel0
amazon:2023bpftool0
amazon:2023kernel0
amazon:2023perf0
amazon:2023bpftool6.180
LinuxLinux7.2, 6.18.45, 6.12.104
amazon:2023kernel-headers0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-tools0
amazon:2023kernel-modules-extra0
amazon:2023kernel6.18-devel0
amazon:2023python3-perf6.120
amazon:2023kernel-livepatch-6.18.48-107.1480

…and 18 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 16, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-74612
vulnetix vdb fixes CVE-2026-74612

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-74612/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›