UPSTREAM: USB: usbfs: fix potential infoleak in devio

The stack object “ci” has a total size of 8 bytes. Its last 3 bytes
are padding bytes which are not initialized and leaked to userland
via “copy_to_user”.

Signed-off-by: Kangjie Lu <kjlu@gatech.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 28619695
Patchset: usbfs-devio-info-leak

(cherry-picked from 681fef8380eb818c0b845fca5d2ab1dcbab114ee)
Signed-off-by: Mattias Nissler <mnissler@google.com>

Change-Id: I7bdfdbb6f04ef788d55e4c10db785fb36cd832b2
1 file changed