Linux kernel dvd_read_bca() buffer overflow
| linux-dvdreadbca-bo (27579) |
Description:
The Linux kernel DVD handling code in drivers/cdrom/cdrom.c is vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the dvd_read_bca() function. By creating a malicious USB storage device that assigns an incorrect length variable, a local attacker could overflow a buffer and execute arbitrary code on the system with elevated privileges.
Platforms Affected:
- Canonical, Ubuntu 5.04
- Canonical, Ubuntu 5.10
- Canonical, Ubuntu 6.06 LTS
- Debian, Debian Linux 3.1
- Linux, Kernel 2.6.0 test9
- Linux, Kernel 2.6.0 test8
- Linux, Kernel 2.6.0 test7
- Linux, Kernel 2.6.0 test6
- Linux, Kernel 2.6.0 test5
- Linux, Kernel 2.6.0 test4
- Linux, Kernel 2.6.0 test3
- Linux, Kernel 2.6.0 test2
- Linux, Kernel 2.6.0 test11
- Linux, Kernel 2.6.0 test10
- Linux, Kernel 2.6.0 test1
- Linux, Kernel 2.6.0
- Linux, Kernel 2.6.1 rc3
- Linux, Kernel 2.6.1 rc2
- Linux, Kernel 2.6.1 rc1
- Linux, Kernel 2.6.1
- Linux, Kernel 2.6.10 rc3
- Linux, Kernel 2.6.10
- Linux, Kernel 2.6.10 rc1
- Linux, Kernel 2.6.10 rc2
- Linux, Kernel 2.6.11 rc4
- Linux, Kernel 2.6.11 rc3
- Linux, Kernel 2.6.11
- Linux, Kernel 2.6.11 rc1
- Linux, Kernel 2.6.11 rc5
- Linux, Kernel 2.6.11 rc2
- Linux, Kernel 2.6.11.1
- Linux, Kernel 2.6.11.10
- Linux, Kernel 2.6.11.11
- Linux, Kernel 2.6.11.12
- Linux, Kernel 2.6.11.2
- Linux, Kernel 2.6.11.3
- Linux, Kernel 2.6.11.4
- Linux, Kernel 2.6.11.5
- Linux, Kernel 2.6.11.6
- Linux, Kernel 2.6.11.7
- Linux, Kernel 2.6.11.8
- Linux, Kernel 2.6.11.9
- Linux, Kernel 2.6.12
- Linux, Kernel 2.6.12 rc1
- Linux, Kernel 2.6.12 rc2
- Linux, Kernel 2.6.12 rc3
- Linux, Kernel 2.6.12 rc4
- Linux, Kernel 2.6.12 rc5
- Linux, Kernel 2.6.12 rc6
- Linux, Kernel 2.6.12.1
- Linux, Kernel 2.6.12.12
- Linux, Kernel 2.6.12.2
- Linux, Kernel 2.6.12.22
- Linux, Kernel 2.6.12.3
- Linux, Kernel 2.6.12.4
- Linux, Kernel 2.6.12.5
- Linux, Kernel 2.6.12.6
- Linux, Kernel 2.6.13 rc4
- Linux, Kernel 2.6.13 rc2
- Linux, Kernel 2.6.13 rc1
- Linux, Kernel 2.6.13
- Linux, Kernel 2.6.13 rc5
- Linux, Kernel 2.6.13 rc6
- Linux, Kernel 2.6.13 rc7
- Linux, Kernel 2.6.13 rc3
- Linux, Kernel 2.6.13.1
- Linux, Kernel 2.6.13.2
- Linux, Kernel 2.6.13.3
- Linux, Kernel 2.6.13.4
- Linux, Kernel 2.6.13.5
- Linux, Kernel 2.6.14
- Linux, Kernel 2.6.14 rc5
- Linux, Kernel 2.6.14 rc4
- Linux, Kernel 2.6.14 rc3
- Linux, Kernel 2.6.14 rc1
- Linux, Kernel 2.6.14 rc2
- Linux, Kernel 2.6.14.1
- Linux, Kernel 2.6.14.2
- Linux, Kernel 2.6.14.3
- Linux, Kernel 2.6.14.4
- Linux, Kernel 2.6.14.5
- Linux, Kernel 2.6.14.6
- Linux, Kernel 2.6.14.7
- Linux, Kernel 2.6.15 rc2
- Linux, Kernel 2.6.15
- Linux, Kernel 2.6.15 rc1
- Linux, Kernel 2.6.15 rc7
- Linux, Kernel 2.6.15 rc6
- Linux, Kernel 2.6.15 rc5
- Linux, Kernel 2.6.15 rc4
- Linux, Kernel 2.6.15 rc3
- Linux, Kernel 2.6.15.1
- Linux, Kernel 2.6.15.11
- Linux, Kernel 2.6.15.2
- Linux, Kernel 2.6.15.3
- Linux, Kernel 2.6.15.4
- Linux, Kernel 2.6.15.5
- Linux, Kernel 2.6.15.6
- Linux, Kernel 2.6.15.7
- Linux, Kernel 2.6.16 rc6
- Linux, Kernel 2.6.16 rc5
- Linux, Kernel 2.6.16 rc3
- Linux, Kernel 2.6.16
- Linux, Kernel 2.6.16 rc7
- Linux, Kernel 2.6.16 rc4
- Linux, Kernel 2.6.16.1
- Linux, Kernel 2.6.16.10
- Linux, Kernel 2.6.16.11
- Linux, Kernel 2.6.16.12
- Linux, Kernel 2.6.16.13
- Linux, Kernel 2.6.16.14
- Linux, Kernel 2.6.16.15
- Linux, Kernel 2.6.16.16
- Linux, Kernel 2.6.16.17
- Linux, Kernel 2.6.16.18
- Linux, Kernel 2.6.16.19
- Linux, Kernel 2.6.16.2
- Linux, Kernel 2.6.16.20
- Linux, Kernel 2.6.16.21
- Linux, Kernel 2.6.16.22
- Linux, Kernel 2.6.16.23
- Linux, Kernel 2.6.16.24
- Linux, Kernel 2.6.16.25
- Linux, Kernel 2.6.16.26
- Linux, Kernel 2.6.16.27
- Linux, Kernel 2.6.16.28
- Linux, Kernel 2.6.16.29
- Linux, Kernel 2.6.16.3
- Linux, Kernel 2.6.16.30
- Linux, Kernel 2.6.16.31
- Linux, Kernel 2.6.16.32
- Linux, Kernel 2.6.16.33
- Linux, Kernel 2.6.16.34
- Linux, Kernel 2.6.16.35
- Linux, Kernel 2.6.16.36
- Linux, Kernel 2.6.16.37
- Linux, Kernel 2.6.16.38
- Linux, Kernel 2.6.16.39
- Linux, Kernel 2.6.16.4
- Linux, Kernel 2.6.16.40
- Linux, Kernel 2.6.16.41
- Linux, Kernel 2.6.16.43
- Linux, Kernel 2.6.16.44
- Linux, Kernel 2.6.16.45
- Linux, Kernel 2.6.16.46
- Linux, Kernel 2.6.16.47
- Linux, Kernel 2.6.16.48
- Linux, Kernel 2.6.16.49
- Linux, Kernel 2.6.16.5
- Linux, Kernel 2.6.16.50
- Linux, Kernel 2.6.16.51
- Linux, Kernel 2.6.16.52
- Linux, Kernel 2.6.16.53
- Linux, Kernel 2.6.16.6
- Linux, Kernel 2.6.16.7
- Linux, Kernel 2.6.16.8
- Linux, Kernel 2.6.16.9
- Linux, Kernel 2.6.17 rc3
- Linux, Kernel 2.6.17 rc2
- Linux, Kernel 2.6.17
- Linux, Kernel 2.6.17 rc5
- Linux, Kernel 2.6.17 rc6
- Linux, Kernel 2.6.17 rc1
- Linux, Kernel 2.6.17 rc4
- Linux, Kernel 2.6.17.1
- Linux, Kernel 2.6.17.2
- Linux, Kernel 2.6.17.3
- Linux, Kernel 2.6.2 rc1
- Linux, Kernel 2.6.2
- Linux, Kernel 2.6.2 rc2
- Linux, Kernel 2.6.2 rc3
- Linux, Kernel 2.6.3 rc4
- Linux, Kernel 2.6.3 rc1
- Linux, Kernel 2.6.3
- Linux, Kernel 2.6.3 rc2
- Linux, Kernel 2.6.3 rc3
- Linux, Kernel 2.6.4 rc1
- Linux, Kernel 2.6.4 rc3
- Linux, Kernel 2.6.4 rc2
- Linux, Kernel 2.6.4
- Linux, Kernel 2.6.5 rc2
- Linux, Kernel 2.6.5 rc3
- Linux, Kernel 2.6.5 rc1
- Linux, Kernel 2.6.5
- Linux, Kernel 2.6.6
- Linux, Kernel 2.6.6 rc1
- Linux, Kernel 2.6.6 rc2
- Linux, Kernel 2.6.6 rc3
- Linux, Kernel 2.6.7 rc2
- Linux, Kernel 2.6.7 rc1
- Linux, Kernel 2.6.7 rc3
- Linux, Kernel 2.6.7
- Linux, Kernel 2.6.8 rc3
- Linux, Kernel 2.6.8 rc4
- Linux, Kernel 2.6.8 rc2
- Linux, Kernel 2.6.8
- Linux, Kernel 2.6.8 rc1
- Linux, Kernel 2.6.8.1
- Linux, Kernel 2.6.9
- Linux, Kernel 2.6.9 rc4
- Linux, Kernel 2.6.9 rc3
- Linux, Kernel 2.6.9 rc2
- Linux, Kernel 2.6.9 rc1
- MandrakeSoft, Mandrake Linux 2006
- MandrakeSoft, Mandrake Linux 2006 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 3.0
- MandrakeSoft, Mandrake Multi Network Firewall 2.0
- Novell, Linux Desktop 9
- Novell, Open Enterprise Server
- Novell, Open Enterprise Server
- Novell, UnitedLinux 1.0
- RedHat, Enterprise Linux 2.1 WS
- RedHat, Enterprise Linux 2.1 AS
- RedHat, Enterprise Linux 2.1 ES
- RedHat, Enterprise Linux 3 ES
- RedHat, Enterprise Linux 3 AS
- RedHat, Enterprise Linux 3 WS
- RedHat, Enterprise Linux 3 Desktop
- RedHat, Enterprise Linux 4 ES
- RedHat, Enterprise Linux 4 AS
- RedHat, Enterprise Linux 4 WS
- RedHat, Enterprise Linux 4 Desktop
- RedHat, Linux Advanced Workstation 2.1 Itanium
- SuSE, Linux Enterprise Server 8
- SuSE, SuSE Linux 10.1
- SuSE, SuSE Linux 9.1
- SuSE, SuSE Linux Desktop 1.0
- SuSE, SuSE Linux OpenExchange Server 4
- SuSE, SuSE Linux Retail Solution 8
- SuSE, SuSE Linux School Server
- SuSE, SuSE Linux Standard Server 8
- SuSE, SuSE SLED 10
- SuSE, SuSE SLES 10
- SuSE, SuSE SLES 9
Remedy:
For Red Hat Linux:
Refer to RHSA-2006:0617-15 for patch, upgrade, or suggested workaround information. See References.
For Red Hat Linux 3:
Refer to RHSA-2006:0710-7 for patch, upgrade, or suggested workaround information. See References.
For Debian GNU/Linux 4:
Refer to DSA-1183-1 or DSA-1184-1 for patch, upgrade, or suggested workaround information. See References.
For SUSE Linux:
Refer to SUSE-SA:2006:047 for patch, upgrade, or suggested workaround information. See References.
For SUSE Linux:
Refer to SUSE-SA:2006:049 for patch, upgrade, or suggested workaround information. See References.
For SUSE Linux:
Refer to SUSE-SA:2006:064 for patch, upgrade, or suggested workaround information. See References.
For Red Hat Linux (kernel):
Refer to RHSA-2007:0012 for patch, upgrade, or suggested workaround information. See References.
For Red Hat Linux (kernel):
Refer to RHSA-2007:0013 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Apply the appropriate update for your system. See References.
Consequences:
Gain Privileges
References:
- IBM Systems Support Web site, Support for HMC at https://www14.software.ibm.com/webapp/set2/sas/f/hmc/power5/install/v61.Readme.html#MH01110.
- Kernel Bug Tracker Bugzilla Bug 2966, possible buffer overflow in DVD handling at http://bugzilla.kernel.org/show_bug.cgi?id=2966.
- The Linux Kernel Archives Web site, The Linux Kernel Archives at http://kernel.org/.
- ASA-2006-203: kernel security update (RHSA-2006-0617)
- ASA-2006-254: kernel security update (RHSA-2006-0710)
- ASA-2007-078: kernel security update (RHSA-2007-0013)
- ASA-2007-118: kernel security update (RHSA-2007-0012)
- BID-18847: Linux Kernel CD-ROM Driver Local Buffer Overflow Vulnerability
- CVE-2006-2935: The dvd_read_bca function in the DVD handling code in drivers/cdrom/cdrom.c in Linux kernel 2.2.16, and later versions, assigns the wrong value to a length variable, which allows local users to execute arbitrary code via a crafted USB Storage device that triggers a buffer overflow.
- DSA-1183: kernel-source-2.4.27 -- several vulnerabilities
- DSA-1184: kernel-source-2.6.8 -- several vulnerabilities
- MDKSA-2006:150: Updated kernel packages fix multiple vulnerabilities
- MDKSA-2006:151: Updated kernel packages fix multiple vulnerabilities
- RHSA-2006-0617: kernel security update
- RHSA-2006-0710: kernel security update
- RHSA-2007-0012: Moderate: kernel security update
- RHSA-2007-0013: Moderate: kernel security update
- SA22174: Avaya Products Linux Kernel Multiple Vulnerabilities
- SA23064: Avaya Products Linux Kernel Multiple Vulnerabilities
- SA24288: Avaya Products Linux Kernel Denial of Service
- SUSE-SA:2006:042: kernel local privilege escalation
- SUSE-SA:2006:047: kernel security problems
- SUSE-SA:2006:049: kernel security problems
- SUSE-SA:2006:064: Linux kernel 2.4 security problems
- USN-331-1: Linux kernel vulnerabilities
- USN-346-1: Linux kernel vulnerabilities
- USN-346-2: Fixed linux-restricted-modules-2.6.15 for previous Linux kernel update
- VUPEN/ADV-2006-2680: Linux Kernel CD-ROM Driver dvd_read_bca() Local Buffer Overflow Vulnerability
Reported:
Jul 05, 2006
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
