{"id":"CVE-2024-53148","published":"2024-12-24T11:28:48Z","modified":"2026-08-05T11:44:10Z","title":"comedi: Flush partial mappings in error case","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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\").","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00252,"percentile":0.16796,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/57f048c2d205b85e34282a9b0b0ae177e84c2f44","tags":[]},{"url":"https://git.kernel.org/stable/c/b9322408d83accc8b96322bc7356593206288c56","tags":[]},{"url":"https://git.kernel.org/stable/c/8797b7712de704dc231f9e821d8eb3b9aeb3a032","tags":[]},{"url":"https://git.kernel.org/stable/c/16c507df509113c037cdc0ba642b9ab3389bd26c","tags":[]},{"url":"https://git.kernel.org/stable/c/9b07fb464eb69a752406e78e62ab3a60bfa7b00d","tags":[]},{"url":"https://git.kernel.org/stable/c/c6963a06ce5c61d3238751ada04ee1569663a828","tags":[]},{"url":"https://git.kernel.org/stable/c/297f14fbb81895f4ccdb0ad25d196786d6461e00","tags":[]},{"url":"https://git.kernel.org/stable/c/ce8f9fb651fac95dd41f69afe54d935420b945bd","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[]}],"priority":{"score":8.8,"factors":[{"name":"EPSS percentile","points":3.36},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ed9eccbe8970f6eedc1b978c157caf1251a896d4, < 57f048c2d205b85e34282a9b0b0ae177e84c2f44",">= ed9eccbe8970f6eedc1b978c157caf1251a896d4, < b9322408d83accc8b96322bc7356593206288c56",">= ed9eccbe8970f6eedc1b978c157caf1251a896d4, < 8797b7712de704dc231f9e821d8eb3b9aeb3a032",">= ed9eccbe8970f6eedc1b978c157caf1251a896d4, < 16c507df509113c037cdc0ba642b9ab3389bd26c",">= ed9eccbe8970f6eedc1b978c157caf1251a896d4, < 9b07fb464eb69a752406e78e62ab3a60bfa7b00d",">= ed9eccbe8970f6eedc1b978c157caf1251a896d4, < c6963a06ce5c61d3238751ada04ee1569663a828",">= ed9eccbe8970f6eedc1b978c157caf1251a896d4, < 297f14fbb81895f4ccdb0ad25d196786d6461e00",">= ed9eccbe8970f6eedc1b978c157caf1251a896d4, < ce8f9fb651fac95dd41f69afe54d935420b945bd"]},{"vendor":"Linux","product":"Linux","versions":["2.6.29"]}],"euvd":{"id":"EUVD-2024-51820","exploited":false,"provenance":"source"}}