OSDN Git Service

2.4: [SCSI] aacraid: Fix security hole
authordann frazier <dannf@hp.com>
Tue, 5 Feb 2008 10:33:28 +0000 (03:33 -0700)
committerWilly Tarreau <w@1wt.eu>
Tue, 5 Feb 2008 19:32:56 +0000 (20:32 +0100)
commitc6cd2bb1a74822d28a4c2d26f169b781820168da
tree52e248229111bfc035fb6ff8d4da42c6d794fae3
parentf654703d45148071037e8b904e7a674c6d78466a
2.4: [SCSI] aacraid: Fix security hole

This is a 2.4 backport of a linux-2.6 change by Alan Cox.
(commit 60395bb60e0b5e4e0808ac8eb07a92f6c9cdea1f)

It has been build-tested only (I don't have the hardware).
CVE-2007-4308 was assigned for this issue.

Commit log from 2.6 follows.

  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.
drivers/scsi/aacraid/linit.c