We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-53148

comedi: Flush partial mappings in error case



Description

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").

Reserved 2024-11-19 | Published 2024-12-24 | Updated 2025-01-20 | Assigner Linux

Product status

Default status
unaffected

ed9eccbe8970f6eedc1b978c157caf1251a896d4 before 57f048c2d205b85e34282a9b0b0ae177e84c2f44
affected

ed9eccbe8970f6eedc1b978c157caf1251a896d4 before b9322408d83accc8b96322bc7356593206288c56
affected

ed9eccbe8970f6eedc1b978c157caf1251a896d4 before 8797b7712de704dc231f9e821d8eb3b9aeb3a032
affected

ed9eccbe8970f6eedc1b978c157caf1251a896d4 before 16c507df509113c037cdc0ba642b9ab3389bd26c
affected

ed9eccbe8970f6eedc1b978c157caf1251a896d4 before 9b07fb464eb69a752406e78e62ab3a60bfa7b00d
affected

ed9eccbe8970f6eedc1b978c157caf1251a896d4 before c6963a06ce5c61d3238751ada04ee1569663a828
affected

ed9eccbe8970f6eedc1b978c157caf1251a896d4 before 297f14fbb81895f4ccdb0ad25d196786d6461e00
affected

ed9eccbe8970f6eedc1b978c157caf1251a896d4 before ce8f9fb651fac95dd41f69afe54d935420b945bd
affected

Default status
affected

2.6.29
affected

Any version before 2.6.29
unaffected

5.4.287
unaffected

5.10.231
unaffected

5.15.174
unaffected

6.1.120
unaffected

6.6.64
unaffected

6.11.11
unaffected

6.12.2
unaffected

6.13
unaffected

References

git.kernel.org/...c/57f048c2d205b85e34282a9b0b0ae177e84c2f44

git.kernel.org/...c/b9322408d83accc8b96322bc7356593206288c56

git.kernel.org/...c/8797b7712de704dc231f9e821d8eb3b9aeb3a032

git.kernel.org/...c/16c507df509113c037cdc0ba642b9ab3389bd26c

git.kernel.org/...c/9b07fb464eb69a752406e78e62ab3a60bfa7b00d

git.kernel.org/...c/c6963a06ce5c61d3238751ada04ee1569663a828

git.kernel.org/...c/297f14fbb81895f4ccdb0ad25d196786d6461e00

git.kernel.org/...c/ce8f9fb651fac95dd41f69afe54d935420b945bd

cve.org (CVE-2024-53148)

nvd.nist.gov (CVE-2024-53148)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-53148

Support options

Helpdesk Chat, Email, Knowledgebase
Subscribe to our newsletter to learn more about our work.