Local privilege escalation via stale buffer pointer
Published Oct 21, 2024 · Updated Aug 5, 2026
Use-after-free in the Linux kernel amdkfd component allows local users with /dev/kfd access to escalate privileges or crash the host. amdkfd_free_gtt_mem passes a local pointer copy to amdgpu_bo_unref, leaving the original buffer-object pointer stale after the object is freed. A local user able to open /dev/kfd can drive queue creation, destruction, or process teardown to reuse the freed object, enabling kernel-memory read or write and a kernel panic.
Summary
What happened
Use-after-free in the Linux kernel amdkfd component allows local users with /dev/kfd access to escalate privileges or crash the host. amdkfd_free_gtt_mem passes a local pointer copy to amdgpu_bo_unref, leaving the original buffer-object pointer stale after the object is freed. A local user able to open /dev/kfd can drive queue creation, destruction, or process teardown to reuse the freed object, enabling kernel-memory read or write and a kernel panic.
The record
- CVE
- CVE-2024-49991
- Published
- Oct 21, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 21, 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=130e0371b7d454bb4a861253c822b9f911ad5d19 <30ceb873cc2e97348d9da2265b2d1ddf07f682e1
- Affected versionversion=130e0371b7d454bb4a861253c822b9f911ad5d19 <6c9289806591807e4e3be9a23df8ee2069180055
- Affected versionversion=130e0371b7d454bb4a861253c822b9f911ad5d19 <71f3240f82987f0f070ea5bed559033de7d4c0e1
- Affected versionversion=130e0371b7d454bb4a861253c822b9f911ad5d19 <c86ad39140bbcb9dc75a10046c2221f657e8083b
- Affected versionversion=130e0371b7d454bb4a861253c822b9f911ad5d19 <e7831613cbbcd9058d3658fbcdc5d5884ceb2e0c
- Affected versionversion=4.3
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