cve.bz

CVE-2019-6974 Race Condition

8.1 highExploitEPSS 17%Fix available

High (8.1). EPSS 17% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
17% (unchanged from 17% a week ago; 17% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
CWE-416 Use After Free
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-6974 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-6974?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-6974?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-6974 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 3.10 before 3.16.64
linux:linux_kernelfrom 3.17 before 3.18.136
linux:linux_kernelfrom 3.19 before 4.4.176
linux:linux_kernelfrom 4.5 before 4.9.156
linux:linux_kernelfrom 4.10 before 4.14.99
linux:linux_kernelfrom 4.15 before 4.19.21
linux:linux_kernelfrom 4.20 before 4.20.8
debian:debian_linux8.0
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux18.10
f5:big-ip_access_policy_managerfrom 13.0.0 through 13.1.1
f5:big-ip_access_policy_managerfrom 14.0.0 through 14.1.0
f5:big-ip_access_policy_managerfrom 15.0.0 before 15.1.0
f5:big-ip_advanced_firewall_managerfrom 13.0.0 through 13.1.1
f5:big-ip_advanced_firewall_managerfrom 14.0.0 through 14.1.0
f5:big-ip_advanced_firewall_managerfrom 15.0.0 before 15.1.0
f5:big-ip_analyticsfrom 13.0.0 through 13.1.1
f5:big-ip_analyticsfrom 14.0.0 through 14.1.0
f5:big-ip_analyticsfrom 15.0.0 before 15.1.0
f5:big-ip_application_acceleration_managerfrom 13.0.0 through 13.1.1
f5:big-ip_application_acceleration_managerfrom 14.0.0 through 14.1.0
f5:big-ip_application_acceleration_managerfrom 15.0.0 before 15.1.0
f5:big-ip_application_security_managerfrom 13.0.0 through 13.1.1
f5:big-ip_application_security_managerfrom 14.0.0 through 14.1.0
f5:big-ip_application_security_managerfrom 15.0.0 before 15.1.0
f5:big-ip_edge_gatewayfrom 13.0.0 through 13.1.1
f5:big-ip_edge_gatewayfrom 14.0.0 through 14.1.0
f5:big-ip_edge_gatewayfrom 15.0.0 before 15.1.0
f5:big-ip_fraud_protection_servicefrom 13.0.0 through 13.1.1
f5:big-ip_fraud_protection_servicefrom 14.0.0 through 14.1.0
f5:big-ip_fraud_protection_servicefrom 15.0.0 before 15.1.0
f5:big-ip_global_traffic_managerfrom 13.0.0 through 13.1.1
f5:big-ip_global_traffic_managerfrom 14.0.0 through 14.1.0
f5:big-ip_global_traffic_managerfrom 15.0.0 before 15.1.0
f5:big-ip_link_controllerfrom 13.0.0 through 13.1.1
f5:big-ip_link_controllerfrom 14.0.0 through 14.1.0
f5:big-ip_link_controllerfrom 15.0.0 before 15.1.0
f5:big-ip_local_traffic_managerfrom 13.0.0 through 13.1.1
f5:big-ip_local_traffic_managerfrom 14.0.0 through 14.1.0
f5:big-ip_local_traffic_managerfrom 15.0.0 before 15.1.0
f5:big-ip_policy_enforcement_managerfrom 13.0.0 through 13.1.1
f5:big-ip_policy_enforcement_managerfrom 14.0.0 through 14.1.0
f5:big-ip_policy_enforcement_managerfrom 15.0.0 before 15.1.0
f5:big-ip_webacceleratorfrom 13.0.0 through 13.1.1
f5:big-ip_webacceleratorfrom 14.0.0 through 14.1.0
f5:big-ip_webacceleratorfrom 15.0.0 before 15.1.0
redhat:openshift_container_platform3.11
redhat:enterprise_linux7.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_eus7.5
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server_aus7.4
redhat:enterprise_linux_server_aus7.6
redhat:enterprise_linux_server_eus7.6
redhat:enterprise_linux_server_tus7.4
redhat:enterprise_linux_server_tus7.6
redhat:enterprise_linux_workstation7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8linux3.16.64-1DLA-1731-1
Debian8linux-4.94.9.168-1~deb8u1DLA-1771-1
Debian12, 13, 14linux4.19.20-1DEBIAN-CVE-2019-6974
Ubuntu14.04:LTSlinux3.13.0-168.218UBUNTU-CVE-2019-6974 USN-3933-1
Ubuntu14.04:LTSlinux-aws4.4.0-1040.43UBUNTU-CVE-2019-6974 USN-3932-2
Ubuntu14.04:LTSlinux-azure4.15.0-1041.45~14.04.1UBUNTU-CVE-2019-6974 USN-3931-2
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-144.170~14.04.1UBUNTU-CVE-2019-6974 USN-3932-2
Ubuntu16.04:LTSlinux4.4.0-145.171UBUNTU-CVE-2019-6974 USN-3932-1
Ubuntu16.04:LTSlinux-aws4.4.0-1079.89UBUNTU-CVE-2019-6974 USN-3932-1
Ubuntu16.04:LTSlinux-aws-hwe4.15.0-1035.37~16.04.1UBUNTU-CVE-2019-6974 USN-3931-2
Ubuntu16.04:LTSlinux-azure4.15.0-1041.45UBUNTU-CVE-2019-6974 USN-3931-2
Ubuntu16.04:LTSlinux-gcp4.15.0-1029.31~16.04.1UBUNTU-CVE-2019-6974 USN-3931-2
Ubuntu16.04:LTSlinux-hwe4.15.0-47.50~16.04.1UBUNTU-CVE-2019-6974 USN-3931-2
Ubuntu16.04:LTSlinux-kvm4.4.0-1043.49UBUNTU-CVE-2019-6974 USN-3932-1
Ubuntu16.04:LTSlinux-oracle4.15.0-1010.12~16.04.1UBUNTU-CVE-2019-6974 USN-3931-2
17 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationperf, kernel, bpftool and 16 more0:3.10.0-957.12.1.el7RHSA-2019:0818
Red Hatenterprise_linux:7::serverperf, kernel, bpftool and 23 more0:3.10.0-957.12.1.el7RHSA-2019:0818
Red Hatenterprise_linux:7::serverperf, kernel, kernel-alt and 17 more0:4.14.0-115.12.1.el7aRHSA-2019:2809
Red Hatrhel_aus:7.4::server, rhel_tus:7.4::serverperf, kernel, kernel-doc and 14 more0:3.10.0-693.62.1.el7RHSA-2020:0103
Red Hatrhel_e4s:7.4::serverperf, kernel, kernel-doc and 16 more0:3.10.0-693.62.1.el7RHSA-2020:0103
Red Hatrhel_eus:7.5::computenodeperf, kernel, kernel-doc and 15 more0:3.10.0-862.44.2.el7RHSA-2019:3967
Red Hatrhel_eus:7.5::serverperf, kernel, kernel-doc and 22 more0:3.10.0-862.44.2.el7RHSA-2019:3967
Red Hatrhel_extras_rt:7kernel-rt, kernel-rt-doc, kernel-rt-kvm and 14 more0:3.10.0-957.12.1.rt56.927.el7RHSA-2019:0833
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS and 2 morekernel-syms, kernel-source, kernel-default4.4.121-92.104.1SUSE-SU-2019:0828-1
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 morekgraft-patch-SLE12-SP2_Update_281-3.3.1SUSE-SU-2019:0828-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3kernel-syms, kernel-source, kernel-default4.4.175-94.79.1SUSE-SU-2019:0541-1
SUSELinux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP4, Linux Enterprise Server for SAP Applications 12 SP4kernel-syms, kernel-source, kernel-default4.12.14-95.13.1SUSE-SU-2019:0765-1
SUSELinux Enterprise High Availability Extension 12 SP2kernel-default4.4.121-92.104.1SUSE-SU-2019:0828-1
SUSELinux Enterprise High Availability Extension 12 SP3, Linux Enterprise Workstation Extension 12 SP3kernel-default4.4.175-94.79.1SUSE-SU-2019:0541-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Workstation Extension 12 SP4kernel-default4.12.14-95.13.1SUSE-SU-2019:0765-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15, Linux Enterprise Module for Legacy 15 and 1 morekernel-default4.12.14-150.14.2SUSE-SU-2019:0784-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_10, kgraft-patch-SLE12-SP3_Update_1111-2.1SUSE-SU-2019:0754-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_12, kgraft-patch-SLE12-SP3_Update_139-2.1SUSE-SU-2019:0754-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_14, kgraft-patch-SLE12-SP3_Update_157-2.1SUSE-SU-2019:0754-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_16, kgraft-patch-SLE12-SP3_Update_17, kgraft-patch-SLE12-SP3_Update_18 and 1 more5-2.1SUSE-SU-2019:0754-1
40 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.0kernel-source4.12.14-lp150.12.48.1openSUSE-SU-2019:0203-1
openSUSETumbleweedkernel-source5.14.6-1.4openSUSE-SU-2024:10728-1
openSUSETumbleweedkernel-source6.6.17-1.1openSUSE-SU-2024:13704-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue does not affect the version of the kernel package as shipped with Red Hat Enterprise Linux 5, 6 and Red Hat Enterprise MRG 2.

This issue affects the versions of Linux kernel as shipped with Red Hat Enterprise Linux 7. Future kernel updates for Red Hat Enterprise Linux 7 may address this issue.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-957.12.1.rt56.927.el7Fixed 2019-04-23RHSA-2019:0833
Red Hat Enterprise Linux 7kernel-0:3.10.0-957.12.1.el7Fixed 2019-04-23RHSA-2019:0818
Red Hat Enterprise Linux 7kernel-alt-0:4.14.0-115.12.1.el7aFixed 2019-09-20RHSA-2019:2809
Red Hat Enterprise Linux 7.4 Advanced Update Supportkernel-0:3.10.0-693.62.1.el7Fixed 2020-01-14RHSA-2020:0103
Red Hat Enterprise Linux 7.4 Telco Extended Update Supportkernel-0:3.10.0-693.62.1.el7Fixed 2020-01-14RHSA-2020:0103
Red Hat Enterprise Linux 7.4 Update Services for SAP Solutionskernel-0:3.10.0-693.62.1.el7Fixed 2020-01-14RHSA-2020:0103
Red Hat Enterprise Linux 7.5 Extended Update Supportkernel-0:3.10.0-862.44.2.el7Fixed 2019-11-26RHSA-2019:3967
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise MRG 2kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-6974.

Public exploits

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON