<?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://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-29T12:07:26.852672+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" 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://vulnerability.circl.lu/vuln/cve-2026-53155</id>
    <title>CVE-2026-53155 — mm/huge_memory: use correct flags for device private PMD entry</title>
    <updated>2026-09-29T12:07:26.854335+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/huge_memory: use correct flags for device private PMD entry</p>
<p>Commit 65edfda6f3f2 ("mm/rmap: extend rmap and migration support
device-private entries") updated set_pmd_migration_entry() to use
pmdp_huge_get_and_clear() in the softleaf case, but made no further
adjustments to the function itself.</p>
<p>Therefore this function continues to incorrectly use pmd_write(),
pmd_soft_dirty() and pmd_uffd_wp() to determine whether the installed
migration entry should be marked writable, softdirty or uffd-wp
respectively.</p>
<p>Whilst all are incorrect, the most problematic of these is pmd_write(), as
this can lead to corrupted rmap state.</p>
<p>On x86-64 _PAGE_SWP_SOFT_DIRTY is aliased to _PAGE_RW.  So calling
pmd_write() on a softleaf will return the softdirty state encoded in the
entry, assuming CONFIG_MEM_SOFT_DIRTY was enabled.</p>
<p>This was observed when running the hmm.hmm_device_private.anon_write_child
selftest:</p>
<p>1. The test faults in a range then migrates it such that a device-private
   THP range is established.</p>
<p>2. The parent then migrates it to a device-private writable PMD entry whose
   folio is entirely AnonExclusive with entire_mapcount=1, softdirty set
   (accidentally correct write state).</p>
<p>3. The parent forks and the PMD entries are set to device-private read only
   entries, entire_mapcount=2, softdirty still set.</p>
<p>4. [BUG] The child writes to the range then migrates to RAM - intending to
   install non-writable m…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-53155"/>
  </entry>
</feed>
