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 <>
Signed-off-by: Greg Kroah-Hartman <>

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

(cherry-picked from 681fef8380eb818c0b845fca5d2ab1dcbab114ee)
Signed-off-by: Mattias Nissler <>

Change-Id: I7bdfdbb6f04ef788d55e4c10db785fb36cd832b2
1 file changed