Out-of-Bounds Affecting torvalds/linux package, versions [,2.6.35.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
29.08% (97th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-3004692
  • published26 Jan 2022
  • disclosed24 Sept 2010
  • creditUnknown

Introduced: 24 Sep 2010

CVE-2010-3081  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 2.6.35.5 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. 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.

References

CVSS Base Scores

version 3.1