CVE-2021-47061

high

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.

References

https://git.kernel.org/stable/c/4e899ca848636b37e9ac124bc1723862a7d7d927

https://git.kernel.org/stable/c/30f46c6993731efb2a690c9197c0fd9ed425da2d

https://git.kernel.org/stable/c/2ee3757424be7c1cd1d0bbfa6db29a7edd82a250

https://git.kernel.org/stable/c/03c6cccedd3913006744faa252a4da5145299343

Details

Source: Mitre, NVD

Published: 2024-02-29

Updated: 2024-12-10

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High