Arbitrary Code Execution Affecting torvalds/linux package, versions [,5.14.7)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.03% (8th 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 Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-3004879
  • published26 Jan 2022
  • disclosed20 Sept 2021
  • creditUnknown

Introduced: 20 Sep 2021

CVE-2021-38300  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 5.14.7 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution arch/mips/net/bpf_jit.c in the Linux kernel before 5.4.10 can generate undesirable machine code when transforming unprivileged cBPF programs, allowing execution of arbitrary code within the kernel context. This occurs because conditional branches can exceed the 128 KB limit of the MIPS architecture.

CVSS Base Scores

version 3.1