Host emulator crash via repeated SCSI cancels
Published Aug 26, 2022 · Updated Aug 2, 2024
Use-after-free in QEMU allows guest OS users to crash the host emulator through repeated LSI SCSI request cancellations. In lsi_do_msgout, cancelling a request frees s->current while the local current_req pointer remains reusable, so a second cancel dereferences freed memory. Exploitation requires the emulated LSI53C810 controller and high privileges inside the guest; the demonstrated outcome is termination of the QEMU host process, not code execution.
Summary
What happened
Use-after-free in QEMU allows guest OS users to crash the host emulator through repeated LSI SCSI request cancellations. In lsi_do_msgout, cancelling a request frees s->current while the local current_req pointer remains reusable, so a second cancel dereferences freed memory. Exploitation requires the emulated LSI53C810 controller and high privileges inside the guest; the demonstrated outcome is termination of the QEMU host process, not code execution.
The record
- CVE
- CVE-2022-0216
- Published
- Aug 26, 2022
- Updated
- Aug 2, 2024
- Vendor
- QEMU Project
- Product
- QEMU
- Classifications
- CWE-416, T1499.004
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Aug 26, 2022CVE publishedPublication date reported by the CVE source.
- Aug 2, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=Affects QEMU < v6.0.0, Fixed in v7.1.0-rc0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- STAR Labs LSI SCSI crash proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo