In the Linux kernel, the following vulnerability has been resolved: veth: fix skb length accounting after XDP frag adjustment veth exposes… (CVE-2026-74612)
A vulnerability in the Linux kernel's veth driver caused incorrect skb length accounting after XDP fragment adjustments. This led to skb_headlen() reporting a length larger than the actual linear data, resulting in out-of-bounds memory copying to userspace, including kernel pointers. The issue was fixed by synchronizing skb->len and skb->data_len properly and updating skb tail pointers correctly.
AI Analysis
Technical Summary
The Linux kernel veth driver exposed non-linear skb fragments through an xdp_buff. When an XDP program adjusted the fragment area, veth_xdp_rcv_skb() incorrectly updated skb->data_len but left skb->len with the old fragment size, causing skb_headlen() to be larger than the actual linear area. This discrepancy allowed __skb_datagram_iter() in the UDP receive path to copy 1024 bytes beyond the linear tail into userspace, including kernel pointers and other sensitive data. The fix involves subtracting the old data_len before replacing it and adding the new data_len afterwards to keep skb->len and skb->data_len synchronized. Additionally, bpf_xdp_pull_data() was corrected to use skb_set_tail_pointer() and explicitly update skb->len to avoid SKB_LINEAR_ASSERT() failures when frags are present. Testing with large UDP datagrams confirmed the fix prevents payload corruption and assertion failures.
Potential Impact
This vulnerability could lead to disclosure of kernel memory contents to userspace due to out-of-bounds copying of skb data, including kernel pointers. This may expose sensitive kernel information and potentially aid in further exploitation. The issue affects the integrity of packet data received via veth interfaces when XDP programs manipulate fragments.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel. Users should update to the fixed kernel version containing this patch to resolve the issue. Since no specific patch version is provided, check the official Linux kernel advisories or vendor updates for the fixed release. No additional mitigations are indicated.
In the Linux kernel, the following vulnerability has been resolved: veth: fix skb length accounting after XDP frag adjustment veth exposes… (CVE-2026-74612)
Description
A vulnerability in the Linux kernel's veth driver caused incorrect skb length accounting after XDP fragment adjustments. This led to skb_headlen() reporting a length larger than the actual linear data, resulting in out-of-bounds memory copying to userspace, including kernel pointers. The issue was fixed by synchronizing skb->len and skb->data_len properly and updating skb tail pointers correctly.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel veth driver exposed non-linear skb fragments through an xdp_buff. When an XDP program adjusted the fragment area, veth_xdp_rcv_skb() incorrectly updated skb->data_len but left skb->len with the old fragment size, causing skb_headlen() to be larger than the actual linear area. This discrepancy allowed __skb_datagram_iter() in the UDP receive path to copy 1024 bytes beyond the linear tail into userspace, including kernel pointers and other sensitive data. The fix involves subtracting the old data_len before replacing it and adding the new data_len afterwards to keep skb->len and skb->data_len synchronized. Additionally, bpf_xdp_pull_data() was corrected to use skb_set_tail_pointer() and explicitly update skb->len to avoid SKB_LINEAR_ASSERT() failures when frags are present. Testing with large UDP datagrams confirmed the fix prevents payload corruption and assertion failures.
Potential Impact
This vulnerability could lead to disclosure of kernel memory contents to userspace due to out-of-bounds copying of skb data, including kernel pointers. This may expose sensitive kernel information and potentially aid in further exploitation. The issue affects the integrity of packet data received via veth interfaces when XDP programs manipulate fragments.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel. Users should update to the fixed kernel version containing this patch to resolve the issue. Since no specific patch version is provided, check the official Linux kernel advisories or vendor updates for the fixed release. No additional mitigations are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-pg5f-gw23-248r
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-74612"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8a27f2acd9273b499bc804
Added to database: 08/22/2026, 22:51:30 UTC
Last enriched: 08/22/2026, 23:53:13 UTC
Last updated: 08/23/2026, 00:32:16 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.