<?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>Sat, 05 Dec 2026 12:16:26 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-142845 — mm/list_lru: don't copy stale shrinker id from non-memcg-aware shrinkers</title>
      <link>https://db.gcve.eu/vuln/cve-2026-142845</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/list_lru: don&amp;#39;t copy stale shrinker id from non-memcg-aware shrinkers&lt;/p&gt;
&lt;p&gt;With cgroup.memory=nokmem, shrinker_memcg_alloc() fails with -ENOSYS for
shrinkers without SHRINKER_NONSLAB, and shrinker_alloc() falls back to a
non-memcg-aware shrinker.  On this fallback path, shrinker-&amp;gt;id is never
assigned and keeps 0 from kzalloc(), which is a valid id belonging to
whichever memcg-aware shrinker registers first.&lt;/p&gt;
&lt;p&gt;__list_lru_init() copies shrinker-&amp;gt;id unconditionally, so every list_lru
backed by such a fallback shrinker (thp-deferred_split, zswap-shrinker,
workingset shadow nodes, superblock lrus, ...) ends up with
lru-&amp;gt;shrinker_id == 0 instead of -1.&lt;/p&gt;
&lt;p&gt;Under nokmem the list_lru collapses to the shared per-node lists, but
__list_lru_add() still calls set_shrinker_bit() against the memcg of
the added object.  Most list_lru users are unaffected because their
objects resolve to a NULL memcg without kmem accounting, but the THP
deferred split queue holds user folios, which are charged regardless of
nokmem.  On a system where no SHRINKER_NONSLAB shrinker registers,
shrinker_nr_max stays 0 and every memcg&amp;#39;s shrinker_info has map_nr_max
== 0, so the first folio added by khugepaged triggers on every boot:&lt;/p&gt;
&lt;p&gt;WARNING: mm/shrinker.c:212 at set_shrinker_bit+0x99/0xa0&lt;/p&gt;
&lt;p&gt;On systems where a SHRINKER_NONSLAB shrinker (btrfs, xfs) did register and
expand the maps, there is no warning; instead bit 0 is set spuriously for
an unrelate…&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/list_lru: don&amp;#39;t copy stale shrinker id from non-memcg-aware shrinkers&lt;/p&gt;
&lt;p&gt;With cgroup.memory=nokmem, shrinker_memcg_alloc() fails with -ENOSYS for
shrinkers without SHRINKER_NONSLAB, and shrinker_alloc() falls back to a
non-memcg-aware shrinker.  On this fallback path, shrinker-&amp;gt;id is never
assigned and keeps 0 from kzalloc(), which is a valid id belonging to
whichever memcg-aware shrinker registers first.&lt;/p&gt;
&lt;p&gt;__list_lru_init() copies shrinker-&amp;gt;id unconditionally, so every list_lru
backed by such a fallback shrinker (thp-deferred_split, zswap-shrinker,
workingset shadow nodes, superblock lrus, ...) ends up with
lru-&amp;gt;shrinker_id == 0 instead of -1.&lt;/p&gt;
&lt;p&gt;Under nokmem the list_lru collapses to the shared per-node lists, but
__list_lru_add() still calls set_shrinker_bit() against the memcg of
the added object.  Most list_lru users are unaffected because their
objects resolve to a NULL memcg without kmem accounting, but the THP
deferred split queue holds user folios, which are charged regardless of
nokmem.  On a system where no SHRINKER_NONSLAB shrinker registers,
shrinker_nr_max stays 0 and every memcg&amp;#39;s shrinker_info has map_nr_max
== 0, so the first folio added by khugepaged triggers on every boot:&lt;/p&gt;
&lt;p&gt;WARNING: mm/shrinker.c:212 at set_shrinker_bit+0x99/0xa0&lt;/p&gt;
&lt;p&gt;On systems where a SHRINKER_NONSLAB shrinker (btrfs, xfs) did register and
expand the maps, there is no warning; instead bit 0 is set spuriously for
an unrelate…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-142845</guid>
    </item>
  </channel>
</rss>
