CVE-2026-139326
CVE-2026-139326 — bpf: Use the frame mem type in devmap egress XDP
In the Linux kernel, the following vulnerability has been resolved: bpf: Use the frame mem type in devmap egress XDP 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: BUG: Bad page state in process swapper/3 pfn:10660b page dumped because: page_pool leak bad_page+0xbd/0x190 __free_frozen_pages+0x5c7/0x900 bpf_xdp_adjust_tail+0x3be/0x480 bpf_prog_dad43f894a3faff7_egress+0x15c/0x1cd dev_map_bpf_prog_run+0x288/0x610 The pool waits for these pages for ever when its device is gone. That is the harmless case. A page of the pool can hold more than one fragment while its refcount is 1: the first page_frag_free() frees it under the fragment which is still in use, and the second one runs into page dumped because: VM_BUG_ON_PAGE(page_ref_count(page) == 0) kernel BUG at include/linux/mm.h:1846! veth is not affected. It takes references of its own on the pages and redirects the frame as MEM_TYPE_PAGE_SHARED. Fix by setting rxq.mem.type from each frame before running the devmap program, as cpu_map_bpf_prog_run_xdp() does.
Published Updated Sources: NVD, Linux (CNA), GitHub, GitHub Security Advisory
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
n/a
FIRST has not published a score
CVSS base
Unscored
no source published a base score
Remediation
The vendor's own words where we have them.
Upgrade Linux to a fixed release (0 to < 6.12). Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Linux | Linux | ca9984c5f0ab3690d98b13937b2485a978c8dd73 to < 55a5ecf8531f57f714925b28c1a1bb4601b224c6 | Vulnerable |
| Linux | Linux | ca9984c5f0ab3690d98b13937b2485a978c8dd73 to < 42a02f01ec4fb8716ce747c3934d925638ff5c44 | Vulnerable |
| Linux | Linux | ca9984c5f0ab3690d98b13937b2485a978c8dd73 | Vulnerable |
| Linux | Linux | ca9984c5f0ab3690d98b13937b2485a978c8dd73 | Vulnerable |
| Linux | Linux | fe068afb868660fe683a8391c6c17ecbe2254922 | Vulnerable |
| Linux | Linux | a778fbe087c19f4ece5f5fc14173328f070c3803 | Vulnerable |
| Linux | Linux | 49454f09936a9a96edfb047156889879cb4001eb | Vulnerable |
| Linux | Linux | 9167d1c274a336e4763eeb3f3f9cb763c55df5aa | Vulnerable |
| Linux | Linux | 5.15.170 to < 5.16 | Vulnerable |
| Linux | Linux | 6.1.115 to < 6.2 | Vulnerable |
| Linux | Linux | 6.6.59 to < 6.7 | Vulnerable |
| Linux | Linux | 6.11.6 to < 6.12 | Vulnerable |
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /bpf/devmap.c:dev_map_bpf_prog_run(), /core/filter.c:bpf_xdp_shrink_data(), /3, /0x190, /0x900, /0x480, /0x1cd, /0x610, /linux/mm.h:1846!.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Initial · CVE published
Nov 30, 2026 · NVD
Added · GHSA-pw93-cjfq-pmw5 published (unknown)
Nov 30, 2026 · GitHub Security Advisory
References
6 on the record
- git.kernel.org/stable/c/42a02f01ec4fb8716ce747c3934d925638ff5c44
Vendor Advisory
- git.kernel.org/stable/c/55a5ecf8531f57f714925b28c1a1bb4601b224c6
Vendor Advisory
- git.kernel.org/stable/c/b3ca872947ef322c475ceaa7a76a9ebb3356152e
Vendor Advisory
- git.kernel.org/stable/c/f014c65f9de79122e818a977af7261127ee0e98c
Vendor Advisory
- nvd.nist.gov/vuln/detail/CVE-2026-139326
NVD
- github.com/advisories/GHSA-pw93-cjfq-pmw5
Exploit, Third Party Advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-39682 tls: fix handling of zero-length records on the rx_listCVSS 9.8 · CISA KEV
- CVE-2016-3427 Oracle Java SE and JRockit Unspecified VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-53266 netfilter: bridge: make ebt_snat ARP rewrite writableCVSS 8.8 · CISA KEV
- CVE-2026-46300 net: skbuff: preserve shared-frag marker during coalescingCVSS 7.8 · CISA KEV
- CVE-2026-31431 crypto: algif_aead - Revert to operating out-of-placeCVSS 7.8 · CISA KEV
- CVE-2014-3153 Linux Kernel Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
- Linuxevery CVE for this vendor
- Unclassifiedsame class
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-139326 is bpf: Use the frame mem type in devmap egress XDP, a unscored vulnerability affecting Linux from Linux. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-139326. Public exploit evidence is: A public PoC is not confirmed from current sources for CVE-2026-139326. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS null describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.