Products & Services
Support

Product Categories


Popular Downloads


Manage Software

How to Buy

For Home

Linksys Products Store
Linksys is now part of Belkin
Products for everyone

All Ordering Options

Training & Events Partners
Guest

Vulnerability Alert

Linux Kernel video4linux and compat_mc_getsockopt() Privilege Escalation Vulnerability

 
Threat Type:CWE-264: Permissions, Privileges, and Access Control
IntelliShield ID:21389
Version:14
First Published:2010 September 17 10:30 GMT
Last Published:2012 December 21 14:50 GMT
Port: Not available
CVE:CVE-2010-3081
BugTraq ID:43239
Urgency:Possible use
Credibility:Confirmed
Severity:Moderate Damage
CVSS Base:6.8 CVSS Calculator
CVSS Version 2.0
CVSS Temporal:5.3
 
Version Summary:MontaVista has released a security alert and updated software to address the Linux Kernel video4linux and compat_mc_getsockopt() privilege escalation vulnerability.
 
 
Description
Linux Kernel versions 2.6.35.4 and prior contains a vulnerability that could allow a local attacker to gain elevated privileges on the system.

The vulnerability is in the 32-bit compatibility layer for 64-bit systems due to improper validation of data returned from usermode memory. A local attacker could exploit this vulnerability to gain elevated privileges and execute arbitrary code with kernel-level privileges. A successful exploit could lead to a complete system compromise.

Proof-of-concept code that exploits this vulnerability is publicly available.

Kernel.org has confirmed this vulnerability and released updated software.
 
Warning Indicators
Linux Kernel versions 2.6.35.4 and prior are vulnerable.
 
IntelliShield Analysis
An attacker would need to have local access to the affected system.  In addition, the system should be running a 64-bit operating system.  These prerequisites could reduce the likelihood of a successful exploit.

Reports indicate that this vulnerability is being exploited in the wild.
 
Vendor Announcements
Kernel.org has released a changelog at the following link: Kernel 2.6.35.5 - Tue Sep 7 16:16:18 2010 -0700

MontaVista Software has released a security alert for registered users on December 20, 2012, at the following link: MontaVista Security Fixes

Red Hat has released security advisories at the following links: RHSA-2010:0704, RHSA-2010:0705, RHSA-2010:0711, RHSA-2010:0718, RHSA-2010:0719, RHSA-2010:0758, RHSA-2010:0842, and RHSA-2010:0882

VMware has released security advisories at the following links: VMSA-2010-0017 and VMSA-2011-0003
 
Impact
A local attacker could exploit this vulnerability to execute arbitrary code with kernel-level privileges. A successful exploit could result in the complete compromise of affected systems.
 
Technical Information
The vulnerability is due to improper boundary checks on data processed by the compat_alloc_user_space() function, which is located in the net/compat.c source file. Because the function does not check data that is returned from usermode applications, the processing of malicious data while translating 32-bit system call inputs to 64-bit system calls could trigger a memory error.

A local attacker could exploit this vulnerability by invoking the compat_alloc_user_space() function via functions such as the compat_mc_getsockopt() function or the video4linux IOCTL. While processing such calls, the vulnerable 64-bit Linux Kernel could improperly allocate memory space, possibly leading to memory corruption. The attacker could use this corrupt memory condition to execute arbitrary code with kernel-level privileges.
 
Safeguards
Administrators are advised to apply the appropriate updates.

Administrators are advised to allow only trusted users to have local access to affected systems.

Administrators are advised to implement physical security for production servers.

Administrators are advised to monitor affected systems.
 
Patches/Software
Kernel.org has released updated versions at the following link: Kernel 2.6.35.5 or later

CentOS packages can be updated using the up2date or yum command.

Red Hat packages can be updated using the up2date or yum command.

MontaVista Software has released updated software at the following links:

Pro 4.0.1
CGE 4.0.1
CGE 5.1
MVL 6
Mobilinux 5.0
Mobilinux 4.1

VMware has released updated software at the following links:

ESX 4.1
ESX410-201011402-SG
ESX410-201101201-SG

ESX 4.0
ESX400-201101401-SG

ESX400-201103401-SG

 
Alert History
 

Version 13, March 9, 2011, 8:48 PM: Kernel.org has released a changelog and updated software to address the Linux Kernel video4linux and compat_mc_getsockopt() privilege escalation vulnerability.  VMware has also re-released an additional security advisory and updated software to address this vulnerability

Version 12, February 11, 2011, 1:02 PM: VMware has released an additional security advisory and updated software to address the Linux Kernel video4linux and compat_mc_getsockopt() privilege escalation vulnerability.

Version 11, January 5, 2011, 10:27 AM: VMware has re-released a security advisory and updated software to address the Linux Kernel video4linux and compat_mc_getsockopt() privilege escalation vulnerability.

