Buffer Overflow Affecting torvalds/linux package, versions [,5.15.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.13% (33rd 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 Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-3006722
  • published18 Mar 2022
  • disclosed18 Mar 2022
  • creditJan Kara

Introduced: 18 Mar 2022

CVE-2021-45868  (opens in a new tab)
CWE-119  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 5.15.3 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow due to the fs/quota/quota_tree.c function that does not validate the block number in the quota tree (on disk). Exploiting this vulnerability can, for example, lead to a kernel/locking/rwsem.c use-after-free if there is a corrupted quota file.

CVSS Base Scores

version 3.1