kernel: Double free vulnerability in drivers/pinctrl/pinctrl-amd.c:amd_gpio_remove() function can lead to kernel panic
Published Feb 11, 2018
9.8
CRITICALCVSS 3.0
EPSS 3.33%
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 products
No data.
- < 4.7
No data.
Red Hat Enterprise Linux 5
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-alt
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise MRG 2
realtime-kernel
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-alt | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise MRG 2 | realtime-kernel | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 5, 6 and 7, and Red Hat Enterprise MRG as they did not include the vulnerable code.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (16 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.33% (0.03335) | 88.23th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.40% (0.03399) | 87.25th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.17% (0.00165) | 35.05th | v4 (v2025.03.14) |
| Jul 20, 2024 | 0.70% (0.00697) | 80.46th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.70% (0.00697) | 79.62th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.70% (0.00697) | 77.60th | v3 (v2023.03.01) |
| Jul 5, 2023 | 0.98% (0.00983) | 81.34th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.95% (0.00947) | 80.76th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.11% (0.01108) | 55.18th | v2 (v2022.01.01) |
| Sep 17, 2022 | 1.11% (0.01108) | 53.57th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.11% (0.01108) | 51.54th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.11% (0.01108) | 29.61th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.45% (0.01454) | 32.67th | v1 |
| Jan 6, 2022 | 1.45% (0.01454) | 31.96th | v1 |
| Sep 1, 2021 | 1.45% (0.01454) | 71.88th | v1 |
| Apr 14, 2021 | 1.45% (0.01454) | 0.00th | v1 |
References (10)
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=251e22abde21833b3d29577e4d8c7aaccd650eee x_refsource_MISCPatchThird Party Advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8dca4a41f1ad65043a78c2338d9725f859c8d2c3 x_refsource_MISCPatchThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2017-18174 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1544482 Issue Tracking
- https://github.com/torvalds/linux/commit/251e22abde21833b3d29577e4d8c7aaccd650eee x_refsource_MISCPatchThird Party Advisory
- https://github.com/torvalds/linux/commit/8dca4a41f1ad65043a78c2338d9725f859c8d2c3 x_refsource_MISCPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-18174
- https://usn.ubuntu.com/3848-1/ vendor-advisoryx_refsource_UBUNTU
- https://usn.ubuntu.com/3848-2/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2017-18174
| Link | Providers | Tags |
|---|---|---|
| http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=251e22abde21833b3d29577e4d8c7aaccd650eee | x_refsource_MISCPatchThird Party Advisory | |
| http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8dca4a41f1ad65043a78c2338d9725f859c8d2c3 | x_refsource_MISCPatchThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2017-18174 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1544482 | Issue Tracking | |
| https://github.com/torvalds/linux/commit/251e22abde21833b3d29577e4d8c7aaccd650eee | x_refsource_MISCPatchThird Party Advisory | |
| https://github.com/torvalds/linux/commit/8dca4a41f1ad65043a78c2338d9725f859c8d2c3 | x_refsource_MISCPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-18174 | ||
| https://usn.ubuntu.com/3848-1/ | vendor-advisoryx_refsource_UBUNTU | |
| https://usn.ubuntu.com/3848-2/ | vendor-advisoryx_refsource_UBUNTU | |
| https://www.cve.org/CVERecord?id=CVE-2017-18174 |
Change history (0)
No recorded changes yet.