<?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://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-04T20:04:39.404522+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" 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://db.gcve.eu/vuln/cve-2026-139785</id>
    <title>CVE-2026-139785 — mm/vma: avoid losing atomic VMA flags when setting sticky VMA flags</title>
    <updated>2026-12-04T20:04:39.406612+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/vma: avoid losing atomic VMA flags when setting sticky VMA flags</p>
<p>vma_merge_existing_range() merges an existing VMA (middle) when its
attributes have changed to match those of one or both adjacent VMAs.</p>
<p>Sticky flags are propagated if they are set in any of the merged VMAs. They
are initialised from vmg-&gt;vma_flags, which is assumed to contain middle's
sticky flags when the function is invoked.</p>
<p>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.</p>
<p>This can result in fork failing to propagate guard region markers and (if
file-backed) THP collapse discarding them.</p>
<p>Resolve this by propagating the sticky flags after middle is locked.</p>
<p>Make life easier by factoring this into propagate_sticky_flags(), which
treats vmg-&gt;vma_flags as its base (in case any sticky flags are set there),
updating it as sticky flags are accumulated from merged VMAs.</p>
<p>Also update vma_expand() to use propagate_sticky_flags() so all merge paths
utilise it.</p>
<p>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.</p>
<p>Another means by which atomic VMA flags can fail to be observed is when the
merge is finalised in commit_merge().</p>
<p>rmap locks are dropped in vma_complete() before the sticky flags are
written, meaning an rmap walker can obser…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-139785"/>
  </entry>
</feed>
