Use After Free Affecting torvalds/linux package, versions [,5.15-rc7)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.13% (34th 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 Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-2935902
  • published26 Jun 2022
  • disclosed26 Jun 2022
  • creditHao Sun

Introduced: 26 Jun 2022

CVE-2021-4150  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 5.15-rc7 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free via the add_partition function. This is due to improper cleanup when device_add call fails when adding a partition to the disk.

CVSS Base Scores

version 3.1