CVE-2022-0216: Use After Free

Published Jan 4, 2022
·
Updated

A use after free issue was found in the hw/scsi/lsi53c895a.c specifically in lsidomsgout function. lsidomsgout function is used to receive message from the OS, and do something based on that message. In this case, one message only has one-byte size.

Other sources

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

Launchpad

Affected Software

4 affected componentsFixes available
Qemu Qemu<6.0.0
Fedoraproject Fedora=37
debian/qemu<=1:5.2+dfsg-11+deb11u2
1:5.2+dfsg-11+deb11u31:7.2+dfsg-7+deb12u121:10.0.0~rc2+ds-21:10.0.0~rc3+ds-2
Microsoft cm1 qemu-kvm 4.2.0-48

Event History

Jan 4, 2022
Data Sourced
via Red Hat·01:59 PM
DescriptionSeverityAffected Software
Aug 26, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Jan 12, 2024
Data Sourced
via Launchpad·12:02 AM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:48 AM
RemedyDescriptionSeverityAffected Software
Oct 1, 2025
Data Sourced
via Microsoft·11:11 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·11:11 PM
Affected Software
Updated
via Microsoft·11:11 PM
DescriptionSeverity

Frequently Asked Questions

1

What is CVE-2022-0216?

CVE-2022-0216 is a use-after-free vulnerability found in the LSI53C895A SCSI Host Bus Adapter emulation of QEMU.

2

How does the vulnerability occur?

The vulnerability occurs while processing repeated messages to cancel the current SCSI request via the lsi_do_msgout function.

3

How can a malicious user exploit this vulnerability?

A malicious privileged user within the guest can exploit this vulnerability to crash the QEMU process.

4

What is the severity of CVE-2022-0216?

The severity of CVE-2022-0216 is medium, with a severity value of 4.4.

5

How can I fix the vulnerability?

To fix the vulnerability, update the affected software to the recommended versions: 1:2.11+dfsg-1ubuntu7.41, 1:4.2-3ubuntu6.24, 1:7.0+dfsg-7ubuntu2.1, 2.0.0+dfsg-2ubuntu1.47+, 1:2.5+dfsg-5ubuntu10.51+, 1:6.2+dfsg-2ubuntu6.6 for Ubuntu and 1:3.1+dfsg-8+deb10u11, 1:5.2+dfsg-11+deb11u3, 1:7.2+dfsg-7+deb12u2, 1:8.1.2+ds-1 for Debian.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203