CVEvulnerability
CVE-2021-47061
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2024-02-29
- Last modified
- 2026-08-04
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-416
Description
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 configurations
• linux linux kernel (>= 5.9 < 5.10.37)
• linux linux kernel (>= 5.11 < 5.11.21)
• linux linux kernel (>= 5.12 < 5.12.4)
Related
Weakness · CWE (1)
- CWE-416 Use After Free weakness
References
- https://git.kernel.org/stable/c/03c6cccedd3913006744faa252a4da5145299343 Patch
- https://git.kernel.org/stable/c/2ee3757424be7c1cd1d0bbfa6db29a7edd82a250 Patch
- https://git.kernel.org/stable/c/30f46c6993731efb2a690c9197c0fd9ed425da2d Patch
- https://git.kernel.org/stable/c/4e899ca848636b37e9ac124bc1723862a7d7d927 Patch
- https://git.kernel.org/stable/c/03c6cccedd3913006744faa252a4da5145299343 Patch
- https://git.kernel.org/stable/c/2ee3757424be7c1cd1d0bbfa6db29a7edd82a250 Patch
- https://git.kernel.org/stable/c/30f46c6993731efb2a690c9197c0fd9ed425da2d Patch
- https://git.kernel.org/stable/c/4e899ca848636b37e9ac124bc1723862a7d7d927 Patch