---
title: "CVE-2022-4172"
canonical_url: "https://pkgseek.com/security/CVE-2022-4172"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2022-4172

It was discovered that QEMU did not properly manage the guest drivers when shared buffers are not allocated. A malicious guest driver could use this issue to cause QEMU to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS and Ubuntu 22.10. (CVE-2022-1050) It was discovered that QEMU did not properly check the size of the structure pointed to by the guest physical address pqxl. A malicious guest attacker could use this issue to cause QEMU to crash, resulting in a denial of service. This issue only affected U…

CVE-2022-4172 is rated MEDIUM, with 65 indexed affected package builds across 3 distributions.

- **Severity / Score**: MEDIUM
- **Affected builds**: 65
- **Affected distros**: 3
- **Distros with fixed_in**: Oracle Linux, Red Hat Enterprise Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Oracle Linux | 9 | qemu-guest-agent | 17:8.0.0-16.el9_3.3 | 17:8.2.0-11.el9_4 |
| Oracle Linux | 9 | qemu-img | 17:8.0.0-16.el9_3.3 | 17:8.2.0-11.el9_4 |
| Oracle Linux | 9 | qemu-kvm | 17:8.0.0-16.el9_3.3 | 17:8.2.0-11.el9_4 |
| Oracle Linux | 9 | qemu-kvm-audio-pa | 17:8.0.0-16.el9_3.3 | 17:8.2.0-11.el9_4 |
| Oracle Linux | 9 | qemu-kvm-block-blkio | 17:8.0.0-16.el9_3.3 | 17:8.2.0-11.el9_4 |
| Oracle Linux | 9 | qemu-kvm-block-curl | 17:8.0.0-16.el9_3.3 | 17:8.2.0-11.el9_4 |
| Oracle Linux | 9 | qemu-kvm-block-rbd | 17:8.0.0-16.el9_3.3 | 17:8.2.0-11.el9_4 |
| Oracle Linux | 9 | qemu-kvm-common | 17:8.0.0-16.el9_3.3 | 17:8.2.0-11.el9_4 |
| Oracle Linux | 9 | qemu-kvm-core | 17:8.0.0-16.el9_3.3 | 17:8.2.0-11.el9_4 |
| Oracle Linux | 9 | qemu-kvm-device-display-virtio-gpu | 17:8.0.0-16.el9_3.3 | 17:8.2.0-11.el9_4 |
| Oracle Linux | 9 | qemu-kvm-device-display-virtio-gpu-pci | 17:8.0.0-16.el9_3.3 | 17:8.2.0-11.el9_4 |
| Oracle Linux | 9 | qemu-kvm-device-display-virtio-vga | 17:8.0.0-16.el9_3.3 | 17:8.2.0-11.el9_4 |
| Oracle Linux | 9 | qemu-kvm-device-usb-host | 17:8.0.0-16.el9_3.3 | 17:8.2.0-11.el9_4 |
| Oracle Linux | 9 | qemu-kvm-device-usb-redirect | 17:8.0.0-16.el9_3.3 | 17:8.2.0-11.el9_4 |
| Oracle Linux | 9 | qemu-kvm-docs | 17:8.0.0-16.el9_3.3 | 17:8.2.0-11.el9_4 |
| Oracle Linux | 9 | qemu-kvm-tools | 17:8.0.0-16.el9_3.3 | 17:8.2.0-11.el9_4 |
| Oracle Linux | 9 | qemu-kvm-ui-egl-headless | 17:8.0.0-16.el9_3.3 | 17:8.2.0-11.el9_4 |
| Oracle Linux | 9 | qemu-kvm-ui-opengl | 17:8.0.0-16.el9_3.3 | 17:8.2.0-11.el9_4 |
| Oracle Linux | 9 | qemu-pr-helper | 17:8.0.0-16.el9_3.3 | 17:8.2.0-11.el9_4 |
| Red Hat Enterprise Linux | 9.8 | qemu-guest-agent | 17:7.0.0-13.el9_1.2 | 17:7.2.0-14.el9_2 |
| Red Hat Enterprise Linux | 9.8 | qemu-img | 17:7.0.0-13.el9_1.2 | 17:7.2.0-14.el9_2 |
| Red Hat Enterprise Linux | 9.8 | qemu-kvm | 17:7.0.0-13.el9_1.2 | 17:7.2.0-14.el9_2 |
| Red Hat Enterprise Linux | 9.8 | qemu-kvm-audio-pa | 17:7.0.0-13.el9_1.2 | 17:7.2.0-14.el9_2 |
| Red Hat Enterprise Linux | 9.8 | qemu-kvm-block-curl | 17:7.0.0-13.el9_1.2 | 17:7.2.0-14.el9_2 |
| Red Hat Enterprise Linux | 9.8 | qemu-kvm-block-rbd | 17:7.0.0-13.el9_1.2 | 17:7.2.0-14.el9_2 |
| Red Hat Enterprise Linux | 9.8 | qemu-kvm-common | 17:7.0.0-13.el9_1.2 | 17:7.2.0-14.el9_2 |
| Red Hat Enterprise Linux | 9.8 | qemu-kvm-core | 17:7.0.0-13.el9_1.2 | 17:7.2.0-14.el9_2 |
| Red Hat Enterprise Linux | 9.8 | qemu-kvm-device-display-virtio-gpu | 17:7.0.0-13.el9_1.2 | 17:7.2.0-14.el9_2 |
| Red Hat Enterprise Linux | 9.8 | qemu-kvm-device-display-virtio-gpu-pci | 17:7.0.0-13.el9_1.2 | 17:7.2.0-14.el9_2 |
| Red Hat Enterprise Linux | 9.8 | qemu-kvm-device-display-virtio-vga | 17:7.0.0-13.el9_1.2 | 17:7.2.0-14.el9_2 |
| Red Hat Enterprise Linux | 9.8 | qemu-kvm-device-usb-host | 17:7.0.0-13.el9_1.2 | 17:7.2.0-14.el9_2 |
| Red Hat Enterprise Linux | 9.8 | qemu-kvm-device-usb-redirect | 17:7.0.0-13.el9_1.2 | 17:7.2.0-14.el9_2 |
| Red Hat Enterprise Linux | 9.8 | qemu-kvm-docs | 17:7.0.0-13.el9_1.2 | 17:7.2.0-14.el9_2 |
| Red Hat Enterprise Linux | 9.8 | qemu-kvm-tools | 17:7.0.0-13.el9_1.2 | 17:7.2.0-14.el9_2 |
| Red Hat Enterprise Linux | 9.8 | qemu-kvm-ui-egl-headless | 17:7.0.0-13.el9_1.2 | 17:7.2.0-14.el9_2 |
| Red Hat Enterprise Linux | 9.8 | qemu-kvm-ui-opengl | 17:7.0.0-13.el9_1.2 | 17:7.2.0-14.el9_2 |
| Red Hat Enterprise Linux | 9.8 | qemu-pr-helper | 17:7.0.0-13.el9_1.2 | 17:7.2.0-14.el9_2 |
| Ubuntu | focal | qemu | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.27 |
| Ubuntu | focal | qemu-block-extra | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.27 |
| Ubuntu | focal | qemu-kvm | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.27 |
| Ubuntu | focal | qemu-system | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.27 |
| Ubuntu | focal | qemu-system-arm | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.27 |
| Ubuntu | focal | qemu-system-common | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.27 |
| Ubuntu | focal | qemu-system-data | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.27 |
| Ubuntu | focal | qemu-system-gui | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.27 |
| Ubuntu | focal | qemu-system-mips | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.27 |
| Ubuntu | focal | qemu-system-misc | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.27 |
| Ubuntu | focal | qemu-system-ppc | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.27 |
| Ubuntu | focal | qemu-system-s390x | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.27 |
| Ubuntu | focal | qemu-system-sparc | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.27 |
| Ubuntu | focal | qemu-system-x86 | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.27 |
| Ubuntu | focal | qemu-utils | 1:4.2-3ubuntu6 | 1:4.2-3ubuntu6.27 |
| Ubuntu | jammy | qemu-block-extra | 1:6.2+dfsg-2ubuntu6 | 1:6.2+dfsg-2ubuntu6.11 |
| Ubuntu | jammy | qemu-system | 1:6.2+dfsg-2ubuntu6 | 1:6.2+dfsg-2ubuntu6.11 |
| Ubuntu | jammy | qemu-system-arm | 1:6.2+dfsg-2ubuntu6 | 1:6.2+dfsg-2ubuntu6.11 |
| Ubuntu | jammy | qemu-system-common | 1:6.2+dfsg-2ubuntu6 | 1:6.2+dfsg-2ubuntu6.11 |
| Ubuntu | jammy | qemu-system-data | 1:6.2+dfsg-2ubuntu6 | 1:6.2+dfsg-2ubuntu6.11 |
| Ubuntu | jammy | qemu-system-gui | 1:6.2+dfsg-2ubuntu6 | 1:6.2+dfsg-2ubuntu6.11 |
| Ubuntu | jammy | qemu-system-mips | 1:6.2+dfsg-2ubuntu6 | 1:6.2+dfsg-2ubuntu6.11 |
| Ubuntu | jammy | qemu-system-misc | 1:6.2+dfsg-2ubuntu6 | 1:6.2+dfsg-2ubuntu6.11 |
| Ubuntu | jammy | qemu-system-ppc | 1:6.2+dfsg-2ubuntu6 | 1:6.2+dfsg-2ubuntu6.11 |
| Ubuntu | jammy | qemu-system-s390x | 1:6.2+dfsg-2ubuntu6 | 1:6.2+dfsg-2ubuntu6.11 |
| Ubuntu | jammy | qemu-system-sparc | 1:6.2+dfsg-2ubuntu6 | 1:6.2+dfsg-2ubuntu6.11 |
| Ubuntu | jammy | qemu-system-x86 | 1:6.2+dfsg-2ubuntu6 | 1:6.2+dfsg-2ubuntu6.11 |
| Ubuntu | jammy | qemu-utils | 1:6.2+dfsg-2ubuntu6 | 1:6.2+dfsg-2ubuntu6.11 |
