Linux Kernel up to 4.13.5 fork fs/userfaultfd.c userfaultfd_ctx_put use after 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.
6.7$0-$5k0.00

A vulnerability was found in Linux Kernel up to 4.13.5 (Operating System). It has been classified as critical. This affects the function userfaultfd_ctx_put of the file fs/userfaultfd.c of the component fork Handler. The manipulation with an unknown input leads to a use after free vulnerability. CWE is classifying the issue as CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

A use-after-free flaw was found in fs/userfaultfd.c in the Linux kernel before 4.13.6. The issue is related to the handling of fork failure when dealing with event messages. Failure to fork correctly can lead to a situation where a fork event will be removed from an already freed list of events with userfaultfd_ctx_put().

The bug was discovered 10/03/2017. The weakness was published 01/14/2018 (Website). The advisory is shared at git.kernel.org. This vulnerability is uniquely identified as CVE-2017-15126 since 10/08/2017. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details are known, but no exploit is available.

The vulnerability was handled as a non-public zero-day exploit for at least 103 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 109380 (CentOS 7 : kernel (CESA-2018:1062)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CentOS Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 236711 (Red Hat Update for kernel-rt (RHSA-2018:0676)).

Upgrading to version 4.13.6 eliminates this vulnerability. A possible mitigation has been published 4 months after the disclosure of the vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (109380).

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.8
VulDB Meta Temp Score: 6.7

VulDB Base Score: 5.6
VulDB Temp Score: 5.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.1
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 109380
Nessus Name: CentOS 7 : kernel (CESA-2018:1062)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

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.13.6
Patch: git.kernel.org

Timelineinfo

10/03/2017 🔍
10/08/2017 +5 days 🔍
12/05/2017 +58 days 🔍
01/14/2018 +40 days 🔍
01/14/2018 +0 days 🔍
01/15/2018 +1 days 🔍
04/27/2018 +102 days 🔍
04/27/2018 +0 days 🔍
01/20/2023 +1729 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: RHSA-2018:1062
Status: Not defined

CVE: CVE-2017-15126 (🔍)
SecurityFocus: 102516 - Linux Kernel 'fs/userfaultfd.c' Local Use After Free Memory Corruption Vulnerability

Entryinfo

Created: 01/15/2018 11:20 AM
Updated: 01/20/2023 07:41 PM
Changes: 01/15/2018 11:20 AM (76), 12/23/2019 02:46 PM (4), 01/20/2023 07:34 PM (5), 01/20/2023 07:41 PM (1)
Complete: 🔍
Cache ID: 44:456:40

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!