<?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-05T12:36:56.285376+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-142796</id>
    <title>CVE-2026-142796 — mm/slab: sample slab_state once in kmem_cache_destroy()</title>
    <updated>2026-12-05T12:36:56.286523+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/slab: sample slab_state once in kmem_cache_destroy()</p>
<p>kmem_cache_release() tests slab_state &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:</p>
<p>WARNING: lib/kobject.c:734 at kobject_put+0x64/0x2c0, CPU#1: kworker/u8:3/55
  kobject: '(null)' ((____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</p>
<p>slab_state &gt;= FULL asks whether the cache has a kobject, which cache
creation skips while slab_state &lt;= UP. UP is the state just below FULL,
so a false sample cannot skip a kobject_put() that was owed.</p>
<p>Seen on sparc64 at boot, where the asynchronous floppy init tears down
its bio slab while the late initcalls are running.</p>
<p>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.</p>
<p>The history of this problem dates back to v3.2:</p>
<p>Commit 69cb8e6b7c29 ("slub: free slabs without…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-142796"/>
  </entry>
</feed>
