{"id":"CVE-2024-53148","summary":"comedi: Flush partial mappings in error case","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncomedi: Flush partial mappings in error case\n\nIf some remap_pfn_range() calls succeeded before one failed, we still have\nbuffer pages mapped into the userspace page tables when we drop the buffer\nreference with comedi_buf_map_put(bm). The userspace mappings are only\ncleaned up later in the mmap error path.\n\nFix it by explicitly flushing all mappings in our VMA on the error path.\n\nSee commit 79a61cc3fc04 (\"mm: avoid leaving partial pfn mappings around in\nerror case\").","modified":"2026-04-02T12:22:53.417321Z","published":"2024-12-24T11:28:48.619Z","related":["SUSE-SU-2025:0117-1","SUSE-SU-2025:0153-1","SUSE-SU-2025:0154-1","SUSE-SU-2025:0289-1","SUSE-SU-2025:0556-1","SUSE-SU-2025:0577-1","SUSE-SU-2025:0577-2","SUSE-SU-2025:20165-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20248-1","SUSE-SU-2025:20249-1","USN-7276-1","USN-7277-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53148.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/16c507df509113c037cdc0ba642b9ab3389bd26c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/297f14fbb81895f4ccdb0ad25d196786d6461e00"},{"type":"WEB","url":"https://git.kernel.org/stable/c/57f048c2d205b85e34282a9b0b0ae177e84c2f44"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8797b7712de704dc231f9e821d8eb3b9aeb3a032"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9b07fb464eb69a752406e78e62ab3a60bfa7b00d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b9322408d83accc8b96322bc7356593206288c56"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c6963a06ce5c61d3238751ada04ee1569663a828"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ce8f9fb651fac95dd41f69afe54d935420b945bd"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53148.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53148"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ed9eccbe8970f6eedc1b978c157caf1251a896d4"},{"fixed":"57f048c2d205b85e34282a9b0b0ae177e84c2f44"},{"fixed":"b9322408d83accc8b96322bc7356593206288c56"},{"fixed":"8797b7712de704dc231f9e821d8eb3b9aeb3a032"},{"fixed":"16c507df509113c037cdc0ba642b9ab3389bd26c"},{"fixed":"9b07fb464eb69a752406e78e62ab3a60bfa7b00d"},{"fixed":"c6963a06ce5c61d3238751ada04ee1569663a828"},{"fixed":"297f14fbb81895f4ccdb0ad25d196786d6461e00"},{"fixed":"ce8f9fb651fac95dd41f69afe54d935420b945bd"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53148.json"}}],"schema_version":"1.7.5"}