Re: [PATCH 1/1] scsi: target: validate REGISTER AND MOVE TransportID length

From: Martin K. Petersen

Date: Fri Oct 30 2026 - 21:03:16 EST



Jia,

> 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.

Applied to 7.4/scsi-staging, thanks!

--
Martin K. Petersen