]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
UBUNTU: SAUCE: scsi: aacraid: Don't copy uninitialized stack memory to userspace
authorSeth Forshee <seth.forshee@canonical.com>
Fri, 23 Jun 2017 14:24:28 +0000 (09:24 -0500)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Wed, 28 Jun 2017 16:48:22 +0000 (13:48 -0300)
commit103333f03cb4c13ba28b7fbd0f4ebfb1f8a7e1c8
tree7dc47a925c0321a7c7e77c6105b8d8978e5abb80
parent84e328754f8cfdd239596390376366c67c8d0d8a
UBUNTU: SAUCE: scsi: aacraid: Don't copy uninitialized stack memory to userspace

BugLink: http://bugs.launchpad.net/bugs/1700077
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.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
drivers/scsi/aacraid/commctrl.c