<?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:59:27 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-138864 — mm/page_counter: avoid integer overflow in effective_protection()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-138864</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/page_counter: avoid integer overflow in effective_protection()&lt;/p&gt;
&lt;p&gt;Patch series &amp;#34;mm/mglru: fix ineffective memory protection for non-kswapd
reclaim&amp;#34;, v4.&lt;/p&gt;
&lt;p&gt;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).&lt;/p&gt;
&lt;p&gt;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&amp;#39;s new caller would also be exposed to.&lt;/p&gt;
&lt;p&gt;This patch (of 2):&lt;/p&gt;
&lt;p&gt;effective_protection() scales a parent&amp;#39;s protection by a ratio of page
counts, e.g.  for recursive protection:&lt;/p&gt;
&lt;p&gt;(parent_effective - siblings_protected) * (usage - protected)
		/ (parent_usage - siblings_protected)&lt;/p&gt;
&lt;p&gt;The multiply is done at unsigned long width before dividing.  On systems
with &amp;gt;= 16TB RAM the product can exceed 2^64 and wrap, giving a bogus
protection value and silently breaking memory.min/low enforcement.&lt;/p&gt;
&lt;p&gt;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 &amp;lt;= 1.&lt;/p&gt;
&lt;p&gt;Reported by the sashiko review tool [1].&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/page_counter: avoid integer overflow in effective_protection()&lt;/p&gt;
&lt;p&gt;Patch series &amp;#34;mm/mglru: fix ineffective memory protection for non-kswapd
reclaim&amp;#34;, v4.&lt;/p&gt;
&lt;p&gt;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).&lt;/p&gt;
&lt;p&gt;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&amp;#39;s new caller would also be exposed to.&lt;/p&gt;
&lt;p&gt;This patch (of 2):&lt;/p&gt;
&lt;p&gt;effective_protection() scales a parent&amp;#39;s protection by a ratio of page
counts, e.g.  for recursive protection:&lt;/p&gt;
&lt;p&gt;(parent_effective - siblings_protected) * (usage - protected)
		/ (parent_usage - siblings_protected)&lt;/p&gt;
&lt;p&gt;The multiply is done at unsigned long width before dividing.  On systems
with &amp;gt;= 16TB RAM the product can exceed 2^64 and wrap, giving a bogus
protection value and silently breaking memory.min/low enforcement.&lt;/p&gt;
&lt;p&gt;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 &amp;lt;= 1.&lt;/p&gt;
&lt;p&gt;Reported by the sashiko review tool [1].&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-138864</guid>
    </item>
  </channel>
</rss>
