]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: core: fix information leak to userland
authorVasiliy Kulikov <segooon@gmail.com>
Sat, 6 Nov 2010 14:41:28 +0000 (17:41 +0300)
committerAndi Kleen <ak@linux.intel.com>
Tue, 14 Dec 2010 22:40:13 +0000 (23:40 +0100)
commit08dfe568671b01bf3c19c97b0dd91ea3a863123b
treef6cbe12ec9fa7a10de317ef9299303f7263cb4fd
parent5f5e68292004921ff329aa58d27023f5e10ac27a
usb: core: fix information leak to userland

commit 886ccd4520064408ce5876cfe00554ce52ecf4a7 upstream.

Structure usbdevfs_connectinfo is copied to userland with padding byted
after "slow" field uninitialized.  It leads to leaking of contents of
kernel stack memory.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/usb/core/devio.c