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

Published May 17, 2024
·
Updated

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

iouring: Fix release of pinned pages when iouaddrmap fails

Looking at the error path of iouaddrmap, 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.

Other sources

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

iouring: Fix release of pinned pages when iouaddrmap fails

The Linux kernel CVE team has assigned CVE-2024-35831 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024051742-CVE-2024-35831-abcc@gregkh/T

Red Hat

Affected Software

13 affected componentsFixes available
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
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
Linux Linux kernel>=6.5.7<6.6
Linux Linux kernel>=6.6.1<6.6.23
Linux Linux kernel>=6.7<6.7.11
Linux Linux kernel>=6.8<6.8.2
Linux Linux kernel=6.6
Linux Linux kernel=6.6-rc5
Linux Linux kernel=6.6-rc6
Linux Linux kernel=6.6-rc7

Event History

May 17, 2024
CVE Published
via MITRE·01:41 PM
Data Sourced
via MITRE·01:41 PM
Description
Data Sourced
via NVD·02:15 PM
Description
Data Sourced
via NVD·02:15 PM
RemedySeverityWeaknessAffected Software
Data Sourced
via Red Hat·11:03 PM
DescriptionSeverityAffected Software
Jun 8, 2024
Data Sourced
via Launchpad·01:18 AM
Description
Dec 1, 2024
Data Sourced
via Ubuntu·05:30 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203