Skip to content
OpenAdvisories
High · 7.5 CVE-2023-39198 EUVD-2023-42932GHSA-qhp7-446p-xq88

Kernel: qxl: race condition leading to use-after-free in qxl_mode_dumb_create()

Published Nov 9, 2023 · Updated Nov 7, 2026 · Assigned by redhat

Vendor: Red Hat Product: Red Hat Enterprise Linux 6 Product: Red Hat Enterprise Linux 7 Product: Red Hat Enterprise Linux 8 Product: Red Hat Enterprise Linux 9 Package: kernel Package: linux Package: linux Package: linux-allwinner-5.19 Package: linux-aws Package: linux-aws-5.0 Package: linux-aws-5.11 Package: linux-aws-5.13 Package: linux-aws-5.15 Package: linux-aws-5.19 Package: linux-aws-5.3 Package: linux-aws-5.4 Package: linux-aws-5.8 Package: linux-aws-6.2 Package: linux-aws-fips Package: linux-aws-hwe Package: linux-azure Package: linux-azure-4.15 Package: linux-azure-5.11 Package: linux-azure-5.13 Package: linux-azure-5.15 Package: linux-azure-5.19 Package: linux-azure-5.3 Package: linux-azure-5.4 Package: linux-azure-5.8 Package: linux-azure-6.2 Package: linux-azure-edge Package: linux-azure-fde Package: linux-azure-fde-5.19 Package: linux-azure-fde-6.2 Package: linux-azure-fips Package: linux-bluefield Package: linux-fips Package: linux-gcp Package: linux-gcp-4.15 Package: linux-gcp-5.11 Package: linux-gcp-5.13 Package: linux-gcp-5.15 Package: linux-gcp-5.19 Package: linux-gcp-5.3 Package: linux-gcp-5.4 Package: linux-gcp-5.8 Package: linux-gcp-6.2 Package: linux-gcp-fips Package: linux-gke Package: linux-gke-4.15 Package: linux-gke-5.15 Package: linux-gke-5.4 Package: linux-gkeop Package: linux-gkeop-5.15 Package: linux-gkeop-5.4 Package: linux-hwe Package: linux-hwe-5.11 Package: linux-hwe-5.13 Package: linux-hwe-5.15 Package: linux-hwe-5.19 Package: linux-hwe-5.4 Package: linux-hwe-5.8 Package: linux-hwe-6.2 Package: linux-hwe-edge Package: linux-ibm Package: linux-ibm-5.15 Package: linux-ibm-5.4 Package: linux-intel-5.13 Package: linux-intel-iot-realtime Package: linux-intel-iotg Package: linux-intel-iotg-5.15 Package: linux-iot Package: linux-kvm Package: linux-lowlatency Package: linux-lowlatency-hwe-5.15 Package: linux-lowlatency-hwe-5.19 Package: linux-lowlatency-hwe-6.2 Package: linux-nvidia Package: linux-nvidia-6.2 Package: linux-nvidia-tegra Package: linux-nvidia-tegra-5.15 Package: linux-nvidia-tegra-igx Package: linux-oem Package: linux-oem-5.10 Package: linux-oem-5.13 Package: linux-oem-5.14 Package: linux-oem-5.17 Package: linux-oem-5.6 Package: linux-oem-6.0 Package: linux-oem-6.1 Package: linux-oracle Package: linux-oracle-5.0 Package: linux-oracle-5.11 Package: linux-oracle-5.13 Package: linux-oracle-5.15 Package: linux-oracle-5.3 Package: linux-oracle-5.4 Package: linux-oracle-5.8 Package: linux-raspi Package: linux-raspi-5.4 Package: linux-raspi-realtime Package: linux-raspi2 Package: linux-realtime Package: linux-riscv Package: linux-riscv-5.11 Package: linux-riscv-5.15 Package: linux-riscv-5.19 Package: linux-riscv-5.8 Package: linux-starfive-5.19 Package: linux-starfive-6.2 Package: linux-vmware Package: linux-xilinx-zynqmp Platform: Linux Ecosystem: Azure Linux Ecosystem: Debian Ecosystem: Ubuntu

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 products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 6.4.13-1 —
Debian 13 linux 6.4.13-1 —
Debian 12 linux 6.1.52-1 —
Debian 10 linux-5.10 5.10.209-2~deb10u1 DLA-3841-1
ReleasePackageFixed inAdvisory
Ubuntu Nvidia-BlueField 22.04 LTS linux-bluefield 5.15.0-1033.35 —
Ubuntu 24.04 LTS linux-raspi-realtime No fix yet —
Ubuntu 22.04 LTS linux +1 5.15.0-91.101 USN-6549-3, USN-6549-1
Ubuntu 22.04 LTS linux-aws 5.15.0-1051.56 USN-6549-1
Ubuntu 22.04 LTS linux-aws-6.2 6.2.0-1017.17~22.04.1 USN-6534-1
Ubuntu 22.04 LTS linux-azure 5.15.0-1053.61 USN-6549-1
Ubuntu 22.04 LTS linux-azure-6.2 +1 6.2.0-1018.18~22.04.1 USN-6534-3, USN-6534-1
Ubuntu 22.04 LTS linux-azure-fde 5.15.0-1053.61.1 USN-6549-1
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 USN-6549-1
Ubuntu 22.04 LTS linux-gke +1 5.15.0-1048.53 USN-6549-1
Ubuntu 22.04 LTS linux-gkeop 5.15.0-1034.40 USN-6549-2
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 +1 5.15.0-1044.47 USN-6549-1
Ubuntu 22.04 LTS linux-intel-iotg 5.15.0-1046.52 USN-6549-4
Ubuntu 22.04 LTS linux-nvidia 5.15.0-1042.42 USN-6549-1
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 22.04 LTS linux-nvidia-tegra-igx 5.15.0-1007.7 —
Ubuntu 22.04 LTS linux-oem-6.1 6.1.0-1023.23 —
Ubuntu 22.04 LTS linux-oracle 5.15.0-1049.55 USN-6549-1
Ubuntu 22.04 LTS linux-riscv +14 No fix yet —
Ubuntu 22.04 LTS linux-xilinx-zynqmp 5.15.0-1027.31 —
Ubuntu 20.04 LTS linux-aws-5.15 5.15.0-1051.56~20.04.1 USN-6549-1
Ubuntu 20.04 LTS linux-azure-5.15 5.15.0-1053.61~20.04.1 USN-6549-1
Ubuntu 20.04 LTS linux-azure-fde-5.15 5.15.0-1053.61~20.04.1.1 USN-6549-1
Ubuntu 20.04 LTS linux-gcp-5.15 5.15.0-1048.56~20.04.1 USN-6549-5
Ubuntu 20.04 LTS linux-gke +27 No fix yet —
Ubuntu 20.04 LTS linux-gkeop-5.15 5.15.0-1034.40~20.04.1 USN-6549-2
Ubuntu 20.04 LTS linux-hwe-5.15 +1 5.15.0-91.101~20.04.1 USN-6549-3, USN-6549-1
Ubuntu 20.04 LTS linux-ibm-5.15 5.15.0-1044.47~20.04.1 USN-6549-1
Ubuntu 20.04 LTS linux-intel-iotg-5.15 5.15.0-1046.52~20.04.1 USN-6549-5
Ubuntu 20.04 LTS linux-nvidia-tegra-5.15 5.15.0-1020.20~20.04.1 —
Ubuntu 20.04 LTS linux-oracle-5.15 5.15.0-1049.55~20.04.1 USN-6549-1
Ubuntu 20.04 LTS linux-riscv-5.15 5.15.0-1047.51~20.04.1 —
Ubuntu 18.04 LTS linux-gcp +14 No fix yet —
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
Ubuntu Pro Realtime 22.04 LTS linux-intel-iot-realtime 5.15.0-1044.46 —
Ubuntu Pro Realtime 22.04 LTS linux-realtime 5.15.0-1052.58 —
Ubuntu Pro FIPS 20.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS 18.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS-updates 20.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS-updates 18.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS-preview 22.04 LTS linux-fips No fix yet —
Ubuntu Pro 20.04 LTS linux +10 No fix yet —
Ubuntu Pro 18.04 LTS linux +12 No fix yet —
Ubuntu Pro 16.04 LTS linux-gcp +4 No fix yet —
Ubuntu Pro 14.04 LTS linux-azure No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 bpftool 7.3.0-427.13.1.el9_4 RHSA-2024:2394
RHEL 9 rv +64 5.14.0-427.13.1.el9_4 RHSA-2024:2394
RHEL 8 kernel-rt +12 4.18.0-553.rt7.342.el8_10 RHSA-2024:2950
RHEL 8 perf +26 4.18.0-553.el8_10 RHSA-2024:3138

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 bpftool 7.3.0-427.13.1.el9_4 ALSA-2024:2394
AlmaLinux 9 rv +60 5.14.0-427.13.1.el9_4 ALSA-2024:2394
AlmaLinux 8 kernel-rt +11 4.18.0-553.rt7.342.el8_10 ALSA-2024:2950
AlmaLinux 8 perf +24 4.18.0-553.el8_10 ALSA-2024:3138

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 kernel 4.18.0-553.el8_10 RXSA-2024:3138, RLSA-2024:3138
Rocky Linux 8 kernel-rt 4.18.0-553.rt7.342.el8_10 RLSA-2024:2950
ReleasePackageFixed inAdvisory
SLES 15 SP5 kernel-64kb +6 5.14.21-150500.55.39.1 SUSE-SU-2023:4730-1
SLES 15 SP5 kernel-azure +2 5.14.21-150500.33.26.1 SUSE-SU-2023:4734-1
SLES 15 SP5 kernel-default-base 5.14.21-150500.55.39.1.150500.6.17.1 SUSE-SU-2023:4730-1
SLES 15 SP4 kernel-64kb +4 5.14.21-150400.24.100.2 SUSE-SU-2023:4810-1
SLES 15 SP4 kernel-azure +2 5.14.21-150400.14.75.1 SUSE-SU-2023:4782-1
SLES 15 SP4 kernel-default-base 5.14.21-150400.24.100.2.150400.24.46.2 SUSE-SU-2023:4810-1
SLES 15 SP4 kernel-docs +1 5.14.21-150400.24.100.1 SUSE-SU-2023:4810-1
SLES 15 SP3 kernel-64kb +7 5.3.18-150300.59.144.1 SUSE-SU-2023:4811-1
SLES 15 SP3 kernel-default-base 5.3.18-150300.59.144.1.150300.18.84.1 SUSE-SU-2023:4811-1
SLES 15 SP2 kernel-default-base 5.3.18-150200.24.172.1.150200.9.87.1 SUSE-SU-2023:4783-1
SLES 15 SP2 kernel-docs +5 5.3.18-150200.24.172.1 SUSE-SU-2023:4783-1
SLES 15 SP1 kernel-docs +5 4.12.14-150100.197.165.1 SUSE-SU-2023:4882-1
Show 23 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 kernel-azure +2 4.12.14-16.160.1 SUSE-SU-2023:4883-1
SLES 12 SP5 kernel-docs +4 4.12.14-122.186.1 SUSE-SU-2023:4784-1
SLES for SAP 15 SP3 kernel-default-base 5.3.18-150300.59.144.1.150300.18.84.1 SUSE-SU-2023:4811-1
SLES for SAP 15 SP3 kernel-docs +5 5.3.18-150300.59.144.1 SUSE-SU-2023:4811-1
SLES for SAP 15 SP2 kernel-default-base 5.3.18-150200.24.172.1.150200.9.87.1 SUSE-SU-2023:4783-1
SLES for SAP 15 SP2 kernel-docs +5 5.3.18-150200.24.172.1 SUSE-SU-2023:4783-1
SLES for SAP 15 SP1 kernel-docs +4 4.12.14-150100.197.165.1 SUSE-SU-2023:4882-1
SLES for SAP 12 SP5 kernel-azure +2 4.12.14-16.160.1 SUSE-SU-2023:4883-1
SLES for SAP 12 SP5 kernel-syms +2 4.12.14-122.186.1 SUSE-SU-2023:4784-1
SLE Real Time 12 SP5 kernel-rt +3 4.12.14-10.154.1 SUSE-SU-2023:4735-1
SLE Micro 5.5 kernel-default 5.14.21-150500.55.39.1 SUSE-SU-2023:4730-1
SLE Micro 5.5 kernel-default-base 5.14.21-150500.55.39.1.150500.6.17.1 SUSE-SU-2023:4730-1
SLE Micro 5.5 kernel-rt 5.14.21-150500.13.27.2 SUSE-SU-2023:4732-1
SLE Micro 5.4 kernel-default 5.14.21-150400.24.100.2 SUSE-SU-2023:4810-1
SLE Micro 5.4 kernel-default-base 5.14.21-150400.24.100.2.150400.24.46.2 SUSE-SU-2023:4810-1
SLE Micro 5.4 kernel-rt 5.14.21-150400.15.62.1 SUSE-SU-2023:4731-1
SLE Micro 5.3 kernel-default 5.14.21-150400.24.100.2 SUSE-SU-2023:4810-1
SLE Micro 5.3 kernel-default-base 5.14.21-150400.24.100.2.150400.24.46.2 SUSE-SU-2023:4810-1
SLE Micro 5.3 kernel-rt 5.14.21-150400.15.62.1 SUSE-SU-2023:4731-1
SLE Micro 5.2 kernel-default 5.3.18-150300.59.144.1 SUSE-SU-2023:4811-1
SLE Micro 5.2 kernel-default-base 5.3.18-150300.59.144.1.150300.18.84.1 SUSE-SU-2023:4811-1
SLE Micro 5.2 kernel-rt 5.3.18-150300.152.1 SUSE-SU-2023:4733-1
SLE Micro 5.1 kernel-default 5.3.18-150300.59.144.1 SUSE-SU-2023:4811-1
SLE Micro 5.1 kernel-default-base 5.3.18-150300.59.144.1.150300.18.84.1 SUSE-SU-2023:4811-1
SLE Micro 5.1 kernel-rt 5.3.18-150300.152.1 SUSE-SU-2023:4733-1
SLE Live Patching 15 SP5 kernel-default 5.14.21-150500.55.39.1 SUSE-SU-2023:4730-1
SLE Live Patching 15 SP5 kernel-livepatch-SLE15-SP5-RT_Update_0 8-150500.3.1 SUSE-SU-2024:0655-1
SLE Live Patching 15 SP5 kernel-livepatch-SLE15-SP5-RT_Update_8 1-150500.11.3.2 SUSE-SU-2023:4732-1
SLE Live Patching 15 SP5 kernel-livepatch-SLE15-SP5_Update_1 7-150500.2.1 SUSE-SU-2024:0727-1
SLE Live Patching 15 SP5 kernel-livepatch-SLE15-SP5_Update_3 +1 6-150500.2.1 SUSE-SU-2024:0698-1, SUSE-SU-2024:0622-1
SLE Live Patching 15 SP5 kernel-livepatch-SLE15-SP5_Update_8 1-150500.11.3.1 SUSE-SU-2023:4730-1
SLE Live Patching 15 SP4 kernel-default 5.14.21-150400.24.100.2 SUSE-SU-2023:4810-1
SLE Live Patching 15 SP4 kernel-livepatch-SLE15-SP4-RT_Update_16 1-150400.1.3.1 SUSE-SU-2023:4731-1
SLE Live Patching 15 SP4 kernel-livepatch-SLE15-SP4_Update_10 11-150400.2.1 SUSE-SU-2024:0698-1
SLE Live Patching 15 SP4 kernel-livepatch-SLE15-SP4_Update_12 10-150400.2.1 SUSE-SU-2024:0666-1
SLE Live Patching 15 SP4 kernel-livepatch-SLE15-SP4_Update_21 1-150400.9.3.2 SUSE-SU-2023:4810-1
SLE Live Patching 15 SP3 kernel-default 5.3.18-150300.59.144.1 SUSE-SU-2023:4811-1
SLE Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_30 11-150300.2.1 SUSE-SU-2024:0698-1
SLE Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_37 5-150300.2.1 SUSE-SU-2024:0705-1
SLE Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_39 1-150300.7.3.1 SUSE-SU-2023:4811-1
SLE Live Patching 15 SP2 kernel-default 5.3.18-150200.24.172.1 SUSE-SU-2023:4783-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_34 11-150200.2.1 SUSE-SU-2024:0666-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_41 5-150200.2.1 SUSE-SU-2024:0662-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_43 1-150200.5.3.1 SUSE-SU-2023:4783-1
SLE Live Patching 15 SP1 kernel-default 4.12.14-150100.197.165.1 SUSE-SU-2023:4882-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_46 1-150100.3.5.1 SUSE-SU-2023:4882-1
SLE Live Patching 12 SP5 kernel-default 4.12.14-122.186.1 SUSE-SU-2023:4784-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_39 12-2.2 SUSE-SU-2024:0698-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_41 10-2.1 SUSE-SU-2024:0655-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_44 8-2.1 SUSE-SU-2024:0666-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_49 4-2.1 SUSE-SU-2024:0662-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_51 1-8.3.1 SUSE-SU-2023:4784-1
SLE HPC 15 SP3 kernel-64kb +6 5.3.18-150300.59.144.1 SUSE-SU-2023:4811-1
SLE HPC 15 SP3 kernel-default-base 5.3.18-150300.59.144.1.150300.18.84.1 SUSE-SU-2023:4811-1
SLE HPC 15 SP2 kernel-default-base 5.3.18-150200.24.172.1.150200.9.87.1 SUSE-SU-2023:4783-1
SLE HPC 15 SP2 kernel-docs +5 5.3.18-150200.24.172.1 SUSE-SU-2023:4783-1
SLE HPC 15 SP1 kernel-docs +4 4.12.14-150100.197.165.1 SUSE-SU-2023:4882-1
SUSE Real Time Module 15 SP5 kernel-rt +2 5.14.21-150500.13.27.2 SUSE-SU-2023:4732-1
SUSE Real Time Module 15 SP5 kernel-syms-rt 5.14.21-150500.13.27.1 SUSE-SU-2023:4732-1
SUSE Real Time Module 15 SP4 kernel-rt +3 5.14.21-150400.15.62.1 SUSE-SU-2023:4731-1
SUSE Enterprise Storage 7.1 kernel-64kb +6 5.3.18-150300.59.144.1 SUSE-SU-2023:4811-1
SUSE Enterprise Storage 7.1 kernel-default-base 5.3.18-150300.59.144.1.150300.18.84.1 SUSE-SU-2023:4811-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.5 dtb-aarch64 +10 5.14.21-150500.55.39.1 SUSE-SU-2023:4730-1
openSUSE Leap 15.5 kernel-azure +2 5.14.21-150500.33.26.1 SUSE-SU-2023:4734-1
openSUSE Leap 15.5 kernel-default-base 5.14.21-150500.55.39.1.150500.6.17.1 SUSE-SU-2023:4730-1
openSUSE Leap 15.5 kernel-rt +2 5.14.21-150500.13.27.2 SUSE-SU-2023:4732-1
openSUSE Leap 15.5 kernel-syms-rt 5.14.21-150500.13.27.1 SUSE-SU-2023:4732-1
openSUSE Leap 15.4 dtb-aarch64 +3 5.14.21-150400.24.100.1 SUSE-SU-2023:4810-1
openSUSE Leap 15.4 kernel-64kb +2 5.14.21-150400.24.100.2 SUSE-SU-2023:4810-1
openSUSE Leap 15.4 kernel-azure +2 5.14.21-150400.14.75.1 SUSE-SU-2023:4782-1
openSUSE Leap 15.4 kernel-debug +3 4.12.14-150100.197.165.1 SUSE-SU-2023:4882-1, SUSE-SU-2023:4810-1
openSUSE Leap 15.4 kernel-default-base 5.14.21-150400.24.100.2.150400.24.46.2 SUSE-SU-2023:4810-1
openSUSE Leap 15.4 kernel-rt +3 5.14.21-150400.15.62.1 SUSE-SU-2023:4731-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 kernel-default 5.14.21-150400.24.100.2 SUSE-SU-2023:4810-1
openSUSE Leap Micro 5.4 kernel-default-base 5.14.21-150400.24.100.2.150400.24.46.2 SUSE-SU-2023:4810-1
openSUSE Leap Micro 5.4 kernel-rt 5.14.21-150400.15.62.1 SUSE-SU-2023:4731-1
openSUSE Leap Micro 5.3 kernel-default 5.14.21-150400.24.100.2 SUSE-SU-2023:4810-1
openSUSE Leap Micro 5.3 kernel-default-base 5.14.21-150400.24.100.2.150400.24.46.2 SUSE-SU-2023:4810-1
openSUSE Leap Micro 5.3 kernel-rt 5.14.21-150400.15.62.1 SUSE-SU-2023:4731-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 kernel-livepatch-4.14.334-252.552 1.0-0.amzn2 ALAS2-2024-2391
Amazon Linux 2 perf +8 4.14.334-252.552.amzn2 ALAS2-2024-2391

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) kernel 5.15.138.1-4 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 bpftool 7.3.0-427.13.1.el9_4 ELSA-2024-2394
Oracle Linux 9 rv +27 5.14.0-427.13.1.el9_4 ELSA-2024-2394
Oracle Linux 8 perf +19 4.18.0-553.el8_10 ELSA-2024-3138

Advisories 45

References