<?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:25:57 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-142796 — mm/slab: sample slab_state once in kmem_cache_destroy()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-142796</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/slab: sample slab_state once in kmem_cache_destroy()&lt;/p&gt;
&lt;p&gt;kmem_cache_release() tests slab_state &amp;gt;= FULL after kmem_cache_destroy()
has dropped slab_mutex and unlinked the cache, and for a
SLAB_TYPESAFE_BY_RCU cache after rcu_barrier(). If slab_late_init() runs
before that test it sets slab_state to FULL but skips the unlinked cache,
which never got a sysfs entry, so sysfs_slab_release() calls kobject_put()
on a kobject that was never initialized:&lt;/p&gt;
&lt;p&gt;WARNING: lib/kobject.c:734 at kobject_put+0x64/0x2c0, CPU#1: kworker/u8:3/55
  kobject: &amp;#39;(null)&amp;#39; ((____ptrval____)): is not initialized, yet kobject_put() is being called.
  refcount_t: underflow; use-after-free.
  kobject_put+0x64/0x2c0
  sysfs_slab_release+0xc/0x20
  kmem_cache_destroy+0x104/0x1e0
  bioset_exit+0x13c/0x1e0
  disk_release+0x54/0x140
  put_disk+0x18/0x40
  floppy_async_init+0xbec/0xd10&lt;/p&gt;
&lt;p&gt;slab_state &amp;gt;= FULL asks whether the cache has a kobject, which cache
creation skips while slab_state &amp;lt;= UP. UP is the state just below FULL,
so a false sample cannot skip a kobject_put() that was owed.&lt;/p&gt;
&lt;p&gt;Seen on sparc64 at boot, where the asynchronous floppy init tears down
its bio slab while the late initcalls are running.&lt;/p&gt;
&lt;p&gt;Sample slab_state once, under slab_mutex which slab_late_init() holds
when it sets FULL, and use the result for both the unlink and the
release.&lt;/p&gt;
&lt;p&gt;The history of this problem dates back to v3.2:&lt;/p&gt;
&lt;p&gt;Commit 69cb8e6b7c29 (&amp;#34;slub: free slabs without…&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/slab: sample slab_state once in kmem_cache_destroy()&lt;/p&gt;
&lt;p&gt;kmem_cache_release() tests slab_state &amp;gt;= FULL after kmem_cache_destroy()
has dropped slab_mutex and unlinked the cache, and for a
SLAB_TYPESAFE_BY_RCU cache after rcu_barrier(). If slab_late_init() runs
before that test it sets slab_state to FULL but skips the unlinked cache,
which never got a sysfs entry, so sysfs_slab_release() calls kobject_put()
on a kobject that was never initialized:&lt;/p&gt;
&lt;p&gt;WARNING: lib/kobject.c:734 at kobject_put+0x64/0x2c0, CPU#1: kworker/u8:3/55
  kobject: &amp;#39;(null)&amp;#39; ((____ptrval____)): is not initialized, yet kobject_put() is being called.
  refcount_t: underflow; use-after-free.
  kobject_put+0x64/0x2c0
  sysfs_slab_release+0xc/0x20
  kmem_cache_destroy+0x104/0x1e0
  bioset_exit+0x13c/0x1e0
  disk_release+0x54/0x140
  put_disk+0x18/0x40
  floppy_async_init+0xbec/0xd10&lt;/p&gt;
&lt;p&gt;slab_state &amp;gt;= FULL asks whether the cache has a kobject, which cache
creation skips while slab_state &amp;lt;= UP. UP is the state just below FULL,
so a false sample cannot skip a kobject_put() that was owed.&lt;/p&gt;
&lt;p&gt;Seen on sparc64 at boot, where the asynchronous floppy init tears down
its bio slab while the late initcalls are running.&lt;/p&gt;
&lt;p&gt;Sample slab_state once, under slab_mutex which slab_late_init() holds
when it sets FULL, and use the result for both the unlink and the
release.&lt;/p&gt;
&lt;p&gt;The history of this problem dates back to v3.2:&lt;/p&gt;
&lt;p&gt;Commit 69cb8e6b7c29 (&amp;#34;slub: free slabs without…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-142796</guid>
    </item>
  </channel>
</rss>
