CVE-2024-38556

HIGH

Linux Kernel 5.4.174-5.4.x - Out-of-Bounds Access via mlx5 Core Command Queue Semaphore Timeout

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Add a timeout to acquire the command queue semaphore Prevent forced completion handling on an entry that has not yet been assigned an index, causing an out of bounds access on idx = -22. Instead of waiting indefinitely for the sem, blocking flow now waits for index to be allocated or a sem acquisition timeout before beginning the timer for FW completion. Kernel log example: mlx5_core 0000:06:00.0: wait_func_handle_exec_timeout:1128:(pid 185911): cmd[-22]: CREATE_UCTX(0xa04) No done completion

Scores

CVSS v3 7.8
EPSS 0.0026
EPSS Percentile 17.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-129
Status published
Products (21)
Linux/Linux < 5.17
Linux/Linux 4646175c19fd019b773444a11ff62748eb83745b
Linux/Linux 5.10.94 - 5.11
Linux/Linux 5.15.17 - 5.16
Linux/Linux 5.16.3 - 5.17
Linux/Linux 5.17
Linux/Linux 5.4.174 - 5.5
Linux/Linux 6.1.93 - 6.1.*
Linux/Linux 6.10
Linux/Linux 6.6.33 - 6.6.*
... and 11 more
Published Jun 19, 2024
Tracked Since Feb 18, 2026