In the Linux kernel, the following vulnerability has been resolved: scsi: target: Validate REGISTER AND MOVE TransportID length REGISTER AND MOVE has a 24-byte parameter-list header followed by a TransportID. A 24-byte parameter list with a zero TransportID length passes the existing tid_len + 24 check, then the handler reads buf[24] for the TransportID protocol identifier, one byte past the received parameter list. A TransportID is at least 24 bytes. Reject shorter TransportIDs and compare the declared length with the bytes following the header before reading buf[24]. A malformed PR OUT sent through vhost-scsi triggered this read on a KASAN kernel. The command is now rejected with INVALID PARAMETER LIST before buf[24] is accessed.
https://git.kernel.org/stable/c/f8534ae433ab76c94a13b15467f0b36f8b27a81c
https://git.kernel.org/stable/c/f26ea421f5a301e6b29a9ea944ab8e52c138e82c
https://git.kernel.org/stable/c/e56e50ad4f0043fe10c7ee1d6a5fe84950a3ce74
https://git.kernel.org/stable/c/db25547cfbea4b67b416a3e6d84370e8075d7036
https://git.kernel.org/stable/c/bccdf773fd5fc548c07545a7e594d7316fb52b0d
https://git.kernel.org/stable/c/5d5913710c81eed6fa275b6a24773059d9dbfdfa