[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4693D2EE.3020401@redhat.com>
Date: Tue, 10 Jul 2007 14:41:50 -0400
From: Chuck Ebbert <cebbert@...hat.com>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
CC: Linus Torvalds <torvalds@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-scsi <linux-scsi@...r.kernel.org>
Subject: Re: Linux 2.6.22 released
On 07/09/2007 06:14 AM, Alan Cox wrote:
> Are the shortlogs useful - yes .. they catch what appear to be mistakes
>
> Specifically: What happened to the aacraid ioctl security fix ? Did someone decide it
> wasn't needed or did it get lost somewhere on the way ?
>
> While this looks scary the only obvious exploit cases are where the user can
> open a device level file on an AACraid. Very few people put scanners or CD
> devices on one so the actual impact is probably minimal.
I can't find that patch in any SCSI git tree.
> --- drivers/scsi/aacraid/linit.c~ 2007-07-09 10:51:55.653223304 +0100
> +++ drivers/scsi/aacraid/linit.c 2007-07-09 10:51:55.653223304 +0100
> @@ -453,6 +453,8 @@
> static int aac_ioctl(struct scsi_device *sdev, int cmd, void __user * arg)
> {
> struct aac_dev *dev = (struct aac_dev *)sdev->host->hostdata;
> + if (!capable(CAP_SYS_RAWIO))
> + return -EPERM;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists