{"id":"CVE-2026-81002","state":"PUBLISHED","title":"xdp: fix zero-copy frame layout","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nxdp: fix zero-copy frame layout\n\nxdp_convert_zc_to_xdp_frame() clones an XSK packet into an order-0 page\nand advertises PAGE_SIZE as its frame size.  It allows the copied frame\nto occupy the page tail needed by skb_shared_info and records zero\nheadroom even when metadata separates the frame header from packet data.\nAn AF_XDP zero-copy packet redirected through cpumap can therefore make\nthe skb overlap skb_shared_info or place it beyond the allocated page.\n\nLimit the copied layout to SKB_WITH_OVERHEAD(PAGE_SIZE) and include the\nmetadata length in frame headroom.  Redirect callers already handle a\nNULL conversion result.\n\nBUG: KASAN: slab-out-of-bounds in skb_gro_receive\nWrite of size 4 at addr ffff88800cf37004 by task cpumap/1/map:1/146\nCall Trace:\n skb_gro_receive (net/core/gro.c:174)\n udp_gro_receive (net/ipv4/udp_offload.c:812)\n inet_gro_receive (net/ipv4/af_inet.c:1539)\n dev_gro_receive (net/core/gro.c:515)\n gro_receive_skb (net/core/gro.c:633)\n cpu_map_kthread_run (kernel/bpf/cpumap.c:395)\n kthread (kernel/kthread.c:436)\n ret_from_fork (arch/x86/kernel/process.c:164)\n ret_from_fork_asm (arch/x86/entry/entry_64.S:255)\nKernel panic - not syncing: KASAN: panic_on_warn set ...","publishedAt":"2026-09-11T19:42:55.506Z","updatedAt":"2026-10-19T08:46:26.611Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b0d1beeff2a97a0cf1965ea8f1d13b8973f22582","status":"affected","lessThan":"dcb6db9ca6515fcd3e00c93ec5e27dc7a0a7012f","versionType":"git"},{"version":"b0d1beeff2a97a0cf1965ea8f1d13b8973f22582","status":"affected","lessThan":"22092730129077c302d8c947bbe0876f0280c528","versionType":"git"},{"version":"b0d1beeff2a97a0cf1965ea8f1d13b8973f22582","status":"affected","lessThan":"ced3e18cd9b9caf630aaa1e1eac305f5192ba896","versionType":"git"},{"version":"b0d1beeff2a97a0cf1965ea8f1d13b8973f22582","status":"affected","lessThan":"6de17275b3ccdf9887568b07e54da2e3597217cf","versionType":"git"},{"version":"b0d1beeff2a97a0cf1965ea8f1d13b8973f22582","status":"affected","lessThan":"444216dacdbebd3e52d5e704facafbb230da09e9","versionType":"git"},{"version":"b0d1beeff2a97a0cf1965ea8f1d13b8973f22582","status":"affected","lessThan":"15d1f3c0dbe7a740f779337deb39f23cd8d002c8","versionType":"git"},{"version":"b0d1beeff2a97a0cf1965ea8f1d13b8973f22582","status":"affected","lessThan":"68d7cc5512238693670fc19c7a615df631e10edf","versionType":"git"},{"version":"b0d1beeff2a97a0cf1965ea8f1d13b8973f22582","status":"affected","lessThan":"71283aaa6c65b3cec84caf1dc78560985737641f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/xdp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.20","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.20","versionType":"semver"},{"version":"5.10.270","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.221","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.109","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.50","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.4","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/xdp.c"]}],"references":["https://git.kernel.org/stable/c/dcb6db9ca6515fcd3e00c93ec5e27dc7a0a7012f","https://git.kernel.org/stable/c/22092730129077c302d8c947bbe0876f0280c528","https://git.kernel.org/stable/c/ced3e18cd9b9caf630aaa1e1eac305f5192ba896","https://git.kernel.org/stable/c/6de17275b3ccdf9887568b07e54da2e3597217cf","https://git.kernel.org/stable/c/444216dacdbebd3e52d5e704facafbb230da09e9","https://git.kernel.org/stable/c/15d1f3c0dbe7a740f779337deb39f23cd8d002c8","https://git.kernel.org/stable/c/68d7cc5512238693670fc19c7a615df631e10edf","https://git.kernel.org/stable/c/71283aaa6c65b3cec84caf1dc78560985737641f"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/81xxx/CVE-2026-81002.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-81002","state":"PUBLISHED","datePublished":"2026-09-11T19:42:55.506Z","dateUpdated":"2026-10-19T08:46:26.611Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-26T14:34:25.812Z"},"containers":{"cna":{"title":"xdp: fix zero-copy frame layout","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nxdp: fix zero-copy frame layout\n\nxdp_convert_zc_to_xdp_frame() clones an XSK packet into an order-0 page\nand advertises PAGE_SIZE as its frame size.  It allows the copied frame\nto occupy the page tail needed by skb_shared_info and records zero\nheadroom even when metadata separates the frame header from packet data.\nAn AF_XDP zero-copy packet redirected through cpumap can therefore make\nthe skb overlap skb_shared_info or place it beyond the allocated page.\n\nLimit the copied layout to SKB_WITH_OVERHEAD(PAGE_SIZE) and include the\nmetadata length in frame headroom.  Redirect callers already handle a\nNULL conversion result.\n\nBUG: KASAN: slab-out-of-bounds in skb_gro_receive\nWrite of size 4 at addr ffff88800cf37004 by task cpumap/1/map:1/146\nCall Trace:\n skb_gro_receive (net/core/gro.c:174)\n udp_gro_receive (net/ipv4/udp_offload.c:812)\n inet_gro_receive (net/ipv4/af_inet.c:1539)\n dev_gro_receive (net/core/gro.c:515)\n gro_receive_skb (net/core/gro.c:633)\n cpu_map_kthread_run (kernel/bpf/cpumap.c:395)\n kthread (kernel/kthread.c:436)\n ret_from_fork (arch/x86/kernel/process.c:164)\n ret_from_fork_asm (arch/x86/entry/entry_64.S:255)\nKernel panic - not syncing: KASAN: panic_on_warn set ..."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b0d1beeff2a97a0cf1965ea8f1d13b8973f22582","status":"affected","lessThan":"dcb6db9ca6515fcd3e00c93ec5e27dc7a0a7012f","versionType":"git"},{"version":"b0d1beeff2a97a0cf1965ea8f1d13b8973f22582","status":"affected","lessThan":"22092730129077c302d8c947bbe0876f0280c528","versionType":"git"},{"version":"b0d1beeff2a97a0cf1965ea8f1d13b8973f22582","status":"affected","lessThan":"ced3e18cd9b9caf630aaa1e1eac305f5192ba896","versionType":"git"},{"version":"b0d1beeff2a97a0cf1965ea8f1d13b8973f22582","status":"affected","lessThan":"6de17275b3ccdf9887568b07e54da2e3597217cf","versionType":"git"},{"version":"b0d1beeff2a97a0cf1965ea8f1d13b8973f22582","status":"affected","lessThan":"444216dacdbebd3e52d5e704facafbb230da09e9","versionType":"git"},{"version":"b0d1beeff2a97a0cf1965ea8f1d13b8973f22582","status":"affected","lessThan":"15d1f3c0dbe7a740f779337deb39f23cd8d002c8","versionType":"git"},{"version":"b0d1beeff2a97a0cf1965ea8f1d13b8973f22582","status":"affected","lessThan":"68d7cc5512238693670fc19c7a615df631e10edf","versionType":"git"},{"version":"b0d1beeff2a97a0cf1965ea8f1d13b8973f22582","status":"affected","lessThan":"71283aaa6c65b3cec84caf1dc78560985737641f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/xdp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.20","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.20","versionType":"semver"},{"version":"5.10.270","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.221","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.109","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.50","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.4","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/xdp.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/dcb6db9ca6515fcd3e00c93ec5e27dc7a0a7012f"},{"url":"https://git.kernel.org/stable/c/22092730129077c302d8c947bbe0876f0280c528"},{"url":"https://git.kernel.org/stable/c/ced3e18cd9b9caf630aaa1e1eac305f5192ba896"},{"url":"https://git.kernel.org/stable/c/6de17275b3ccdf9887568b07e54da2e3597217cf"},{"url":"https://git.kernel.org/stable/c/444216dacdbebd3e52d5e704facafbb230da09e9"},{"url":"https://git.kernel.org/stable/c/15d1f3c0dbe7a740f779337deb39f23cd8d002c8"},{"url":"https://git.kernel.org/stable/c/68d7cc5512238693670fc19c7a615df631e10edf"},{"url":"https://git.kernel.org/stable/c/71283aaa6c65b3cec84caf1dc78560985737641f"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"},"scenarios":[{"lang":"en","value":"AV:N - Received AF_XDP zero-copy packets reach xdp_convert_zc_to_xdp_frame() on XDP_REDIRECT into cpumap or a veth. On an internet-facing NIC with that hybrid XDP/AF_XDP setup, unauthenticated remote frames drive the cloned page into skb/GRO; AF_XDP bind is a victim-side prerequisite, not a local-only syscall bug.\nAC:L - The sender chooses packet length, so a 4K UMEM/jumbo frame makes the clone occupy the skb_shared_info tail, and normal cpumap/veth metadata (bpf_xdp_adjust_meta) misplaces sinfo past the page. Either layout is attacker-reproducible with no race or uninfluenced memory-layout dependency.\nPR:N - The remote sender needs no account or capability. CAP_NET_RAW, CAP_NET_ADMIN, and CAP_BPF are required only by the victim process that binds the XSK queue and loads the XDP redirect program, matching other AF_XDP RX-path kernel scores.\nUI:N - After the interface is configured, inbound packets are converted and passed to GRO automatically in NAPI or the cpumap kthread; no victim mount, click, or other per-packet action is required.\nS:U - The out-of-bounds skb_shared_info write corrupts host kernel heap/page memory in the same kernel authority. It is ordinary kernel memory corruption, not a VM, IOMMU, or sandbox boundary crossing.\nC:H - skb_shared_info is placed past the order-0 page or overlapped with the copied frame, so GRO and build_skb write into adjacent objects that hold kernel pointers; that corruption can be turned into an arbitrary kernel read, so confidentiality is High.\nI:H - KASAN records a 4-byte out-of-bounds write in skb_gro_receive while building the skb around the mis-sized ZC clone. An OOB write of skb_shared_info (including pointer fields) is an arbitrary-write/control-flow primitive, so integrity is High.\nA:H - The same GRO path panics under KASAN and oopses without it when skb_shared_info is written off the allocated page, so a remote packet can crash the kernel."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T08:46:26.611Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.10.270"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.15.221"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"6.1.188"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"6.6.157"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"6.12.109"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"6.18.50"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"7.2.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-81002","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T19:22:09.618662Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T19:26:38.483Z"}}]}}}