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

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.4$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.5
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Double free
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

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 Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: Kernel 4.7
Patch: git.kernel.org

Timelineinfo

04/21/2016 🔍
02/11/2018 +661 days 🔍
02/11/2018 +0 days 🔍
02/11/2018 +0 days 🔍
02/12/2018 +1 days 🔍
03/22/2018 +38 days 🔍
03/23/2018 +1 days 🔍
12/03/2018 +255 days 🔍
02/06/2023 +1526 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: 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: 🔍

Entryinfo

Created: 02/12/2018 16:32
Updated: 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

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!