Description
In the Linux kernel, the following vulnerability has been resolved: scsi: mpi3mr: Fix buffer overflow in BSG passthrough request copy The size of an incoming BSG request is checked using a variable that is narrower than the field it is read from, so large values wrap and pass the check. The copy that follows then uses the full value and writes past the request buffer. Widen the variable and copy only the amount that was checked.
Affected products and versions
Linux Linux506bc1a0d6ba626492c06e5632a3fbe202770fd2 – < 869776cbca2578a7a51fcf74abda48dbdbd185c8 · 506bc1a0d6ba626492c06e5632a3fbe202770fd2 – < f9fa6757a55a519d9595340b216d1d580d2bc1ea · 506bc1a0d6ba626492c06e5632a3fbe202770fd2 – < 2c118e14ead952ccfbae9d694a8b7dacaca56cd8 · 506bc1a0d6ba626492c06e5632a3fbe202770fd2 – < a3b7e1ced622a4a36f48a0d8c7bd440e8e57c1f4 · 506bc1a0d6ba626492c06e5632a3fbe202770fd2 – < fb62bd53bd7aac2b0714ce5617ef64860dae91c9 · 506bc1a0d6ba626492c06e5632a3fbe202770fd2 – < 896abdd4d81f40575b05d593f7fe004935a6cf97Fixed in: 869776cbca2578a7a51fcf74abda48dbdbd185c8 · f9fa6757a55a519d9595340b216d1d580d2bc1ea · 2c118e14ead952ccfbae9d694a8b7dacaca56cd8 · a3b7e1ced622a4a36f48a0d8c7bd440e8e57c1f4 · fb62bd53bd7aac2b0714ce5617ef64860dae91c9 · 896abdd4d81f40575b05d593f7fe004935a6cf97
Linux Linux5.19Fixed in: 6.1.193 · 6.6.163 · 6.12.119 · 6.18.65 · 7.3.6 · 7.4-rc1
References
- git.kernel.org/stable/c/869776cbca2578a7a51fcf74abda48dbdbd185c8
- git.kernel.org/stable/c/f9fa6757a55a519d9595340b216d1d580d2bc1ea
- git.kernel.org/stable/c/2c118e14ead952ccfbae9d694a8b7dacaca56cd8
- git.kernel.org/stable/c/a3b7e1ced622a4a36f48a0d8c7bd440e8e57c1f4
- git.kernel.org/stable/c/fb62bd53bd7aac2b0714ce5617ef64860dae91c9
- git.kernel.org/stable/c/896abdd4d81f40575b05d593f7fe004935a6cf97
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.