Re: [PATCH next] scsi: mpt3sas: Fix buffer overflow in mpt3sas_send_mctp_passthru_req()
From: Martin K. Petersen
Date: Mon Mar 03 2025 - 21:30:20 EST
Dan,
> The "sz" argument in mpt3sas_check_cmd_timeout() is the number of u32,
> not the number of bytes. We dump that many u32 values to dmesg. Passing
> the number of bytes will lead to a read overflow. Divide by 4 to get the
> correct value.
Applied to 6.15/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering