Linux Kernel up to 4.20.7 Reference Counting virt/kvm/kvm_main.c kvm_ioctl_create_device race condition

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.5 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, has been found in Linux Kernel up to 4.20.7. This issue affects the function kvm_ioctl_create_device of the file virt/kvm/kvm_main.c of the component Reference Counting. This manipulation causes race condition.
This vulnerability is registered as CVE-2019-6974. Remote exploitation of the attack is possible. Furthermore, an exploit is available.
It is advisable to upgrade the affected component.
Details
A vulnerability classified as critical was found in Linux Kernel up to 4.20.7 (Operating System). Affected by this vulnerability is the function kvm_ioctl_create_device of the file virt/kvm/kvm_main.c of the component Reference Counting. The manipulation with an unknown input leads to a race condition vulnerability. The CWE definition for the vulnerability is CWE-362. The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
In the Linux kernel before 4.20.8, kvm_ioctl_create_device in virt/kvm/kvm_main.c mishandles reference counting because of a race condition, leading to a use-after-free.
The bug was discovered 02/15/2019. The weakness was published 02/15/2019 (Website). It is possible to read the advisory at securityfocus.com. This vulnerability is known as CVE-2019-6974 since 01/26/2019. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known.
It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $5k-$25k. The commercial vulnerability scanner Qualys is able to test this issue with plugin 172088 (SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2019:0541-1)).
Upgrading to version 4.20.8 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at SecurityFocus (BID 106253†). Similar entries are available at VDB-113072, VDB-123804, VDB-128011 and VDB-128084. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
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: 7.7VulDB Meta Temp Score: 7.3
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.1
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: Race conditionCWE: CWE-362
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Kernel 4.20.8
Patch: git.kernel.org
Timeline
12/19/2018 🔍01/26/2019 🔍
02/15/2019 🔍
02/15/2019 🔍
02/16/2019 🔍
12/21/2024 🔍
Sources
Vendor: kernel.orgAdvisory: RHSA-2019:0818⛔
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2019-6974 (🔍)
GCVE (CVE): GCVE-0-2019-6974
GCVE (VulDB): GCVE-100-130915
SecurityFocus: 106253 - Linux Kernel CVE-2018-16884 Denial of Service Vulnerability
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 02/16/2019 14:28Updated: 12/21/2024 21:46
Changes: 02/16/2019 14:28 (64), 05/10/2020 18:30 (5), 07/10/2023 14:59 (6), 12/21/2024 21:46 (22)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.