<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-04T19:54:40.604288+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-138832</id>
    <title>CVE-2026-138832 — mm/madvise: reclaim isolated folios if PTE restart fails</title>
    <updated>2026-12-04T19:54:40.606526+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>mm/madvise: reclaim isolated folios if PTE restart fails</p>
<p>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().</p>
<p>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.</p>
<p>This results in a permanent memory leak.  nr_isolated_anon increases
reliably and does not decrease when the process dies.</p>
<p>Route the failure through the existing cleanup path so any isolated folios
are reclaimed or put back.</p>
<p>Simplest userland pseudo-code reproducer:</p>
<p>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);
   }
}</p>
<p>Reproduced in qemu trivially with some explicit widening of the race window.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-138832"/>
  </entry>
</feed>
