CVE-2026-138832: Linux kernel · mm/madvise: reclaim isolated folios if PTE restart fails
Source GCVE Database
Not known to be exploited · fixed in 52202745c8b3835119f4f6d00060df416e49b329 : update Linux kernel when convenient.
Data as of 30 Nov 2026, 17:16 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in 52202745c8b3835119f4f6d00060df416e49b329, 5445a6359d717354dd76d509b8e693f13403ec61, 380fbb3a43228a3f439d64549a9d854a23d336b8 +1
Exploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade Linux kernel to 52202745c8b3835119f4f6d00060df416e49b329, 5445a6359d717354dd76d509b8e693f13403ec61, 380fbb3a43228a3f439d64549a9d854a23d336b8 or 06eebc180008290a042403e66fff2e80542c99a0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
Description
In the Linux kernel, the following vulnerability has been resolved: mm/madvise: reclaim isolated folios if PTE restart fails MADV_PAGEOUT collects isolated folios on a local list before reclaiming them after the PTE walk. The reschedule path drops the PTE lock and then restarts the mapping with pte_offset_map_lock(). A concurrent operation can remove or replace the PTE table while the lock is dropped, causing pte_offset_map_lock() to return NULL. Returning directly in that case bypasses reclaim_pages(), leaving the collected folios off the LRU with elevated references. This results in a permanent memory leak. nr_isolated_anon increases reliably and does not decrease when the process dies. Route the failure through the existing cleanup path so any isolated folios are reclaimed or put back. Simplest userland pseudo-code reproducer: p = mmap(PMD_SIZE, ANONYMOUS); touch_every_page(p, PMD_SIZE); parallel { while (1) madvise(p, PMD_SIZE, MADV_PAGEOUT); while (1) { madvise(p, PMD_SIZE, MADV_DONTNEED); touch_every_page(p, PMD_SIZE); } } Reproduced in qemu trivially with some explicit widening of the race window.
References
- nvd.nist.gov/vuln/detail/CVE-2026-138832 (opens in a new tab)
- git.kernel.org/stable/c/06eebc180008290a042403e66fff2e80542c99a0 (opens in a new tab)
- git.kernel.org/stable/c/380fbb3a43228a3f439d64549a9d854a23d336b8 (opens in a new tab)
- git.kernel.org/stable/c/52202745c8b3835119f4f6d00060df416e49b329 (opens in a new tab)
- git.kernel.org/stable/c/5445a6359d717354dd76d509b8e693f13403ec61 (opens in a new tab)