Skip to content
OpenAdvisories
Unscored Public exploit CVE-2010-3081 EUVD-2010-3083GHSA-24vg-fhqp-9wrx

The compat_alloc_user_space functions in include/asm/compat.h files in the Linux kernel before 2.6.36-rc4-git2 on 64-bit platforms do not p…

Published Sep 24, 2010 · Updated Aug 7, 2024 · Assigned by redhat

Description

The compat_alloc_user_space functions in include/asm/compat.h files in the Linux kernel before 2.6.36-rc4-git2 on 64-bit platforms do not properly allocate the userspace memory required for the 32-bit compatibility layer, which allows local users to gain privileges by leveraging the ability of the compat_mc_getsockopt function (aka the MCAST_MSFILTER getsockopt support) to control a certain length value, related to a "stack pointer underflow" issue, as exploited in the wild in September 2010.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 linux-2.6 2.6.26-25lenny1 DSA-2110-1
ReleasePackageFixed inAdvisory
RHEL 6 perf +14 2.6.32-71.7.1.el6 RHSA-2010:0842
RHEL 5 kernel +12 2.6.18-194.11.4.el5 RHSA-2010:0704
RHEL 4 kernel +10 2.6.9-89.29.1.EL RHSA-2010:0718
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 5.4 EUS kernel +12 2.6.18-164.25.2.el5 RHSA-2010:0705
RHEL 5.3 EUS kernel +12 2.6.18-128.23.2.el5 RHSA-2010:0711
RHEL 4.7 EUS kernel +10 2.6.9-78.0.33.EL RHSA-2010:0719
RHEL 3 ELS kernel +8 2.4.21-66.EL RHSA-2010:0882
Red Hat MRG 1 kernel-rt +9 2.6.24.7-169.el5rt RHSA-2010:0758
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed kernel-source 4.8.13-1.1 openSUSE-SU-2024:10128-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 10

References