CVE-2023-39198

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

Published Nov 9, 2023 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3841-1 linux-5.10 security update
EUVD EUVD EUVD-2023-42932 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.
Ubuntu USN Ubuntu USN USN-6534-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6534-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6534-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6549-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6549-2 Linux kernel (GKE) vulnerabilities
Ubuntu USN Ubuntu USN USN-6549-3 Linux kernel (Low Latency) vulnerabilities
Ubuntu USN Ubuntu USN USN-6549-4 Linux kernel (Intel IoTG) vulnerabilities
Ubuntu USN Ubuntu USN USN-6549-5 Linux kernel vulnerabilities
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
Weaknesses CWE-366
Type Values Removed Values Added
Weaknesses CWE-366
Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 7, 2026, 5:01 AM
Reserved
Jul 25, 2023, 5:04 PM
Status
Modified
Published
Nov 9, 2023, 8:15 PM
Modified
Nov 7, 2026, 5:17 AM
Severity
Moderate
Public date
Aug 17, 2023, 12:00 AM