Files
twx-linux/drivers/scsi
Alexander Potapenko 9331464042 scsi: sg: allocate with __GFP_ZERO in sg_build_indirect()
commit a45b599ad8 upstream.

This shall help avoid copying uninitialized memory to the userspace when
calling ioctl(fd, SG_IO) with an empty command.

Reported-by: syzbot+7d26fc1eea198488deab@syzkaller.appspotmail.com
Cc: stable@vger.kernel.org
Signed-off-by: Alexander Potapenko <glider@google.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-26 08:49:00 +02:00
..
2016-04-12 09:08:39 -07:00
2017-12-25 14:22:14 +01:00
…
2015-11-09 17:11:57 -08:00
2017-03-18 19:09:58 +08:00
…
2015-11-12 07:06:18 -05:00
…
…
…
…
…
2016-07-27 09:47:39 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2018-02-25 11:03:44 +01:00
…
…
…
…
2015-11-09 17:11:57 -08:00
…
2015-11-09 16:32:14 -08:00
…
…
…
…
2015-12-03 09:32:33 -08:00
2018-01-23 19:50:15 +01:00
2017-12-20 10:04:55 +01:00
…
…
…
…
2018-03-22 09:23:21 +01:00
2015-11-09 19:32:41 -05:00
2015-06-02 17:24:54 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-11-12 07:06:18 -05:00
…
…
…
2018-03-22 09:23:29 +01:00
2016-10-28 03:01:31 -04:00
2015-11-09 17:11:57 -08:00
…
…
…
2018-02-25 11:03:44 +01:00
2017-04-21 09:30:05 +02:00
…
2015-12-03 09:32:33 -08:00
2015-06-02 08:03:25 -07:00
2015-11-09 17:42:19 -08:00
…
…
…
…
…
…
…
…