mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
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. Fixes:423400e64d("scsi: aacraid: Include HBA direct interface") Fixes:c799d519bf("scsi: aacraid: Retrieve HBA host information ioctl") Signed-off-by: Seth Forshee <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>