Messages in this thread | | | Subject | Re: [PATCH] scsi: aacraid: Allocate cmd_priv with scsicmd | From | "Martin K. Petersen" <> | Date | Wed, 08 Feb 2023 18:16:17 -0500 |
| |
Kees,
> The aac_priv() helper assumes that the private cmd area immediately > follows struct scsi_cmnd. Allocate this space as part of scsicmd, else > there is a risk of heap overflow. Seen with GCC 13:
Applied to 6.3/scsi-staging, thanks!
-- Martin K. Petersen Oracle Linux Engineering
| |