Advisory Published
Updated

CVE-2024-56584: io_uring/tctx: work around xa_store() allocation error issue

First published: Fri Dec 27 2024(Updated: )

In the Linux kernel, the following vulnerability has been resolved: io_uring/tctx: work around xa_store() allocation error issue syzbot triggered the following WARN_ON: WARNING: CPU: 0 PID: 16 at io_uring/tctx.c:51 __io_uring_free+0xfa/0x140 io_uring/tctx.c:51 which is the WARN_ON_ONCE(!xa_empty(&tctx->xa)); sanity check in __io_uring_free() when a io_uring_task is going through its final put. The syzbot test case includes injecting memory allocation failures, and it very much looks like xa_store() can fail one of its memory allocations and end up with ->head being non-NULL even though no entries exist in the xarray. Until this issue gets sorted out, work around it by attempting to iterate entries in our xarray, and WARN_ON_ONCE() if one is found.

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

Affected SoftwareAffected VersionHow to fix
Linux Kernel
debian/linux<=5.10.223-1<=5.10.234-1
6.1.129-1
6.1.128-1
6.12.20-1
6.12.21-1
debian/linux-6.1
6.1.129-1~deb11u1

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-56584?

    CVE-2024-56584 has been classified with a severity level that may impact system stability due to allocation errors in the io_uring subsystem.

  • How do I fix CVE-2024-56584?

    To fix CVE-2024-56584, update your Linux kernel to the latest stable version where this vulnerability has been addressed.

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

    CVE-2024-56584 affects the Linux kernel, specifically the versions utilizing the io_uring subsystem.

  • What are the symptoms of CVE-2024-56584 exploitation?

    Exploitation of CVE-2024-56584 may lead to warnings in the system logs related to io_uring operations and potential instability.

  • Is CVE-2024-56584 actively being exploited in the wild?

    As of now, there is no evidence to suggest that CVE-2024-56584 is being actively exploited in the wild.

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