<?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://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-01T19:37:50.741452+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" 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://vulnerability.circl.lu/vuln/cve-2022-50530</id>
    <title>CVE-2022-50530 — blk-mq: fix null pointer dereference in blk_mq_clear_rq_mapping()</title>
    <updated>2026-10-01T19:37:50.757150+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>blk-mq: fix null pointer dereference in blk_mq_clear_rq_mapping()</p>
<p>Our syzkaller report a null pointer dereference, root cause is
following:</p>
<p>__blk_mq_alloc_map_and_rqs
 set-&gt;tags[hctx_idx] = blk_mq_alloc_map_and_rqs
  blk_mq_alloc_map_and_rqs
   blk_mq_alloc_rqs
    // failed due to oom
    alloc_pages_node
    // set-&gt;tags[hctx_idx] is still NULL
    blk_mq_free_rqs
     drv_tags = set-&gt;tags[hctx_idx];
     // null pointer dereference is triggered
     blk_mq_clear_rq_mapping(drv_tags, ...)</p>
<p>This is because commit 63064be150e4 ("blk-mq:
Add blk_mq_alloc_map_and_rqs()") merged the two steps:</p>
<p>1) set-&gt;tags[hctx_idx] = blk_mq_alloc_rq_map()
2) blk_mq_alloc_rqs(..., set-&gt;tags[hctx_idx])</p>
<p>into one step:</p>
<p>set-&gt;tags[hctx_idx] = blk_mq_alloc_map_and_rqs()</p>
<p>Since tags is not initialized yet in this case, fix the problem by
checking if tags is NULL pointer in blk_mq_clear_rq_mapping().</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2022-50530"/>
  </entry>
</feed>
