Bug 2218332 (CVE-2023-39198, ZDI-CAN-20940) - CVE-2023-39198 kernel: QXL: race condition leading to use-after-free in qxl_mode_dumb_create()
Summary: CVE-2023-39198 kernel: QXL: race condition leading to use-after-free in qxl_m...
Keywords:
Status: NEW
Alias: CVE-2023-39198, ZDI-CAN-20940
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2218333 2218335 2218334 2218336 2248704
Blocks: 2209594
TreeView+ depends on / blocked
 
Reported: 2023-06-28 18:58 UTC by Mauro Matteo Cascella
Modified: 2024-05-02 22:49 UTC (History)
54 users (show)

Fixed In Version: kernel 6.5-rc7
Doc Type: If docs needed, set a value
Doc Text:
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.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:2634 0 None None None 2024-05-01 01:21:51 UTC
Red Hat Product Errata RHBA-2024:2650 0 None None None 2024-05-02 00:14:40 UTC
Red Hat Product Errata RHBA-2024:2686 0 None None None 2024-05-02 22:49:46 UTC
Red Hat Product Errata RHSA-2024:2394 0 None None None 2024-04-30 10:10:08 UTC

Description Mauro Matteo Cascella 2023-06-28 18:58:17 UTC
A race condition leading to a use-after-free issue was found in the QXL driver in the Linux kernel.

Comment 12 Mauro Matteo Cascella 2023-11-08 13:32:32 UTC
Upstream fix:
https://github.com/torvalds/linux/commit/c611589b4259ed63b9b77be6872b1ce07ec0ac16

Comment 13 Mauro Matteo Cascella 2023-11-08 13:33:30 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2248704]

Comment 14 Justin M. Forbes 2023-11-08 18:09:42 UTC
This was fixed for Fedora with the 6.4.12 stable kernel updates.

Comment 15 errata-xmlrpc 2024-04-30 10:10:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:2394 https://access.redhat.com/errata/RHSA-2024:2394


Note You need to log in before you can comment on or make changes to this bug.