CVE-2026-74665
Received Received - Intake

Buffer Overflow in Linux Kernel XDP Processing

Vulnerability report for CVE-2026-74665, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-22

Last updated on: 2026-08-22

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-22
Last Modified
2026-08-22
Generated
2026-08-22
AI Q&A
2026-08-22
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves incorrect accounting of skb (socket buffer) fragment sizes when Generic XDP (eXpress Data Path) programs adjust the fragment area. After a fragment shrink, the kernel's skb_headlen() reports a larger linear area than actually exists, causing data corruption during packet processing. Specifically, it can copy 1024 extra bytes past the linear tail, including sensitive kernel memory like skb_shared_info and frags data.

Detection Guidance

This vulnerability is specific to the Linux kernel's XDP (eXpress Data Path) implementation and may not have direct detection commands. Monitor kernel logs for XDP-related errors or corruption in network packet handling. Check for mismatches between skb->len and skb->data_len in kernel traces.

Impact Analysis

This vulnerability can lead to data corruption in network packets, potentially exposing sensitive kernel memory to userspace applications. In the worst case, it may cause applications to receive truncated or incorrect data, leading to crashes or security issues. Systems using Generic XDP with UDP traffic are particularly affected.

Mitigation Strategies

Apply the latest Linux kernel patches that address this issue. Update to a kernel version containing the fix for the XDP fragment adjustment vulnerability. Monitor network traffic for corruption or unexpected behavior after patching.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-74665. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart