Local privilege escalation via stale binder device entry
Published Jul 4, 2025 · Updated Aug 5, 2026
Use-after-free in Linux kernel 6.14 binderfs allows local users to corrupt kernel memory and crash the system through device teardown. binder_free_proc() frees a binder device without first removing it from binder_devices, leaving binder_remove_device() to write through a stale list entry during inode eviction. A low-privilege user must mount binderfs and control device creation, open or close operations, process teardown, and unmount ordering; successful exploitation can disclose or alter kernel memory or stop the system.
Summary
What happened
Use-after-free in Linux kernel 6.14 binderfs allows local users to corrupt kernel memory and crash the system through device teardown. binder_free_proc() frees a binder device without first removing it from binder_devices, leaving binder_remove_device() to write through a stale list entry during inode eviction. A low-privilege user must mount binderfs and control device creation, open or close operations, process teardown, and unmount ordering; successful exploitation can disclose or alter kernel memory or stop the system.
The record
- CVE
- CVE-2025-38175
- Published
- Jul 4, 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
- Jul 4, 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=12d909cac1e1c4147cc3417fee804ee12fc6b984 <4a7694f499cae5b83412c5281bf2c961f34f2ed6
- Affected versionversion=12d909cac1e1c4147cc3417fee804ee12fc6b984 <72a726fb5f25fbb31d6060acfb671c1955831245
- Affected versionversion=12d909cac1e1c4147cc3417fee804ee12fc6b984 <9857af0fcff385c75433f2162c30c62eb912ef6d
- Affected versionversion=6.14
What conditions does exploitation require?
What is affected?
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
- syzbot binder_remove_device reproducerproof of concept · demonstrated
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