+ cciss-fix-info-leak-in-cciss_ioctl32_passthru.patch added to -mm tree
Subject: + cciss-fix-info-leak-in-cciss_ioctl32_passthru.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Fri, 20 Sep 2013 13:33:46 -0700
The patch titled
Subject: cciss: fix info leak in cciss_ioctl32_passthru()
has been added to the -mm tree. Its filename is
cciss-fix-info-leak-in-cciss_ioctl32_passthru.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/cciss-fix-info-leak-in-cciss_ioctl32_passthru.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/cciss-fix-info-leak-in-cciss_ioctl32_passthru.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Dan Carpenter <[email protected]>
Subject: cciss: fix info leak in cciss_ioctl32_passthru()
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.
---
drivers/block/cciss.c | 1 + 1 file changed, 1 insertion(+)
drivers/block/cciss.c renamed from drivers/block/cciss.c~cciss-fix-info-leak-in-cciss_ioctl32_passthru +1 -0
@@ -1189,6 +1189,7 @@ static int cciss_ioctl32_passthru(structint err;u32 cp; +memset (&arg64,0 ,sizeof (arg64)); err =0 ; err |= copy_from_user(&arg64.LUN_info, &arg32->LUN_info,
_
Patches currently in -mm which might be from [email protected] are
origin.patch cpqarray-fix-info-leak-in-ida_locked_ioctl.patch cciss-fix-info-leak-in-cciss_ioctl32_passthru.patch linux-next.patch