Re: [PATCH] scsi: aacraid: Don't copy uninitialized stack memory to userspace

From: Martin K. Petersen
Date: Mon Jun 26 2017 - 13:37:19 EST



Seth,

> Both aac_send_raw_srb() and aac_get_hba_info() may copy stack
> allocated structs to userspace without initializing all members of
> these structs. Clear out this memory to prevent information leaks.

Applied to 4.13/scsi-queue. Thank you!

--
Martin K. Petersen Oracle Linux Engineering