# CVE-2026-138832

- Bağlantı: https://www.allsafe.com.tr/cve-2026-138832/
- Yayımlanma: 2026-11-30T17:17:37+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-138832)
