Kernel memory corruption via stale debugfs write
Published Aug 19, 2025 · Updated Aug 5, 2026
Use-after-free in Linux kernel 6.16 Panthor GEM handling allows local users to corrupt kernel memory through a render-node ioctl race. panthor_gem_create_with_handle() calls drm_gem_object_put() before updating debugfs flags, so concurrent GEM_CLOSE processing can free the object before the stale write. Access to a Panthor DRM render node is required; the race can disclose or overwrite kernel memory or trigger an oops or panic.
Summary
What happened
Use-after-free in Linux kernel 6.16 Panthor GEM handling allows local users to corrupt kernel memory through a render-node ioctl race. panthor_gem_create_with_handle() calls drm_gem_object_put() before updating debugfs flags, so concurrent GEM_CLOSE processing can free the object before the stale write. Access to a Panthor DRM render node is required; the race can disclose or overwrite kernel memory or trigger an oops or panic.
The record
- CVE
- CVE-2025-38596
- Published
- Aug 19, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 19, 2025CVE 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=6.16
- Affected versionversion=a3707f53eb3f4f3e7a30d720be0885f813d649bb <5f2be12442db6a2904e6e31b0e3b5ad5aebf868b
- Affected versionversion=a3707f53eb3f4f3e7a30d720be0885f813d649bb <fe69a391808404977b1f002a6e7447de3de7a88e
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