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.
https://bugzilla.redhat.com/show_bug.cgi?id=2218332
https://access.redhat.com/security/cve/CVE-2023-39198
https://access.redhat.com/errata/RHSA-2024:3138