[SCSI] gdth: Prevent negative offsets in ioctl CVE-2009-3080
authorDave Jones <davej@redhat.com>
Mon, 19 Oct 2009 23:55:13 +0000 (19:55 -0400)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 11 Nov 2009 17:14:21 +0000 (12:14 -0500)
commit690e744869f3262855b83b4fb59199cf142765b0
treed204a5bde554ac02629af669db2362f2103c77f8
parent198439e4afec431d2fa2cab9a4dcca87e5adc7a5
[SCSI] gdth: Prevent negative offsets in ioctl CVE-2009-3080

A negative offset could be used to index before the event buffer and
lead to a security breach.

Signed-off-by: Dave Jones <davej@redhat.com>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/gdth.c