# CVE-2024-42159: scsi: mpi3mr: Sanitise num_phys

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-07-30T07:47:01.276Z
- Modified: 2026-06-17T07:48:57.277Z
- Weaknesses: CWE-754
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: mpi3mr: Sanitise num_phys

Information is stored in mr_sas_port->phy_mask, values larger then size of
this field shouldn't be allowed.

(As written by CVE List.)

## Affected

- Linux Linux: from fc7212fd3100920fea711a80482d967388a4603c before b869ec89d2ee923d46608b76e54c006680c9b4df; from fc7212fd3100920fea711a80482d967388a4603c before 586b41060113ae43032ec6c4a16d518cef5da6e0; from fc7212fd3100920fea711a80482d967388a4603c before c8707901b53a48106d7501bdbd0350cefaefa4cf; from fc7212fd3100920fea711a80482d967388a4603c before 3668651def2c1622904e58b0280ee93121f2b10b; 6.1 (not affected: before 6.1; from 6.1.98 up to 6.1.*; from 6.6.39 up to 6.6.*; from 6.9.9 up to 6.9.*; from 6.10 up to *)
- debian debian_linux: 11.0
- linux linux_kernel: from 6.1 before 6.1.98; from 6.2 before 6.6.39; from 6.7 before 6.9.9

## References

- <https://git.kernel.org/stable/c/b869ec89d2ee923d46608b76e54c006680c9b4df> (patch)
- <https://git.kernel.org/stable/c/586b41060113ae43032ec6c4a16d518cef5da6e0> (patch)
- <https://git.kernel.org/stable/c/c8707901b53a48106d7501bdbd0350cefaefa4cf> (patch)
- <https://git.kernel.org/stable/c/3668651def2c1622904e58b0280ee93121f2b10b> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html> (mailing-list, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2024-42159 · Whole record: https://cve.day/CVE-2024-42159.json · Rebuilt by cve.day 2026-11-25T22:58:43.423Z
