Vulnerability · Published Apr 5, 2022 · Assigned by XEN
CVE-2022-26356
Medium 5.6
In plain English
A medium-severity security flaw in xen from Xen. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | xen | 4.16.1-r0 | ALPINE-CVE-2022-26356 |
| Alpine:v3.21 | xen | 4.16.1-r0 | ALPINE-CVE-2022-26356 |
| Alpine:v3.22 | xen | 4.16.1-r0 | ALPINE-CVE-2022-26356 |
| Alpine:v3.23 | xen | 4.16.1-r0 | ALPINE-CVE-2022-26356 |
| Alpine:v3.24 | xen | 4.16.1-r0 | ALPINE-CVE-2022-26356 |
| Debian:12 | xen | 4.16.1-1 | DEBIAN-CVE-2022-26356 |
| Debian:13 | xen | 4.16.1-1 | DEBIAN-CVE-2022-26356 |
| Debian:14 | xen | 4.16.1-1 | DEBIAN-CVE-2022-26356 |
| Ubuntu:22.04:LTS | xen | no fix listed | UBUNTU-CVE-2022-26356 |
| Ubuntu:24.04:LTS | xen | no fix listed | UBUNTU-CVE-2022-26356 |
| Ubuntu:25.10 | xen | no fix listed | UBUNTU-CVE-2022-26356 |
| Ubuntu:26.04:LTS | xen | no fix listed | UBUNTU-CVE-2022-26356 |
| Ubuntu:26.10 | xen | no fix listed | UBUNTU-CVE-2022-26356 |
Affected products (as reported)
References
- https://xenbits.xenproject.org/xsa/advisory-397.txt
- http://xenbits.xen.org/xsa/advisory-397.html
- [oss-security] 20220405 Xen Security Advisory 397 v2 (CVE-2022-26356) - Racy interactions between dirty vram tracking and paging log dirty hypercalls mailing-list
- DSA-5117 vendor-advisory
- FEDORA-2022-dfbf7e2372 vendor-advisory
- FEDORA-2022-64b2c02d29 vendor-advisory
- GLSA-202402-07 vendor-advisory