<?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://vulnerability.circl.lu</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>Tue, 06 Oct 2026 04:27:21 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-46789 — mm/slub: add check for s-&gt;flags in the alloc_tagging_slab_free_hook</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-46789</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/slub: add check for s-&amp;gt;flags in the alloc_tagging_slab_free_hook&lt;/p&gt;
&lt;p&gt;When enable CONFIG_MEMCG &amp;amp; CONFIG_KFENCE &amp;amp; CONFIG_KMEMLEAK, the following
warning always occurs,This is because the following call stack occurred:
mem_pool_alloc
    kmem_cache_alloc_noprof
        slab_alloc_node
            kfence_alloc&lt;/p&gt;
&lt;p&gt;Once the kfence allocation is successful,slab-&amp;gt;obj_exts will not be empty,
because it has already been assigned a value in kfence_init_pool.&lt;/p&gt;
&lt;p&gt;Since in the prepare_slab_obj_exts_hook function,we perform a check for
s-&amp;gt;flags &amp;amp; (SLAB_NO_OBJ_EXT | SLAB_NOLEAKTRACE),the alloc_tag_add function
will not be called as a result.Therefore,ref-&amp;gt;ct remains NULL.&lt;/p&gt;
&lt;p&gt;However,when we call mem_pool_free,since obj_ext is not empty, it
eventually leads to the alloc_tag_sub scenario being invoked.  This is
where the warning occurs.&lt;/p&gt;
&lt;p&gt;So we should add corresponding checks in the alloc_tagging_slab_free_hook.
For __GFP_NO_OBJ_EXT case,I didn&amp;#39;t see the specific case where it&amp;#39;s using
kfence,so I won&amp;#39;t add the corresponding check in
alloc_tagging_slab_free_hook for now.&lt;/p&gt;
&lt;p&gt;[    3.734349] ------------[ cut here ]------------
[    3.734807] alloc_tag was not set
[    3.735129] WARNING: CPU: 4 PID: 40 at ./include/linux/alloc_tag.h:130 kmem_cache_free+0x444/0x574
[    3.735866] Modules linked in: autofs4
[    3.736211] CPU: 4 UID: 0 PID: 40 Comm: ksoftirqd/4 Tainted: G        W          6.11.0-rc3-dirty #1
[    3.736969] Tainted: [W]=WA…&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/slub: add check for s-&amp;gt;flags in the alloc_tagging_slab_free_hook&lt;/p&gt;
&lt;p&gt;When enable CONFIG_MEMCG &amp;amp; CONFIG_KFENCE &amp;amp; CONFIG_KMEMLEAK, the following
warning always occurs,This is because the following call stack occurred:
mem_pool_alloc
    kmem_cache_alloc_noprof
        slab_alloc_node
            kfence_alloc&lt;/p&gt;
&lt;p&gt;Once the kfence allocation is successful,slab-&amp;gt;obj_exts will not be empty,
because it has already been assigned a value in kfence_init_pool.&lt;/p&gt;
&lt;p&gt;Since in the prepare_slab_obj_exts_hook function,we perform a check for
s-&amp;gt;flags &amp;amp; (SLAB_NO_OBJ_EXT | SLAB_NOLEAKTRACE),the alloc_tag_add function
will not be called as a result.Therefore,ref-&amp;gt;ct remains NULL.&lt;/p&gt;
&lt;p&gt;However,when we call mem_pool_free,since obj_ext is not empty, it
eventually leads to the alloc_tag_sub scenario being invoked.  This is
where the warning occurs.&lt;/p&gt;
&lt;p&gt;So we should add corresponding checks in the alloc_tagging_slab_free_hook.
For __GFP_NO_OBJ_EXT case,I didn&amp;#39;t see the specific case where it&amp;#39;s using
kfence,so I won&amp;#39;t add the corresponding check in
alloc_tagging_slab_free_hook for now.&lt;/p&gt;
&lt;p&gt;[    3.734349] ------------[ cut here ]------------
[    3.734807] alloc_tag was not set
[    3.735129] WARNING: CPU: 4 PID: 40 at ./include/linux/alloc_tag.h:130 kmem_cache_free+0x444/0x574
[    3.735866] Modules linked in: autofs4
[    3.736211] CPU: 4 UID: 0 PID: 40 Comm: ksoftirqd/4 Tainted: G        W          6.11.0-rc3-dirty #1
[    3.736969] Tainted: [W]=WA…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-46789</guid>
    </item>
  </channel>
</rss>
