]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cciss: fix info leak in cciss_ioctl32_passthru()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 24 Sep 2013 22:27:45 +0000 (22:27 +0000)
committerWilly Tarreau <w@1wt.eu>
Mon, 19 May 2014 05:53:14 +0000 (07:53 +0200)
commitb141d47e87a4cb5724f24e81ffcacbb102c28394
treeead35e9c3715002ce93d2d85b3e81de5da8632f5
parent023ae3b03883fab864e2ca8d801cdae83938713a
cciss: fix info leak in cciss_ioctl32_passthru()

commit 58f09e00ae095e46ef9edfcf3a5fd9ccdfad065e upstream.

The arg64 struct has a hole after ->buf_size which isn't cleared.  Or if
any of the calls to copy_from_user() fail then that would cause an
information leak as well.

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: Willy Tarreau <w@1wt.eu>
drivers/block/cciss.c