Local code execution via uncleared fence fallback timer
Published Jun 19, 2024 · Updated Aug 5, 2026
Use-after-free in the AMDGPU MES subsystem in affected Linux kernels allows local users to crash the system or execute arbitrary code. amdgpu_mes_remove_ring freed a ring without synchronously deleting its fence fallback timer, allowing the timer to access freed fence state. Successful exploitation requires local access, an AMD GPU using MES, and the queue-removal race; the bounded outcomes are a system crash or kernel-context code execution.
Summary
What happened
Use-after-free in the AMDGPU MES subsystem in affected Linux kernels allows local users to crash the system or execute arbitrary code. amdgpu_mes_remove_ring freed a ring without synchronously deleting its fence fallback timer, allowing the timer to access freed fence state. Successful exploitation requires local access, an AMD GPU using MES, and the queue-removal race; the bounded outcomes are a system crash or kernel-context code execution.
The record
- CVE
- CVE-2024-38581
- Published
- Jun 19, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 19, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.20
- Affected versionversion=8c5e13ec6a2c26d31d0551dc382661dc10823be0 <0f98c144c15c8fc0f3176c994bd4e727ef718a5c
- Affected versionversion=8c5e13ec6a2c26d31d0551dc382661dc10823be0 <39cfce75168c11421d70b8c0c65f6133edccb82a
- Affected versionversion=8c5e13ec6a2c26d31d0551dc382661dc10823be0 <70b1bf6d9edc8692d241f59a65f073aec6d501de
- Affected versionversion=8c5e13ec6a2c26d31d0551dc382661dc10823be0 <948255282074d9367e01908b3f5dcf8c10fc9c3d
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo