CVE-2021-47061

Host kernel code execution via stale I/O bus

Published Feb 29, 2024 · Updated Aug 5, 2026

Use-after-free in KVM in Linux 5.9 through 5.12.3 allows local users to execute code in the host kernel through KVM ioctls. In virt/kvm/kvm_main.c, a failed I/O-bus reallocation destroys registered devices before SRCU readers observe the replacement null bus, leaving readers to invoke freed device operations. Exploitation requires local access to /dev/kvm, VM creation, concurrent unregister and MMIO or PIO activity, and induced allocation failure; success can crash the host or execute code in its kernel.

CVSS severity7.8
High
EPSS probability0.24%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Use-after-free in KVM in Linux 5.9 through 5.12.3 allows local users to execute code in the host kernel through KVM ioctls. In virt/kvm/kvm_main.c, a failed I/O-bus reallocation destroys registered devices before SRCU readers observe the replacement null bus, leaving readers to invoke freed device operations. Exploitation requires local access to /dev/kvm, VM creation, concurrent unregister and MMIO or PIO activity, and induced allocation failure; success can crash the host or execute code in its kernel.

The record

CVE
CVE-2021-47061
Published
Feb 29, 2024
Updated
Aug 5, 2026
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
CWE-416, T1068
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Feb 29, 2024CVE publishedPublication date reported by the CVE source.
  2. Aug 5, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=19184bd06f488af62924ff1747614a8cb284ad63
  2. Affected versionversion=40a023f681befd9b2862a3c16fb306a38b359ae5
  3. Affected versionversion=4.14.200 <4.15
  4. Affected versionversion=4.19.148 <4.20
  5. Affected versionversion=41b2ea7a6a11e2b1a7f2c29e1675a709a6b2b98d
  6. Affected versionversion=4.4.238 <4.5
  7. Affected versionversion=4.9.238 <4.10
  8. Affected versionversion=5.4.66 <5.5
  9. Affected versionversion=5.8.10 <5.9
  10. Affected versionversion=5.9
  11. Affected versionversion=68c125324b5e1d1d22805653735442923d896a1d
  12. Affected versionversion=840e124f89a5127e7eb97ebf377f4b8ca745c070
  13. Affected versionversion=f0dfffce3f4ffd5f822568a4a6fb34c010e939d1
  14. Affected versionversion=f65886606c2d3b562716de030706dfe1bea4ed5e <03c6cccedd3913006744faa252a4da5145299343
  15. Affected versionversion=f65886606c2d3b562716de030706dfe1bea4ed5e <2ee3757424be7c1cd1d0bbfa6db29a7edd82a250
  16. Affected versionversion=f65886606c2d3b562716de030706dfe1bea4ed5e <30f46c6993731efb2a690c9197c0fd9ed425da2d
  17. Affected versionversion=f65886606c2d3b562716de030706dfe1bea4ed5e <4e899ca848636b37e9ac124bc1723862a7d7d927

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=19184bd06f488af62924ff1747614a8cb284ad63; version=40a023f681befd9b2862a3c16fb306a38b359ae5; version=4.14.200 <4.15; version=4.19.148 <4.20; version=41b2ea7a6a11e2b1a7f2c29e1675a709a6b2b98d; version=4.4.238 <4.5; version=4.9.238 <4.10; version=5.4.66 <5.5; version=5.8.10 <5.9; version=5.9; version=68c125324b5e1d1d22805653735442923d896a1d; version=840e124f89a5127e7eb97ebf377f4b8ca745c070; version=f0dfffce3f4ffd5f822568a4a6fb34c010e939d1; version=f65886606c2d3b562716de030706dfe1bea4ed5e <03c6cccedd3913006744faa252a4da5145299343; version=f65886606c2d3b562716de030706dfe1bea4ed5e <2ee3757424be7c1cd1d0bbfa6db29a7edd82a250; version=f65886606c2d3b562716de030706dfe1bea4ed5e <30f46c6993731efb2a690c9197c0fd9ed425da2d; version=f65886606c2d3b562716de030706dfe1bea4ed5e <4e899ca848636b37e9ac124bc1723862a7d7d927

Published CVSS scores

7.8NIST NVDCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
7.8Linux kernel security teamCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-416Use After Free
T1068Exploitation for Privilege Escalation

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo