CVE-2022-26356
MEDIUMXen 4.0.0-4.11.x - Memory Leak via Racy Dirty VRAM Tracking and Paging Log Dirty Hypercalls
Title source: llmDescription
Racy interactions between dirty vram tracking and paging log dirty hypercalls Activation of log dirty mode done by XEN_DMOP_track_dirty_vram (was named HVMOP_track_dirty_vram before Xen 4.9) is racy with ongoing log dirty hypercalls. A suitably timed call to XEN_DMOP_track_dirty_vram can enable log dirty while another CPU is still in the process of tearing down the structures related to a previously enabled log dirty mode (XEN_DOMCTL_SHADOW_OP_OFF). This is due to lack of mutually exclusive locking between both operations and can lead to entries being added in already freed slots, resulting in a memory leak.
References (7)
Core 7
Core References
Mailing List, Patch, Third Party Advisory mailing-list
http://www.openwall.com/lists/oss-security/2022/04/05/1
Third Party Advisory vendor-advisory
https://www.debian.org/security/2022/dsa-5117
Mailing List, Third Party Advisory vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UHFSRVLM2JUCPDC2KGB7ETPQYJLCGBLD/
Mailing List, Third Party Advisory vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6ETPM2OVZZ6KOS2L7QO7SIW6XWT5OW3F/
Third Party Advisory vendor-advisory
https://security.gentoo.org/glsa/202402-07
Patch, Third Party Advisory
http://xenbits.xen.org/xsa/advisory-397.html
Third Party Advisory
https://xenbits.xenproject.org/xsa/advisory-397.txt
Scores
CVSS v3
5.6
EPSS
0.0005
EPSS Percentile
15.1%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H
Details
CWE
CWE-667
Status
published
Products (4)
debian/debian_linux
11.0
fedoraproject/fedora
34
fedoraproject/fedora
35
xen/xen
4.0.0 - 4.12.0
Published
Apr 05, 2022
Tracked Since
Feb 18, 2026