---
id: CVE-2026-81002
title: 'xdp: fix zero-copy frame layout'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  xdp: fix zero-copy frame layout

  xdp_convert_zc_to_xdp_frame() clones an XSK packet into an order-0 page
  and advertises PAGE_SIZE as its frame size.  It allows the copi…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-787
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= b0d1beeff2a97a0cf1965ea8f1d13b8973f22582 <
    dcb6db9ca6515fcd3e00c93ec5e27dc7a0a7012f
  - >-
    Linux >= b0d1beeff2a97a0cf1965ea8f1d13b8973f22582 <
    22092730129077c302d8c947bbe0876f0280c528
  - >-
    Linux >= b0d1beeff2a97a0cf1965ea8f1d13b8973f22582 <
    ced3e18cd9b9caf630aaa1e1eac305f5192ba896
  - >-
    Linux >= b0d1beeff2a97a0cf1965ea8f1d13b8973f22582 <
    6de17275b3ccdf9887568b07e54da2e3597217cf
  - >-
    Linux >= b0d1beeff2a97a0cf1965ea8f1d13b8973f22582 <
    444216dacdbebd3e52d5e704facafbb230da09e9
  - >-
    Linux >= b0d1beeff2a97a0cf1965ea8f1d13b8973f22582 <
    15d1f3c0dbe7a740f779337deb39f23cd8d002c8
  - >-
    Linux >= b0d1beeff2a97a0cf1965ea8f1d13b8973f22582 <
    68d7cc5512238693670fc19c7a615df631e10edf
  - >-
    Linux >= b0d1beeff2a97a0cf1965ea8f1d13b8973f22582 <
    71283aaa6c65b3cec84caf1dc78560985737641f
  - Linux 4.20
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-10-16T19:22:09.618662Z'
published: '2026-09-11'
updated: '2026-10-19'
sourceUpdated: '2026-10-19T08:46:26.611Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-81002'
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'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-81002.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-81002'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2532133'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-81002'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-81002'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-81002.mbox
tags:
  - cve.org
  - csaf
  - vex
  - red-hat
  - score-dispute
epss: 0.00514
epssPercentile: 0.4361
scores:
  cna: 9.8
  vendor: 7
ingestedAt: '2026-09-14T15:23:07.454Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

xdp: fix zero-copy frame layout

xdp_convert_zc_to_xdp_frame() clones an XSK packet into an order-0 page
and advertises PAGE_SIZE as its frame size.  It allows the copied frame
to occupy the page tail needed by skb_shared_info and records zero
headroom even when metadata separates the frame header from packet data.
An AF_XDP zero-copy packet redirected through cpumap can therefore make
the skb overlap skb_shared_info or place it beyond the allocated page.

Limit the copied layout to SKB_WITH_OVERHEAD(PAGE_SIZE) and include the
metadata length in frame headroom.  Redirect callers already handle a
NULL conversion result.

BUG: KASAN: slab-out-of-bounds in skb_gro_receive
Write of size 4 at addr ffff88800cf37004 by task cpumap/1/map:1/146
Call Trace:
 skb_gro_receive (net/core/gro.c:174)
 udp_gro_receive (net/ipv4/udp_offload.c:812)
 inet_gro_receive (net/ipv4/af_inet.c:1539)
 dev_gro_receive (net/core/gro.c:515)
 gro_receive_skb (net/core/gro.c:633)
 cpu_map_kthread_run (kernel/bpf/cpumap.c:395)
 kthread (kernel/kthread.c:436)
 ret_from_fork (arch/x86/kernel/process.c:164)
 ret_from_fork_asm (arch/x86/entry/entry_64.S:255)
Kernel panic - not syncing: KASAN: panic_on_warn set ...

## Affected

- `Linux >= b0d1beeff2a97a0cf1965ea8f1d13b8973f22582 < dcb6db9ca6515fcd3e00c93ec5e27dc7a0a7012f`
- `Linux >= b0d1beeff2a97a0cf1965ea8f1d13b8973f22582 < 22092730129077c302d8c947bbe0876f0280c528`
- `Linux >= b0d1beeff2a97a0cf1965ea8f1d13b8973f22582 < ced3e18cd9b9caf630aaa1e1eac305f5192ba896`
- `Linux >= b0d1beeff2a97a0cf1965ea8f1d13b8973f22582 < 6de17275b3ccdf9887568b07e54da2e3597217cf`
- `Linux >= b0d1beeff2a97a0cf1965ea8f1d13b8973f22582 < 444216dacdbebd3e52d5e704facafbb230da09e9`
- `Linux >= b0d1beeff2a97a0cf1965ea8f1d13b8973f22582 < 15d1f3c0dbe7a740f779337deb39f23cd8d002c8`
- `Linux >= b0d1beeff2a97a0cf1965ea8f1d13b8973f22582 < 68d7cc5512238693670fc19c7a615df631e10edf`
- `Linux >= b0d1beeff2a97a0cf1965ea8f1d13b8973f22582 < 71283aaa6c65b3cec84caf1dc78560985737641f`
- `Linux 4.20`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-09-14 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-81002.json)
