CVE-2021-47061

published 29 Feb 2024 · updated 5 Aug 2026

KVM: Destroy I/O bus devices on unregister failure _after_ sync'ing SRCU

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4.15, Kernel 4.20, Kernel 4.5 and 7 more.

In the Linux kernel, the following vulnerability has been resolved: KVM: Destroy I/O bus devices on unregister failure _after_ sync'ing SRCU If allocating a new instance of an I/O bus fails when unregistering a device, wait to destroy the device until after all readers are guaranteed to see the new null bus. Destroying devices before the bus is nullified could lead to use-after-free since readers expect the devices on their reference of the bus to remain valid.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=19184bd06f488af62924ff1747614a8cb284ad63, =40a023f681befd9b2862a3c16fb306a38b359ae5, =41b2ea7a6a11e2b1a7f2c29e1675a709a6b2b98d, =5.9, =68c125324b5e1d1d22805653735442923d896a1d, =840e124f89a5127e7eb97ebf377f4b8ca745c070, =f0dfffce3f4ffd5f822568a4a6fb34c010e939d1, >=4.14.200 <4.15, >=4.19.148 <4.20, >=4.4.238 <4.5, >=4.9.238 <4.10, >=5.4.66 <5.5, >=5.8.10 <5.9, >=f65886606c2d3b562716de030706dfe1bea4ed5e <03c6cccedd3913006744faa252a4da5145299343, >=f65886606c2d3b562716de030706dfe1bea4ed5e <2ee3757424be7c1cd1d0bbfa6db29a7edd82a250, >=f65886606c2d3b562716de030706dfe1bea4ed5e <30f46c6993731efb2a690c9197c0fd9ed425da2d, >=f65886606c2d3b562716de030706dfe1bea4ed5e <4e899ca848636b37e9ac124bc1723862a7d7d9274.15, 4.20, 4.5, 4.10, 5.5, 5.9, 03c6cccedd3913006744faa252a4da5145299343, 2ee3757424be7c1cd1d0bbfa6db29a7edd82a250, 30f46c6993731efb2a690c9197c0fd9ed425da2d, 4e899ca848636b37e9ac124bc1723862a7d7d927

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47061 severity on Zeptric[![CVE-2021-47061](https://zeptric.io/badge/cve/CVE-2021-47061.svg)](https://zeptric.io/cve/CVE-2021-47061)