Re: [PATCH 5.10 011/575] scsi: core: Remove command size deduction from scsi_setup_scsi_cmnd()

From: Bart Van Assche
Date: Mon Nov 15 2021 - 15:04:33 EST


On 11/15/21 8:55 AM, Greg Kroah-Hartman wrote:
From: Tadeusz Struk <tadeusz.struk@xxxxxxxxxx>

commit 703535e6ae1e94c89a9c1396b4c7b6b41160ef0c upstream.

Hi Greg,

Thanks for having queued this patch for the 5.10 stable branch.

Do you plan to also include commit 20aaef52eb08 ("scsi: scsi_ioctl: Validate command size")? That patch prevents that the bug in the commit mentioned above can be triggered.

Thanks,

Bart.