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 Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | ||
Linux Kernel | >=6.8<6.11.11 | |
Linux Kernel | >=6.12<6.12.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-56540 is classified as a low-severity vulnerability in the Linux kernel.
To fix CVE-2024-56540, it is recommended to update the Linux kernel to version 6.12.2 or later.
CVE-2024-56540 affects Linux kernel versions between 6.8 and 6.11.11 and also includes 6.12.
CVE-2024-56540 is a vulnerability related to improper handling of IPC send and receive functions in the Linux kernel.
If CVE-2024-56540 is not addressed, it may lead to unintended recovery process triggers during probe and resume operations.