Home / Linux / Linux / CVE-2026-138866
CVE-2026-138866: is it exploited, and which versions of Linux are affected and fixed?
CVE-2026-138866 is a vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: Linux from 6.13 until the fixed versions (CVE record by Linux). Fixed in 6.18.63, 7.3.4 and 7.4-rc1 (CVE record by Linux).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 30, 2026, 13:30 UTC and NVD November 30, 2026, 15:09 UTC.
What is CVE-2026-138866?
In the Linux kernel, the following vulnerability has been resolved: mm/execmem: free ROX cache chunks only when they span an entire vm area Patch series "mm/execmem: fixes and cleanups for the ROX cache". Sashiko review of the ROX cache refill path asked what happens when the PMD_SIZE allocation fails there. Pulling that thread uncovered a bit more than the fallback. Patch 1 fixes a real bug, although rare bug: execmem_cache_clean() can free a chunk that is still partially in use, because a PMD sized and PMD aligned free range in the middle of a larger chunk looks exactly like a chunk that nobody uses. Patch 2 handles maple tree allocation failures in the cache. They are unlikely, but silently dropping an area from the tree is not a great way to deal with them. Patch 3 deals with the fallback that started all this. The cache exists to keep the direct map free of unnecessary splits, and the fallback happily filled it with base page mapped areas that could never be freed from the cache again. Ask vmalloc for a huge mapping or nothing, and serve whatever does not fit outside the cache. Patches 4 and 5 convert the ROX cache to scope based cleanup. The series was tested on x86 with module load/unload cycles, with PTDUMP confirming that the cache is using 2M mappings, and with nohugevmalloc to exercise the uncached fallback. This patch (of 5): When execmem refills the ROX cache, it vmalloc()s multiples of PMD_SIZE aligned to PMD_SIZE. For every such allocation vmalloc creates a vm area. The first part of the vmalloc()ed chunk is returned to the allocation that triggered the cache refill and the remaining part is added to the cache and handed out for subsequent allocations with execmem_alloc(). When only the first part is freed, the entire vm area remains in the ROX cache and can be handed out again. In the case when the first allocation is larger than PMD_SIZE and the second allocation from the freed first part of the chunk is exactly PMD_SIZE, execmem_cache_clean() will free the entire chunk while part of it is still in use. For example: /* * vmalloc(4M), return p0 to the caller * add [p0 + 3M, p0 + 4M) to the cache */ p0 = execmem_alloc(3M); /* return p0 + 3M from the cache to the caller */ p1 = execmem_alloc(1M); /* put [p0, p0 + 3M) back into the cache */ execmem_free(p0); /* return p0 from the cache to the caller */ p2 = execmem_alloc(2M); /* return p0 + 2M from the cache to the caller */ p3 = execmem_alloc(1M); /* bah! execmem_cache_clean() frees the entire 4M chunk */ execmem_free(p2); Make sure that the ranges that execmem_cache_clean() frees cover the entire vm area.
From the CVE record by Linux, last updated November 30, 2026, 13:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | not stated | |
| Linux | Linux | from 6.13 until the fixed versions | 6.18.63, 7.3.4, 7.4-rc1 |
As the CVE record by Linux states it, last updated November 30, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Is CVE-2026-138866 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.21% probability of exploitation activity in the next 30 days, percentile 11.4 (FIRST EPSS, scores of December 3, 2026)
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/e4dcde9709a25f5301f0a1cc5f6f76485aea2c48
- https://git.kernel.org/stable/c/8c60564f03e0f83dfe4ee4484a3adcd4426f1594
- https://git.kernel.org/stable/c/52d95a55a0113408acd2d4ce0294a72c527f5092
When was it published, and where is the official record?
- Reserved
- November 30, 2026
- Published
- November 30, 2026, 13:25 UTC
- CVE record updated
- November 30, 2026, 13:25 UTC by Linux
- NVD
- Received, last modified November 30, 2026, 14:17 UTC
- Last checked
- CVE list November 30, 2026, 13:30 UTC; NVD November 30, 2026, 15:09 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
Questions about CVE-2026-138866
Is CVE-2026-138866 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.21% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Linux are affected by CVE-2026-138866?
Linux from 6.13 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2026-138866?
6.18.63, 7.3.4 and 7.4-rc1, per the CVE record by Linux. Check the vendor's advisory before you rely on it.
Where is the official record of CVE-2026-138866?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.