Kernel privilege escalation via VM_BIND handle confusion
Published Oct 28, 2025 · Updated Oct 28, 2025
Memory corruption in Linux 6.17 through 6.17.2 allows local users to gain kernel privileges through a crafted msm VM_BIND ioctl. In vm_bind_job_lookup_ops, a failed handle lookup leaves a union member as an attacker-controlled handle that cleanup treats as a drm_gem_object pointer. Any unprivileged process able to open an msm DRM render node can trigger a kernel oops or use controlled memory to disclose or modify kernel memory.
Summary
What happened
Memory corruption in Linux 6.17 through 6.17.2 allows local users to gain kernel privileges through a crafted msm VM_BIND ioctl. In vm_bind_job_lookup_ops, a failed handle lookup leaves a union member as an attacker-controlled handle that cleanup treats as a drm_gem_object pointer. Any unprivileged process able to open an msm DRM render node can trigger a kernel oops or use controlled memory to disclose or modify kernel memory.
The record
- CVE
- CVE-2025-40069
- Published
- Oct 28, 2025
- Updated
- Oct 28, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 28, 2025CVE publishedPublication date reported by the CVE source.
- Oct 28, 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=2e6a8a1fe2b262a6dfd0a65041fcd830ee1e7143 <278f8904434aa96055e793936b5977c010549e28
- Affected versionversion=2e6a8a1fe2b262a6dfd0a65041fcd830ee1e7143 <2b512909a291a964cfcf6b58de13256ab3e848c4
- Affected versionversion=6.17
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