Skip to contentSkip to conversation

cciss-fix-info-leak-in-cciss_ioctl32_passthru.patch removed from -mm tree

merged [email protected] 1 participant 1 message Sep 25, 2013 Block layer

lore
Share & tools
lore
#0 lore raw

Subject: [merged] cciss-fix-info-leak-in-cciss_ioctl32_passthru.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 25 Sep 2013 12:06:18 -0700

The patch titled
Subject: cciss: fix info leak in cciss_ioctl32_passthru()
has been removed from the -mm tree. Its filename was
cciss-fix-info-leak-in-cciss_ioctl32_passthru.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
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
diff -puN drivers/block/cciss.c~cciss-fix-info-leak-in-cciss_ioctl32_passthru drivers/block/cciss.c
@@ -1189,6 +1189,7 @@ static int cciss_ioctl32_passthru(struct
 	int 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
linux-next.patch