CWE
476 362
Advisory Published
Updated

CVE-2024-56540: accel/ivpu: Prevent recovery invocation during probe and resume

First published: Fri Dec 27 2024(Updated: )

In the Linux kernel, the following vulnerability has been resolved: accel/ivpu: Prevent recovery invocation during probe and resume Refactor IPC send and receive functions to allow correct handling of operations that should not trigger a recovery process. Expose ivpu_send_receive_internal(), which is now utilized by the D0i3 entry, DCT initialization, and HWS initialization functions. These functions have been modified to return error codes gracefully, rather than initiating recovery. The updated functions are invoked within ivpu_probe() and ivpu_resume(), ensuring that any errors encountered during these stages result in a proper teardown or shutdown sequence. The previous approach of triggering recovery within these functions could lead to a race condition, potentially causing undefined behavior and kernel crashes due to null pointer dereferences.

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

Affected SoftwareAffected VersionHow to fix
Linux Kernel
Linux Kernel>=6.8<6.11.11
Linux Kernel>=6.12<6.12.2
debian/linux
5.10.223-1
5.10.234-1
6.1.129-1
6.1.133-1
6.12.21-1
6.12.22-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-56540?

    CVE-2024-56540 is classified as a low-severity vulnerability in the Linux kernel.

  • How do I fix CVE-2024-56540?

    To fix CVE-2024-56540, it is recommended to update the Linux kernel to version 6.12.2 or later.

  • What versions of the Linux kernel are affected by CVE-2024-56540?

    CVE-2024-56540 affects Linux kernel versions between 6.8 and 6.11.11 and also includes 6.12.

  • What type of vulnerability is CVE-2024-56540?

    CVE-2024-56540 is a vulnerability related to improper handling of IPC send and receive functions in the Linux kernel.

  • What issues can CVE-2024-56540 cause if not addressed?

    If CVE-2024-56540 is not addressed, it may lead to unintended recovery process triggers during probe and resume operations.

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