EPSS
0.045%
Advisory Published
CVE Published
Updated

CVE-2024-35831: io_uring: Fix release of pinned pages when __io_uaddr_map fails

First published: Fri May 17 2024(Updated: )

In the Linux kernel, the following vulnerability has been resolved: io_uring: Fix release of pinned pages when __io_uaddr_map fails Looking at the error path of __io_uaddr_map, if we fail after pinning the pages for any reasons, ret will be set to -EINVAL and the error handler won't properly release the pinned pages. I didn't manage to trigger it without forcing a failure, but it can happen in real life when memory is heavily fragmented.

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

Affected SoftwareAffected VersionHow to fix
redhat/kernel<6.6.23
6.6.23
redhat/kernel<6.7.11
6.7.11
redhat/kernel<6.8.2
6.8.2
redhat/kernel<6.9
6.9
debian/linux
5.10.223-1
5.10.234-1
6.1.129-1
6.1.135-1
6.12.25-1
6.12.27-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-35831?

    CVE-2024-35831 has a moderate severity level due to its impact on the Linux kernel's I/O handling.

  • How do I fix CVE-2024-35831?

    To fix CVE-2024-35831, upgrade to kernel version 6.6.23, 6.7.11, 6.8.2, 6.9, or the specified patched versions from Debian.

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

    CVE-2024-35831 affects various versions of the Linux kernel, specifically those from Red Hat and Debian.

  • What is the nature of the vulnerability in CVE-2024-35831?

    CVE-2024-35831 involves improper release of pinned pages in the io_uring subsystem of the Linux kernel.

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

    There are no specific workarounds for CVE-2024-35831; applying the patches is the recommended approach.

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