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.
Workaround:
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
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 | vdb entry issue tracking third party advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=2218332 | third party advisory issue tracking patch |
https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html |