PT-2023-14102 · Xen+1 · Xen+1

Jan Beulich

·

Published

2023-03-21

·

Updated

2024-06-15

·

CVE-2022-42332

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Xen (affected versions not specified)
Description The issue arises in environments where host-assisted address translation is necessary but Hardware Assisted Paging (HAP) is unavailable, causing Xen to run guests in shadow mode. Shadow mode maintains a pool of memory for shadow page tables and auxiliary data structures. When migrating or snapshotting guests, Xen also runs them in log-dirty mode, which requires additional data structures. However, the demands of the log-dirty infrastructure were not considered, leading to a situation where newly established shadow page tables could be freed immediately, while other code is still accessing them. This results in a use-after-free scenario.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-42332
DSA-5378-1
OPENSUSE-SU-2024:12833-1
SUSE-SU-2023:0845-1
SUSE-SU-2023:0846-1
SUSE-SU-2023:0847-1
SUSE-SU-2023:0848-1
SUSE-SU-2023:0848-2
SUSE-SU-2023:0858-1
SUSE-SU-2023:0859-1
SUSE-SU-2023:0862-1

Affected Products

Suse
Xen