CVE-2024-35880: io_uring/kbuf: hold io_buffer_list reference over mmap

Published May 19, 2024
·
Updated

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

iouring/kbuf: hold iobufferlist reference over mmap

If we look up the kbuf, ensure that it doesn't get unregistered until after we're done with it. Since we're inside mmap, we cannot safely use the iouring lock. Rely on the fact that we can lookup the buffer list under RCU now and grab a reference to it, preventing it from being unregistered until we're done with it. The lookup returns the iobufferlist directly with it referenced.

Other sources

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

iouring/kbuf: hold iobufferlist reference over mmap

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

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024051944-CVE-2024-35880-6ffb@gregkh/T

Red Hat

Affected Software

14 affected componentsFixes available
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1
redhat/kernel<6.6.26
6.6.26
redhat/kernel<6.8.5
6.8.5
redhat/kernel<6.9
6.9
Linux Linux kernel>=6.6.5<6.6.26
Linux Linux kernel>=6.7.1<6.8.5
Linux Linux kernel=6.7
Linux Linux kernel=6.7-rc4
Linux Linux kernel=6.7-rc5
Linux Linux kernel=6.7-rc6
Linux Linux kernel=6.7-rc7
Linux Linux kernel=6.7-rc8
Linux Linux kernel=6.9-rc1
Linux Linux kernel=6.9-rc2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.22-1Fixed in 6.12.25-1
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.6.26
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.8.5
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.9

Event History

May 19, 2024
CVE Published
via MITRE·08:34 AM
Data Sourced
via MITRE·08:34 AM
DescriptionSeverity
Data Sourced
via NVD·09:15 AM
Description
Data Sourced
via NVD·09:15 AM
RemedySeverityAffected Software
May 20, 2024
Data Sourced
via Red Hat·12:15 PM
DescriptionSeverityAffected Software
Jul 11, 2024
Data Sourced
via Launchpad·07:46 PM
Description
Dec 2, 2024
Data Sourced
via Ubuntu·08:17 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-35880?

CVE-2024-35880 has a high severity rating due to its potential impact on the Linux kernel's memory management.

2

How do I fix CVE-2024-35880?

To fix CVE-2024-35880, update your Linux kernel to version 6.6.26 or later for Red Hat and specific versions for Debian as listed in the advisory.

3

Which software versions are affected by CVE-2024-35880?

CVE-2024-35880 affects various Linux kernel versions listed in the advisory, including older releases before the recommended updates.

4

What systems are impacted by CVE-2024-35880?

Systems running affected versions of the Linux kernel are vulnerable to CVE-2024-35880, particularly those using io_uring functionalities.

5

Is there a workaround for CVE-2024-35880?

Currently, the recommended solution for CVE-2024-35880 is to apply the necessary kernel updates rather than relying on workarounds.

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