Kernel memory corruption via post-removal DRM access
Published Dec 27, 2024 · Updated Aug 5, 2026
Use-after-free in the Linux kernel's ZynqMP DRM cleanup path allows local users to corrupt kernel memory through post-removal device access. The zynqmp_dpsub_drm_cleanup() function calls drm_dev_unregister() instead of drm_dev_unplug(), so open userspace handles can continue entering driver internals after teardown frees their resources. Exploitation requires local access to the ZynqMP DRM device during device removal, and stale accesses can crash or hang the system.
Summary
What happened
Use-after-free in the Linux kernel's ZynqMP DRM cleanup path allows local users to corrupt kernel memory through post-removal device access. The zynqmp_dpsub_drm_cleanup() function calls drm_dev_unregister() instead of drm_dev_unplug(), so open userspace handles can continue entering driver internals after teardown frees their resources. Exploitation requires local access to the ZynqMP DRM device during device removal, and stale accesses can crash or hang the system.
The record
- CVE
- CVE-2024-56538
- Published
- Dec 27, 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
- Dec 27, 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=5.9
- Affected versionversion=d76271d22694e874ed70791702db9252ffe96a4c <2e07c88914fc5289c21820b1aa94f058feb38197
- Affected versionversion=d76271d22694e874ed70791702db9252ffe96a4c <4fb97432e28a7e136b2d76135d50e988ada8e1af
- Affected versionversion=d76271d22694e874ed70791702db9252ffe96a4c <692f52aedccbf79b212a1e14e3735192b4c24a7d
- Affected versionversion=d76271d22694e874ed70791702db9252ffe96a4c <a17b9afe58c474657449cf87e238b1788200576b
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