← CVE Intelligence

CVE-2024-56540

accel/ivpu: Prevent recovery invocation during probe and resume PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 45e45362e0955fc3b0b622e8a0d788097f3de902 before cac822772c4dc27a285f09caf30072ab76d2bf38; affected 45e45362e0955fc3b0b622e8a0d788097f3de902 before 362ef76020ea6219a4df4ac5b738672b59527239; affected 45e45362e0955fc3b0b622e8a0d788097f3de902 before 5eaa497411197c41b0813d61ba3fbd6267049082
Linux / Linuxaffected 6.8; unaffected 0 before 6.8; unaffected 6.11.11 through 6.11.*; unaffected 6.12.2 through 6.12.*; unaffected 6.13 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.