CVE-2024-53148
comedi: Flush partial mappings in error case
Reported by linux · Published December 24, 2024
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").
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.12.2, 6.11.11, 6.6.64, 6.1.120, 5.15.174, 5.10.231, 5.4.287 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ed9eccbe8970f6eedc1b978c157caf1251a896d4, ed9eccbe8970f6eedc1b978c157caf1251a896d4, ed9eccbe8970f6eedc1b978c157caf1251a896d4 |
| Linux | Linux | 2.6.29, 0, 5.4.287 |
| linux | linux_kernel | 2.6.29, 2.6.29, 2.6.29 |
| Linux | Linux | *, *, * |
Timeline
- Dec 24, 2024 CVE Published
- Dec 25, 2024 EPSS Score (30 in total, the first dated here)
- Mar 16, 2025 Coalition ESS Score (6 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Dec 31, 2025 Security Advisory (176 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (139 in total, the first dated here)
- Aug 5, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-53148
vulnetix vdb fixes CVE-2024-53148
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-53148/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart