]> err.no Git - linux-2.6/commit
[PATCH] ide: add sanity checking to ide taskfile ioctl
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 16 Oct 2006 15:31:02 +0000 (16:31 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 16 Oct 2006 15:27:54 +0000 (08:27 -0700)
commit3a42bb223f61fbd755d6e61b9b50b9681d68fcae
tree7c3a3f9839efbe70c4aa27b94b5f2a7b367cbcdc
parent9d90dafdb1f0e3c2b69fa8d3fbe99649127c8fa4
[PATCH] ide: add sanity checking to ide taskfile ioctl

Without this the user can feed in bogus values and get very bogus
results. Security impact is minimal as this ioctl isn't available to
unpriviledged processes anyway.

Reported to the l/k list and found with an auditing tool.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ide/ide-taskfile.c