<?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:47:35.940997+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-138864</id>
    <title>CVE-2026-138864 — mm/page_counter: avoid integer overflow in effective_protection()</title>
    <updated>2026-12-04T19:47:35.942719+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/page_counter: avoid integer overflow in effective_protection()</p>
<p>Patch series "mm/mglru: fix ineffective memory protection for non-kswapd
reclaim", v4.</p>
<p>For MGLRU, memory.min/low is not honored during non-kswapd global reclaim
(global direct reclaim and root-level memory.reclaim), because these paths
shrink memcgs using stale protection (emin/elow).</p>
<p>Patch 2 is the actual fix.  Patch 1 is a prerequisite: an integer overflow
in effective_protection(), spotted by the sashiko review tool, which patch
2's new caller would also be exposed to.</p>
<p>This patch (of 2):</p>
<p>effective_protection() scales a parent's protection by a ratio of page
counts, e.g.  for recursive protection:</p>
<p>(parent_effective - siblings_protected) * (usage - protected)
		/ (parent_usage - siblings_protected)</p>
<p>The multiply is done at unsigned long width before dividing.  On systems
with &gt;= 16TB RAM the product can exceed 2^64 and wrap, giving a bogus
protection value and silently breaking memory.min/low enforcement.</p>
<p>Use mul_u64_u64_div_u64() to multiply in a 128-bit intermediate.  Because
usage and parent_usage are not read atomically (a child is charged before
its parent), usage - protected can briefly exceed the divisor, making the
quotient overflow 64 bits and trap (#DE on x86).  Cap it so the ratio
stays &lt;= 1.</p>
<p>Reported by the sashiko review tool [1].</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-138864"/>
  </entry>
</feed>
