Re: [PATCH 0/2] scsi: aacraid: bound adapter-declared sense lengths

From: Yehyeong Lee

Date: Fri Nov 20 2026 - 10:01:42 EST


On Tue, Oct 13, 2026 at 11:02:12PM +0900, Yehyeong Lee wrote:
> Two spots in aacraid size a sense-data copy by the destination buffer
> (SCSI_SENSE_BUFFERSIZE) rather than the source array, so an adapter that
> over-reports its sense length makes the copy read past the source and
> hand the trailing bytes -- the previous request's scatter-gather list
> in the shared FIB area -- to user space. Bound each copy at the source
> array size, as the container sense paths already do.

This is superseded by v2:
https://lore.kernel.org/all/20261013150420.3168223-1-yhlee@xxxxxxxxxxxxxxxxxx/

Best regards,
Yehyeong Lee