Double Free Affecting torvalds/linux package, versions [,4.7)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.17% (39th 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 Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-3004906
  • published26 Jan 2022
  • disclosed11 Feb 2018
  • creditUnknown

Introduced: 11 Feb 2018

CVE-2017-18174  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 4.7 or higher.

Overview

Affected versions of this package are vulnerable to Double Free. In the Linux kernel before 4.7, the amd_gpio_remove function in drivers/pinctrl/pinctrl-amd.c calls the pinctrl_unregister function, leading to a double free.

CVSS Base Scores

version 3.1