<?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 18:49:20 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-138899 — mm/huge_memory: skip zone device folios in madvise_free_huge_pmd()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-138899</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/huge_memory: skip zone device folios in madvise_free_huge_pmd()&lt;/p&gt;
&lt;p&gt;Patch series &amp;#34;mm: reject zone device folios in more folio walkers&amp;#34;, v2.&lt;/p&gt;
&lt;p&gt;Several LRU-oriented mm walkers resolve the folio backing a PMD entry (or
a physical pfn) and then reclaim, age, migrate, or lazyfree it without
ever checking for ZONE_DEVICE memory.&lt;/p&gt;
&lt;p&gt;This series adds missing folio_is_zone_device() rejections, matching the
checks that comparable walkers already perform.&lt;/p&gt;
&lt;p&gt;- mm/huge_memory, mm/madvise: the !pmd_present branch above these sites
  only filters device-private entries (which are non-present).&lt;/p&gt;
&lt;p&gt;A present zone device PMD (e.g. device-coherent) would still reach the
  folio and be lazyfreed / aged / paged out. Add an explicit check.&lt;/p&gt;
&lt;p&gt;- mm/mempolicy: queue_folios_pmd() can see a present zone device PMD
  (e.g. device-coherent) and queue it for migration.&lt;/p&gt;
&lt;p&gt;No crash reproducer - this is a correctness/hardening cleanup found by
inspection.  All checks are placed after the folio is resolved and before
it is acted upon, on paths that already hold the relevant page-table lock,
so no locking or refcount changes are involved.&lt;/p&gt;
&lt;p&gt;This patch (of 3):&lt;/p&gt;
&lt;p&gt;madvise_free_huge_pmd() resolves the folio backing a PMD via pmd_folio()
and marks it lazyfree without checking for zone device memory.&lt;/p&gt;
&lt;p&gt;The surrounding guards do not cover every zone device case:&lt;/p&gt;
&lt;p&gt;- MADV_FREE only operates on anonymous VMAs (DAX mappings are excluded)&lt;/p&gt;
&lt;p&gt;- !pmd_present() br…&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/huge_memory: skip zone device folios in madvise_free_huge_pmd()&lt;/p&gt;
&lt;p&gt;Patch series &amp;#34;mm: reject zone device folios in more folio walkers&amp;#34;, v2.&lt;/p&gt;
&lt;p&gt;Several LRU-oriented mm walkers resolve the folio backing a PMD entry (or
a physical pfn) and then reclaim, age, migrate, or lazyfree it without
ever checking for ZONE_DEVICE memory.&lt;/p&gt;
&lt;p&gt;This series adds missing folio_is_zone_device() rejections, matching the
checks that comparable walkers already perform.&lt;/p&gt;
&lt;p&gt;- mm/huge_memory, mm/madvise: the !pmd_present branch above these sites
  only filters device-private entries (which are non-present).&lt;/p&gt;
&lt;p&gt;A present zone device PMD (e.g. device-coherent) would still reach the
  folio and be lazyfreed / aged / paged out. Add an explicit check.&lt;/p&gt;
&lt;p&gt;- mm/mempolicy: queue_folios_pmd() can see a present zone device PMD
  (e.g. device-coherent) and queue it for migration.&lt;/p&gt;
&lt;p&gt;No crash reproducer - this is a correctness/hardening cleanup found by
inspection.  All checks are placed after the folio is resolved and before
it is acted upon, on paths that already hold the relevant page-table lock,
so no locking or refcount changes are involved.&lt;/p&gt;
&lt;p&gt;This patch (of 3):&lt;/p&gt;
&lt;p&gt;madvise_free_huge_pmd() resolves the folio backing a PMD via pmd_folio()
and marks it lazyfree without checking for zone device memory.&lt;/p&gt;
&lt;p&gt;The surrounding guards do not cover every zone device case:&lt;/p&gt;
&lt;p&gt;- MADV_FREE only operates on anonymous VMAs (DAX mappings are excluded)&lt;/p&gt;
&lt;p&gt;- !pmd_present() br…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-138899</guid>
    </item>
  </channel>
</rss>
