PT-2024-8005 · Linux+3 · Linux Kernel+3
Matthew Auld
·
Published
2024-08-19
·
Updated
2025-09-29
·
CVE-2024-46683
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to a use-after-free (UAF) vulnerability in the Linux kernel, specifically in the drm/xe module. The vulnerability occurs when the fence lock is part of the queue, and anything locking the fence should also hold a reference to the queue to prevent it from being freed. However, the current design signals the fence and then drops the queue reference, which can lead to a situation where the lock is freed as part of the queue, resulting in a UAF. The estimated number of potentially affected devices worldwide is not available. There is no information about real-world incidents where this issue was exploited.
To prevent this, the fence lock can be moved into the fence itself to avoid lifetime issues. Alternative solutions might include having a device-level lock or only releasing the queue in the fence release callback, although this might require pushing to another worker to avoid locking issues.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Linuxmint
Linux Kernel
Ubuntu