<?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:31:04 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139785 — mm/vma: avoid losing atomic VMA flags when setting sticky VMA flags</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139785</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 losing atomic VMA flags when setting sticky VMA flags&lt;/p&gt;
&lt;p&gt;vma_merge_existing_range() merges an existing VMA (middle) when its
attributes have changed to match those of one or both adjacent VMAs.&lt;/p&gt;
&lt;p&gt;Sticky flags are propagated if they are set in any of the merged VMAs. They
are initialised from vmg-&amp;gt;vma_flags, which is assumed to contain middle&amp;#39;s
sticky flags when the function is invoked.&lt;/p&gt;
&lt;p&gt;However, the VMA write lock is not held for middle when they are first
populated, so concurrent updates to atomic VMA flags may occur, which will
be lost upon merge.&lt;/p&gt;
&lt;p&gt;This can result in fork failing to propagate guard region markers and (if
file-backed) THP collapse discarding them.&lt;/p&gt;
&lt;p&gt;Resolve this by propagating the sticky flags after middle is locked.&lt;/p&gt;
&lt;p&gt;Make life easier by factoring this into propagate_sticky_flags(), which
treats vmg-&amp;gt;vma_flags as its base (in case any sticky flags are set there),
updating it as sticky flags are accumulated from merged VMAs.&lt;/p&gt;
&lt;p&gt;Also update vma_expand() to use propagate_sticky_flags() so all merge paths
utilise it.&lt;/p&gt;
&lt;p&gt;propagate_sticky_flags() also asserts that the VMA write lock is held for
the VMA whose sticky flags are being read, with a comment explaining why.&lt;/p&gt;
&lt;p&gt;Another means by which atomic VMA flags can fail to be observed is when the
merge is finalised in commit_merge().&lt;/p&gt;
&lt;p&gt;rmap locks are dropped in vma_complete() before the sticky flags are
written, meaning an rmap walker can obser…&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 losing atomic VMA flags when setting sticky VMA flags&lt;/p&gt;
&lt;p&gt;vma_merge_existing_range() merges an existing VMA (middle) when its
attributes have changed to match those of one or both adjacent VMAs.&lt;/p&gt;
&lt;p&gt;Sticky flags are propagated if they are set in any of the merged VMAs. They
are initialised from vmg-&amp;gt;vma_flags, which is assumed to contain middle&amp;#39;s
sticky flags when the function is invoked.&lt;/p&gt;
&lt;p&gt;However, the VMA write lock is not held for middle when they are first
populated, so concurrent updates to atomic VMA flags may occur, which will
be lost upon merge.&lt;/p&gt;
&lt;p&gt;This can result in fork failing to propagate guard region markers and (if
file-backed) THP collapse discarding them.&lt;/p&gt;
&lt;p&gt;Resolve this by propagating the sticky flags after middle is locked.&lt;/p&gt;
&lt;p&gt;Make life easier by factoring this into propagate_sticky_flags(), which
treats vmg-&amp;gt;vma_flags as its base (in case any sticky flags are set there),
updating it as sticky flags are accumulated from merged VMAs.&lt;/p&gt;
&lt;p&gt;Also update vma_expand() to use propagate_sticky_flags() so all merge paths
utilise it.&lt;/p&gt;
&lt;p&gt;propagate_sticky_flags() also asserts that the VMA write lock is held for
the VMA whose sticky flags are being read, with a comment explaining why.&lt;/p&gt;
&lt;p&gt;Another means by which atomic VMA flags can fail to be observed is when the
merge is finalised in commit_merge().&lt;/p&gt;
&lt;p&gt;rmap locks are dropped in vma_complete() before the sticky flags are
written, meaning an rmap walker can obser…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139785</guid>
    </item>
  </channel>
</rss>
