Linux · Linux · CVE-2022-33744
**Name of the Vulnerable Software and Affected Versions**
Linux (affected versions not specified)
Xen (affected versions not specified)
**Description**
The issue is related to errors in resource release and a potential Denial of Service (DoS) in dom0 caused by Arm guests via PV devices. When mapping pages of guests on Arm, dom0 uses an rbtree to keep track of foreign mappings. However, updating this rbtree is not always done completely with the related lock held, resulting in a small race window. This race window can be exploited by unprivileged guests to cause inconsistencies in the rbtree, leading to crashes or the inability to perform further mappings of other guests' memory pages.
**Recommendations**
For Linux, at the moment, there is no information about a newer version that contains a fix for this vulnerability.
For Xen, consider restricting access to PV devices for unprivileged guests to minimize the risk of exploitation until a patch is available. As a temporary workaround, consider implementing additional locking mechanisms to prevent inconsistencies in the rbtree.