# CVE-2026-98088: scsi: mpt3sas: Avoid out-of-bounds cpumask_of_node() call in _base_assign_reply_queues()

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-09-25T10:24:22.278Z
- Modified: 2026-11-17T20:18:27.580Z
- Weaknesses: CWE-125
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 728bbc6cbff70051813730fb7977f5d99d867e12 before f531758ef21ba9a7716148cc290e8d9a110f20d9; from 728bbc6cbff70051813730fb7977f5d99d867e12 before 06a994ad7bbd13714cd45df582389f751531e60c; from 728bbc6cbff70051813730fb7977f5d99d867e12 before 7bcce856c79c1799351e170aec83e018ccf3d044; from 728bbc6cbff70051813730fb7977f5d99d867e12 before 0a5f7cdb0cb911584720591069065f09c59ec4fc; from 728bbc6cbff70051813730fb7977f5d99d867e12 before 7b23144c3ff6e46d7d4a464b02f8944265684e39; from 728bbc6cbff70051813730fb7977f5d99d867e12 before 45504e621b7e884abe59f201e093a3eac7fca7fe; from 728bbc6cbff70051813730fb7977f5d99d867e12 before e0d26fe176a8db6ccad4ab38c5bab29391c1946b; 5.3 (not affected: before 5.3; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)
- linux linux_kernel: from 5.3 before 5.15.222; from 5.16 before 6.1.189; from 6.2 before 6.6.158; from 6.7 before 6.12.111; from 6.13 before 6.18.53; from 6.19 before 7.2.7; 7.3

## References

- <https://git.kernel.org/stable/c/f531758ef21ba9a7716148cc290e8d9a110f20d9> (patch)
- <https://git.kernel.org/stable/c/06a994ad7bbd13714cd45df582389f751531e60c> (patch)
- <https://git.kernel.org/stable/c/7bcce856c79c1799351e170aec83e018ccf3d044> (patch)
- <https://git.kernel.org/stable/c/0a5f7cdb0cb911584720591069065f09c59ec4fc> (patch)
- <https://git.kernel.org/stable/c/7b23144c3ff6e46d7d4a464b02f8944265684e39> (patch)
- <https://git.kernel.org/stable/c/45504e621b7e884abe59f201e093a3eac7fca7fe> (patch)
- <https://git.kernel.org/stable/c/e0d26fe176a8db6ccad4ab38c5bab29391c1946b> (patch)

## Sources

- CVE List: [CVE-2026-98088](https://www.cve.org/CVERecord?id=CVE-2026-98088), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98088](https://nvd.nist.gov/vuln/detail/CVE-2026-98088), Public domain, modified 2026-11-17

---

Page: https://cve.day/CVE-2026-98088 · Whole record: https://cve.day/CVE-2026-98088.json · Rebuilt by cve.day 2026-11-25T22:59:41.054Z
