Buffer overflow in Kernel Linux
CVE-2009-3288
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.9 (Medium). Vector: AV:L/AC:L/Au:N/C:N/I:N/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.004, 38.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Kernel Linux — versions 2.6.28-rc1
- Linux Kernel — versions 2.6.31-rc2, 2.6.31-rc3, 2.6.31-rc4
Weakness classification (CWE)
References
- [linux-kernel] 20090903 [PATCH] sg: fix oops in the error path in sg_build_indirect() (mailing-list, Exploit)
- [oss-security] 20090904 CVE request: kernel: NULL pointer dereference in sg_build_indirect() (mailing-list, Exploit)
- USN-852-1 (vendor-advisory)
- [linux-kernel] 20090902 [BUG] 2.6.31-rc8 readcd Oops (mailing-list, Exploit)
- secunia.com/advisories/37105 (third-party-advisory)