CVE-2021-20181
qemu: 9pfs: TOCTOU privilege escalation vulnerability
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · January 14, 2021
Updated · June 28, 2026
Description
A race condition flaw was found in the 9pfs server implementation of QEMU. This flaw allows a malicious 9p client to cause a use-after-free error, potentially escalating their privileges on the system. The highest threat from this vulnerability is to confidentiality, integrity as well as system availability.
Statement
This issue does not affect the versions of qemu-kvm as shipped with Red Hat products, as they do not include support for the virtio 9p backend.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.5CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
CWE-367 · Time-of-check Time-of-use (TOCTOU) Race Condition