CVE-2022-26356 Race condition in xen

Medium 5.6 Published Updated

A race condition in Xen's dirty VRAM tracking allows memory leaks, potentially leading to denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-26356?

CVE-2022-26356 is a medium-severity vulnerability in Debian Debian Linux, published on 5 Apr 2022. It can only be exploited from the same machine or local network, with no action from the victim.

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.

Weakness: CWE-667

Which versions are affected by CVE-2022-26356?

It affects 3 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Xen Xen.

How do I fix CVE-2022-26356?

Apply the vendor's patch.

Is CVE-2022-26356 being exploited?

There is no known exploitation of CVE-2022-26356 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2022-26356, DEBIAN-CVE-2022-26356, GHSA-wqf3-h5g7-w9q8, UBUNTU-CVE-2022-26356.

Is CVE-2022-26356 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free