cpqarray: fix info leak in ida_locked_ioctl()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 24 Sep 2013 22:27:44 +0000 (15:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Oct 2013 21:51:06 +0000 (14:51 -0700)
commitdcad3ae646c253f445658d695f3e1f3ba0f2ac69
tree4723b5ef9abd5e5287f65cc218c98bbb0fe7d9df
parent00dd675556f5c6a17bcba5f7e47c2552daeed84c
cpqarray: fix info leak in ida_locked_ioctl()

commit 627aad1c01da6f881e7f98d71fd928ca0c316b1a upstream.

The pciinfo struct has a two byte hole after ->dev_fn so stack
information could be leaked to the user.

This was assigned CVE-2013-2147.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/block/cpqarray.c