On Fri, Sep 15, 2017 at 5:05 AM, Hannes Reinecke <h...@suse.de> wrote: > When calling SG_GET_REQUEST_TABLE ioctl that only a half-filled > table is returned; the remaining part will then contain stale > kernel memory information. > This patch zeroes out the entire table to avoid this issue. > > Signed-off-by: Hannes Reinecke <h...@suse.com> > --- > drivers/scsi/sg.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-)
Reviewed-by: Eric Dumazet <eduma...@google.com> Thanks !