<?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-04T19:44:27.542791+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-99914</id>
    <title>CVE-2026-99914 — mm/mremap: populate calculated fields in vrm state correctly</title>
    <updated>2026-12-04T19:44:27.543781+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/mremap: populate calculated fields in vrm state correctly</p>
<p>Commit d5c8aec0542e ("mm/mremap: initial refactor of move_vma()")
introduced the vma_remap_struct helper to pass state sanely through
mremap() logic.</p>
<p>Part of this state is vrm-&gt;delta - equal to the absolute difference between
vrm-&gt;old_len and vrm-&gt;new_len (the old and new lengths of the VMA,
respectively).</p>
<p>This value is used to correctly charge accounted VMAs.</p>
<p>When shrinking a VMA, mremap_to() sets vrm-&gt;old_len equal to vrm-&gt;new_len
having performed the shrink of the VMA first, prior to any potential move
(e.g.  MREMAP_FIXED | MREMAP_MAYMOVE specified).</p>
<p>However it does not recalculate vrm-&gt;delta, which results in incorrectly
overcharging the VMA when both moving and shrinking a VMA.</p>
<p>The charge leaks to Committed_AS globally, meaning a mischievous user can
cause allocations to fail across the system in strict overcommit mode.</p>
<p>Resolve the issue by abstracting the update of vrm-&gt;delta to
vrm_populate_calculated() and invoking this from mremap_to() when
vrm-&gt;old_len is changed.</p>
<p>Additionally, update vrm-&gt;remap_type whose value depends on vrm-&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.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-99914"/>
  </entry>
</feed>
