Incorrect Calculation Affecting torvalds/linux package, versions [0,rc1)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.46% (63rd 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-3006469
  • published26 Jan 2022
  • disclosed21 May 2021
  • creditUnknown

Introduced: 21 May 2021

CVE-2021-31440  (opens in a new tab)
CWE-682  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version rc1 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Calculation. This vulnerability allows local attackers to escalate privileges on affected installations of Linux Kernel 5.11.15. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the handling of eBPF programs. The issue results from the lack of proper validation of user-supplied eBPF programs prior to executing them. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the kernel. Was ZDI-CAN-13661.

References

CVSS Base Scores

version 3.1