CVE-2023-39198
JSON

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 packageVersionsReported by
kernel-rtNot specified
Not affected: from 0:4.18.0-553.rt7.342.el8_10 before *
CVE List
kernelNot 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_kernelbefore 6.5, 6.5NVD
fedoraproject fedora38NVD
redhat enterprise_linux8.0, 9.0NVD

All scores

redhat7.5high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
NVD6.4medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416

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

Sources

SourceRecordLicence
CVE ListCVE-2023-39198 changed 2026-11-26CVE Terms of Use
NVDCVE-2023-39198 changed 2026-11-26Public domain