Skip to main content
← All vulnerabilities
CVE-2026-98088

scsi: mpt3sas: Avoid out-of-bounds cpumask_of_node() call in _base_assign_reply_queues()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.15.222, 6.1.189, 6.6.158, 6.12.111, 6.18.53, and 1 more
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: scsi: mpt3sas: Avoid out-of-bounds cpumask_of_node() call in _base_assign_reply_queues() dev_to_node() can return NUMA_NO_NODE (-1) on systems without NUMA topology information for the PCI device, such as single-socket boards that don't expose device-to-node affinity. Passing -1 directly into cpumask_of_node() indexes node_to_cpumask_map[-1], an out-of-bounds array read caught by UBSAN: UBSAN: array-index-out-of-bounds in arch/x86/include/asm/topology.h:72:28 index -1 is out of range for type 'cpumask *[1024]' Fall back to cpu_online_mask when no NUMA node is available, rather than assuming dev_to_node() always returns a valid node index.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 728bbc6cbff70051813730fb7977f5d99d867e12 · fixed in f531758ef21ba9a7716148cc290e8d9a110f20d9; From 728bbc6cbff70051813730fb7977f5d99d867e12 · fixed in 06a994ad7bbd13714cd45df582389f751531e60c; From 728bbc6cbff70051813730fb7977f5d99d867e12 · fixed in 7bcce856c79c1799351e170aec83e018ccf3d044; From 728bbc6cbff70051813730fb7977f5d99d867e12 · fixed in 0a5f7cdb0cb911584720591069065f09c59ec4fc; From 728bbc6cbff70051813730fb7977f5d99d867e12 · fixed in 7b23144c3ff6e46d7d4a464b02f8944265684e39; From 728bbc6cbff70051813730fb7977f5d99d867e12 · fixed in 45504e621b7e884abe59f201e093a3eac7fca7fe; From 728bbc6cbff70051813730fb7977f5d99d867e12 · fixed in e0d26fe176a8db6ccad4ab38c5bab29391c1946b

  • Linux Linux

    5.3

  • KernelLinux

    From 5.3.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.53; From 6.19.0 · fixed in 7.2.7

References 7

git.kernel.org