Local privilege escalation via DRM object use-after-free
Published Apr 10, 2024 · Updated Aug 5, 2026
Use-after-free in Linux kernel 5.5 through 5.15.4 allows local users to corrupt kernel memory through DRM PRIME mmap operations. drm_gem_ttm_mmap drops the last GEM-object reference before its caller reacquires it, so a refcount of one frees the object before drm_gem_object_get accesses it. Access to an affected DRM render or primary node enables kernel-memory disclosure, arbitrary kernel writes, privilege escalation, or a host panic.
Summary
What happened
Use-after-free in Linux kernel 5.5 through 5.15.4 allows local users to corrupt kernel memory through DRM PRIME mmap operations. drm_gem_ttm_mmap drops the last GEM-object reference before its caller reacquires it, so a refcount of one frees the object before drm_gem_object_get accesses it. Access to an affected DRM render or primary node enables kernel-memory disclosure, arbitrary kernel writes, privilege escalation, or a host panic.
The record
- CVE
- CVE-2021-47200
- Published
- Apr 10, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 10, 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.5
- Affected versionversion=9786b65bc61acec63f923978c75e707afbb74bc7 <4f8e469a2384dfa4047145b0093126462cbb6dc0
- Affected versionversion=9786b65bc61acec63f923978c75e707afbb74bc7 <8244a3bc27b3efd057da154b8d7e414670d5044f
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