Skip to content
Fencer Vulns
critical 9.8

CVE-2017-18174 in the critical feed json

In the Linux kernel before 4.7, the amd_gpio_remove function in drivers/pinctrl/pinctrl-amd.c calls the pinctrl_unregister function, leadin…

published 2018-02-11 8 y ago modified 2026-06-17 4 mo ago also EUVD-2017-9309

cvss
9.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.3%
EPSS 3.3% chance of exploitation in 30 days, percentile 88%
public exploits
0
none known

Summary

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.

Patch / fix

  • linux linux_kernel 4.7
  • linux Ubuntu 16.04 LTS 4.4.0-141.167
  • linux-aws Ubuntu 14.04 LTS 4.4.0-1037.40
  • linux-aws Ubuntu 16.04 LTS 4.4.0-1074.84
  • linux-kvm Ubuntu 16.04 LTS 4.4.0-1039.45
  • linux-raspi2 Ubuntu 16.04 LTS 4.4.0-1102.110
  • linux-lts-xenial Ubuntu 14.04 LTS 4.4.0-141.167~14.04.1
  • linux-snapdragon Ubuntu 16.04 LTS 4.4.0-1106.111
  • linux-fips Ubuntu Pro FIPS-updates 16.04 LTS 4.4.0-1008.10

ubuntu advisories UBUNTU-CVE-2017-18174

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel-syms SLES for SAP 12 SP2, SLES 12 SP2-LTSS, SLES 12 SP2-BCL +2 more 4.4.121-92.109.2
  • kernel-source SLES for SAP 12 SP2, SLES 12 SP2-LTSS, SLES 12 SP2-BCL +2 more 4.4.121-92.109.2
  • kernel-default SLES for SAP 12 SP2, SLES 12 SP2-LTSS, SLES 12 SP2-BCL +3 more 4.4.121-92.109.2
  • kgraft-patch-SLE12-SP2_Update_29 SLES for SAP 12 SP2, SLES 12 SP2-LTSS, OpenStack Cloud 7 +1 more 1-3.5.2
  • kernel-rt SLE Real Time 12 SP3 4.4.120-3.8.1
  • kernel-syms-rt SLE Real Time 12 SP3 4.4.120-3.8.1
  • kernel-rt_debug SLE Real Time 12 SP3 4.4.120-3.8.1
  • kernel-source-rt SLE Real Time 12 SP3 4.4.120-3.8.1

suse advisories SUSE-SU-2019:1287-1SUSE-SU-2018:0986-1SUSE-SU-2018:0786-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-18174 updated cvss 5.5

kernel: Double free vulnerability in drivers/pinctrl/pinctrl-amd.c:amd_gpio_remove() function can lead to kernel panic

  • Red Hat Enterprise Linux 5 kernel Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, kernel-alt, python-perf, +9 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-core, kernel-tools, python3-perf, +17 more Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmware
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.33% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.