Linux Kernel up to 4.14.90/4.19.12 KVM Hypervisor nested_get_vmcs12_pages use after free

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.0 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Linux Kernel up to 4.14.90/4.19.12. It has been classified as critical. This impacts the function nested_get_vmcs12_pages of the component KVM Hypervisor. This manipulation causes use after free.
This vulnerability is registered as CVE-2018-16882. The attack needs to be launched locally. No exploit is available.
Upgrading the affected component is recommended.
Details
A vulnerability classified as critical was found in Linux Kernel up to 4.14.90/4.19.12 (Operating System). Affected by this vulnerability is the function nested_get_vmcs12_pages of the component KVM Hypervisor. The manipulation with an unknown input leads to a use after free vulnerability. The CWE definition for the vulnerability is CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
A use-after-free issue was found in the way the Linux kernel's KVM hypervisor processed posted interrupts when nested(=1) virtualization is enabled. In nested_get_vmcs12_pages(), in case of an error while processing posted interrupt address, it unmaps the 'pi_desc_page' without resetting 'pi_desc' descriptor address, which is later used in pi_test_and_clear_on(). A guest user/process could use this flaw to crash the host kernel resulting in DoS or potentially gain privileged access to a system. Kernel versions before 4.14.91 and before 4.19.13 are vulnerable.
The bug was discovered 12/18/2018. The weakness was published 01/03/2019 as confirmed bug report (Bugzilla). The advisory is shared at bugzilla.redhat.com. This vulnerability is known as CVE-2018-16882 since 09/11/2018. The exploitation appears to be easy. An attack has to be approached locally. The exploitation doesn't need any form of authentication. Technical details are known, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 16 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 121470 (Ubuntu 18.04 LTS : linux-hwe vulnerabilities (USN-3872-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 197355 (Ubuntu Security Notification for Linux-hwe Vulnerabilities (USN-3872-1)).
Upgrading to version 4.14.91, 4.14.90 or 4.19.13 eliminates this vulnerability. A possible mitigation has been published 4 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (121470) and SecurityFocus (BID 106254†). Similar entries are available at VDB-122170 and VDB-130426. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Type
Vendor
Name
Version
- 4.14.0
- 4.14.1
- 4.14.2
- 4.14.3
- 4.14.4
- 4.14.5
- 4.14.6
- 4.14.7
- 4.14.8
- 4.14.9
- 4.14.10
- 4.14.11
- 4.14.12
- 4.14.13
- 4.14.14
- 4.14.15
- 4.14.16
- 4.14.17
- 4.14.18
- 4.14.19
- 4.14.20
- 4.14.21
- 4.14.22
- 4.14.23
- 4.14.24
- 4.14.25
- 4.14.26
- 4.14.27
- 4.14.28
- 4.14.29
- 4.14.30
- 4.14.31
- 4.14.32
- 4.14.33
- 4.14.34
- 4.14.35
- 4.14.36
- 4.14.37
- 4.14.38
- 4.14.39
- 4.14.40
- 4.14.41
- 4.14.42
- 4.14.43
- 4.14.44
- 4.14.45
- 4.14.46
- 4.14.47
- 4.14.48
- 4.14.49
- 4.14.50
- 4.14.51
- 4.14.52
- 4.14.53
- 4.14.54
- 4.14.55
- 4.14.56
- 4.14.57
- 4.14.58
- 4.14.59
- 4.14.60
- 4.14.61
- 4.14.62
- 4.14.63
- 4.14.64
- 4.14.65
- 4.14.66
- 4.14.67
- 4.14.68
- 4.14.69
- 4.14.70
- 4.14.71
- 4.14.72
- 4.14.73
- 4.14.74
- 4.14.75
- 4.14.76
- 4.14.77
- 4.14.78
- 4.14.79
- 4.14.80
- 4.14.81
- 4.14.82
- 4.14.83
- 4.14.84
- 4.14.85
- 4.14.86
- 4.14.87
- 4.14.88
- 4.14.89
- 4.14.90
- 4.19.0
- 4.19.1
- 4.19.2
- 4.19.3
- 4.19.4
- 4.19.5
- 4.19.6
- 4.19.7
- 4.19.8
- 4.19.9
- 4.19.10
- 4.19.11
- 4.19.12
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.1VulDB Meta Temp Score: 7.0
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.8
NVD Vector: 🔍
CNA Base Score: 6.1
CNA Vector (Red Hat, Inc.): 🔍
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: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
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: 121470
Nessus Name: Ubuntu 18.04 LTS : linux-hwe vulnerabilities (USN-3872-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
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.14.91/4.14.90/4.19.13
Timeline
09/11/2018 🔍12/18/2018 🔍
12/18/2018 🔍
01/03/2019 🔍
01/03/2019 🔍
01/04/2019 🔍
01/29/2019 🔍
01/30/2019 🔍
06/23/2023 🔍
Sources
Vendor: kernel.orgAdvisory: USN-3872-1
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2018-16882 (🔍)
GCVE (CVE): GCVE-0-2018-16882
GCVE (VulDB): GCVE-100-128665
SecurityFocus: 106254 - Linux Kernel CVE-2018-16882 Local Denial of Service Vulnerability
See also: 🔍
Entry
Created: 01/04/2019 12:17Updated: 06/23/2023 07:26
Changes: 01/04/2019 12:17 (75), 04/25/2020 21:21 (10), 06/23/2023 07:15 (4), 06/23/2023 07:20 (13), 06/23/2023 07:26 (1)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.