Out-of-bounds Read Affecting torvalds/linux package, versions [,5.4.101)[5.5.0,5.10.19)[5.11,5.11.2)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.1% (30th 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-3005721
  • published26 Jan 2022
  • disclosed23 Mar 2021
  • creditUnknown

Introduced: 23 Mar 2021

CVE-2021-3444  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-681  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 5.4.101, 5.10.19, 5.11.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. The bpf verifier in the Linux kernel did not properly handle mod32 destination register truncation when the source register was known to be 0. A local attacker with the ability to load bpf programs could use this gain out-of-bounds reads in kernel memory leading to information disclosure (kernel memory), and possibly out-of-bounds writes that could potentially lead to code execution. This issue was addressed in the upstream kernel in commit 9b00f1b78809 ("bpf: Fix truncation handling for mod32 dst reg wrt zero") and in Linux stable kernels 5.11.2, 5.10.19, and 5.4.101.

References

CVSS Base Scores

version 3.1