<?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>Thu, 01 Oct 2026 15:35:57 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-49901 — blk-mq: Fix kmemleak in blk_mq_init_allocated_queue</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2022-49901</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;blk-mq: Fix kmemleak in blk_mq_init_allocated_queue&lt;/p&gt;
&lt;p&gt;There is a kmemleak caused by modprobe null_blk.ko&lt;/p&gt;
&lt;p&gt;unreferenced object 0xffff8881acb1f000 (size 1024):
  comm &amp;#34;modprobe&amp;#34;, pid 836, jiffies 4294971190 (age 27.068s)
  hex dump (first 32 bytes):
    00 00 00 00 ad 4e ad de ff ff ff ff 00 00 00 00  .....N..........
    ff ff ff ff ff ff ff ff 00 53 99 9e ff ff ff ff  .........S......
  backtrace:
    [&amp;lt;000000004a10c249&amp;gt;] kmalloc_node_trace+0x22/0x60
    [&amp;lt;00000000648f7950&amp;gt;] blk_mq_alloc_and_init_hctx+0x289/0x350
    [&amp;lt;00000000af06de0e&amp;gt;] blk_mq_realloc_hw_ctxs+0x2fe/0x3d0
    [&amp;lt;00000000e00c1872&amp;gt;] blk_mq_init_allocated_queue+0x48c/0x1440
    [&amp;lt;00000000d16b4e68&amp;gt;] __blk_mq_alloc_disk+0xc8/0x1c0
    [&amp;lt;00000000d10c98c3&amp;gt;] 0xffffffffc450d69d
    [&amp;lt;00000000b9299f48&amp;gt;] 0xffffffffc4538392
    [&amp;lt;0000000061c39ed6&amp;gt;] do_one_initcall+0xd0/0x4f0
    [&amp;lt;00000000b389383b&amp;gt;] do_init_module+0x1a4/0x680
    [&amp;lt;0000000087cf3542&amp;gt;] load_module+0x6249/0x7110
    [&amp;lt;00000000beba61b8&amp;gt;] __do_sys_finit_module+0x140/0x200
    [&amp;lt;00000000fdcfff51&amp;gt;] do_syscall_64+0x35/0x80
    [&amp;lt;000000003c0f1f71&amp;gt;] entry_SYSCALL_64_after_hwframe+0x46/0xb0&lt;/p&gt;
&lt;p&gt;That is because q-&amp;gt;ma_ops is set to NULL before blk_release_queue is
called.&lt;/p&gt;
&lt;p&gt;blk_mq_init_queue_data
  blk_mq_init_allocated_queue
    blk_mq_realloc_hw_ctxs
      for (i = 0; i &amp;lt; set-&amp;gt;nr_hw_queues; i++) {
        old_hctx = xa_load(&amp;amp;q-&amp;gt;hctx_table, i);
        if (!blk_mq_alloc_and_init_hctx(.., i, ..))		[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;blk-mq: Fix kmemleak in blk_mq_init_allocated_queue&lt;/p&gt;
&lt;p&gt;There is a kmemleak caused by modprobe null_blk.ko&lt;/p&gt;
&lt;p&gt;unreferenced object 0xffff8881acb1f000 (size 1024):
  comm &amp;#34;modprobe&amp;#34;, pid 836, jiffies 4294971190 (age 27.068s)
  hex dump (first 32 bytes):
    00 00 00 00 ad 4e ad de ff ff ff ff 00 00 00 00  .....N..........
    ff ff ff ff ff ff ff ff 00 53 99 9e ff ff ff ff  .........S......
  backtrace:
    [&amp;lt;000000004a10c249&amp;gt;] kmalloc_node_trace+0x22/0x60
    [&amp;lt;00000000648f7950&amp;gt;] blk_mq_alloc_and_init_hctx+0x289/0x350
    [&amp;lt;00000000af06de0e&amp;gt;] blk_mq_realloc_hw_ctxs+0x2fe/0x3d0
    [&amp;lt;00000000e00c1872&amp;gt;] blk_mq_init_allocated_queue+0x48c/0x1440
    [&amp;lt;00000000d16b4e68&amp;gt;] __blk_mq_alloc_disk+0xc8/0x1c0
    [&amp;lt;00000000d10c98c3&amp;gt;] 0xffffffffc450d69d
    [&amp;lt;00000000b9299f48&amp;gt;] 0xffffffffc4538392
    [&amp;lt;0000000061c39ed6&amp;gt;] do_one_initcall+0xd0/0x4f0
    [&amp;lt;00000000b389383b&amp;gt;] do_init_module+0x1a4/0x680
    [&amp;lt;0000000087cf3542&amp;gt;] load_module+0x6249/0x7110
    [&amp;lt;00000000beba61b8&amp;gt;] __do_sys_finit_module+0x140/0x200
    [&amp;lt;00000000fdcfff51&amp;gt;] do_syscall_64+0x35/0x80
    [&amp;lt;000000003c0f1f71&amp;gt;] entry_SYSCALL_64_after_hwframe+0x46/0xb0&lt;/p&gt;
&lt;p&gt;That is because q-&amp;gt;ma_ops is set to NULL before blk_release_queue is
called.&lt;/p&gt;
&lt;p&gt;blk_mq_init_queue_data
  blk_mq_init_allocated_queue
    blk_mq_realloc_hw_ctxs
      for (i = 0; i &amp;lt; set-&amp;gt;nr_hw_queues; i++) {
        old_hctx = xa_load(&amp;amp;q-&amp;gt;hctx_table, i);
        if (!blk_mq_alloc_and_init_hctx(.., i, ..))		[1]…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2022-49901</guid>
    </item>
  </channel>
</rss>
