<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 04 Dec 2026 19:35:45 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-138832 — mm/madvise: reclaim isolated folios if PTE restart fails</title>
      <link>https://db.gcve.eu/vuln/cve-2026-138832</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;mm/madvise: reclaim isolated folios if PTE restart fails&lt;/p&gt;
&lt;p&gt;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().&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;This results in a permanent memory leak.  nr_isolated_anon increases
reliably and does not decrease when the process dies.&lt;/p&gt;
&lt;p&gt;Route the failure through the existing cleanup path so any isolated folios
are reclaimed or put back.&lt;/p&gt;
&lt;p&gt;Simplest userland pseudo-code reproducer:&lt;/p&gt;
&lt;p&gt;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);
   }
}&lt;/p&gt;
&lt;p&gt;Reproduced in qemu trivially with some explicit widening of the race window.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;mm/madvise: reclaim isolated folios if PTE restart fails&lt;/p&gt;
&lt;p&gt;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().&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;This results in a permanent memory leak.  nr_isolated_anon increases
reliably and does not decrease when the process dies.&lt;/p&gt;
&lt;p&gt;Route the failure through the existing cleanup path so any isolated folios
are reclaimed or put back.&lt;/p&gt;
&lt;p&gt;Simplest userland pseudo-code reproducer:&lt;/p&gt;
&lt;p&gt;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);
   }
}&lt;/p&gt;
&lt;p&gt;Reproduced in qemu trivially with some explicit widening of the race window.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-138832</guid>
    </item>
  </channel>
</rss>
