CVE-2024-56540CWE-362CWE-476

CVE-2024-56540

High · published December 27, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
6.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00170 · 6.0th percentile
Weaknesses
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'); CWE-476 · NULL Pointer Dereference
Published
2024-12-27T19:15Z
Affected products (2)
ProductVersionsFixed in
linux/linux_kernel≥ 6.8, < 6.11.116.11.11
linux/linux_kernel≥ 6.12, < 6.12.26.12.2
References (3)
EPSS history
Timeline
  • 27 DEC 14:11Z
    accel/ivpu: Prevent recovery invocation during probe and resume
    cvelistv5