Vulnerabilities / CVE-2017-18174

critical

CVE-2017-18174

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

Published Modified CWE 415
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat5.5CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Oracle (high), Red Hat (medium), Ubuntu (medium).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
Oracle Linux 6kernel-uek, kernel-uek-debug, kernel-uek-debug-devel and 3 more4.1.12-124.24.1.el6uek
Oracle Linux 7kernel-uek, kernel-uek-debug, kernel-uek-debug-devel and 3 more4.1.12-124.24.1.el7uek
ubuntu 14.04linux-aws, linux-lts-xenial4.4.0-1037.40 and 1 more
ubuntu 14.04-ESMlinux-aws, linux-lts-xenial4.4.0-1037.40 and 1 more
ubuntu 16.04linux, linux-aws, linux-kvm and 2 more4.4.0-141.167 and 4 more
ubuntu 16.04-ESMlinux, linux-aws, linux-kvm4.4.0-141.167 and 2 more
Show all 24 entries from 6 sources
SourcePackageFixed in
Oracle Linux 6kernel-uek4.1.12-124.24.1.el6uek
Oracle Linux 6kernel-uek-debug4.1.12-124.24.1.el6uek
Oracle Linux 6kernel-uek-debug-devel4.1.12-124.24.1.el6uek
Oracle Linux 6kernel-uek-devel4.1.12-124.24.1.el6uek
Oracle Linux 6kernel-uek-doc4.1.12-124.24.1.el6uek
Oracle Linux 6kernel-uek-firmware4.1.12-124.24.1.el6uek
Oracle Linux 7kernel-uek4.1.12-124.24.1.el7uek
Oracle Linux 7kernel-uek-debug4.1.12-124.24.1.el7uek
Oracle Linux 7kernel-uek-debug-devel4.1.12-124.24.1.el7uek
Oracle Linux 7kernel-uek-devel4.1.12-124.24.1.el7uek
Oracle Linux 7kernel-uek-doc4.1.12-124.24.1.el7uek
Oracle Linux 7kernel-uek-firmware4.1.12-124.24.1.el7uek
ubuntu 14.04linux-aws4.4.0-1037.40
ubuntu 14.04linux-lts-xenial4.4.0-141.167~14.04.1
ubuntu 14.04-ESMlinux-aws4.4.0-1037.40
ubuntu 14.04-ESMlinux-lts-xenial4.4.0-141.167~14.04.1
ubuntu 16.04linux4.4.0-141.167
ubuntu 16.04linux-aws4.4.0-1074.84
ubuntu 16.04linux-kvm4.4.0-1039.45
ubuntu 16.04linux-raspi24.4.0-1102.110
ubuntu 16.04linux-snapdragon4.4.0-1106.111
ubuntu 16.04-ESMlinux4.4.0-141.167
ubuntu 16.04-ESMlinux-aws4.4.0-1074.84
ubuntu 16.04-ESMlinux-kvm4.4.0-1039.45

References

All 13 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.