CVE-2017-18174

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

published February 11, 2018

CVSS
—
EPSS
3%
Percentile
88.6
In the wild
Unconfirmed
What it is

⚠️ A double free bug lurks in the AMD GPIO driver code! This sneaky flaw in the Linux kernel could lead to some unexpected chaos. 😱 Imagine a restaurant that keeps serving the same dish to multiple customers without realizing it's already been taken off the menu — that’s what this double free does, wasting resources and potentially leaving customers unsatisfied! If exploited, this vulnerability could lead to system instability or crashes, as the kernel may end up mishandling memory allocations. While it may not be actively exploited yet, the potential for chaos is certainly there.

Put simply

Imagine a restaurant that keeps serving the same dish to multiple customers without realizing it's already been taken off the menu — that’s what this double free does, wasting resources and potentially leaving customers unsatisfied! In the Linux kernel versions prior to 4.7, the amd_gpio_remove function inadvertently calls pinctrl_unregister multiple times, resulting in a double free of memory. This can lead to unpredictable behavior in the system.

What to do

If exploited, this vulnerability could lead to system instability or crashes, as the kernel may end up mishandling memory allocations. While it may not be actively exploited yet, the potential for chaos is certainly there. To address this vulnerability, update your Linux kernel to version 4.7 or later. Ensure that your drivers are up to date during your next maintenance cycle, and keep an eye on any related patches that may be released. You've got this! Stay proactive and keep your systems secure. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.03335 · 88.6th percentile
Published
2018-02-11T18:00Z
EPSS history
Timeline
  • 11 FEB 18:00Z
    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
    cvelistv5