scsi: mpi3mr: Fix buffer overflow in BSG passthrough request copy
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 506bc1a0d6ba626492c06e5632a3fbe202770fd2 to before 869776cbca2578a7a51fcf74abda48dbdbd185c8 Affected506bc1a0d6ba626492c06e5632a3fbe202770fd2 to before f9fa6757a55a519d9595340b216d1d580d2bc1ea Affected506bc1a0d6ba626492c06e5632a3fbe202770fd2 to before 2c118e14ead952ccfbae9d694a8b7dacaca56cd8 Affected506bc1a0d6ba626492c06e5632a3fbe202770fd2 to before a3b7e1ced622a4a36f48a0d8c7bd440e8e57c1f4 Affected506bc1a0d6ba626492c06e5632a3fbe202770fd2 to before fb62bd53bd7aac2b0714ce5617ef64860dae91c9 Affected506bc1a0d6ba626492c06e5632a3fbe202770fd2 to before 896abdd4d81f40575b05d593f7fe004935a6cf97 Affected |
| Linux Linux | 5.19 Affectedbefore 5.19 Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/869776cbca2578a7a51fcf74abda48dbdbd185c8
- https://git.kernel.org/stable/c/f9fa6757a55a519d9595340b216d1d580d2bc1ea
- https://git.kernel.org/stable/c/2c118e14ead952ccfbae9d694a8b7dacaca56cd8
- https://git.kernel.org/stable/c/a3b7e1ced622a4a36f48a0d8c7bd440e8e57c1f4
- https://git.kernel.org/stable/c/fb62bd53bd7aac2b0714ce5617ef64860dae91c9
- https://git.kernel.org/stable/c/896abdd4d81f40575b05d593f7fe004935a6cf97
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.