CVE-2024-56540
Severity CVSS v4.0:
Pending analysis
Type:
CWE-362
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Publication date:
27/12/2024
Last modified:
01/10/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
accel/ivpu: Prevent recovery invocation during probe and resume<br />
<br />
Refactor IPC send and receive functions to allow correct<br />
handling of operations that should not trigger a recovery process.<br />
<br />
Expose ivpu_send_receive_internal(), which is now utilized by the D0i3<br />
entry, DCT initialization, and HWS initialization functions.<br />
These functions have been modified to return error codes gracefully,<br />
rather than initiating recovery.<br />
<br />
The updated functions are invoked within ivpu_probe() and ivpu_resume(),<br />
ensuring that any errors encountered during these stages result in a proper<br />
teardown or shutdown sequence. The previous approach of triggering recovery<br />
within these functions could lead to a race condition, potentially causing<br />
undefined behavior and kernel crashes due to null pointer dereferences.
Impact
Base Score 3.x
4.70
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.8 (including) | 6.11.11 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.12 (including) | 6.12.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



