Kernel stack overflow via oversized CU occupancy array
Published Dec 28, 2024 · Updated May 11, 2026
Stack exhaustion in the AMD KFD driver in Linux 6.12 allows local users to trigger a kernel stack overflow through a CU occupancy query. kfd_get_cu_occupancy places a 1,056-byte cu_occupancy array on the kernel stack instead of allocating it dynamically. The path requires low-privileged local access and a large AMDGPU_MAX_QUEUES setting; exhausting the stack can crash the kernel.
Summary
What happened
Stack exhaustion in the AMD KFD driver in Linux 6.12 allows local users to trigger a kernel stack overflow through a CU occupancy query. kfd_get_cu_occupancy places a 1,056-byte cu_occupancy array on the kernel stack instead of allocating it dynamically. The path requires low-privileged local access and a large AMDGPU_MAX_QUEUES setting; exhausting the stack can crash the kernel.
The record
- CVE
- CVE-2024-56695
- Published
- Dec 28, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-787, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 28, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 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=6.12
- Affected versionversion=6ae9e1aba97e4cdaa31a0bfdc07497ad0e915c84 <6d9f07196389f35a3afebcf1a12c1425725caddd
- Affected versionversion=6ae9e1aba97e4cdaa31a0bfdc07497ad0e915c84 <922f0e00017b09d9d47e3efac008c8b20ed546a0
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