Re: [PATCH 2/2] scsi: aacraid: bound the HBA sense response copy to the source buffer
From: Yehyeong Lee
Date: Tue Oct 13 2026 - 13:24:12 EST
You are right. struct aac_native_hba backs err with a 512-byte union
(resp.err / resp_bytes[FW_ERROR_BUFFER_SIZE]), so the copy stayed within
that buffer -- it is not an out-of-bounds read -- and capping the length
to the 32-byte sense_response_buf would have truncated valid sense data.
I have dropped this patch; v2 keeps only the SRB bound:
https://lore.kernel.org/linux-scsi/20261013150420.3168223-1-yhlee@xxxxxxxxxxxxxxxxxx/