CVE-2022-0216 Use after free in QEMU

Medium 4.4 Published Updated

A use-after-free in QEMU's LSI53C895A emulation allows a privileged guest user to crash the host process, causing denial of service.

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

What is CVE-2022-0216?

CVE-2022-0216 is a medium-severity use after free vulnerability in Fedoraproject Fedora, published on 26 Aug 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A use-after-free vulnerability was found in the LSI53C895A SCSI Host Bus Adapter emulation of QEMU. The flaw occurs while processing repeated messages to cancel the current SCSI request via the lsi_do_msgout function. This flaw allows a malicious privileged user within the guest to crash the QEMU process on the host, resulting in a denial of service.

Weakness: CWE-416

Which versions are affected by CVE-2022-0216?

It affects 2 products.

Products include Fedoraproject Fedora, Qemu Qemu.

How do I fix CVE-2022-0216?

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-0216 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-0216, GHSA-jr85-6g96-46pc, OESA-2022-1907, UBUNTU-CVE-2022-0216.

Is CVE-2022-0216 in your software?

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

Check your SBOMs for free