Skip to content
Fencer Vulns
high 7.8

CVE-2024-38556 json

net/mlx5: Add a timeout to acquire the command queue semaphore

published 2024-06-19 2 y ago modified 2026-08-05 3 mo ago also EUVD-2024-37419

cvss
7.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 17%
public exploits
0
none known

Summary

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

Patch / fix

  • Linux Linux 5.5, 5.11, 5.16, 5.17, 6.1.93, 6.6.33, 6.8.12, 6.9.3, 6.10
  • linux Debian 12 6.1.94-1
  • linux Debian 14, Debian 13 6.8.12-1

debian advisories DEBIAN-CVE-2024-38556

  • linux Ubuntu 24.04 LTS 6.8.0-40.40
  • linux-aws Ubuntu 24.04 LTS 6.8.0-1013.14
  • linux-gcp Ubuntu 24.04 LTS 6.8.0-1012.13
  • linux-gke Ubuntu 24.04 LTS 6.8.0-1008.11
  • linux-ibm Ubuntu 24.04 LTS 6.8.0-1010.10
  • linux-azure Ubuntu 24.04 LTS 6.8.0-1012.14
  • linux-raspi Ubuntu 24.04 LTS 6.8.0-1009.10
  • linux-riscv Ubuntu 24.04 LTS 6.8.0-40.40.1

ubuntu advisories UBUNTU-CVE-2024-38556

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel RHEL 9 5.14.0-427.40.1.el9_4
  • rv RHEL 9 5.14.0-427.40.1.el9_4
  • perf RHEL 9 5.14.0-427.40.1.el9_4
  • rtla RHEL 9 5.14.0-427.40.1.el9_4
  • bpftool RHEL 9 7.3.0-427.40.1.el9_4
  • libperf RHEL 9 5.14.0-427.40.1.el9_4
  • kernel-rt RHEL 9 5.14.0-427.40.1.el9_4
  • kernel-64k RHEL 9 5.14.0-427.40.1.el9_4

red hat advisories RHSA-2024:8162RHSA-2024:5364RHSA-2024:5365

  • kernel-rt Linux Micro 6.0 6.4.0-9.1
  • kernel-source-rt Linux Micro 6.0 6.4.0-9.1
  • kernel-source Linux Micro 6.0 6.4.0-18.1
  • kernel-default Linux Micro 6.0 6.4.0-18.1
  • kernel-kvmsmall Linux Micro 6.0 6.4.0-18.1
  • kernel-default-base Linux Micro 6.0 6.4.0-17.1.1.51
  • kernel-rt Real Time Module 15 SP6, openSUSE Leap 15.6 6.4.0-150600.10.5.1
  • kernel-syms-rt Real Time Module 15 SP6, openSUSE Leap 15.6 6.4.0-150600.10.5.1

suse advisories SUSE-SU-2025:20028-1SUSE-SU-2025:20008-1SUSE-SU-2024:2973-1SUSE-SU-2024:2939-1SUSE-SU-2024:2896-1SUSE-SU-2024:2571-1

  • kernel AlmaLinux 9 5.14.0-427.40.1.el9_4
  • rv AlmaLinux 9 5.14.0-427.40.1.el9_4
  • perf AlmaLinux 9 5.14.0-427.40.1.el9_4
  • rtla AlmaLinux 9 5.14.0-427.40.1.el9_4
  • bpftool AlmaLinux 9 7.3.0-427.40.1.el9_4
  • libperf AlmaLinux 9 5.14.0-427.40.1.el9_4
  • kernel-rt AlmaLinux 9 5.14.0-427.40.1.el9_4
  • kernel-64k AlmaLinux 9 5.14.0-427.40.1.el9_4

almalinux advisories ALSA-2024:8162

  • kernel Rocky Linux 9 5.14.0-427.40.1.el9_4

rocky linux advisories RLSA-2024:8162

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.26% chance of exploitation in the next 30 days, higher than 17% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

  • Linux Linux

Classification

Weakness
  • CWE-129 Improper Validation of Array Index
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.