+ cciss-fix-info-leak-in-cciss_ioctl32_passthru.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Subject: + cciss-fix-info-leak-in-cciss_ioctl32_passthru.patch added to -mm tree
To: dan.carpenter@xxxxxxxxxx,mike.miller@xxxxxx
From: akpm@xxxxxxxxxxxxxxxxxxxx
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 <dan.carpenter@xxxxxxxxxx>
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.

Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Acked-by: Mike Miller <mike.miller@xxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/block/cciss.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/block/cciss.c~cciss-fix-info-leak-in-cciss_ioctl32_passthru drivers/block/cciss.c
--- a/drivers/block/cciss.c~cciss-fix-info-leak-in-cciss_ioctl32_passthru
+++ a/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 dan.carpenter@xxxxxxxxxx are

origin.patch
cpqarray-fix-info-leak-in-ida_locked_ioctl.patch
cciss-fix-info-leak-in-cciss_ioctl32_passthru.patch
linux-next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux