7.5high
Kernel: qxl: race condition leading to use-after-free in qxl_mode_dumb_create()
- Severity
- 7.5high CVSS:3.1 by redhat
- Exploit likelihood
- 0.43% (higher than 39% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kernel-rt | Not specified Not affected: from 0:4.18.0-553.rt7.342.el8_10 before * | CVE List |
| kernel | Not specified Not affected: from 0:4.18.0-553.el8_10 before *, from 0:5.14.0-427.13.1.el9_4 before * | CVE List |
| linux linux_kernel | before 6.5, 6.5 | NVD |
| fedoraproject fedora | 38 | NVD |
| redhat enterprise_linux | 8.0, 9.0 | NVD |
All scores
| redhat | 7.5high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
| NVD | 6.4medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Se encontró una condición de ejecución en el controlador QXL del kernel de Linux. La función qxl_mode_dumb_create() desreferencia el qobj devuelto por qxl_gem_object_create_with_handle(), pero el identificador es el único que contiene una referencia a él. Esta falla permite a un atacante adivinar el valor de identificador devuelto y desencadenar un problema de use-after-free, lo que podría provocar una denegación de servicio o una escalada de privilegios.
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-39198 changed 2026-11-26 | CVE Terms of Use |
| NVD | CVE-2023-39198 changed 2026-11-26 | Public domain |