qemu: CVE-2022-4172: erst: undefined-behavior in memcpy in write_erst_record

Related Vulnerabilities: CVE-2022-4172  

Debian Bug report logs - #1025123
qemu: CVE-2022-4172: erst: undefined-behavior in memcpy in write_erst_record

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Tue, 29 Nov 2022 21:09:12 UTC

Severity: important

Tags: security, upstream

Found in version qemu/1:7.1+dfsg-2

Forwarded to https://gitlab.com/qemu-project/qemu/-/issues/1268

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>:
Bug#1025123; Package src:qemu. (Tue, 29 Nov 2022 21:09:14 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>. (Tue, 29 Nov 2022 21:09:14 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: qemu: CVE-2022-4172: erst: undefined-behavior in memcpy in write_erst_record
Date: Tue, 29 Nov 2022 22:07:24 +0100
Source: qemu
Version: 1:7.1+dfsg-2
Severity: important
Tags: security upstream
Forwarded: https://gitlab.com/qemu-project/qemu/-/issues/1268
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerability was published for qemu.

CVE-2022-4172[0]:
| An integer overflow and buffer overflow issues were found in the ACPI
| Error Record Serialization Table (ERST) device of QEMU in the
| read_erst_record() and write_erst_record() 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2022-4172
    https://www.cve.org/CVERecord?id=CVE-2022-4172
[1] https://gitlab.com/qemu-project/qemu/-/issues/1268
[2] https://gitlab.com/qemu-project/qemu/-/commit/defb70980f6bed36100b74e84220f1764c0dd544 

Regards,
Salvatore



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Nov 30 07:18:33 2022; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.