XDP lets a packet be redirected to another interface through a devmap, and a second program can run on egress against the redirected frame. The kernel CNA record describes a mismatch in how that program sees the frame’s memory: “A devmap egress program that removes a whole fragment of a redirected xdp_frame with bpf_xdp_adjust_tail() or bpf_xdp_pull_data() frees it with page_frag_free() whatever the frame’s memory type is. For a MEM_TYPE_PAGE_POOL frame from a page_pool based driver this drops the page reference owned by the pool while the pool still accounts the fragment.” The harmless case is a leaked page the pool waits for “for ever”; the other case, which the record reproduces with 9,000-byte frames from virtio_net, is a page freed under a fragment still in use and a VM_BUG_ON_PAGE. The kernel CNA and Red Hat score it 8.1, Red Hat rates it Important. If a host runs a devmap egress XDP program on a page-pool driver, which is most modern NICs and virtio_net, upgrade it to a kernel at or above 6.12.120, 6.18.65 or 7.3.6 and reboot; on 5.15, 6.1 and 6.6 the record names no fix yet.
CVE-2026-139326 at a glance.
| Component | Linux kernel, the BPF device map: dev_map_bpf_prog_run() in kernel/bpf/devmap.c, and the fragment release in bpf_xdp_shrink_data() in net/core/filter.c that reads the memory type it sets |
| Affected versions | mainline 6.12 up to 7.4-rc1 (from commit ca9984c5, “bpf: devmap: provide rxq after redirect”), and the series that took that commit as a backport: 5.15.170 and later, 6.1.115 and later, 6.6.59 and later, 6.11.6 and later, for which the record lists no fix; 6.12.x below 6.12.120, 6.18.x below 6.18.65, 7.3.x below 7.3.6 |
| Fixed in | mainline 7.4-rc1 (commit b3ca8729, the one Debian cites) and stable 6.12.120, 6.18.65, 7.3.6; four fix commits in the record, none for 5.15, 6.1 or 6.6 on 2 December. The fix is one line in devmap.c, rxq.mem.type = xdpf->mem_type;, copying the frame’s memory type into the per-run receive-queue info “as cpu_map_bpf_prog_run_xdp() does” |
| Severity | Kernel CNA CVSS 3.1 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H), which NVD shows as its only metric; Red Hat Important, 8.1 on the same vector (score marked draft, CWE-911, improper update of a reference count); Ubuntu Medium, no score. The traffic comes from the network and the attacker needs no account; the high complexity is the program the administrator has to have loaded |
| Exploited in the wild | Not on the CISA KEV catalogue (2026.11.30). EPSS 0.00567 (48th percentile) on 1 December 2026 |
| Who is exposed | Hosts with an XDP program that redirects through a devmap whose entries carry an egress program, where that program shrinks frames with bpf_xdp_adjust_tail() or bpf_xdp_pull_data(), on a driver that uses the page pool: the record names virtio_net and says “veth is not affected” because it takes its own page references and redirects as MEM_TYPE_PAGE_SHARED. The attacker is whoever sends the frames the program trims (PR:N); multi-buffer frames, which need jumbo MTUs or a driver that splits packets, are the ones with fragments to remove. Red Hat’s statement: an administrator “must load custom eBPF egress programs with devmap packet trimming on page-pool-supported network drivers”, and “Standard Red Hat Enterprise Linux installations running default networking configurations are not susceptible to this flaw” |
| Published | CVE record 30 November 2026 (kernel CNA, updated 1 December); this page built 2 December 2026, last updated 2 December 2026 |
What it is
A frame that XDP redirects is converted into an xdp_frame, which remembers where its memory came from: a driver’s page pool, a shared page, or something else, because each kind is freed differently. When a devmap entry has an egress program, dev_map_bpf_prog_run() runs it against each frame with an on-stack xdp_rxq_info whose only populated field is the device, so its mem.type is zero, which happens to mean MEM_TYPE_PAGE_SHARED. The fragment-release code in bpf_xdp_shrink_data() looks at that field to decide how to free a fragment the program has cut off, and for page-shared memory the answer is page_frag_free(). For a page-pool page that is the wrong answer: the pool owns the reference, the fragment is still on the pool’s books, and the page goes back to the allocator behind the pool’s back. The record notes that cpumap, which runs programs on frames the same way, already copies the frame’s memory type into its private queue info; devmap did not.
What the wrong free does depends on the page. The record’s first case is a leak: the pool “waits for these pages for ever when its device is gone”, and the kernel logs a “page_pool leak” bad-page report. The second is worse: a page-pool page can hold more than one fragment while its refcount is one, so the first page_frag_free() frees the page under a fragment that is still in use, and the second trips VM_BUG_ON_PAGE(page_ref_count(page) == 0), a kernel BUG, in the record’s trace from bpf_xdp_adjust_tail() inside the egress program. Between the free and the BUG the page is memory the allocator may already have handed to someone else, which is where the integrity and confidentiality impacts in the 8.1 come from; the sender controls the frames and therefore when it happens.
The fix on GitHub, by Josef Bacik and committed by Alexei Starovoitov, adds one line to kernel/bpf/devmap.c so the per-run queue info carries the frame’s memory type, and the Fixes: tag names the 2024 commit that gave devmap programs a receive-queue pointer at all. That commit was backported into 5.15.170, 6.1.115, 6.6.59 and 6.11.6, and the record lists those as affected ranges with no corresponding fix, which is the one open question on this page: a 6.6 kernel from a distribution that follows stable is in range and has no upstream fix to pick up yet. git.kernel.org and lore.kernel.org refuse automated readers, so the backports are described from the record and the mainline commit from its GitHub mirror.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 1 and 2 December 2026; the link in the row is the tracker page, which will be newer than this one. Debian bookworm’s 6.1 and trixie’s 6.12 are both in range, and bookworm has no upstream fix to take.
| Distribution | Status | Fixed package |
|---|---|---|
| Alpine | Not consulted for this page | — |
| Debian | bookworm (6.1.176-1, security 6.1.192-3) vulnerable; trixie (6.12.117-1, security 6.12.118-1) vulnerable; fixed in forky and sid (7.3.6-1); no DSA | unstable 7.3.6-1; nothing for trixie or bookworm on 2 December 2026 |
| Ubuntu | Medium, no Ubuntu CVSS yet; linux needs evaluation in every supported release from 14.04 to 26.10 (no version named); no USN | nothing released on 1 December 2026 |
| RHEL, Rocky, Alma, CentOS Stream | Important, 8.1 (bug 2587257, “Denial of service via improper memory handling in eBPF XDP egress programs”); RHEL 9 and 10 kernel affected, no errata yet; RHEL 9 kernel-rt and RHEL 6, 7 and 8 not affected; OpenShift CoreOS 9 and 10 images affected, 8 not | nothing released on 2 December 2026 |
| openSUSE/SLE | Not consulted: suse.com refused the automated reader on 2 December 2026 (client error, twice) | — |
| Fedora, Arch; self-built kernels | Not consulted; upstream stable versions apply | 6.12.120 / 6.18.65 / 7.3.6 or later; nothing yet for 5.15, 6.1 or 6.6 |
How to check
Three questions, in order: which kernel is running, is there a devmap with egress programs attached, and are those programs running on page-pool drivers with frames large enough to have fragments. The second is the precondition; a host that runs XDP without devmap egress programs is not in the path.
# 1. the running kernel (compare with the fixed stable version for its series; 5.15/6.1/6.6 have no fix yet)
uname -r
# 2. devmaps and the programs attached to them
bpftool map list 2>/dev/null | grep -E 'devmap'
# a devmap entry with an egress program shows prog_id in its value
bpftool map dump name <devmap-name> 2>/dev/null | grep -E 'prog_id|ifindex'
bpftool prog list 2>/dev/null | grep -B1 -A3 -E 'xdp_devmap'
# 3. the precondition: page-pool drivers and multi-buffer frames on the redirect targets
for d in /sys/class/net/*; do printf '%s %s mtu %s\n' "$(basename $d)" "$(readlink $d/device/driver 2>/dev/null | xargs -r basename)" "$(cat $d/mtu)"; done
ethtool -S <target-iface> 2>/dev/null | grep -iE 'page_pool|pp_'A kernel at or above the fixed stable version for its series is done; a 5.15, 6.1 or 6.6 kernel at or above the backport points the record names is in range with nothing to upgrade to yet. A host with no devmap, or a devmap whose entries carry no prog_id, is not in the path. A devmap egress program on virtio_net or a NIC driver that reports page-pool statistics, with an MTU above 1,500 or a driver that uses fragments at any size, is the record’s case, and the program’s source answers whether it calls bpf_xdp_adjust_tail() or bpf_xdp_pull_data(). The one log signature is the record’s own: a “Bad page state” report whose reason is “page_pool leak” means the path has been taken on this host.
How to fix it
Install the fixed kernel and reboot; devmap lives in the core BPF code and reloading the program changes nothing. Debian forky and sid had the fix out on 2 December; Debian trixie and bookworm, Ubuntu and Red Hat had it pending, and the record lists no mitigation.
# Debian forky / sid (trixie and bookworm once a security update names this CVE)
apt update && apt install linux-image-amd64 && systemctl reboot # or linux-image-arm64# Ubuntu, RHEL family, SUSE: when the pending builds land
apt update && apt full-upgrade && systemctl reboot
dnf update kernel && systemctl reboot
zypper patch && systemctl reboot
uname -r# Until then, in the program: do not shrink frames in the devmap egress program; move the trim to the
# ingress program, which runs with the driver's own rxq and the right memory type
# or detach the egress programs from the devmap entries (the redirect itself is unaffected)
bpftool map update name <devmap-name> key <ifindex> value <ifindex-only-value>Moving the trim to the ingress program is a real mitigation because the ingress program runs with the driver’s own receive-queue info, where the memory type is correct; detaching the egress program removes the path entirely at the cost of whatever that program did. What not to do: do not conclude from Red Hat’s “not susceptible” that an XDP host is safe because it is RHEL; the sentence is about default networking, and a host running a custom devmap egress program is by definition not default. And do not raise the MTU back to jumbo on a 6.6 kernel to recover throughput while waiting for a 6.6 fix that the record does not yet list.
Sources
- CVE-2026-139326 at CVE.org — the kernel CNA record: the commit message with the “frees it with page_frag_free() whatever the frame’s memory type is” sentence, the two bad-page traces, the
veth is not affectednote, the git and version ranges including the four backport ranges without a fix,kernel/bpf/devmap.c(30 November 2026, updated 1 December) - Fix commits on git.kernel.org: b3ca8729 (mainline, 7.4-rc1) and the backports 55a5ecf8, 42a02f01, f014c65f; git.kernel.org refuses automated readers, so the mainline commit was read on GitHub: Josef Bacik, committed by Alexei Starovoitov,
Fixes:ca9984c5,devmap.c+1/−0 - NVD entry — Received on 30 November 2026; shows the CNA’s 8.1 as a secondary metric, no NVD score, CWE or CPE on 2 December
- Distribution trackers: Debian (bookworm and trixie vulnerable, forky and sid fixed in 7.3.6-1) · Ubuntu (Medium; needs evaluation in every release) · Red Hat (Important 8.1, RHEL 9 and 10 affected; bug 2587257) · SUSE (not reachable on 2 December)
- CISA KEV catalogue 2026.11.30, not listed · EPSS 0.00567 (percentile 0.484) on 1 December 2026
Related reading
- CVE-2026-139316: Linux kernel SRv6 End.BPF trusts the routing header an End.DT6 decapsulation uncovers, letting a sender write past the packet — the same day’s set, the other BPF networking record
- CVE-2026-99686: Linux kernel vhost used-ring index wraps past the dirty-log bitmap — the virtio side of the same virtio_net path
- CVE-2026-46300: Linux kernel loses the shared-page marker when merging socket buffers, letting a local user write into read-only binaries — a page freed under a fragment that was still in use, on the KEV list
- CVE-2026-99662: Linux kernel GUP-fast writes past the page array for a zero-length request — page references and who owns them
- CVE-2026-99709: Linux kernel IP fragment reassembly lets a queue’s byte count wrap past 2^32 and frees a socket that is still in use — another sender-driven free of something still in use
- The Kernel — module autoload, why an unused subsystem is still an attack surface, and how
install … /bin/falsediffers fromblacklist
This advisory page was assembled from the primary sources listed above on 2 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.

