On Fri, Sep 15, 2017 at 5:05 AM, Hannes Reinecke <[email protected]> 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 <[email protected]> > --- > drivers/scsi/sg.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-)
Reviewed-by: Eric Dumazet <[email protected]> Thanks !

