<?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:48:54 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139798 — mm: do not unintentionally overwrite atomic VMA flags</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139798</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: do not unintentionally overwrite atomic VMA flags&lt;/p&gt;
&lt;p&gt;Patch series &amp;#34;mm: avoid losing atomic VMA flags&amp;#34;, v1.&lt;/p&gt;
&lt;p&gt;Since commit 2ab7f1bbafc9 (&amp;#34;mm/madvise: allow guard page install/remove
under VMA lock&amp;#34;), VMA_MAYBE_GUARD_BIT can be set atomically under the VMA
read lock.&lt;/p&gt;
&lt;p&gt;However, a number of places wrongly assume the flags are stable under the
read lock, which can cause stale atomic VMA flags to overwrite existing
valid ones.&lt;/p&gt;
&lt;p&gt;Additionally, one case in which VMA_SOFTDIRTY_BIT was overwritten is also
addressed.&lt;/p&gt;
&lt;p&gt;This series addresses each of these, while keeping the logic inline with
existing conventions.&lt;/p&gt;
&lt;p&gt;Each patch in this series is a hotfix.&lt;/p&gt;
&lt;p&gt;This patch (of 4):&lt;/p&gt;
&lt;p&gt;madvise, mlock and mprotect take a copy of a VMA&amp;#39;s flags holding only the
VMA read lock, later writing it back under the write lock (in
madvise_update_vma(), mlock_fixup(), mlock_vma_pages_range() and
mprotect_fixup()).&lt;/p&gt;
&lt;p&gt;This was done on the assumption that VMA flags cannot change with a read
lock held.&lt;/p&gt;
&lt;p&gt;However this changed in commit 2ab7f1bbafc9 (&amp;#34;mm/madvise: allow guard page
install/remove under VMA lock&amp;#34;), which allowed VM_ATOMIC_SET_ALLOWED
flags (currently only VMA_MAYBE_GUARD_BIT) to be written concurrently under
a VMA read lock.&lt;/p&gt;
&lt;p&gt;The actual write itself is safe as this is done under the VMA write lock
at which point no further concurrent writes can occur, however at this
point the stale flags mean that these callers can unintentionally overwr…&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: do not unintentionally overwrite atomic VMA flags&lt;/p&gt;
&lt;p&gt;Patch series &amp;#34;mm: avoid losing atomic VMA flags&amp;#34;, v1.&lt;/p&gt;
&lt;p&gt;Since commit 2ab7f1bbafc9 (&amp;#34;mm/madvise: allow guard page install/remove
under VMA lock&amp;#34;), VMA_MAYBE_GUARD_BIT can be set atomically under the VMA
read lock.&lt;/p&gt;
&lt;p&gt;However, a number of places wrongly assume the flags are stable under the
read lock, which can cause stale atomic VMA flags to overwrite existing
valid ones.&lt;/p&gt;
&lt;p&gt;Additionally, one case in which VMA_SOFTDIRTY_BIT was overwritten is also
addressed.&lt;/p&gt;
&lt;p&gt;This series addresses each of these, while keeping the logic inline with
existing conventions.&lt;/p&gt;
&lt;p&gt;Each patch in this series is a hotfix.&lt;/p&gt;
&lt;p&gt;This patch (of 4):&lt;/p&gt;
&lt;p&gt;madvise, mlock and mprotect take a copy of a VMA&amp;#39;s flags holding only the
VMA read lock, later writing it back under the write lock (in
madvise_update_vma(), mlock_fixup(), mlock_vma_pages_range() and
mprotect_fixup()).&lt;/p&gt;
&lt;p&gt;This was done on the assumption that VMA flags cannot change with a read
lock held.&lt;/p&gt;
&lt;p&gt;However this changed in commit 2ab7f1bbafc9 (&amp;#34;mm/madvise: allow guard page
install/remove under VMA lock&amp;#34;), which allowed VM_ATOMIC_SET_ALLOWED
flags (currently only VMA_MAYBE_GUARD_BIT) to be written concurrently under
a VMA read lock.&lt;/p&gt;
&lt;p&gt;The actual write itself is safe as this is done under the VMA write lock
at which point no further concurrent writes can occur, however at this
point the stale flags mean that these callers can unintentionally overwr…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139798</guid>
    </item>
  </channel>
</rss>
