]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: misc: iowarrior: fix information leak to userland
authorVasiliy Kulikov <segooon@gmail.com>
Sat, 6 Nov 2010 14:41:31 +0000 (17:41 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:33:05 +0000 (13:33 -0800)
commit737b96b8f3def0a8d10ee792cb12ba8d0f7a2317
tree7118d747ce1cb5c9acdb6d52c62a11c08e711dc5
parente1e1f7573e7703a4e5a87a40671c5b42f70c429c
usb: misc: iowarrior: fix information leak to userland

commit eca67aaeebd6e5d22b0d991af1dd0424dc703bfb upstream.

Structure iowarrior_info is copied to userland with padding byted
between "serial" and "revision" fields uninitialized.  It leads to
leaking of contents of kernel stack memory.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Acked-by: Kees Cook <kees.cook@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/iowarrior.c