Linux kernel fcntl_setlk() and close() denial of service
| linux-kernel-fcntlsetlk-dos (42242) |
Description:
Linux kernel is vulnerable to a denial of service, caused by an error while preventing a race condition in the SMP system between the fcntl_setlk() and close() calls. A local attacker could exploit this vulnerability to gain reordered access to the descriptor table and file_lock structure of an inode and cause the kernel to crash.
Platforms Affected:
- Canonical, Ubuntu 6.06 LTS
- Canonical, Ubuntu 7.04
- Canonical, Ubuntu 7.10
- Canonical, Ubuntu 8.04 LTS
- Debian, Debian Linux 4.0
- Linux, Kernel 2.6.11.10
- Linux, Kernel 2.6.11.12
- 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.15
- Linux, Kernel 2.6.18
- Linux, Kernel 2.6.20
- Linux, Kernel 2.6.20.1
- Linux, Kernel 2.6.20.11
- Linux, Kernel 2.6.20.13
- Linux, Kernel 2.6.20.2
- Linux, Kernel 2.6.20.3
- Linux, Kernel 2.6.21 rc6
- Linux, Kernel 2.6.21
- Linux, Kernel 2.6.21 rc7
- Linux, Kernel 2.6.21 rc5
- Linux, Kernel 2.6.21 rc4
- Linux, Kernel 2.6.21 rc3
- Linux, Kernel 2.6.23.1
- Linux, Kernel 2.6.23.14
- Linux, Kernel 2.6.23.9
- Linux, Kernel 2.6.24 rc2
- MandrakeSoft, Mandrake Linux 2007.1
- MandrakeSoft, Mandrake Linux 2007.1 X86_64
- MandrakeSoft, Mandrake Linux 2008.0 X86_64
- MandrakeSoft, Mandrake Linux 2008.0
- MandrakeSoft, Mandrake Linux 2008.1 X86_64
- MandrakeSoft, Mandrake Linux 2008.1
- MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 3.0
- MandrakeSoft, Mandrake Linux Corporate Server 4.0
- MandrakeSoft, Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft, Mandrake Multi Network Firewall 2.0
- Novell, OpenSUSE 10.2
- Novell, OpenSUSE 10.3
- Novell, SLE SDK 10 SP1
- Novell, SLE SDK 10 SP2
- Novell, SUSE Linux Enterprise 10 SP1 DEBUGINFO
- Novell, SUSE Linux Enterprise 10 SP2 DEBUGINFO
- Novell, SUSE Linux Enterprise Desktop 10 SP1
- Novell, SUSE Linux Enterprise Desktop 10 SP2
- Novell, SUSE Linux Enterprise Server 10 SP1
- Novell, SUSE Linux Enterprise Server 10 SP2
- RedHat, Enterprise Linux 3 AS
- RedHat, Enterprise Linux 3 Desktop
- RedHat, Enterprise Linux 3 ES
- RedHat, Enterprise Linux 3 WS
- RedHat, Enterprise Linux 4 Desktop
- RedHat, Enterprise Linux 4 AS
- RedHat, Enterprise Linux 4 ES
- RedHat, Enterprise Linux 4 WS
- RedHat, Enterprise Linux 5
- RedHat, Enterprise Linux 5 Client
Remedy:
Upgrade to the latest version of Linux kernel (2.6.25.2 or later), available from the The Linux Kernel Archives Web site. See References.
Consequences:
Denial of Service
References:
- The Linux Kernel Archives Web site, ChangeLog-2.6.25.2 at http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.25.2.
- The Linux Kernel Archives Web site, The Linux Kernel Archives at http://kernel.org/.
- ASA-2008-203: kernel security and bug fix update (RHSA-2008-0211)
- ASA-2008-225: kernel security and bug fix update (RHSA-2008-0237)
- BID-29076: Linux Kernel 'fcntl_setlk()' SMP Ordering Local Denial of Service Vulnerability
- CVE-2008-1669: Linux kernel before 2.6.25.2 does not apply a certain protection mechanism for fcntl functionality, which allows local users to (1) execute code in parallel or (2) exploit a race condition to obtain re-ordered access to the descriptor table.
- DSA-1575: linux-2.6 -- denial of service
- MDVSA-2008:104: Updated kernel packages fix vulnerabilities
- MDVSA-2008:105: Updated kernel packages fix vulnerabilities
- MDVSA-2008:167: kernel
- RHSA-2008-0211: Important: kernel security and bug fix update
- RHSA-2008-0233: Important: kernel security and bug fix update
- RHSA-2008-0237: Important: kernel security and bug fix update
- SA30101: Linux Kernel "fcntl_setlk()" SMP Reordered Access Vulnerability
- SA30108: Linux Kernel Multiple Vulnerabilities
- SA31246: VMware ESX Server update for Samba and vmnix
- SECTRACK ID: 1019974: Linux Kernel fcntl_setlk() Race Condition May Let Local Users Gain Elevated Privileges
- SUSE-SA:2008:030: Linux kernel security update
- SUSE-SA:2008:032: SUSE Linux Enterprise 10 SP1 Linux kernel
- SUSE-SA:2008:035: Linux kernel update
- SUSE-SA:2008:038: Linux kernel security update
- USN-614-1: Linux kernel vulnerabilities
- USN-618-1: Linux kernel vulnerabilities
- VUPEN/ADV-2008-1451: Linux Kernel fcntl_setlk() and close() Race Prevention Vulnerability
- VUPEN/ADV-2008-1452: Linux Kernel Privilege Escalation and Denial of Service Vulnerabilities
- VUPEN/ADV-2008-2222: VMware ESX Server Security Update Fixes Multiple Vulnerabilities
Reported:
May 06, 2008
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
