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

Summary

CVECVE-2023-39198
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-11-09 20:15:08 UTC
Updated2026-11-07 05:17:39 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 6.4 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

EPSS: 0.004170000 probability, percentile 0.362250000 (date 2026-11-08)

Problem Types: CWE-416 | CWE-416 Use After Free


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary6.4MEDIUMCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
3.1[email protected]Secondary7.5HIGHCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
3.1CNACVSS7.5HIGHCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 38 All All All
Operating System Linux Linux Kernel All All All All
Operating System Linux Linux Kernel 6.5 rc1 All All
Operating System Linux Linux Kernel 6.5 rc2 All All
Operating System Linux Linux Kernel 6.5 rc3 All All
Operating System Linux Linux Kernel 6.5 rc4 All All
Operating System Linux Linux Kernel 6.5 rc5 All All
Operating System Linux Linux Kernel 6.5 rc6 All All
Operating System Redhat Enterprise Linux 8.0 All All All
Operating System Redhat Enterprise Linux 9.0 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:4.18.0-553.rt7.342.el8_10 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 8 unaffected 0:4.18.0-553.el8_10 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:5.14.0-427.13.1.el9_4 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 9 unaffected 0:5.14.0-427.13.1.el9_4 * rpm Not specified
CNA Red Hat Red Hat Enterprise Linux 6 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 7 Not specified Not specified
CNA Red Hat Red Hat Enterprise Linux 9 Not specified Not specified

References

ReferenceSourceLinkTags
lists.debian.org/debian-lts-announce/2024/06/msg00016.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
access.redhat.com/errata/RHSA-2024:3138 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
cve-details af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Issue Tracking, Third Party Advisory
2218332 – (CVE-2023-39198, ZDI-CAN-20940) CVE-2023-39198 kernel: QXL: race condition leading to use-after-free in qxl_mode_dumb_create() af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Patch, Third Party Advisory
access.redhat.com/errata/RHSA-2024:2950 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
access.redhat.com/errata/RHSA-2024:2394 af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
CNA2023-06-28T00:00:00.000ZReported to Red Hat.
CNA2023-08-17T00:00:00.000ZMade public.

Workarounds

CNA: 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.

Legacy QID Mappings

  • 199976 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6534-1)
  • 199996 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6549-1)
  • 200002 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6534-2)
  • 200003 Ubuntu Security Notification for Linux kernel (GKE) Vulnerabilities (USN-6549-2)
  • 200007 Ubuntu Security Notification for Linux kernel (Low Latency) Vulnerabilities (USN-6549-3)
  • 200010 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6534-3)
  • 200024 Ubuntu Security Notification for Linux kernel (Intel IoTG) Vulnerabilities (USN-6549-4)
  • 200035 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-6549-5)
  • 357055 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.10-2024-047
  • 6140341 AWS Bottlerocket Security Update for kernel (GHSA-w9qc-3phc-4497)
  • 673534 EulerOS Security Update for kernel (EulerOS-SA-2024-1086)
  • 673563 EulerOS Security Update for kernel (EulerOS-SA-2024-1144)
  • 673657 EulerOS Security Update for kernel (EulerOS-SA-2024-1122)
  • 673714 EulerOS Security Update for kernel (EulerOS-SA-2024-1196)
  • 673902 EulerOS Security Update for kernel (EulerOS-SA-2024-1176)
  • 673923 EulerOS Security Update for kernel (EulerOS-SA-2024-1062)
  • 673995 EulerOS Security Update for kernel (EulerOS-SA-2024-1275)
  • 674024 EulerOS Security Update for kernel (EulerOS-SA-2024-1107)
  • 755838 SUSE Enterprise Linux Security Update for the Linux Kernel RT (Live Patch 3 for SLE 15 SP5) (SUSE-SU-2024:0622-1)
  • 755860 SUSE Enterprise Linux Security Update for the Linux Kernel RT (Live Patch 0 for SLE 15 SP5) (SUSE-SU-2024:0655-1)
  • 755864 SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 42 for SLE 15 SP2) (SUSE-SU-2024:0662-1)
  • 755865 SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 33 for SLE 15 SP2) (SUSE-SU-2024:0666-1)
  • 755866 SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 38 for SLE 15 SP3) (SUSE-SU-2024:0705-1)
  • 755869 SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 8 for SLE 15 SP4) (SUSE-SU-2024:0698-1)
  • 755871 SUSE Enterprise Linux Security Update for the Linux Kernel (Live Patch 1 for SLE 15 SP5) (SUSE-SU-2024:0727-1)
  • 907685 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (31957-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report