Buffer overflow in Linux Kernel

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 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.

Vulnerability class: Buffer Overflow

EPSS: 0.035 (88.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2010-3081?
CVE-2010-3081 is a high-severity vulnerability in Linux Kernel, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 7.8/10. Published 2010-09-24.
How severe is CVE-2010-3081?
High severity. CVSS v3 base score is 7.8 out of 10.
Is CVE-2010-3081 known to be exploited?
64 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.