CVE-2010-3081
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…
Check your servers for CVE-2010-3081
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2010-3081 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 3.53%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 90.0% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2010-3081 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2010-3081RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2010-3081Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2010-3081
trivy image --scanners vuln IMAGE | grep CVE-2010-3081
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- http://www.vmware.com/security/advisories/VMSA-2010-0017.html vmware.com
- MDVSA-2010:198 mandriva.com · vendor advisory
- https://access.redhat.com/kb/docs/DOC-40265 access.redhat.com
- 42384 secunia.com · third party advisory
- SUSE-SA:2011:007 lists.opensuse.org · vendor advisory
- RHSA-2010:0842 redhat.com · vendor advisory
- MDVSA-2010:247 mandriva.com · vendor advisory
- RHSA-2010:0882 redhat.com · vendor advisory
- http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.36-rc4-git2.log kernel.org
- SUSE-SA:2010:050 lists.opensuse.org · vendor advisory
- 43315 secunia.com · third party advisory
- SUSE-SR:2010:017 lists.opensuse.org · vendor advisory
5 more
- http://www.vmware.com/security/advisories/VMSA-2011-0003.html vmware.com
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=c41d68a513c71e35a14f66d71782d27a79a81ea6 git.kernel.org
- RHSA-2010:0758 redhat.com · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=634457 bugzilla.redhat.com
- MDVSA-2010:214 mandriva.com · vendor advisory
Other references
- http://isc.sans.edu/diary.html?storyid=9574 isc.sans.edu
- ADV-2010-3083 vupen.com · vdb entry
- ADV-2010-3117 vupen.com · vdb entry
- http://sota.gen.nz/compat1/ sota.gen.nz
- 20101130 VMSA-2010-0017 VMware ESX third party update for Service Console kerne securityfocus.com · mailing list
- 20100916 Workaround for Ac1db1tch3z exploit. archives.neohapsis.com · mailing list
- ADV-2011-0298 vupen.com · vdb entry
- http://blog.ksplice.com/2010/09/cve-2010-3081/ blog.ksplice.com
- 20100916 Ac1db1tch3z vs x86_64 Linux Kernel archives.neohapsis.com · mailing list
- 20110211 VMSA-2011-0003 Third party component updates for VMware vCenter Server, vCenter Update Manager, ESXi and ESX securityfocus.com · mailing list
- [oss-security] 20100916 CVE-2010-3081 kernel: 64-bit Compatibility Mode Stack Pointer Underflow marc.info · mailing list
Source: the record CVE-2010-3081 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse