CVE-2024-56540: accel/ivpu: Prevent recovery invocation during probe and resume
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 ivpusendreceiveinternal(), 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 ivpuprobe() and ivpuresume(), 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.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto 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
Event History
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.