<?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://cve.radiocsirt.org</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, 08 Oct 2026 01:29:58 +0000</lastBuildDate>
    <item>
      <title>CVE-2021-46964 — scsi: qla2xxx: Reserve extra IRQ vectors</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2021-46964</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;scsi: qla2xxx: Reserve extra IRQ vectors&lt;/p&gt;
&lt;p&gt;Commit a6dcfe08487e (&amp;#34;scsi: qla2xxx: Limit interrupt vectors to number of
CPUs&amp;#34;) lowers the number of allocated MSI-X vectors to the number of CPUs.&lt;/p&gt;
&lt;p&gt;That breaks vector allocation assumptions in qla83xx_iospace_config(),
qla24xx_enable_msix() and qla2x00_iospace_config(). Either of the functions
computes maximum number of qpairs as:&lt;/p&gt;
&lt;p&gt;ha-&amp;gt;max_qpairs = ha-&amp;gt;msix_count - 1 (MB interrupt) - 1 (default
                   response queue) - 1 (ATIO, in dual or pure target mode)&lt;/p&gt;
&lt;p&gt;max_qpairs is set to zero in case of two CPUs and initiator mode. The
number is then used to allocate ha-&amp;gt;queue_pair_map inside
qla2x00_alloc_queues(). No allocation happens and ha-&amp;gt;queue_pair_map is
left NULL but the driver thinks there are queue pairs available.&lt;/p&gt;
&lt;p&gt;qla2xxx_queuecommand() tries to find a qpair in the map and crashes:&lt;/p&gt;
&lt;p&gt;if (ha-&amp;gt;mqenable) {
          uint32_t tag;
          uint16_t hwq;
          struct qla_qpair *qpair = NULL;&lt;/p&gt;
&lt;p&gt;tag = blk_mq_unique_tag(cmd-&amp;gt;request);
          hwq = blk_mq_unique_tag_to_hwq(tag);
          qpair = ha-&amp;gt;queue_pair_map[hwq]; # &amp;lt;- HERE&lt;/p&gt;
&lt;p&gt;if (qpair)
                  return qla2xxx_mqueuecommand(host, cmd, qpair);
  }&lt;/p&gt;
&lt;p&gt;BUG: kernel NULL pointer dereference, address: 0000000000000000
  #PF: supervisor read access in kernel mode
  #PF: error_code(0x0000) - not-present page
  PGD 0 P4D 0
  Oops: 0000 [#1] SMP PTI
  CPU: 0 PID: 72 Comm:…&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;scsi: qla2xxx: Reserve extra IRQ vectors&lt;/p&gt;
&lt;p&gt;Commit a6dcfe08487e (&amp;#34;scsi: qla2xxx: Limit interrupt vectors to number of
CPUs&amp;#34;) lowers the number of allocated MSI-X vectors to the number of CPUs.&lt;/p&gt;
&lt;p&gt;That breaks vector allocation assumptions in qla83xx_iospace_config(),
qla24xx_enable_msix() and qla2x00_iospace_config(). Either of the functions
computes maximum number of qpairs as:&lt;/p&gt;
&lt;p&gt;ha-&amp;gt;max_qpairs = ha-&amp;gt;msix_count - 1 (MB interrupt) - 1 (default
                   response queue) - 1 (ATIO, in dual or pure target mode)&lt;/p&gt;
&lt;p&gt;max_qpairs is set to zero in case of two CPUs and initiator mode. The
number is then used to allocate ha-&amp;gt;queue_pair_map inside
qla2x00_alloc_queues(). No allocation happens and ha-&amp;gt;queue_pair_map is
left NULL but the driver thinks there are queue pairs available.&lt;/p&gt;
&lt;p&gt;qla2xxx_queuecommand() tries to find a qpair in the map and crashes:&lt;/p&gt;
&lt;p&gt;if (ha-&amp;gt;mqenable) {
          uint32_t tag;
          uint16_t hwq;
          struct qla_qpair *qpair = NULL;&lt;/p&gt;
&lt;p&gt;tag = blk_mq_unique_tag(cmd-&amp;gt;request);
          hwq = blk_mq_unique_tag_to_hwq(tag);
          qpair = ha-&amp;gt;queue_pair_map[hwq]; # &amp;lt;- HERE&lt;/p&gt;
&lt;p&gt;if (qpair)
                  return qla2xxx_mqueuecommand(host, cmd, qpair);
  }&lt;/p&gt;
&lt;p&gt;BUG: kernel NULL pointer dereference, address: 0000000000000000
  #PF: supervisor read access in kernel mode
  #PF: error_code(0x0000) - not-present page
  PGD 0 P4D 0
  Oops: 0000 [#1] SMP PTI
  CPU: 0 PID: 72 Comm:…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2021-46964</guid>
    </item>
  </channel>
</rss>
