Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-38556

published high CVSS 3.1 · 7.8

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

Published
19 Jun 2024, 13:35:26 UTC
Updated
05 Aug 2026, 11:32:46 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux8e715cd613a1e872b9d918e912d90b399785761a to < 4baae687a20ef2b82fde12de3c04461e6f2521d6 · 8e715cd613a1e872b9d918e912d90b399785761a to < f9caccdd42e999b74303c9b0643300073ed5d319 · 8e715cd613a1e872b9d918e912d90b399785761a to < 2d0962d05c93de391ce85f6e764df895f47c8918 · 8e715cd613a1e872b9d918e912d90b399785761a to < 94024332a129c6e4275569d85c0c1bfb2ae2d71b · 8e715cd613a1e872b9d918e912d90b399785761a to < 485d65e1357123a697c591a5aeb773994b247ad7 · 74dd45122b84479eee50bd0956ae8bc5799c9f8a · e801f81cee3c8901f52ee48c6329802b28fbb49c · d73d81447c6651904dd4a9e3fd88651ff174c1b7 · 4646175c19fd019b773444a11ff62748eb83745b · 5.4.174 to < 5.5 · 5.10.94 to < 5.11 · 5.15.17 to < 5.16 · 5.16.3 to < 5.17 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.17 (affected) · 0 to < 5.17 (unaffected · semver) · 6.1.93 through 6.1.* (unaffected · semver) · 6.6.33 through 6.6.* (unaffected · semver) · 6.8.12 through 6.8.* (unaffected · semver) · 6.9.3 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-683 Fixed Not stated Amazon Linux assessment
AlmaLinux 9 bpftool Advisory build 7.3.0-427.40.1.el9_4 ALSA-2024:8162
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
AlmaLinux 9 kernel Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-64k Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-core Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-debug Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-devel Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-doc Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-headers Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-modules Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-rt Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-tools Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 libperf Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 perf Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 python3-perf Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 rtla Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
AlmaLinux 9 rv Advisory build 5.14.0-427.40.1.el9_4 ALSA-2024:8162
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-305.176.4.el8uek ELSA-2025-20095
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-305.176.4.el9uek ELSA-2025-20095
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.3.0-427.40.1.el9_4 ELSA-2024-8162
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-305.176.4.el9uek ELSA-2025-20095
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.3.0-427.40.1.el9_4 ELSA-2024-8162
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-427.40.1.el9_4 ELSA-2024-8162
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-427.40.1.el9_4 ELSA-2024-8162
Oracle Linux 9 kernel-corex86_64 Advisory build 0:5.14.0-427.40.1.el9_4 ELSA-2024-8162
Oracle Linux 9 kernel-cross-headersaarch64 Advisory build 0:5.14.0-427.40.1.el9_4 ELSA-2024-8162
Oracle Linux 9 kernel-cross-headersx86_64 Advisory build 0:5.14.0-427.40.1.el9_4 ELSA-2024-8162
Oracle Linux 9 kernel-debugx86_64 Advisory build 0:5.14.0-427.40.1.el9_4 ELSA-2024-8162

Package entries are limited to the first 100 builds and 100 linked advisories.

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

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

30

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The mlx5 firmware command interface is driven by local callers — RDMA uverbs/DEVX ioctls on /dev/infiniband/uverbs*, netdev/ethtool/devlink ops — not by received network packets. The reported trigger (CREATE_UCTX from a userspace pid) is a local ioctl path. AC:L - The attacker controls both sides: they flood the command interface to keep all max_reg_cmds slots occupied (a saturation mode mlx5 maintainers explicitly documented for unprivileged/high-rate command issuers) while issuing the victim blocking command that parks on the semaphore, and each resulting timeout permanently leaks a slot, making the exhausted-semaphore state self-reinforcing and eventually deterministic. PR:L - An unprivileged local user with access to /dev/infiniband/uverbs* (mode 0666 under stock rdma-core udev rules on RDMA-enabled hosts) can issue the exact CREATE_UCTX command from the report via ALLOC_UCONTEXT with MLX5_IB_ALLOC_UCTX_DEVX, with no capability check on that path. UI:N - Exploitation requires only the attacker's own syscalls/ioctls against the RDMA device; no action by any other user or administrator is needed. S:U - The use-after-free and its consequences are confined to the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - The freed mlx5_cmd_work_ent is reused by the still-parked work handler, which reads ent->in/ent->out/ent->uout pointers out of reclaimed heap memory and copies FW output through them, giving an attacker who sprays the freed slot a read primitive into kernel memory. I:H - The parked handler writes ent->idx, ent->lay and ent->ts1 into freed memory, installs a dangling pointer in cmd->ent_arr[] that a later FW completion dereferences to call ent->callback(err, context) — a function pointer taken from sprayable freed memory — and programs DMA addresses read from freed memory into the NIC command descriptor before ringing the doorbell. A:H - The bug produces stuck commands, permanently leaked command-queue slots that eventually wedge the entire firmware command interface (rendering the NIC unconfigurable), plus a use-after-free that reliably causes oops/panic even when not fully exploited.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 8e715cd613a1e872b9d918e912d90b399785761a to < 4baae687a20ef2b82fde12de3c04461e6f2521d6 (affected · git)8e715cd613a1e872b9d918e912d90b399785761a to < f9caccdd42e999b74303c9b0643300073ed5d319 (affected · git)8e715cd613a1e872b9d918e912d90b399785761a to < 2d0962d05c93de391ce85f6e764df895f47c8918 (affected · git)8e715cd613a1e872b9d918e912d90b399785761a to < 94024332a129c6e4275569d85c0c1bfb2ae2d71b (affected · git)8e715cd613a1e872b9d918e912d90b399785761a to < 485d65e1357123a697c591a5aeb773994b247ad7 (affected · git)74dd45122b84479eee50bd0956ae8bc5799c9f8a (affected · git)e801f81cee3c8901f52ee48c6329802b28fbb49c (affected · git)d73d81447c6651904dd4a9e3fd88651ff174c1b7 (affected · git)4646175c19fd019b773444a11ff62748eb83745b (affected · git)5.4.174 to < 5.5 (affected · semver)5.10.94 to < 5.11 (affected · semver)5.15.17 to < 5.16 (affected · semver)5.16.3 to < 5.17 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.17 (affected)0 to < 5.17 (unaffected · semver)6.1.93 through 6.1.* (unaffected · semver)6.6.33 through 6.6.* (unaffected · semver)6.8.12 through 6.8.* (unaffected · semver)6.9.3 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

3

Linux · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
6af4f78761ca8355af1e85349ad3b03c63e145409661d14f8665c4531979f36f
Ingested
23 Sep 2026, 08:24:49 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected