CVE-2021-46964
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability in the Linux kernel's qla2xxx driver was discovered where commit a6dcfe08487e lowered the number of allocated MSI-X vectors to the number of CPUs, leading to potential system crashes. The vulnerability is tracked as CVE-2021-46964 and affects the SCSI subsystem (Kernel Git).

Technical details

The vulnerability stems from broken vector allocation assumptions in qla83xx_iospace_config(), qla24xx_enable_msix() and qla2x00_iospace_config() functions. The issue occurs when max_qpairs is set to zero in case of two CPUs and initiator mode, resulting in ha->queue_pair_map being NULL while the driver assumes queue pairs are available. This leads to a NULL pointer dereference in qla2xxx_queuecommand() when attempting to find a qpair in the map (Kernel Git).

Impact

When exploited, this vulnerability causes a kernel NULL pointer dereference, resulting in system crashes. This particularly affects systems running with dual core VMs and can lead to unbalanced QP allocation where nr_hw_queues becomes two less than the number of CPUs (Kernel Git).

Exploitability

The vulnerability is triggered during normal system operation when using the affected driver with specific hardware configurations, particularly on dual core virtual machines. The issue manifests when the system attempts to handle SCSI commands through the qla2xxx driver (Kernel Git).

Mitigation and workarounds

The fix involves modifying the driver to allocate enough vectors to provide every CPU its own HW queue while still handling reserved (MB, RSP, ATIO) interrupts. This was implemented by adjusting the vector allocation calculation to account for the minimum required vectors in addition to the number of CPUs (Kernel Git).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74576HIGH7.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-6.17
NoYesAug 15, 2026
CVE-2026-74578HIGH7.1
  • Linux Kernel logoLinux Kernel
  • linux-azure-6.8
NoYesAug 16, 2026
CVE-2026-74579LOW3.4
  • Linux Kernel logoLinux Kernel
  • linux-lowlatency-hwe-5.15
NoYesAug 17, 2026
CVE-2025-30156NONEN/A
  • Linux Kernel logoLinux Kernel
  • perf
NoNoAug 21, 2026
CVE-2026-74577NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-debug-modules-extra
NoYesAug 15, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management