CVE-2022-26356
Vulnerability Summary
Timeline
Description
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.6CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H
- v2.0•MEDIUM•Score: 4AV:L/AC:H/Au:N/C:N/I:N/A:C
EPSS Trends
Current EPSS score: 0.24%• Percentile: 16%
Techniques & Countermeasures
- CWE-667•Improper Locking
The product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors.
Affected Systems
- alpine•xen
≥ 4.0.0, < 4.13.4-r3 | ≥ 4.0.0, < 4.14.5-r0 | ≥ 4.0.0, < 4.15.2-r2 | ≥ 4.0.0, < 4.15.2-r2 | ≥ 4.0.0, < 4.16.1-r0 | ≥ 4.0.0, < 4.16.1-r0 | ≥ 4.0.0, < 4.16.1-r0 | ≥ 4.0.0, < 4.16.1-r0 | ≥ 4.0.0, < 4.16.1-r0 | ≥ 4.0.0, < 4.16.1-r0 | ≥ 4.0.0, < 4.16.1-r0 | ≥ 4.0.0, < 4.16.1-r0 | ≥ 4.0.0, < 4.16.1-r0
- debian•xen
< 4.14.4+74-gd7b22226b5-1 | < 4.16.1-1 | < 4.16.1-1 | < 4.16.1-1
- debian•debian_linux
11.0
- fedoraproject•fedora
34 | 35
- xen•xen
≥ 4.0.0, < 4.12.0 | ≥ 4.13.0, < 4.14.0 | ≥ 4.15.0, < 4.16.0
References (9)
- https://xenbits.xenproject.org/xsa/advisory-397.txt
- http://xenbits.xen.org/xsa/advisory-397.html
- http://www.openwall.com/lists/oss-security/2022/04/05/1
- https://www.debian.org/security/2022/dsa-5117
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UHFSRVLM2JUCPDC2KGB7ETPQYJLCGBLD/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6ETPM2OVZZ6KOS2L7QO7SIW6XWT5OW3F/
- https://security.gentoo.org/glsa/202402-07
- https://security-tracker.debian.org/tracker/CVE-2022-26356
- https://security.alpinelinux.org/vuln/CVE-2022-26356