CVE-2024-53148

published 24 Dec 2024 · updated 5 Aug 2026

comedi: Flush partial mappings in error case

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 16c507df509113c037cdc0ba642b9ab3389bd26c, Kernel 297f14fbb81895f4ccdb0ad25d196786d6461e00, Kernel 57f048c2d205b85e34282a9b0b0ae177e84c2f44 and 5 more.

In the Linux kernel, the following vulnerability has been resolved: comedi: Flush partial mappings in error case If some remap_pfn_range() calls succeeded before one failed, we still have buffer pages mapped into the userspace page tables when we drop the buffer reference with comedi_buf_map_put(bm). The userspace mappings are only cleaned up later in the mmap error path. Fix it by explicitly flushing all mappings in our VMA on the error path. See commit 79a61cc3fc04 ("mm: avoid leaving partial pfn mappings around in error case").

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.29, >=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <16c507df509113c037cdc0ba642b9ab3389bd26c, >=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <297f14fbb81895f4ccdb0ad25d196786d6461e00, >=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <57f048c2d205b85e34282a9b0b0ae177e84c2f44, >=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <8797b7712de704dc231f9e821d8eb3b9aeb3a032, >=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <9b07fb464eb69a752406e78e62ab3a60bfa7b00d, >=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <b9322408d83accc8b96322bc7356593206288c56, >=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <c6963a06ce5c61d3238751ada04ee1569663a828, >=ed9eccbe8970f6eedc1b978c157caf1251a896d4 <ce8f9fb651fac95dd41f69afe54d935420b945bd16c507df509113c037cdc0ba642b9ab3389bd26c, 297f14fbb81895f4ccdb0ad25d196786d6461e00, 57f048c2d205b85e34282a9b0b0ae177e84c2f44, 8797b7712de704dc231f9e821d8eb3b9aeb3a032, 9b07fb464eb69a752406e78e62ab3a60bfa7b00d, b9322408d83accc8b96322bc7356593206288c56, c6963a06ce5c61d3238751ada04ee1569663a828, ce8f9fb651fac95dd41f69afe54d935420b945bd

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-53148 severity on Zeptric[![CVE-2024-53148](https://zeptric.io/badge/cve/CVE-2024-53148.svg)](https://zeptric.io/cve/CVE-2024-53148)