Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.8, < 6.11.11 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/362ef76020ea6219a4df4ac5b738672b59527239Patch
- https://git.kernel.org/stable/c/5eaa497411197c41b0813d61ba3fbd6267049082Patch
- https://git.kernel.org/stable/c/cac822772c4dc27a285f09caf30072ab76d2bf38Patch
FAQ
What is CVE-2024-56540?
CVE-2024-56540 is a vulnerability with a CVSS score of 4.7 (MEDIUM). 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 ...
How severe is CVE-2024-56540?
CVE-2024-56540 has been rated MEDIUM with a CVSS base score of 4.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-56540?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.