Linux Kernel up to 4.6 pinctrl-amd.c pinctrl_unregister double free

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.4 | $0-$5k | 0.00 |
Summary
A vulnerability identified as critical has been detected in Linux Kernel up to 4.6. Impacted is the function pinctrl_unregister of the file drivers/pinctrl/pinctrl-amd.c. The manipulation leads to double free.
This vulnerability is traded as CVE-2017-18174. It is possible to initiate the attack remotely. There is no exploit available.
You should upgrade the affected component.
Details
A vulnerability was found in Linux Kernel up to 4.6 (Operating System). It has been rated as critical. This issue affects the function pinctrl_unregister of the file drivers/pinctrl/pinctrl-amd.c. The manipulation with an unknown input leads to a double free vulnerability. Using CWE to declare the problem leads to CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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.
The bug was discovered 04/21/2016. The weakness was shared 02/11/2018 (Website). The advisory is shared at git.kernel.org. The identification of this vulnerability is CVE-2017-18174 since 02/11/2018. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 661 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 108577 (openSUSE Security Update : the Linux Kernel (openSUSE-2018-292)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 197332 (Ubuntu Security Notification for Linux, Linux-aws, Linux-kvm, Linux-raspi2, Linux-snapdragon Vulnerabilities (USN-3848-1)).
Upgrading to version 4.7 eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (108577) and SecurityFocus (BID 106109†). The entries VDB-112611, VDB-126497, VDB-126519 and VDB-127422 are related to this item. If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.5VulDB Meta Temp Score: 8.4
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Double freeCWE: CWE-415 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 108577
Nessus Name: openSUSE Security Update : the Linux Kernel (openSUSE-2018-292)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 802268
OpenVAS Name: SuSE Update for Linux Kernel openSUSE-SU-2018:0781-1 (Linux Kernel)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Kernel 4.7
Patch: git.kernel.org
Timeline
04/21/2016 🔍02/11/2018 🔍
02/11/2018 🔍
02/11/2018 🔍
02/12/2018 🔍
03/22/2018 🔍
03/23/2018 🔍
12/03/2018 🔍
02/06/2023 🔍
Sources
Vendor: kernel.orgAdvisory: 251e22abde21833b3d29577e4d8c7aaccd650eee
Status: Confirmed
CVE: CVE-2017-18174 (🔍)
GCVE (CVE): GCVE-0-2017-18174
GCVE (VulDB): GCVE-100-113129
SecurityFocus: 106109 - Linux Kernel CVE-2018-19824 Use After Free Arbitrary Code Execution Vulnerability
See also: 🔍
Entry
Created: 02/12/2018 16:32Updated: 02/06/2023 12:38
Changes: 02/12/2018 16:32 (80), 01/03/2020 20:33 (4), 02/06/2023 12:31 (5), 02/06/2023 12:38 (1)
Complete: 🔍
Cache ID: 216:FF9:103
No comments yet. Languages: en.
Please log in to comment.