CVE-2019-6974
Linux - 'kvm_ioctl_create_device()' NULL Pointer Dereference
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
3Exploited in Wild
-Decision
Descriptions
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.
En el kernel de Linux en versiones anteriores a la 4.20.8, kvm_ioctl_create_device en virt/kvm/kvm_main.c gestiona de manera incorrecta el conteo de referencias debido a una condiciĆ³n de carrera, lo que conduce a un uso de memoria previamente liberada.
A use-after-free vulnerability was found in the way the Linux kernel's KVM hypervisor implements its device control API. While creating a device via kvm_ioctl_create_device(), the device holds a reference to a VM object, later this reference is transferred to the caller's file descriptor table. If such file descriptor was to be closed, reference count to the VM object could become zero, potentially leading to a use-after-free issue. A user/process could use this flaw to crash the guest VM resulting in a denial of service issue or, potentially, gain privileged access to a system.
Linux kvm_ioctl_create_device() installs fd before taking reference.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2019-01-26 CVE Reserved
- 2019-02-15 CVE Published
- 2024-08-04 CVE Updated
- 2024-08-04 First Exploit
- 2024-10-04 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
- CWE-416: Use After Free
CAPEC
References (30)
URL | Tag | Source |
---|---|---|
http://www.securityfocus.com/bid/107127 | Broken Link | |
https://lists.debian.org/debian-lts-announce/2019/03/msg00034.html | Mailing List | |
https://lists.debian.org/debian-lts-announce/2019/04/msg00004.html | Mailing List | |
https://lists.debian.org/debian-lts-announce/2019/05/msg00002.html | Mailing List | |
https://support.f5.com/csp/article/K11186236 | Third Party Advisory | |
https://support.f5.com/csp/article/K11186236?utm_source=f5support&%3Butm_medium=RSS | X_refsource_confirm |
URL | Date | SRC |
---|---|---|
https://www.exploit-db.com/exploits/46388 | 2024-08-04 | |
https://bugs.chromium.org/p/project-zero/issues/detail?id=1765 | 2024-08-04 | |
https://github.com/torvalds/linux/commit/cfa39381173d5f969daf43582c95ad679189cbc9 | 2024-08-04 |
URL | Date | SRC |
---|---|---|
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cfa39381173d5f969daf43582c95ad679189cbc9 | 2023-11-07 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 3.10 < 3.16.64 Search vendor "Linux" for product "Linux Kernel" and version " >= 3.10 < 3.16.64" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 3.17 < 3.18.136 Search vendor "Linux" for product "Linux Kernel" and version " >= 3.17 < 3.18.136" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 3.19 < 4.4.176 Search vendor "Linux" for product "Linux Kernel" and version " >= 3.19 < 4.4.176" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.5 < 4.9.156 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.5 < 4.9.156" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.10 < 4.14.99 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.10 < 4.14.99" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.15 < 4.19.21 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.15 < 4.19.21" | - |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.20 < 4.20.8 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.20 < 4.20.8" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 8.0 Search vendor "Debian" for product "Debian Linux" and version "8.0" | - |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 12.04 Search vendor "Canonical" for product "Ubuntu Linux" and version "12.04" | esm |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 14.04 Search vendor "Canonical" for product "Ubuntu Linux" and version "14.04" | lts |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 16.04 Search vendor "Canonical" for product "Ubuntu Linux" and version "16.04" | lts |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 18.04 Search vendor "Canonical" for product "Ubuntu Linux" and version "18.04" | lts |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 18.10 Search vendor "Canonical" for product "Ubuntu Linux" and version "18.10" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Access Policy Manager Search vendor "F5" for product "Big-ip Access Policy Manager" | >= 13.0.0 <= 13.1.1 Search vendor "F5" for product "Big-ip Access Policy Manager" and version " >= 13.0.0 <= 13.1.1" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Access Policy Manager Search vendor "F5" for product "Big-ip Access Policy Manager" | >= 14.0.0 <= 14.1.0 Search vendor "F5" for product "Big-ip Access Policy Manager" and version " >= 14.0.0 <= 14.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Access Policy Manager Search vendor "F5" for product "Big-ip Access Policy Manager" | >= 15.0.0 < 15.1.0 Search vendor "F5" for product "Big-ip Access Policy Manager" and version " >= 15.0.0 < 15.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Advanced Firewall Manager Search vendor "F5" for product "Big-ip Advanced Firewall Manager" | >= 13.0.0 <= 13.1.1 Search vendor "F5" for product "Big-ip Advanced Firewall Manager" and version " >= 13.0.0 <= 13.1.1" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Advanced Firewall Manager Search vendor "F5" for product "Big-ip Advanced Firewall Manager" | >= 14.0.0 <= 14.1.0 Search vendor "F5" for product "Big-ip Advanced Firewall Manager" and version " >= 14.0.0 <= 14.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Advanced Firewall Manager Search vendor "F5" for product "Big-ip Advanced Firewall Manager" | >= 15.0.0 < 15.1.0 Search vendor "F5" for product "Big-ip Advanced Firewall Manager" and version " >= 15.0.0 < 15.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Analytics Search vendor "F5" for product "Big-ip Analytics" | >= 13.0.0 <= 13.1.1 Search vendor "F5" for product "Big-ip Analytics" and version " >= 13.0.0 <= 13.1.1" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Analytics Search vendor "F5" for product "Big-ip Analytics" | >= 14.0.0 <= 14.1.0 Search vendor "F5" for product "Big-ip Analytics" and version " >= 14.0.0 <= 14.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Analytics Search vendor "F5" for product "Big-ip Analytics" | >= 15.0.0 < 15.1.0 Search vendor "F5" for product "Big-ip Analytics" and version " >= 15.0.0 < 15.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Application Acceleration Manager Search vendor "F5" for product "Big-ip Application Acceleration Manager" | >= 13.0.0 <= 13.1.1 Search vendor "F5" for product "Big-ip Application Acceleration Manager" and version " >= 13.0.0 <= 13.1.1" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Application Acceleration Manager Search vendor "F5" for product "Big-ip Application Acceleration Manager" | >= 14.0.0 <= 14.1.0 Search vendor "F5" for product "Big-ip Application Acceleration Manager" and version " >= 14.0.0 <= 14.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Application Acceleration Manager Search vendor "F5" for product "Big-ip Application Acceleration Manager" | >= 15.0.0 < 15.1.0 Search vendor "F5" for product "Big-ip Application Acceleration Manager" and version " >= 15.0.0 < 15.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Application Security Manager Search vendor "F5" for product "Big-ip Application Security Manager" | >= 13.0.0 <= 13.1.1 Search vendor "F5" for product "Big-ip Application Security Manager" and version " >= 13.0.0 <= 13.1.1" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Application Security Manager Search vendor "F5" for product "Big-ip Application Security Manager" | >= 14.0.0 <= 14.1.0 Search vendor "F5" for product "Big-ip Application Security Manager" and version " >= 14.0.0 <= 14.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Application Security Manager Search vendor "F5" for product "Big-ip Application Security Manager" | >= 15.0.0 < 15.1.0 Search vendor "F5" for product "Big-ip Application Security Manager" and version " >= 15.0.0 < 15.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Edge Gateway Search vendor "F5" for product "Big-ip Edge Gateway" | >= 13.0.0 <= 13.1.1 Search vendor "F5" for product "Big-ip Edge Gateway" and version " >= 13.0.0 <= 13.1.1" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Edge Gateway Search vendor "F5" for product "Big-ip Edge Gateway" | >= 14.0.0 <= 14.1.0 Search vendor "F5" for product "Big-ip Edge Gateway" and version " >= 14.0.0 <= 14.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Edge Gateway Search vendor "F5" for product "Big-ip Edge Gateway" | >= 15.0.0 < 15.1.0 Search vendor "F5" for product "Big-ip Edge Gateway" and version " >= 15.0.0 < 15.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Fraud Protection Service Search vendor "F5" for product "Big-ip Fraud Protection Service" | >= 13.0.0 <= 13.1.1 Search vendor "F5" for product "Big-ip Fraud Protection Service" and version " >= 13.0.0 <= 13.1.1" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Fraud Protection Service Search vendor "F5" for product "Big-ip Fraud Protection Service" | >= 14.0.0 <= 14.1.0 Search vendor "F5" for product "Big-ip Fraud Protection Service" and version " >= 14.0.0 <= 14.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Fraud Protection Service Search vendor "F5" for product "Big-ip Fraud Protection Service" | >= 15.0.0 < 15.1.0 Search vendor "F5" for product "Big-ip Fraud Protection Service" and version " >= 15.0.0 < 15.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Global Traffic Manager Search vendor "F5" for product "Big-ip Global Traffic Manager" | >= 13.0.0 <= 13.1.1 Search vendor "F5" for product "Big-ip Global Traffic Manager" and version " >= 13.0.0 <= 13.1.1" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Global Traffic Manager Search vendor "F5" for product "Big-ip Global Traffic Manager" | >= 14.0.0 <= 14.1.0 Search vendor "F5" for product "Big-ip Global Traffic Manager" and version " >= 14.0.0 <= 14.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Global Traffic Manager Search vendor "F5" for product "Big-ip Global Traffic Manager" | >= 15.0.0 < 15.1.0 Search vendor "F5" for product "Big-ip Global Traffic Manager" and version " >= 15.0.0 < 15.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Link Controller Search vendor "F5" for product "Big-ip Link Controller" | >= 13.0.0 <= 13.1.1 Search vendor "F5" for product "Big-ip Link Controller" and version " >= 13.0.0 <= 13.1.1" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Link Controller Search vendor "F5" for product "Big-ip Link Controller" | >= 14.0.0 <= 14.1.0 Search vendor "F5" for product "Big-ip Link Controller" and version " >= 14.0.0 <= 14.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Link Controller Search vendor "F5" for product "Big-ip Link Controller" | >= 15.0.0 < 15.1.0 Search vendor "F5" for product "Big-ip Link Controller" and version " >= 15.0.0 < 15.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Local Traffic Manager Search vendor "F5" for product "Big-ip Local Traffic Manager" | >= 13.0.0 <= 13.1.1 Search vendor "F5" for product "Big-ip Local Traffic Manager" and version " >= 13.0.0 <= 13.1.1" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Local Traffic Manager Search vendor "F5" for product "Big-ip Local Traffic Manager" | >= 14.0.0 <= 14.1.0 Search vendor "F5" for product "Big-ip Local Traffic Manager" and version " >= 14.0.0 <= 14.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Local Traffic Manager Search vendor "F5" for product "Big-ip Local Traffic Manager" | >= 15.0.0 < 15.1.0 Search vendor "F5" for product "Big-ip Local Traffic Manager" and version " >= 15.0.0 < 15.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Policy Enforcement Manager Search vendor "F5" for product "Big-ip Policy Enforcement Manager" | >= 13.0.0 <= 13.1.1 Search vendor "F5" for product "Big-ip Policy Enforcement Manager" and version " >= 13.0.0 <= 13.1.1" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Policy Enforcement Manager Search vendor "F5" for product "Big-ip Policy Enforcement Manager" | >= 14.0.0 <= 14.1.0 Search vendor "F5" for product "Big-ip Policy Enforcement Manager" and version " >= 14.0.0 <= 14.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Policy Enforcement Manager Search vendor "F5" for product "Big-ip Policy Enforcement Manager" | >= 15.0.0 < 15.1.0 Search vendor "F5" for product "Big-ip Policy Enforcement Manager" and version " >= 15.0.0 < 15.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Webaccelerator Search vendor "F5" for product "Big-ip Webaccelerator" | >= 13.0.0 <= 13.1.1 Search vendor "F5" for product "Big-ip Webaccelerator" and version " >= 13.0.0 <= 13.1.1" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Webaccelerator Search vendor "F5" for product "Big-ip Webaccelerator" | >= 14.0.0 <= 14.1.0 Search vendor "F5" for product "Big-ip Webaccelerator" and version " >= 14.0.0 <= 14.1.0" | - |
Affected
| ||||||
F5 Search vendor "F5" | Big-ip Webaccelerator Search vendor "F5" for product "Big-ip Webaccelerator" | >= 15.0.0 < 15.1.0 Search vendor "F5" for product "Big-ip Webaccelerator" and version " >= 15.0.0 < 15.1.0" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Openshift Container Platform Search vendor "Redhat" for product "Openshift Container Platform" | 3.11 Search vendor "Redhat" for product "Openshift Container Platform" and version "3.11" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Search vendor "Redhat" for product "Enterprise Linux" | 7.0 Search vendor "Redhat" for product "Enterprise Linux" and version "7.0" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Desktop Search vendor "Redhat" for product "Enterprise Linux Desktop" | 7.0 Search vendor "Redhat" for product "Enterprise Linux Desktop" and version "7.0" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Eus Search vendor "Redhat" for product "Enterprise Linux Eus" | 7.5 Search vendor "Redhat" for product "Enterprise Linux Eus" and version "7.5" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Server Search vendor "Redhat" for product "Enterprise Linux Server" | 7.0 Search vendor "Redhat" for product "Enterprise Linux Server" and version "7.0" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Server Aus Search vendor "Redhat" for product "Enterprise Linux Server Aus" | 7.4 Search vendor "Redhat" for product "Enterprise Linux Server Aus" and version "7.4" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Server Aus Search vendor "Redhat" for product "Enterprise Linux Server Aus" | 7.6 Search vendor "Redhat" for product "Enterprise Linux Server Aus" and version "7.6" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Server Eus Search vendor "Redhat" for product "Enterprise Linux Server Eus" | 7.6 Search vendor "Redhat" for product "Enterprise Linux Server Eus" and version "7.6" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Server Tus Search vendor "Redhat" for product "Enterprise Linux Server Tus" | 7.4 Search vendor "Redhat" for product "Enterprise Linux Server Tus" and version "7.4" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Server Tus Search vendor "Redhat" for product "Enterprise Linux Server Tus" | 7.6 Search vendor "Redhat" for product "Enterprise Linux Server Tus" and version "7.6" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Workstation Search vendor "Redhat" for product "Enterprise Linux Workstation" | 7.0 Search vendor "Redhat" for product "Enterprise Linux Workstation" and version "7.0" | - |
Affected
|