# CVE-2022-26356: Racy interactions between dirty vram tracking and paging log dirty hypercalls Activation of log dirty mode done by XENDMOPtrackdirtyvram (w…

- Severity: Medium 5.6 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2022-04-05T00:00:00.000Z
- Modified: 2026-06-17T04:35:02.697Z
- Weaknesses: CWE-667
- Assigned by: XEN

## 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.

(As written by CVE List.)

## Affected

- Xen xen: consult Xen advisory XSA-397; from 4.0.0 before 4.12.0; from 4.13.0 before 4.14.0; from 4.15.0 before 4.16.0
- debian debian_linux: 11.0
- fedoraproject fedora: 34; 35

## Every score

- NVD: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.0 Medium `AV:L/AC:H/Au:N/C:N/I:N/A:C`

## References

- <https://xenbits.xenproject.org/xsa/advisory-397.txt> (third-party-advisory)
- <http://xenbits.xen.org/xsa/advisory-397.html> (patch, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2022/04/05/1> (mailing-list, patch, third-party-advisory)
- <https://www.debian.org/security/2022/dsa-5117> (third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UHFSRVLM2JUCPDC2KGB7ETPQYJLCGBLD/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6ETPM2OVZZ6KOS2L7QO7SIW6XWT5OW3F/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202402-07> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-26356](https://www.cve.org/CVERecord?id=CVE-2022-26356), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-26356](https://nvd.nist.gov/vuln/detail/CVE-2022-26356), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-26356 · Whole record: https://cve.day/CVE-2022-26356.json · Rebuilt by cve.day 2026-11-25T22:58:10.429Z
