]> git.baikalelectronics.ru Git - kernel.git/commit
aacraid: fix security hole
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 23 Jul 2007 13:51:05 +0000 (14:51 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 24 Jul 2007 19:33:46 +0000 (12:33 -0700)
commit632377df98008d4fad17841b44e64c9b44df2eb1
treeb843d2f421a019f327e2e7dde707ccb0a0e12155
parente6c3149559c41b70cbbb9e54616b3f37f83b0d3d
aacraid: fix security hole

On the SCSI layer ioctl path there is no implicit permissions check for
ioctls (and indeed other drivers implement unprivileged ioctls). aacraid
however allows all sorts of very admin only things to be done so should
check.

Signed-off-by: Alan Cox <alan@redhat.com>
Acked-by: Mark Salyzyn <mark_salyzyn@adaptec.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/scsi/aacraid/linit.c