CVE-2024-49876
HIGH EPSS 15.6%
Published Oct 21, 20241y ago · Modified Jun 17, 20261w ago
7.8 CVSS 3.1
Published Oct 21, 2024 1y ago
Last Modified Jun 17, 2026 1w ago
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)
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
EPSS Exploit Probability
15.6% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 1
CWE-416 Use After Free Memory Safety
Affected Products 3
References 3
- git.kernel.org https://git.kernel.org/stable/c/272b0e78874586d6ccae04079d75b27b47705544
- git.kernel.org https://git.kernel.org/stable/c/2d2be279f1ca9e7288282d4214f16eea8a727cdb
- git.kernel.org https://git.kernel.org/stable/c/421c74670b0f9d5c007f1276d3647aa58f407fde
Remediation
- git.kernel.org https://git.kernel.org/stable/c/272b0e78874586d6ccae04079d75b27b47705544
- git.kernel.org https://git.kernel.org/stable/c/2d2be279f1ca9e7288282d4214f16eea8a727cdb
- git.kernel.org https://git.kernel.org/stable/c/421c74670b0f9d5c007f1276d3647aa58f407fde