Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883693 (CVE-2022-4144, CVE-2022-4172) - <app-emulation/qemu-7.2.0_rc3: multiple vulnerabilities
Summary: <app-emulation/qemu-7.2.0_rc3: multiple vulnerabilities
Status: CONFIRMED
Alias: CVE-2022-4144, CVE-2022-4172
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://gitlab.com/qemu-project/qemu/...
Whiteboard: B3 [stable]
Keywords:
Depends on: 889974
Blocks:
  Show dependency tree
 
Reported: 2022-11-30 00:54 UTC by John Helmert III
Modified: 2023-01-23 02:43 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-11-30 00:54:35 UTC
CVE-2022-4172:
https://gitlab.com/qemu-project/qemu/-/commit/defb7098

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.

Waiting on 7.2.0 release, scheduled for early December:
https://wiki.qemu.org/Planning/7.2
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-11-30 00:59:38 UTC
CVE-2022-4144 (https://bugzilla.redhat.com/show_bug.cgi?id=2148506):

An out-of-bounds read flaw was found in the QXL display device emulation in QEMU. The qxl_phys2virt() function does not check the size of the structure pointed to by the guest physical address, potentially reading past the end of the bar space into adjacent pages. A malicious guest user could use this flaw to crash the QEMU process on the host causing a denial of service condition.

https://lists.nongnu.org/archive/html/qemu-devel/2022-11/msg04143.html

This patch is in 7.2.0_rc3 as 6dbbf055148c6f1b7d8a3251a65bd6f3d1e1f622.
Comment 2 Larry the Git Cow gentoo-dev 2022-12-01 01:55:01 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afd474b08a74f8befd90e7c18f02c20346a4c44c

commit afd474b08a74f8befd90e7c18f02c20346a4c44c
Author:     John Helmert III <ajak@gentoo.org>
AuthorDate: 2022-12-01 01:54:00 +0000
Commit:     John Helmert III <ajak@gentoo.org>
CommitDate: 2022-12-01 01:54:23 +0000

    app-emulation/qemu: add 7.2.0_rc3, drop 7.2.0_rc2
    
    Bug: https://bugs.gentoo.org/883693
    Signed-off-by: John Helmert III <ajak@gentoo.org>

 app-emulation/qemu/Manifest                                         | 4 ++--
 app-emulation/qemu/{qemu-7.2.0_rc2.ebuild => qemu-7.2.0_rc3.ebuild} | 0
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2022-12-15 06:15:02 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0135491dde8ca7d541af913330a51831d6e8e79

commit a0135491dde8ca7d541af913330a51831d6e8e79
Author:     John Helmert III <ajak@gentoo.org>
AuthorDate: 2022-12-15 05:21:46 +0000
Commit:     John Helmert III <ajak@gentoo.org>
CommitDate: 2022-12-15 06:14:23 +0000

    app-emulation/qemu: add 7.2.0, drop 7.2.0_rc4
    
    Bug: https://bugs.gentoo.org/883693
    Signed-off-by: John Helmert III <ajak@gentoo.org>

 app-emulation/qemu/Manifest                                     | 4 ++--
 app-emulation/qemu/{qemu-7.2.0_rc4.ebuild => qemu-7.2.0.ebuild} | 0
 2 files changed, 2 insertions(+), 2 deletions(-)