CVE-2024-49876

HIGH

Linux Kernel 6.8-6.10.13, 6.11.0-6.11.2 - Use-After-Free in drm/xe Queue Destruction

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: drm/xe: fix UAF around queue destruction We currently do stuff like queuing the final destruction step on a random system wq, which will outlive the driver instance. With bad timing we can teardown the driver with one or more work workqueue still being alive leading to various UAF splats. Add a fini step to ensure user queues are properly torn down. At this point GuC should already be nuked so queue itself should no longer be referenced from hw pov. v2 (Matt B) - Looks much safer to use a waitqueue and then just wait for the xa_array to become empty before triggering the drain. (cherry picked from commit 861108666cc0e999cffeab6aff17b662e68774e3)

Scores

CVSS v3 7.8
EPSS 0.0024
EPSS Percentile 15.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-416
Status published
Products (12)
linux/Kernel 6.11.0 - 6.11.3linux
linux/Kernel 6.8.0 - 6.10.14linux
Linux/Linux < 6.8
Linux/Linux 6.10.14 - 6.10.*
Linux/Linux 6.11.3 - 6.11.*
Linux/Linux 6.12
Linux/Linux 6.8
Linux/Linux dd08ebf6c3525a7ea2186e636df064ea47281987 - 272b0e78874586d6ccae04079d75b27b47705544
Linux/Linux dd08ebf6c3525a7ea2186e636df064ea47281987 - 2d2be279f1ca9e7288282d4214f16eea8a727cdb
Linux/Linux dd08ebf6c3525a7ea2186e636df064ea47281987 - 421c74670b0f9d5c007f1276d3647aa58f407fde
... and 2 more
Published Oct 21, 2024
Tracked Since Feb 18, 2026