Kernel memory corruption via invalid error-path free
Published Oct 7, 2025 · Updated Oct 7, 2025
Memory corruption in AMD KFD in affected Linux kernels allows local users to disclose or modify kernel memory through DMA-BUF imports. In _gpuvm_import_dmabuf(), an error from drm_vma_node_allow() sends the kgd_mem pointer parameter, rather than its allocated object, to kfree(). Access to /dev/kfd as an unprivileged render or seat user and an induced allocation failure are required; exploitation can also crash or hang the host.
Summary
What happened
Memory corruption in AMD KFD in affected Linux kernels allows local users to disclose or modify kernel memory through DMA-BUF imports. In _gpuvm_import_dmabuf(), an error from drm_vma_node_allow() sends the kgd_mem pointer parameter, rather than its allocated object, to kfree(). Access to /dev/kfd as an unprivileged render or seat user and an induced allocation failure are required; exploitation can also crash or hang the host.
The record
- CVE
- CVE-2022-50528
- Published
- Oct 7, 2025
- Updated
- Oct 7, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-401, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 7, 2025CVE publishedPublication date reported by the CVE source.
- Oct 7, 2025Record 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=5.14
- Affected versionversion=d4ec4bdc0bd5ad352854473ba4dcbdb39fd5bfdd <7356d8e367d0e025a568e369c4cf575722cac60f
- Affected versionversion=d4ec4bdc0bd5ad352854473ba4dcbdb39fd5bfdd <75818afff631e1ea785a82c3e8bb82eb0dee539c
- Affected versionversion=d4ec4bdc0bd5ad352854473ba4dcbdb39fd5bfdd <8876793e56ec69b3be2a883b4bc440df3dbb1865
- Affected versionversion=d4ec4bdc0bd5ad352854473ba4dcbdb39fd5bfdd <c65564790048fa416ccd26a8945c7ec0cf9ef0b7
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.
Weakness, pattern, technique
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