In the Linux kernel, the following vulnerability has been resolved: scsi: mpi3mr: Fix buffer overflow when caching log data Each log data slot holds a header followed by the payload, but the copy was sized against the whole slot and so wrote one header length past the end of it. Subtracting the header on its own is not enough either, because the entry size is derived from the controller reply size and can be smaller than the header. Work out the payload room first and clamp the copy to it.
https://git.kernel.org/stable/c/ae6868f44e1977cbc6ef4fccbf289cc100c0f42a
https://git.kernel.org/stable/c/9ff1af19c488efad66f2b803eefa0abd5fdac8f4
https://git.kernel.org/stable/c/7a4044f890fc3091610ea6bfe62de24d7a81d0a4
https://git.kernel.org/stable/c/415e38d80d19e1b754edec8b2b3819aab033b149
https://git.kernel.org/stable/c/2841b026431455e55015506fde993279a06a2b5b
https://git.kernel.org/stable/c/27b51ecdd2258bc261f5330eda0694bdc2685fd1