CVE-2022-0216 json
A use-after-free vulnerability was found in the LSI53C895A SCSI Host Bus Adapter emulation of QEMU.
published 2022-08-26 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-15418
- cvss
- 4.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 37%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- qemu qemu 6.0.0
- qemu Debian 14, Debian 13, Debian 12 1:7.1+dfsg-1
debian advisories DEBIAN-CVE-2022-0216
- qemu Ubuntu 18.04 LTS 1:2.11+dfsg-1ubuntu7.41
- qemu Ubuntu 20.04 LTS 1:4.2-3ubuntu6.24
- qemu Ubuntu 22.04 LTS 1:6.2+dfsg-2ubuntu6.6
- qemu Ubuntu Pro 14.04 LTS 2.0.0+dfsg-2ubuntu1.47+esm2
- qemu Ubuntu Pro 16.04 LTS 1:2.5+dfsg-5ubuntu10.51+esm1
ubuntu advisories UBUNTU-CVE-2022-0216
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- qemu SLES for SAP 12 SP5, SLES 12 SP5 3.1.1.1-72.1
- qemu SLES 12 SP2-BCL 2.6.2-41.76.1
- qemu SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Real Time 15 SP3 +7 more 5.2.0-150300.121.2
- qemu SLES for SAP 12 SP5, SLES 12 SP5 3.1.1.1-66.1
- qemu SLE Module for Server Applications 15 SP4, SLE Module for Basesystem 15 SP4, SLE Micro 5.3 +1 more 6.2.0-150400.37.8.2
- qemu-testsuite openSUSE Leap 15.4 6.2.0-150400.37.8.4
- qemu-linux-user openSUSE Leap 15.4 6.2.0-150400.37.8.1
- qemu SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLES 15 SP1-BCL +4 more 3.1.1.1-150100.80.43.2
suse advisories SUSE-SU-2024:1395-1SUSE-SU-2023:2358-1SUSE-SU-2023:0840-1SUSE-SU-2023:0761-1SUSE-SU-2022:3795-1SUSE-SU-2022:3768-1
- qemu openSUSE Tumbleweed 7.0.0-53.1
opensuse advisories openSUSE-SU-2024:12209-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-0216 updated cvss 5.3
QEMU: use-after-free in lsi_do_msgout function in hw/scsi/lsi53c895a.c
-
Red Hat Enterprise Linux 6 qemu-img, qemu-kvm, qemu-kvm-tools, qemu-guest-agent, qemu-guest-agent-win32 Red Hat Enterprise Linux 7 qemu-img, qemu-kvm, libcacard, qemu-img-ma, qemu-kvm-ma, qemu-kvm-tools, +5 more Red Hat Enterprise Linux 8 qemu-img, qemu-kvm, qemu-kvm-core, qemu-kvm-tests, qemu-kvm-common, qemu-guest-agent, +8 more Red Hat Enterprise Linux 8 Advanced Virtualization qemu-img, qemu-kvm, qemu-kiwi, qemu-kvm-core, qemu-kvm-tests, qemu-kvm-common, +9 more Red Hat Enterprise Linux 9 qemu-img, qemu-kvm, qemu-kvm-core, qemu-kvm-tools, qemu-pr-helper, qemu-kvm-common, +16 more Red Hat OpenStack Platform 10 (Newton) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhevnot affected: vulnerable code not present
+1 more productsfewer
Red Hat OpenStack Platform 13 (Queens) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhev
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- starlabs.sg https://starlabs.sg/advisories/22/22-0216/ referenced PoC, tagged "exploit" by a source, unverified
- gitlab.com https://gitlab.com/qemu-project/qemu/-/issues/972 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 4.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
Affected products
- n/a QEMU
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
gitlab.com
/qemu-project/qemu/-/commit/4367a20cc4
patch, third-party-advisory
-
starlabs.sg
/advisories/22/22-0216/
exploit, third-party-advisory
-
gitlab.com
/qemu-project/qemu/-/issues/972
exploit, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/ZTY7TVHX62OJWF6IOBCIGLR2N5K4QN3E/
vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2036953
issue-tracking, third-party-advisory
-
access.redhat.com
/security/cve/CVE-2022-0216
third-party-advisory
Sources
- CVE List CVE-2022-0216
- NVD CVE-2022-0216
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.