diff options
author | Seth Forshee <seth.forshee@canonical.com> | 2017-06-23 17:04:22 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-06-26 22:01:03 +0300 |
commit | 342ffc26693b528648bdc9377e51e4f2450b4860 (patch) | |
tree | cc0040a1faa1fee02a5c5f878f6cf28dc8af40e1 /include/scsi/scsi_proto.h | |
parent | 1d32a62c74b3bcb69822b0f4745af5410cfec3a7 (diff) | |
download | linux-342ffc26693b528648bdc9377e51e4f2450b4860.tar.xz |
scsi: aacraid: Don't copy uninitialized stack memory to userspace
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: 423400e64d377 ("scsi: aacraid: Include HBA direct interface")
Fixes: c799d519bf088 ("scsi: aacraid: Retrieve HBA host information ioctl")
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi/scsi_proto.h')
0 files changed, 0 insertions, 0 deletions