CVE-2024-56540

MEDIUM

Linux Kernel - Race Condition in IVPU Driver

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 4.7
EPSS 0.0016
EPSS Percentile 5.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-362 CWE-476
Status published
Products (11)
linux/Kernel 6.12.0 - 6.12.2linux
linux/Kernel 6.8.0 - 6.11.11linux
Linux/Linux < 6.8
Linux/Linux 45e45362e0955fc3b0b622e8a0d788097f3de902 - 362ef76020ea6219a4df4ac5b738672b59527239
Linux/Linux 45e45362e0955fc3b0b622e8a0d788097f3de902 - 5eaa497411197c41b0813d61ba3fbd6267049082
Linux/Linux 45e45362e0955fc3b0b622e8a0d788097f3de902 - cac822772c4dc27a285f09caf30072ab76d2bf38
Linux/Linux 6.11.11 - 6.11.*
Linux/Linux 6.12.2 - 6.12.*
Linux/Linux 6.13
Linux/Linux 6.8
... and 1 more
Published Dec 27, 2024
Tracked Since Feb 18, 2026