linux/drivers/scsi/aacraid
Alan Cox d496f94d22 [SCSI] aacraid: fix security weakness
Actually there are several but one is trivially fixed

1.	FSACTL_GET_NEXT_ADAPTER_FIB ioctl does not lock dev->fib_list
but needs to
2.	Ditto for FSACTL_CLOSE_GET_ADAPTER_FIB
3.	It is possible to construct an attack via the SRB ioctls where
the user obtains assorted elevated privileges. Various approaches are
possible, the trivial ones being things like writing to the raw media
via scsi commands and the swap image of other executing programs with
higher privileges.

So the ioctls should be CAP_SYS_RAWIO - at least all the FIB manipulating
ones. This is a bandaid fix for #3 but probably the ioctls should grow
their own capable checks. The other two bugs need someone competent in that
driver to fix them.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Mark Salyzyn <aacraid@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-01-23 11:29:27 -06:00
..
Makefile [SCSI] aacraid: Begin adding support for new adapter type 2007-01-27 09:27:31 -06:00
TODO [SCSI] aacraid: Newer adapter communication iterface support 2005-10-28 11:41:53 -05:00
aachba.c [SCSI] aacraid: replace '<?:' with min_t() 2008-01-23 11:29:27 -06:00
aacraid.h [SCSI] aacraid: respond to enclosure service events 2008-01-23 11:29:26 -06:00
commctrl.c [SCSI] aacraid: fix multiple definition of automatic variable warning. 2008-01-23 11:29:20 -06:00
comminit.c [SCSI] aacraid: fix big endian issues 2008-01-23 11:29:19 -06:00
commsup.c [SCSI] aacraid: respond to enclosure service events 2008-01-23 11:29:26 -06:00
dpcsup.c [SCSI] aacraid: OS panic after Adapter panic (hardening). 2008-01-23 11:29:21 -06:00
linit.c [SCSI] aacraid: fix security weakness 2008-01-23 11:29:27 -06:00
nark.c [SCSI] aacraid: draw line in sand, sundry cleanup and version update 2007-07-27 09:13:28 -04:00
rkt.c [SCSI] aacraid: draw line in sand, sundry cleanup and version update 2007-07-27 09:13:28 -04:00
rx.c [SCSI] aacraid: fix big endian issues 2008-01-23 11:29:19 -06:00
sa.c [SCSI] aacraid: Correct sa platform support. (Was: [Bug 8469] Bad EIP value on pentium3 SMP kernel-2.6.21.1) 2007-05-16 13:06:26 -04:00