<?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 20:03:41 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99914 — mm/mremap: populate calculated fields in vrm state correctly</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99914</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/mremap: populate calculated fields in vrm state correctly&lt;/p&gt;
&lt;p&gt;Commit d5c8aec0542e (&amp;#34;mm/mremap: initial refactor of move_vma()&amp;#34;)
introduced the vma_remap_struct helper to pass state sanely through
mremap() logic.&lt;/p&gt;
&lt;p&gt;Part of this state is vrm-&amp;gt;delta - equal to the absolute difference between
vrm-&amp;gt;old_len and vrm-&amp;gt;new_len (the old and new lengths of the VMA,
respectively).&lt;/p&gt;
&lt;p&gt;This value is used to correctly charge accounted VMAs.&lt;/p&gt;
&lt;p&gt;When shrinking a VMA, mremap_to() sets vrm-&amp;gt;old_len equal to vrm-&amp;gt;new_len
having performed the shrink of the VMA first, prior to any potential move
(e.g.  MREMAP_FIXED | MREMAP_MAYMOVE specified).&lt;/p&gt;
&lt;p&gt;However it does not recalculate vrm-&amp;gt;delta, which results in incorrectly
overcharging the VMA when both moving and shrinking a VMA.&lt;/p&gt;
&lt;p&gt;The charge leaks to Committed_AS globally, meaning a mischievous user can
cause allocations to fail across the system in strict overcommit mode.&lt;/p&gt;
&lt;p&gt;Resolve the issue by abstracting the update of vrm-&amp;gt;delta to
vrm_populate_calculated() and invoking this from mremap_to() when
vrm-&amp;gt;old_len is changed.&lt;/p&gt;
&lt;p&gt;Additionally, update vrm-&amp;gt;remap_type whose value depends on vrm-&amp;gt;delta. 
The field is not read again after the shrink, but it is the logically
correct thing to do and protects against future changes which break this.&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/mremap: populate calculated fields in vrm state correctly&lt;/p&gt;
&lt;p&gt;Commit d5c8aec0542e (&amp;#34;mm/mremap: initial refactor of move_vma()&amp;#34;)
introduced the vma_remap_struct helper to pass state sanely through
mremap() logic.&lt;/p&gt;
&lt;p&gt;Part of this state is vrm-&amp;gt;delta - equal to the absolute difference between
vrm-&amp;gt;old_len and vrm-&amp;gt;new_len (the old and new lengths of the VMA,
respectively).&lt;/p&gt;
&lt;p&gt;This value is used to correctly charge accounted VMAs.&lt;/p&gt;
&lt;p&gt;When shrinking a VMA, mremap_to() sets vrm-&amp;gt;old_len equal to vrm-&amp;gt;new_len
having performed the shrink of the VMA first, prior to any potential move
(e.g.  MREMAP_FIXED | MREMAP_MAYMOVE specified).&lt;/p&gt;
&lt;p&gt;However it does not recalculate vrm-&amp;gt;delta, which results in incorrectly
overcharging the VMA when both moving and shrinking a VMA.&lt;/p&gt;
&lt;p&gt;The charge leaks to Committed_AS globally, meaning a mischievous user can
cause allocations to fail across the system in strict overcommit mode.&lt;/p&gt;
&lt;p&gt;Resolve the issue by abstracting the update of vrm-&amp;gt;delta to
vrm_populate_calculated() and invoking this from mremap_to() when
vrm-&amp;gt;old_len is changed.&lt;/p&gt;
&lt;p&gt;Additionally, update vrm-&amp;gt;remap_type whose value depends on vrm-&amp;gt;delta. 
The field is not read again after the shrink, but it is the logically
correct thing to do and protects against future changes which break this.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99914</guid>
    </item>
  </channel>
</rss>
