Integer Overflow or Wraparound Affecting kernel-firmware package, versions <0:2.6.32-71.7.1.el6


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
20.45% (96th 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 Learn

Learn about Integer Overflow or Wraparound vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL6-KERNELFIRMWARE-1417257
  • published26 Jul 2021
  • disclosed15 Sept 2010

Introduced: 15 Sep 2010

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

How to fix?

Upgrade RHEL:6 kernel-firmware to version 0:2.6.32-71.7.1.el6 or higher.
This issue was patched in RHSA-2010:0842.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-firmware package and not the kernel-firmware package as distributed by RHEL. See How to fix? for RHEL:6 relevant fixed versions and status.

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