# CVE-2026-74665: net: fix skb length accounting after generic XDP frag adjustment

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.52% (percentile 38, 2026-11-26)
- **Published:** 2026-08-22T15:32:37.346Z
- **Modified:** 2026-10-14T13:10:00.187Z

## Who should check

- Anyone running Linux \>= e6d5dbdd20aa6a86974af51deb9414cd2e7794cb, \< 72468efcc089782fa047afddd10856b11a14ef5b; \>= e6d5dbdd20aa6a86974af51deb9414cd2e7794cb, \< 5f30f9c302cea1f2ebf97abe574c1826544223d7; \>= e6d5dbdd20aa6a86974af51deb9414cd2e7794cb, \< ea1ccd6d1c6370868e3b032a3fc575b9c397f2e1; \>= e6d5dbdd20aa6a86974af51deb9414cd2e7794cb, \< 33f2b2eb33d666ecac68031e0f31424fb70528db
- Anyone running Linux 6.9

## Description

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.

## Affected and fixed versions

- Linux: \>= e6d5dbdd20aa6a86974af51deb9414cd2e7794cb, \< 72468efcc089782fa047afddd10856b11a14ef5b; \>= e6d5dbdd20aa6a86974af51deb9414cd2e7794cb, \< 5f30f9c302cea1f2ebf97abe574c1826544223d7; \>= e6d5dbdd20aa6a86974af51deb9414cd2e7794cb, \< ea1ccd6d1c6370868e3b032a3fc575b9c397f2e1; \>= e6d5dbdd20aa6a86974af51deb9414cd2e7794cb, \< 33f2b2eb33d666ecac68031e0f31424fb70528db (cvelist)
- Linux: 6.9 (cvelist)

## Mitigation

- Upgrade Linux to 33f2b2eb33d666ecac68031e0f31424fb70528db or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74665. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74665.md
Affected: Linux >= e6d5dbdd20aa6a86974af51deb9414cd2e7794cb, < 72468efcc089782fa047afddd10856b11a14ef5b; >= e6d5dbdd20aa6a86974af51deb9414cd2e7794cb, < 5f30f9c302cea1f2ebf97abe574c1826544223d7; >= e6d5dbdd20aa6a86974af51deb9414cd2e7794cb, < ea1ccd6d1c6370868e3b032a3fc575b9c397f2e1; >= e6d5dbdd20aa6a86974af51…
Fixed in: Linux 72468efcc089782fa047afddd10856b11a14ef5b, Linux 5f30f9c302cea1f2ebf97abe574c1826544223d7, Linux 33f2b2eb33d666ecac68031e0f31424fb70528db

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74665 being exploited?

There is no confirmed exploitation: CVE-2026-74665 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.52% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-74665?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-74665?

Linux \>= e6d5dbdd20aa6a86974af51deb9414cd2e7794cb, \< 72468efcc089782fa047afddd10856b11a14ef5b; \>= e6d5dbdd20aa6a86974af51deb9414cd2e7794cb, \< 5f30f9c302cea1f2ebf97abe574c1826544223d7; \>= e6d5dbdd20aa6a86974af51deb9414cd2e7794cb, \< ea1ccd6d1c6370868e3b032a3fc575b9c397f2e1; \>= e6d5dbdd20aa6a86974af51deb9414cd2e7794cb, \< 33f2b2eb33d666ecac68031e0f31424fb70528db; Linux 6.9.

### Is there a fix for CVE-2026-74665?

Yes. Fixed in Linux 72468efcc089782fa047afddd10856b11a14ef5b, Linux 5f30f9c302cea1f2ebf97abe574c1826544223d7, Linux 33f2b2eb33d666ecac68031e0f31424fb70528db. Upgrade Linux to 33f2b2eb33d666ecac68031e0f31424fb70528db or later.

### How do I check if I'm affected by CVE-2026-74665?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/72468efcc089782fa047afddd10856b11a14ef5b>
- other: <https://git.kernel.org/stable/c/5f30f9c302cea1f2ebf97abe574c1826544223d7>
- other: <https://git.kernel.org/stable/c/ea1ccd6d1c6370868e3b032a3fc575b9c397f2e1>
- other: <https://git.kernel.org/stable/c/33f2b2eb33d666ecac68031e0f31424fb70528db>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74665>

HTML: <https://flawdb.com/CVE-2026-74665> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74665>
