CVE-2019-6974

high

Description

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.

References

https://github.com/torvalds/linux/commit/cfa39381173d5f969daf43582c95ad679189cbc9

https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.156

https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.20.8

https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.21

https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.99

https://bugs.chromium.org/p/project-zero/issues/detail?id=1765

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cfa39381173d5f969daf43582c95ad679189cbc9

https://www.exploit-db.com/exploits/46388/

http://www.securityfocus.com/bid/107127

https://lists.debian.org/debian-lts-announce/2019/03/msg00034.html

https://lists.debian.org/debian-lts-announce/2019/04/msg00004.html

https://usn.ubuntu.com/3933-2/

https://usn.ubuntu.com/3932-2/

https://usn.ubuntu.com/3932-1/

https://usn.ubuntu.com/3931-2/

https://usn.ubuntu.com/3931-1/

https://usn.ubuntu.com/3930-2/

https://usn.ubuntu.com/3930-1/

https://usn.ubuntu.com/3933-1/

https://support.f5.com/csp/article/K11186236

https://access.redhat.com/errata/RHSA-2019:0833

https://access.redhat.com/errata/RHSA-2019:0818

https://lists.debian.org/debian-lts-announce/2019/05/msg00002.html

https://access.redhat.com/errata/RHBA-2019:0959

https://access.redhat.com/errata/RHSA-2019:2809

https://support.f5.com/csp/article/K11186236?utm_source=f5support&utm_medium=RSS

https://access.redhat.com/errata/RHSA-2019:3967

https://access.redhat.com/errata/RHSA-2020:0103

Details

Source: MITRE

Published: 2019-02-15

Updated: 2022-04-05

Type: CWE-362

Risk Information

CVSS v2

Base Score: 6.8

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 8.6

Severity: MEDIUM

CVSS v3

Base Score: 8.1

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 2.2

Severity: HIGH