PT-2022-5558 · Linux+5 · Linux+5
Oleksandr Tyshchenko
·
Published
2022-06-15
·
Updated
2023-08-14
·
CVE-2022-33744
CVSS v3.1
4.7
Medium
| Vector | AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
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.
Improper Resource Release
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Linux
Linuxmint
Ubuntu
Xen