A vulnerability in the Linux kernel's SCSI target subsystem related to the validation of the REGISTER AND MOVE TransportID length has been resolved. The flaw involved insufficient validation of the TransportID length, allowing a malformed parameter list with a zero TransportID length to pass initial checks, leading to an out-of-bounds read. This issue was triggered by a malformed PR OUT command sent through vhost-scsi. The kernel now rejects such commands with an INVALID PARAMETER LIST error before accessing out-of-bounds memory.