System crash via freed RMI function dereference
Published May 21, 2024 · Updated May 11, 2026
Use-after-free in the Linux kernel synaptics-rmi4 input driver allows local users to crash the system during function removal. rmi_unregister_function() calls put_device(), which releases and frees fn, then reads fn->num_of_irqs before unregistering the IRQ domain. Reachability requires the affected RMI4 driver and its function-removal path; the documented consequence is a local system crash.
Summary
What happened
Use-after-free in the Linux kernel synaptics-rmi4 input driver allows local users to crash the system during function removal. rmi_unregister_function() calls put_device(), which releases and frees fn, then reads fn->num_of_irqs before unregistering the IRQ domain. Reachability requires the affected RMI4 driver and its function-removal path; the documented consequence is a local system crash.
The record
- CVE
- CVE-2023-52840
- Published
- May 21, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1499.004
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- May 21, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 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=24d28e4f1271cb2f91613dada8f2acccd00eff56 <2f236d8638f5b43e0c72919a6a27fe286c32053f
- Affected versionversion=24d28e4f1271cb2f91613dada8f2acccd00eff56 <303766bb92c5c225cf40f9bbbe7e29749406e2f2
- Affected versionversion=24d28e4f1271cb2f91613dada8f2acccd00eff56 <50d12253666195a14c6cd2b81c376e2dbeedbdff
- Affected versionversion=24d28e4f1271cb2f91613dada8f2acccd00eff56 <6c71e065befb2fae8f1461559b940c04e1071bd5
- Affected versionversion=24d28e4f1271cb2f91613dada8f2acccd00eff56 <7082b1fb5321037bc11ba1cf2d7ed23c6b2b521f
- Affected versionversion=24d28e4f1271cb2f91613dada8f2acccd00eff56 <c8e639f5743cf4b01f8c65e0df075fe4d782b585
- Affected versionversion=24d28e4f1271cb2f91613dada8f2acccd00eff56 <cc56c4d17721dcb10ad4e9c9266e449be1462683
- Affected versionversion=24d28e4f1271cb2f91613dada8f2acccd00eff56 <eb988e46da2e4eae89f5337e047ce372fe33d5b1
- Affected versionversion=4.18
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
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