# CVE-2023-39198: Kernel: qxl: race condition leading to use-after-free in qxl_mode_dumb_create()

- Severity: High 7.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2023-11-09T19:15:47.605Z
- Modified: 2026-11-26T21:12:09.274Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- kernel-rt: no versions given (not affected: from 0:4.18.0-553.rt7.342.el8_10 before *)
- kernel: no versions given (not affected: from 0:4.18.0-553.el8_10 before *; from 0:5.14.0-427.13.1.el9_4 before *)
- linux linux_kernel: before 6.5; 6.5
- fedoraproject fedora: 38
- redhat enterprise_linux: 8.0; 9.0

## Every score

- redhat: CVSS:3.1 7.5 High `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2024:2394> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2950> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:3138> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-39198> (issue-tracking, third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2218332> (issue-tracking, patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html>

## Sources

- CVE List: [CVE-2023-39198](https://www.cve.org/CVERecord?id=CVE-2023-39198), CVE Terms of Use, modified 2026-11-26
- NVD: [CVE-2023-39198](https://nvd.nist.gov/vuln/detail/CVE-2023-39198), Public domain, modified 2026-11-26

---

Page: https://cve.day/CVE-2023-39198 · Whole record: https://cve.day/CVE-2023-39198.json · Rebuilt by cve.day 2026-11-26T21:17:12.461Z
