CVE-2022-23035 Use after free in xen

Medium 4.6 Published Updated

A use-after-free vulnerability in Xen's IRQ cleanup allows attackers to potentially execute code or escalate privileges.

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

What is CVE-2022-23035?

CVE-2022-23035 is a medium-severity use after free vulnerability in Debian Debian Linux, published on 25 Jan 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Insufficient cleanup of passed-through device IRQs The management of IRQs associated with physical devices exposed to x86 HVM guests involves an iterative operation in particular when cleaning up after the guest's use of the device. In the case where an interrupt is not quiescent yet at the time this cleanup gets invoked, the cleanup attempt may be scheduled to be retried. When multiple interrupts are involved, this scheduling of a retry may get erroneously skipped. At the same time pointers may get cleared (resulting in a de-reference of NULL) and freed (resulting in a use-after-free), while other code would continue to assume them to be valid.

Weakness: CWE-459

Which versions are affected by CVE-2022-23035?

It affects 3 products.

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

How do I fix CVE-2022-23035?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-23035 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2022-23035, DEBIAN-CVE-2022-23035, GHSA-5x5q-fcw5-7frv, UBUNTU-CVE-2022-23035.

Is CVE-2022-23035 in your software?

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

Check your SBOMs for free