CVE-2021-47061
published 2024-02-29CVE-2021-47061: 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…
PriorityP339high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.24%
15.3th percentile
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
25 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.10.38-1 (bookworm) | linux 5.10.38-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | — | — |
| linux | linux | — | — |
| linux | linux | — | — |
| linux | linux | — | — |
| linux | linux | — | — |
| linux | linux | — | — |
| linux | linux | >= 4.14.200 < 4.15 | 4.15 |
| linux | linux | >= 4.19.148 < 4.20 | 4.20 |
| linux | linux | >= 4.4.238 < 4.5 | 4.5 |
| linux | linux | >= 4.9.238 < 4.10 | 4.10 |
| linux | linux | >= 5.4.66 < 5.5 | 5.5 |
| linux | linux | >= 5.8.10 < 5.9 | 5.9 |
| linux | linux | >= f65886606c2d3b562716de030706dfe1bea4ed5e < 03c6cccedd3913006744faa252a4da5145299343 | 03c6cccedd3913006744faa252a4da5145299343 |
| linux | linux | >= f65886606c2d3b562716de030706dfe1bea4ed5e < 4e899ca848636b37e9ac124bc1723862a7d7d927 | 4e899ca848636b37e9ac124bc1723862a7d7d927 |
| linux | linux | >= f65886606c2d3b562716de030706dfe1bea4ed5e < 30f46c6993731efb2a690c9197c0fd9ed425da2d | 30f46c6993731efb2a690c9197c0fd9ed425da2d |
| linux | linux | >= f65886606c2d3b562716de030706dfe1bea4ed5e < 2ee3757424be7c1cd1d0bbfa6db29a7edd82a250 | 2ee3757424be7c1cd1d0bbfa6db29a7edd82a250 |
| linux | linux_kernel | >= 0 < 5.10.38-1 | 5.10.38-1 |
| linux | linux_kernel | >= 0 < 5.10.38-1 | 5.10.38-1 |
| linux | linux_kernel | >= 0 < 5.10.38-1 | 5.10.38-1 |
| linux | linux_kernel | >= 0 < 5.10.38-1 | 5.10.38-1 |
| linux | linux_kernel | >= 5.11 < 5.11.21 | 5.11.21 |
| linux | linux_kernel | >= 5.12 < 5.12.4 | 5.12.4 |
| linux | linux_kernel | >= 5.9 < 5.10.37 | 5.10.37 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-wpx2-5m9q-j3g7: In the Linux kernel, the following vulnerability has been resolved:
KVM: Destroy I/O bus devices on unregister failure _after_ sync'ing SRCU
If allo
ghsa_unreviewed·2024-03-01
CVE-2021-47061 [HIGH] CWE-416 GHSA-wpx2-5m9q-j3g7: In the Linux kernel, the following vulnerability has been resolved:
KVM: Destroy I/O bus devices on unregister failure _after_ sync'ing SRCU
If allo
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.
OSV
CVE-2021-47061: In the Linux kernel, the following vulnerability has been resolved: KVM: Destroy I/O bus devices on unregister failure _after_ sync'ing SRCU If alloca
osv·2024-02-29·CVSS 7.8
CVE-2021-47061 [HIGH] CVE-2021-47061: In the Linux kernel, the following vulnerability has been resolved: KVM: Destroy I/O bus devices on unregister failure _after_ sync'ing SRCU If alloca
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.
Red Hat
kernel: KVM: use-after-free while destroy I/O bus devices on unregister failure
vendor_redhat·2024-02-29·CVSS 7.8
CVE-2021-47061 [HIGH] CWE-416 kernel: KVM: use-after-free while destroy I/O bus devices on unregister failure
kernel: KVM: use-after-free while destroy I/O bus devices on unregister failure
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.
A flaw was found in the Linux kernel’s Kernel-based virtual machine (KVM) subsystem. A bug in the code destroys devices attached to I/O buses before the bus can be nullified. This issue causes use-after-free scenarios as readers may still reference the
Debian
CVE-2021-47061: linux - In the Linux kernel, the following vulnerability has been resolved: KVM: Destro...
vendor_debian·2021·CVSS 7.8
CVE-2021-47061 [HIGH] CVE-2021-47061: linux - In the Linux kernel, the following vulnerability has been resolved: KVM: Destro...
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.
Scope: local
bookworm: resolved (fixed in 5.10.38-1)
bullseye: resolved (fixed in 5.10.38-1)
forky: resolved (fixed in 5.10.38-1)
sid: resolved (fixed in 5.10.38-1)
trixie: resolved (fixed in 5.10.38-1)
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/03c6cccedd3913006744faa252a4da5145299343https://git.kernel.org/stable/c/2ee3757424be7c1cd1d0bbfa6db29a7edd82a250https://git.kernel.org/stable/c/30f46c6993731efb2a690c9197c0fd9ed425da2dhttps://git.kernel.org/stable/c/4e899ca848636b37e9ac124bc1723862a7d7d927https://git.kernel.org/stable/c/03c6cccedd3913006744faa252a4da5145299343https://git.kernel.org/stable/c/2ee3757424be7c1cd1d0bbfa6db29a7edd82a250https://git.kernel.org/stable/c/30f46c6993731efb2a690c9197c0fd9ed425da2dhttps://git.kernel.org/stable/c/4e899ca848636b37e9ac124bc1723862a7d7d927
2024-02-29
Published