Use After Free Affecting torvalds/linux package, versions [,4.18.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 Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-3005649
  • published26 Jan 2022
  • disclosed26 Jul 2019
  • creditUnknown

Introduced: 26 Jul 2019

CVE-2018-20856  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 4.18.7 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free. An issue was discovered in the Linux kernel before 4.18.7. In block/blk-core.c, there is an __blk_drain_queue() use-after-free because a certain error case is mishandled.

CVSS Base Scores

version 3.1