CVE-2024-53148

Source
https://cve.org/CVERecord?id=CVE-2024-53148
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-53148.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-53148
Downstream
Related
Published
2024-12-24T11:28:48.619Z
Modified
2026-03-11T07:54:06.602604Z
Summary
comedi: Flush partial mappings in error case
Details

In the Linux kernel, the following vulnerability has been resolved:

comedi: Flush partial mappings in error case

If some remappfnrange() calls succeeded before one failed, we still have buffer pages mapped into the userspace page tables when we drop the buffer reference with comedibufmap_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").

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53148.json"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2024-53148.json"