Local privilege escalation via stale Comedi mappings
Published Dec 24, 2024 · Updated Aug 5, 2026
Use-after-free in the Linux kernel Comedi mmap path allows local users to read or write reused kernel memory and escalate privileges. If remap_pfn_range partially succeeds, comedi_mmap drops the buffer reference before its VMA mappings are flushed, leaving writable page-table entries to freed pages. An attached Comedi driver and access to /dev/comediN are required; racing mmap failure with buffer release enables kernel-memory disclosure, corruption, panic, or root escalation.
Summary
What happened
Use-after-free in the Linux kernel Comedi mmap path allows local users to read or write reused kernel memory and escalate privileges. If remap_pfn_range partially succeeds, comedi_mmap drops the buffer reference before its VMA mappings are flushed, leaving writable page-table entries to freed pages. An attached Comedi driver and access to /dev/comediN are required; racing mmap failure with buffer release enables kernel-memory disclosure, corruption, panic, or root escalation.
The record
- CVE
- CVE-2024-53148
- Published
- Dec 24, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 24, 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=2.6.29
- Affected versionversion=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <16c507df509113c037cdc0ba642b9ab3389bd26c
- Affected versionversion=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <297f14fbb81895f4ccdb0ad25d196786d6461e00
- Affected versionversion=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <57f048c2d205b85e34282a9b0b0ae177e84c2f44
- Affected versionversion=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <8797b7712de704dc231f9e821d8eb3b9aeb3a032
- Affected versionversion=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <9b07fb464eb69a752406e78e62ab3a60bfa7b00d
- Affected versionversion=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <b9322408d83accc8b96322bc7356593206288c56
- Affected versionversion=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <c6963a06ce5c61d3238751ada04ee1569663a828
- Affected versionversion=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <ce8f9fb651fac95dd41f69afe54d935420b945bd
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