Vulnerability · Published Nov 9, 2023 · Assigned by redhat
CVE-2023-39198Kernel: qxl: race condition leading to use-after-free in qxl_mode_dumb_create()
High 7.5
In plain English
A high-severity use-after-free in Red Hat Enterprise Linux 6 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A race condition was found in the QXL driver in the Linux kernel. The qxl_mode_dumb_create() function dereferences the qobj returned by the qxl_gem_object_create_with_handle(), but the handle is the only one holding a reference to it. This flaw allows an attacker to guess the returned handle value and trigger a use-after-free issue, potentially leading to a denial of service or privilege escalation.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | bpftool | 7.3.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-64k | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-64k-core | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-64k-debug | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-64k-debug-core | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-64k-debug-devel | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-64k-debug-devel-matched | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-64k-debug-modules | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-64k-debug-modules-core | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-64k-debug-modules-extra | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-64k-devel | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-64k-devel-matched | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-64k-modules | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-64k-modules-core | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-64k-modules-extra | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-abi-stablelists | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel-abi-stablelists | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-core | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel-core | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-cross-headers | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel-cross-headers | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-debug | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel-debug | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-debug-core | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel-debug-core | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-debug-devel | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel-debug-devel | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-debug-devel-matched | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-debug-modules | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel-debug-modules | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-debug-modules-core | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-debug-modules-extra | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel-debug-modules-extra | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-debug-uki-virt | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-devel | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel-devel | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-devel-matched | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-doc | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel-doc | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-headers | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel-headers | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-modules | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel-modules | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-modules-core | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-modules-extra | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel-modules-extra | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-rt | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:9 | kernel-rt | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-rt-core | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:9 | kernel-rt-core | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-rt-debug | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:9 | kernel-rt-debug | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-rt-debug-core | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:9 | kernel-rt-debug-core | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-rt-debug-devel | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:9 | kernel-rt-debug-devel | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-rt-debug-kvm | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:8 | kernel-rt-debug-modules | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:9 | kernel-rt-debug-modules | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-rt-debug-modules-core | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-rt-debug-modules-extra | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:9 | kernel-rt-debug-modules-extra | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-rt-devel | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:9 | kernel-rt-devel | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-rt-kvm | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:8 | kernel-rt-modules | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:9 | kernel-rt-modules | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-rt-modules-core | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-rt-modules-extra | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:9 | kernel-rt-modules-extra | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-tools | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel-tools | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-tools-libs | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel-tools-libs | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel-tools-libs-devel | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-uki-virt | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-zfcpdump | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel-zfcpdump | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-zfcpdump-core | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel-zfcpdump-core | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-zfcpdump-devel | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel-zfcpdump-devel | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-zfcpdump-devel-matched | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-zfcpdump-modules | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel-zfcpdump-modules | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | kernel-zfcpdump-modules-core | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | kernel-zfcpdump-modules-extra | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | kernel-zfcpdump-modules-extra | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | libperf | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | perf | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | perf | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:8 | python3-perf | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:9 | python3-perf | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | rtla | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| AlmaLinux:9 | rv | 5.14.0-427.13.1.el9_4 | ALSA-2024:2394 |
| Debian:12 | linux | 6.1.52-1 | DEBIAN-CVE-2023-39198 |
| Debian:13 | linux | 6.4.13-1 | DEBIAN-CVE-2023-39198 |
| Debian:14 | linux | 6.4.13-1 | DEBIAN-CVE-2023-39198 |
| Rocky Linux:8 | kernel | 0:4.18.0-553.el8_10 | RLSA-2024:3138 |
| Rocky Linux:8 | kernel | 0:4.18.0-553.123.1.el8_10.cloud.0.1 | RXSA-2024:3138 |
| Rocky Linux:8 | kernel-rt | 0:4.18.0-553.rt7.342.el8_10 | RLSA-2024:2950 |
| Ubuntu:22.04:LTS | linux | 5.15.0-91.101 | USN-6549-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-91.101 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1051.56 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1051.56 | USN-6549-1 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | 6.2.0-1017.17~22.04.1 | USN-6534-1 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | 6.2.0-1017.17~22.04.1 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1053.61 | USN-6549-1 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1053.61 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | 6.2.0-1018.18~22.04.1 | USN-6534-1 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | 6.2.0-1018.18~22.04.1 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1053.61.1 | USN-6549-1 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1053.61.1 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | 6.2.0-1018.18~22.04.1.1 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | 6.2.0-1018.18~22.04.1.1 | USN-6534-1 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1048.56 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1048.56 | USN-6549-1 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1048.53 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1048.53 | USN-6549-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1034.40 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1034.40 | USN-6549-2 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | 6.2.0-39.40~22.04.1 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | 6.2.0-39.40~22.04.1 | USN-6534-3 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1044.47 | USN-6549-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1044.47 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1046.52 | USN-6549-4 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1046.52 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1048.53 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1048.53 | USN-6549-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-91.101 | USN-6549-3 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-91.101 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | 6.2.0-1018.18~22.04.1 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | 6.2.0-1018.18~22.04.1 | USN-6534-3 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1042.42 | USN-6549-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1042.42 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | 6.2.0-1013.13 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | 6.2.0-1013.13 | USN-6534-3 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1020.20 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1007.7 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1023.23 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1049.55 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1049.55 | USN-6549-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1044.47 | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1044.47 | USN-6549-1 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2023-39198 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1027.31 | UBUNTU-CVE-2023-39198 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
References
- RHSA-2024:2394 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:2950 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:3138 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-39198 vdb-entry, x_refsource_REDHAT
- RHBZ#2218332 issue-tracking, x_refsource_REDHAT
- https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html x_transferred