All vulnerabilities

Servers and applications

CVE-2026-139326

bpf: Use the frame mem type in devmap egress XDP

Severity
Unrated
Published
30 Nov 2026
Last changed
30 Nov 2026
Added to UpHeron
30 Nov 2026
Fixed in
6.2, 6.7, 6.12, 6.12.120, 6.18.65, 7.3.6
Sources
CVE Program

Description

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

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 ("page_pool leak" bad page, leaked pp reference).

kernel/bpf/devmap.c:dev_map_bpf_prog_run() points xdp.rxq at an on-stack

struct xdp_rxq_info rxq = { .dev = rx_dev };

whose mem.type is 0, i.e. MEM_TYPE_PAGE_SHARED, and net/core/filter.c:bpf_xdp_shrink_data() releases frags according to rxq->mem.type. cpumap, which runs programs on xdp_frames the same way, already copies xdpf->mem_type into its private rxq for each frame.

With 9000 byte frames from virtio_net and an egress program that cuts the fragments off:

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Linux kernelServers and applications · cna:linux|linux
  • From 6.19 before 7.3.6
  • From 6.13 before 6.18.65
  • From 6.12 before 6.12.120
  • From 6.11.6 before 6.12
All 7 release lines
  • From 5.15.170 before 5.16
  • From 6.1.115 before 6.2
  • From 6.6.59 before 6.7
  • From 6.11.6 before 6.12
  • From 6.12 before 6.12.120
  • From 6.13 before 6.18.65
  • From 6.19 before 7.3.6

Status in Debian

Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.

  • 2 vulnerable
  • 2 fixed
PackageDebian releaseStatus
linuxsidunstableFixed in 7.3.6-1
14forkytestingFixed in 7.3.6-1
13trixiestableVulnerableNo fix yet.
12bookwormoldstableVulnerableNo fix yet.

From Debian's security tracker for CVE-2026-139326 , read in the last 12 hours.

About Linux kernel

Unix-like operating system kernel, basis for all Linux operating systems

From Wikidata, CC0 1.0.
GitHub stars
257,106GitHub, 29 Nov 2026
Forks
66,781GitHub, 29 Nov 2026
Developer
Linus TorvaldsWikidata
License
GNU General Public License, version 2.0Wikidata
Written in
CWikidata
First released
25 Aug 1991Wikidata
First published on GitHub
4 Sept 2011GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-139326