Advisory Published
Updated

CVE-2024-53148: comedi: Flush partial mappings in error case

First published: Tue Dec 24 2024(Updated: )

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

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel
debian/linux<=5.10.223-1<=5.10.226-1
6.1.123-1
6.1.128-1
6.12.12-1
6.12.15-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-53148?

    CVE-2024-53148 has a moderate severity rating due to the potential for userspace memory access issues.

  • How do I fix CVE-2024-53148?

    To resolve CVE-2024-53148, update your Linux kernel to the latest patched version provided by your distribution.

  • What systems are affected by CVE-2024-53148?

    CVE-2024-53148 affects various versions of the Linux kernel used in many Linux distributions.

  • What are the potential impacts of CVE-2024-53148?

    The potential impacts of CVE-2024-53148 include unauthorized access to userspace memory by an attacker.

  • Is there a workaround for CVE-2024-53148?

    Currently, there are no officially recommended workarounds for CVE-2024-53148; applying the patch is the best mitigation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203