Version 10, December 10, 2010, 8:11 AM: VMware has released a security advisory and updated software to address the Linux Kernel video4linux and compat_mc_getsockopt() privilege escalation vulnerability.

Version 9, November 15, 2010, 9:45 AM: Red Hat has released an additional security advisory and updated packages to address the Linux Kernel video4linux and compat_mc_getsockopt() privilege escalation vulnerability.

Version 8, November 11, 2010, 11:23 AM: Red Hat has released an additional security advisory and updated packages to address the Linux Kernel video4linux and compat_mc_getsockopt() privilege escalation vulnerability.

Version 7, October 11, 2010, 7:43 AM: Red Hat has released a security advisory and updated packages to address the Linux Kernel wireless extensions IOCTL information disclosure vulnerability.

Version 6, September 30, 2010, 1:53 PM: CentOS has released additional updated packages to address the Linux Kernel video4linux and compat_mc_getsockopt() privilege escalation vulnerability.

Version 5, September 29, 2010, 8:16 AM: Red Hat has released an additional security advisory and updated packages to address the Linux Kernel video4linux and compat_mc_getsockopt() privilege escalation vulnerability.

Version 4, September 23, 2010, 8:33 AM: Red Hat has released an additional security advisory and updated packages to address the Linux Kernel video4linux and compat_mc_getsockopt() privilege escalation vulnerability.

Version 3, September 22, 2010, 9:28 AM: CentOS has released updated packages to address the Linux Kernel video4linux and compat_mc_getsockopt() privilege escalation vulnerability.

Version 2, September 21, 2010, 11:01 AM: Red Hat has released security advisories and updated packages to address the Linux Kernel video4linux and compat_mc_getsockopt() privilege escalation vulnerability.

Version 1, September 17, 2010, 10:30 AM: The Linux Kernel contains a vulnerability that could allow a local attacker to gain elevated privileges on the system.  Updates are not available.



Product Sets
 
The security vulnerability applies to the following combinations of products.

Primary Products:
Linus TorvaldsLinux Kernel 2.6.0 .0 | 2.6.1 .0 | 2.6.2 .0 | 2.6.3 .0 | 2.6.4 .0 | 2.6.5 .0 | 2.6.6 .0 | 2.6.7 .0 | 2.6.8 .0, .1 | 2.6.9 .0 | 2.6.10 .0 | 2.6.11 .0, .1, .2, .3, .4, .5, .6, .7, .8, .9, .10, .11, .12 | 2.6.12 .0, .1, .2, .3, .4, .5, .6 | 2.6.13 .0, .1, .2, .3, .4, .5 | 2.6.14 .0, .1, .2, .3, .4, .5, .6, .7 | 2.6.15 .0, .1, .2, .3, .4, .5, .6, .7 | 2.6.16 .0, .1, .2, .3, .4, .5, .6, .7, .8, .9, .10, .11, .12, .13, .14, .15, .16, .17, .18, .19, .20, .21, .22, .23, .24, .25, .26, .27, .28, .29, .30, .31, .32, .33, .34, .35, .36, .37, .38, .39, .40, .41, .42, .43, .44, .45, .46, .47, .48, .49, .50, .51, .52, .53, .54, .55, .56, .57, .58, .59, .60, .61, .62 | 2.6.17 .0, .1, .2, .3, .4, .5, .6, .7, .8, .9, .10, .11, .12, .13, .14 | 2.6.18 .0, .1, .2, .3, .4, .5, .6, .7, .8 | 2.6.19 .0, .1, .2, .3, .4, .5, .6, .7 | 2.6.20 .0, .1, .2, .3, .4, .5, .6, .7, .8, .9, .10, .11, .12, .13, .14, .15, .16, .17, .18, .19, .20, .21 | 2.6.21 .0, .1, .2, .3, .4, .5, .6, .7 | 2.6.22 .0, .1, .2, .3, .4, .5, .6, .7, .8, .9, .10, .11, .12, .13, .14, .15, .16, .17, .18, .19 | 2.6.23 .0, .1, .2, .3, .4, .5, .6, .7, .8, .9, .10, .11, .12, .13, .14, .15, .16, .17 | 2.6.24 .0, .1, .2, .3, .4, .5, .6, .7 | 2.6.25 .0, .1, .2, .3, .4, .5, .6, .7, .8, .9, .10, .11, .12, .13, .14, .15, .16, .17, .18, .19, .20 | 2.6.26 .0, .1, .2, .3, .4, .5, .6, .7 | 2.6.27 .0, .1, .2, .3, .4, .5, .6, .7, .8, .9, .10, .11, .12, .13, .14, .15, .16, .17, .18, .19, .20, .21, .22, .23, .24, .25, .26, .27, .28, .29, .30, .31, .32, .33, .34, .35, .36, .37, .38, .39, .40, .41, .42, .43, .44, .45, .46, .47, .48, .49, .50, .51 | 2.6.28 .0, .1, .2, .3, .4, .5, .6, .7, .8, .9, .10 | 2.6.29 .0, .1, .2, .3 | 2.6.30 Base, .1, .2, .3, .4, .5, .6, .7, .8, .9 | 2.6.31 Base, .1, .2, .3, .4, .5, .6, .7, .8 | 2.6.32 Base, .1, .2, .3, .4, .5, .6, .7, .8, .9, .10, .11, .12, .13, .14, .15, .16, .17, .18, .19 | 2.6.33 Base, .1, .2, .3, .4, .5, .6, .7 | 2.6.34 Base, .1, .2, .3, .4, .5, .6, .7 | 2.6.35 Base, .1, .2, .3, .4

