veth: convert frag_list skbs before running XDP
In the Linux kernel, the following vulnerability has been resolved: veth: convert frag_list skbs before running XDP A frag_list skb can reach veth with data_len set but nr_frags zero. veth_convert_skb_to_xdp_buff() only converts skbs that are shared, locked, have frags[], or do not have enough headroom. It later uses skb_is_nonlinear() to decide whether to set XDP_FLAGS_HAS_FRAGS and xdp_frags_size. That exposes frag_list data to XDP as if it were stored in frags[], but frags[] is empty. AF_XDP copy mode can then trust the bogus XDP fragment metadata, walk an empty fragment entry, and crash in memcpy() from __xsk_rcv(). Route non-linear skbs through skb_pp_cow_data() before exposing them to XDP, and only advertise XDP frags when the resulting skb has frags[]. skb_copy_bits() already handles frag_list input, and skb_pp_cow_data() builds frags[] output with skb_add_rx_frag(), which is the representation XDP multi-buffer expects.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.1.184, 6.12.103, 6.18.44, 6.6.153, 7.1.8
- CVEs
- CVE-2026-74476
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:39 UTC · Revision 1
Source evidence
veth: convert frag_list skbs before running XDP
core-osv · Original sourcePublished 15 Aug 2026, 12:27 UTC
In the Linux kernel, the following vulnerability has been resolved: veth: convert frag_list skbs before running XDP A frag_list skb can reach veth with data_len set but nr_frags zero. veth_convert_skb_to_xdp_buff() only converts skbs that are shared, locked, have frags[], or do not have enough headroom. It later uses skb_is_nonlinear() to decide whether to set XDP_FLAGS_HAS_FRAGS and xdp_frags_size. That exposes frag_list data to XDP as if it were stored in frags[], but frags[] is empty. AF_XDP copy mode can then trust the bogus XDP fragment metadata, walk an empty fragment entry, and crash in memcpy() from __xsk_rcv(). Route non-linear skbs through skb_pp_cow_data() before exposing them to XDP, and only advertise XDP frags when the resulting skb has frags[]. skb_copy_bits() already handles frag_list input, and skb_pp_cow_data() builds frags[] output with skb_add_rx_frag(), which is the representation XDP multi-buffer expects.
osv:CVE-2026-74476
Kernel
Fixed versions: 6.1.184, 6.6.153, 6.12.103, 6.18.44, 7.1.8
Complete source record
{
"id": "7d908d79bcb81417cc5d09b8227bac9cf43440e3453b9795faedc1ee29d07a5c",
"url": "https://osv.dev/vulnerability/CVE-2026-74476",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "veth: convert frag_list skbs before running XDP",
"summary": "In the Linux kernel, the following vulnerability has been resolved: veth: convert frag_list skbs before running XDP A frag_list skb can reach veth with data_len set but nr_frags zero. veth_convert_skb_to_xdp_buff() only converts skbs that are shared, locked, have frags[], or do not have enough headroom. It later uses skb_is_nonlinear() to decide whether to set XDP_FLAGS_HAS_FRAGS and xdp_frags_size. That exposes frag_list data to XDP as if it were stored in frags[], but frags[] is empty. AF_XDP copy mode can then trust the bogus XDP fragment metadata, walk an empty fragment entry, and crash in memcpy() from __xsk_rcv(). Route non-linear skbs through skb_pp_cow_data() before exposing them to XDP, and only advertise XDP frags when the resulting skb has frags[]. skb_copy_bits() already handles frag_list input, and skb_pp_cow_data() builds frags[] output with skb_add_rx_frag(), which is the representation XDP multi-buffer expects.",
"evidence": "osv:CVE-2026-74476",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.1.184",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.153",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.103",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.44",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.8",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "critical",
"structured": {
"id": "CVE-2026-74476",
"aliases": [
"CVE-2026-74476"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "718a18a0c8a67f97781e40bdef7cdd055c430996"
},
{
"fixed": "0be3632597b8349d43a7dc4244b492dc62a05998"
},
{
"fixed": "04958dba44dc795dc79ce2fcbc117821bbbd6542"
},
{
"fixed": "5c1c15c540fc45820ce3033c319151ec891bc10a"
},
{
"fixed": "b24ba0bbffe3e23eb2f6838881c1fabcb29fb9fb"
},
{
"fixed": "f9c1fff857e93be709c8b52ed1a643f37bd82c66"
},
{
"fixed": "d0d6415963040c401e7a7e4e482a698ba52448cb"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74476.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.18.0"
},
{
"fixed": "6.1.184"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.153"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.103"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.44"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.8"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74476.json"
}
}
],
"modified": "2026-10-28T02:30:37.887811500Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/04958dba44dc795dc79ce2fcbc117821bbbd6542",
"https://git.kernel.org/stable/c/0be3632597b8349d43a7dc4244b492dc62a05998",
"https://git.kernel.org/stable/c/5c1c15c540fc45820ce3033c319151ec891bc10a",
"https://git.kernel.org/stable/c/b24ba0bbffe3e23eb2f6838881c1fabcb29fb9fb",
"https://git.kernel.org/stable/c/d0d6415963040c401e7a7e4e482a698ba52448cb",
"https://git.kernel.org/stable/c/f9c1fff857e93be709c8b52ed1a643f37bd82c66",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74476.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-74476",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74476.json"
}
},
"related_cves": [
{
"value": "CVE-2026-74476",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505389,
"published_at": "2026-08-15T12:27:11.309+00:00"
}