<?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:49:52 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99911 — mm/vma: avoid broken uffd merge on mremap</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99911</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/vma: avoid broken uffd merge on mremap&lt;/p&gt;
&lt;p&gt;Userfaultfd often causes unexpected interactions within mm, and does so at
the intersection of uffd, mremap() and VMA merging.&lt;/p&gt;
&lt;p&gt;When an mremap of a VMA occurs, copy_vma_and_data() calls
mremap_userfaultfd_prep() to notify uffd of this.&lt;/p&gt;
&lt;p&gt;However, mremap_userfaultfd_prep() simply drops the UFFD context for the
VMA if the user did not register it for remap, i.e. didn&amp;#39;t specify the
UFFD_FEATURE_EVENT_REMAP flag.&lt;/p&gt;
&lt;p&gt;This is OK for the VMA itself, as upon page table move, move_ptes() clears
UFFD page table flags, using vma_has_uffd_without_event_remap() to
determine whether to do so.&lt;/p&gt;
&lt;p&gt;However, this doesn&amp;#39;t account for merging with adjacent VMAs, whose page
tables won&amp;#39;t have received this treatment, and thus latent UFFD markers
will be left around.&lt;/p&gt;
&lt;p&gt;Worse, it&amp;#39;ll break UFFD for any VMAs it is merged with. This is very
surprising behaviour for a user, who will then simply not receive UFFD
events for VMAs they ought to.&lt;/p&gt;
&lt;p&gt;Resolve the issue by explicitly checking for this case via
vma_has_uffd_without_event_remap() in vma_merge_copied_range(), the merge
function explicitly designated for mremap() operations.&lt;/p&gt;
&lt;p&gt;Also update the userland VMA tests accordingly.&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/vma: avoid broken uffd merge on mremap&lt;/p&gt;
&lt;p&gt;Userfaultfd often causes unexpected interactions within mm, and does so at
the intersection of uffd, mremap() and VMA merging.&lt;/p&gt;
&lt;p&gt;When an mremap of a VMA occurs, copy_vma_and_data() calls
mremap_userfaultfd_prep() to notify uffd of this.&lt;/p&gt;
&lt;p&gt;However, mremap_userfaultfd_prep() simply drops the UFFD context for the
VMA if the user did not register it for remap, i.e. didn&amp;#39;t specify the
UFFD_FEATURE_EVENT_REMAP flag.&lt;/p&gt;
&lt;p&gt;This is OK for the VMA itself, as upon page table move, move_ptes() clears
UFFD page table flags, using vma_has_uffd_without_event_remap() to
determine whether to do so.&lt;/p&gt;
&lt;p&gt;However, this doesn&amp;#39;t account for merging with adjacent VMAs, whose page
tables won&amp;#39;t have received this treatment, and thus latent UFFD markers
will be left around.&lt;/p&gt;
&lt;p&gt;Worse, it&amp;#39;ll break UFFD for any VMAs it is merged with. This is very
surprising behaviour for a user, who will then simply not receive UFFD
events for VMAs they ought to.&lt;/p&gt;
&lt;p&gt;Resolve the issue by explicitly checking for this case via
vma_has_uffd_without_event_remap() in vma_merge_copied_range(), the merge
function explicitly designated for mremap() operations.&lt;/p&gt;
&lt;p&gt;Also update the userland VMA tests accordingly.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99911</guid>
    </item>
  </channel>
</rss>
