The sg_build_indirect function in drivers/scsi/sg.c in Linux kernel 2.6.28-rc1 through 2.6.31-rc8 uses an incorrect variable when accessing an array, which allows local users to cause a denial of service (kernel OOPS and NULL pointer dereference), as demonstrated by using xcdroast to duplicate a CD. NOTE: this is only exploitable by users who can open the cdrom device.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
http://lkml.org/lkml/2009/9/3/107 | mailing list exploit |
http://www.openwall.com/lists/oss-security/2009/09/03/4 | mailing list exploit |
http://www.ubuntu.com/usn/USN-852-1 | vendor advisory |
http://lkml.org/lkml/2009/9/3/1 | mailing list exploit |
http://secunia.com/advisories/37105 | third party advisory |