Associated Products:
CentOS ProjectCentOS 4 .0 i386, .0 x86_64, .1 i386, .1 x86_64, .2 i386, .2 x86_64, .3 i386, .3 x86_64, .4 i386, .4 x86_64, .5 i386, .5 x86_64, .6 i386, .6 x86_64, .7 i386, .7 x86_64 | 5 .0 i386, .0 x86_64, .1 i386, .1 x86_64, .2 i386, .2 x86_64, .3 i386, .3 x86_64, .4 i386, .4 x86_64, .5 i386, .5 x86_64
MontaVistaMontaVista Linux 6 Base | Professional 4.0.1 | Mobilinux 4.1, 5.0 | CGE 4.0.1, 5.1
Red Hat, Inc.Red Hat Desktop 4 IA-32, x86_64
Red Hat, Inc.Red Hat Enterprise Linux 5 IA-32, IA-64, PPC, ppc64, s390x, x86_64
Red Hat, Inc.Red Hat Enterprise Linux Advanced Server 3 i386, i686 | 4 IA-32, IA-64, x86_64, PPC, ppc64, s390, s390x, ppc64iseries | 4.7.z IA-32, IA-64, PPC, s390, s390x, x86_64, ppc64, ppc64iseries | 4.8.z IA-32, IA-64, x86_64, PPC, ppc64, s390, s390x, ppc64iseries
Red Hat, Inc.Red Hat Enterprise Linux Desktop 5 IA-32, x86_64 | 6 IA-32, x86_64
Red Hat, Inc.Red Hat Enterprise Linux Enterprise Server 3 i386, i686 | 4 IA-32, IA-64, x86_64 | 4.7.z IA_32, IA_64, x86_64 | 4.8.z IA-32, IA-64, x86_64
Red Hat, Inc.Red Hat Enterprise Linux EUS (Extended Update Support) 5.3.z IA-32, IA-64, PPC, ppc64, x86_64 | 5.4.z IA-32, IA-64, PPC, PPC64, s390x, x86_64
Red Hat, Inc.Red Hat Enterprise Linux HPC Node 6 x86_64
Red Hat, Inc.Red Hat Enterprise Linux Server 6 IA-32, PPC, PPC 64, s390x, x86_64
Red Hat, Inc.Red Hat Enterprise Linux Workstation 3 i386, i686 | 4 IA-32, IA-64, x86_64 | 6 IA-32, x86_64
Red Hat, Inc.Red Hat Enterprise MRG for Enterprise Linux 1 ia-32, x86_64
VMware, Inc.VMware ESX Server 4.0 Base | 4.1 Base




Alerts and bulletins on the Cisco Security Intelligence Operations Portal are highlighted by analysts in the Cisco Threat Operations Center and represent a subset of the comprehensive content that is available through Cisco Security IntelliShield Alert Manager Service. This customizable threat and vulnerability alert service provides security staff with access to timely, accurate, and credible information about threats and vulnerabilities that may affect their environment.


LEGAL DISCLAIMER
The urgency and severity ratings of this alert are not tailored to individual users; users may value alerts differently based upon their network configurations and circumstances. THE ALERT, AND INFORMATION CONTAINED THEREIN, ARE PROVIDED ON AN "AS IS" BASIS AND DO NOT IMPLY ANY KIND OF GUARANTEE OR WARRANTY, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. YOUR USE OF THE ALERT, AND INFORMATION CONTAINED THEREIN, OR MATERIALS LINKED FROM THE ALERT, IS AT YOUR OWN RISK. INFORMATION IN THIS ALERT AND ANY RELATED COMMUNICATIONS IS BASED ON OUR KNOWLEDGE AT THE TIME OF PUBLICATION AND IS SUBJECT TO CHANGE WITHOUT NOTICE. CISCO RESERVES THE RIGHT TO CHANGE OR UPDATE ALERTS AT ANY TIME.
Powered by  IntelliShield