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.
https://git.kernel.org/stable/c/fb62bd53bd7aac2b0714ce5617ef64860dae91c9
https://git.kernel.org/stable/c/f9fa6757a55a519d9595340b216d1d580d2bc1ea
https://git.kernel.org/stable/c/a3b7e1ced622a4a36f48a0d8c7bd440e8e57c1f4
https://git.kernel.org/stable/c/896abdd4d81f40575b05d593f7fe004935a6cf97
https://git.kernel.org/stable/c/869776cbca2578a7a51fcf74abda48dbdbd185c8
https://git.kernel.org/stable/c/2c118e14ead952ccfbae9d694a8b7dacaca56cd8