CVE-2022-4172: Buffer Overflow

Published Nov 28, 2022
·
Updated

An integer overflow and buffer overflow issues were found in the ACPI Error Record Serialization Table (ERST) device of QEMU in the readerstrecord() and writeerstrecord() functions. Both issues may allow the guest to overrun the host buffer allocated for the ERST memory device. A malicious guest could use these flaws to crash the QEMU process on the host.

Other sources

Memory corruption issues (integer overflow and buffer overflow) were found in the ACPI ERST device of QEMU in the readerstrecord() and writeerstrecord() functions. For more information about ACPI ERST, see https://www.qemu.org/docs/master/specs/acpierst.html. Both issues may allow the guest to overrun the host buffer allocated for the ERST memory device. A malicious guest could use these flaws to crash the QEMU process on the host. Arbitrary code execution was deemed unlikely.

Upstream patch: https://lore.kernel.org/qemu-devel/20221019191522.1004804-1-lk@c--e.de/ [v1] https://lore.kernel.org/qemu-devel/20221024154233.1043347-1-lk@c--e.de/ [v2]

Upstream issue & commit: https://gitlab.com/qemu-project/qemu/-/issues/1268 https://gitlab.com/qemu-project/qemu/-/commit/defb7098

Red Hat

Affected Software

3 affected componentsFixes available
redhat/qemu-kvm<7.2.0
7.2.0
Qemu Qemu=7.0.0
Fedoraproject Fedora=37

Event History

Nov 29, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-4172?

CVE-2022-4172 is a vulnerability found in the ACPI Error Record Serialization Table (ERST) device of QEMU that allows a malicious guest to overrun the host buffer allocated for the ERST memory device.

2

What is the severity of CVE-2022-4172?

The severity of CVE-2022-4172 is medium, with a severity value of 6.5.

3

How does CVE-2022-4172 affect QEMU?

CVE-2022-4172 affects the ACPI Error Record Serialization Table (ERST) device of QEMU in the read_erst_record() and write_erst_record() functions.

4

Which versions of QEMU are affected by CVE-2022-4172?

QEMU versions up to but exclusive of 7.2.0 are affected by CVE-2022-4172.

5

Is there a remedy for CVE-2022-4172?

Yes, upgrading to QEMU 7.2.0 or later will fix the vulnerability.

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