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-2022-50726

published high CVSS 3.1 · 7.8

net/mlx5: Fix possible use-after-free in async command interface

Published
24 Dec 2025, 12:22:47 UTC
Updated
05 Aug 2026, 08:59:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxe355477ed9e4f401e3931043df97325d38552d54 to < 69dd3ad406c49aa69ce4852c15231ac56af8caf9 · e355477ed9e4f401e3931043df97325d38552d54 to < bbcc06933f35651294ea1e963757502312c2171f · e355477ed9e4f401e3931043df97325d38552d54 to < ab3de780c176bb91995c6166a576b370d9726e17 · e355477ed9e4f401e3931043df97325d38552d54 to < 0aa3ee1e4e5c9ed5dda11249450d609c3072c54e · e355477ed9e4f401e3931043df97325d38552d54 to < bacd22df95147ed673bec4692ab2d4d585935241 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.1 (affected) · 0 to < 5.1 (unaffected · semver) · 5.4.223 through 5.4.* (unaffected · semver) · 5.10.153 through 5.10.* (unaffected · semver) · 5.15.77 through 5.15.* (unaffected · semver) · 6.0.7 through 6.0.* (unaffected · semver) · 6.1 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 AL2 Release evaluationALAS2KERNEL-5.10-2022-023 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2022-039 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-8 bpftoolaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-moduless390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extraaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrappc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extras390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrax86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debuginfos390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debuginfox86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-aarch64aarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-ppc64leppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-s390xs390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-x86_64x86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-develaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-develppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-devels390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-develx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-docnoarch Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-modulesaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-modulesppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-moduless390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-modulesx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-modules-extraaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrappc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-modules-extras390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrax86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-toolsaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-toolsppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-toolss390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-toolsx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfos390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfox86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-tools-libs-develaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-tools-libs-develppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-tools-libs-develx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdumps390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-cores390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-debuginfos390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-devels390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-moduless390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-modules-extras390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 perfaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 perfppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 perfs390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 perfx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 perf-debuginfoaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 perf-debuginfoppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 perf-debuginfos390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 perf-debuginfox86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 python3-perfaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 python3-perfppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 python3-perfs390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 python3-perfx86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoaarch64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoppc64le Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfos390x Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfox86_64 Advisory build 4.18.0-477.10.1.el8_8 RHSA-2023:2951
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458

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: Fix possible use-after-free in async command interface mlx5_cmd_cleanup_async_ctx should return only after all its callback handlers were completed. Before this patch, the below race between mlx5_cmd_cleanup_async_ctx and mlx5_cmd_exec_cb_handler was possible and lead to a use-after-free: 1. mlx5_cmd_cleanup_async_ctx is called while num_inflight is 2 (i.e. elevated by 1, a single inflight callback). 2. mlx5_cmd_cleanup_async_ctx decreases num_inflight to 1. 3. mlx5_cmd_exec_cb_handler is called, decreases num_inflight to 0 and is about to call wake_up(). 4. mlx5_cmd_cleanup_async_ctx calls wait_event, which returns immediately as the condition (num_inflight == 0) holds. 5. mlx5_cmd_cleanup_async_ctx returns. 6. The caller of mlx5_cmd_cleanup_async_ctx frees the mlx5_async_ctx object. 7. mlx5_cmd_exec_cb_handler goes on and calls wake_up() on the freed object. Fix it by syncing using a completion object. Mark it completed when num_inflight reaches 0. Trace: BUG: KASAN: use-after-free in do_raw_spin_lock+0x23d/0x270 Read of size 4 at addr ffff888139cd12f4 by task swapper/5/0 CPU: 5 PID: 0 Comm: swapper/5 Not tainted 6.0.0-rc3_for_upstream_debug_2022_08_30_13_10 #1 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.org 04/01/2014 Call Trace: <IRQ> dump_stack_lvl+0x57/0x7d print_report.cold+0x2d5/0x684 ? do_raw_spin_lock+0x23d/0x270 kasan_report+0xb1/0x1a0 ? do_raw_spin_lock+0x23d/0x270 do_raw_spin_lock+0x23d/0x270 ? rwlock_bug.part.0+0x90/0x90 ? __delete_object+0xb8/0x100 ? lock_downgrade+0x6e0/0x6e0 _raw_spin_lock_irqsave+0x43/0x60 ? __wake_up_common_lock+0xb9/0x140 __wake_up_common_lock+0xb9/0x140 ? __wake_up_common+0x650/0x650 ? destroy_tis_callback+0x53/0x70 [mlx5_core] ? kasan_set_track+0x21/0x30 ? destroy_tis_callback+0x53/0x70 [mlx5_core] ? kfree+0x1ba/0x520 ? do_raw_spin_unlock+0x54/0x220 mlx5_cmd_exec_cb_handler+0x136/0x1a0 [mlx5_core] ? mlx5_cmd_cleanup_async_ctx+0x220/0x220 [mlx5_core] ? mlx5_cmd_cleanup_async_ctx+0x220/0x220 [mlx5_core] mlx5_cmd_comp_handler+0x65a/0x12b0 [mlx5_core] ? dump_command+0xcc0/0xcc0 [mlx5_core] ? lockdep_hardirqs_on_prepare+0x400/0x400 ? cmd_comp_notifier+0x7e/0xb0 [mlx5_core] cmd_comp_notifier+0x7e/0xb0 [mlx5_core] atomic_notifier_call_chain+0xd7/0x1d0 mlx5_eq_async_int+0x3ce/0xa20 [mlx5_core] atomic_notifier_call_chain+0xd7/0x1d0 ? irq_release+0x140/0x140 [mlx5_core] irq_int_handler+0x19/0x30 [mlx5_core] __handle_irq_event_percpu+0x1f2/0x620 handle_irq_event+0xb2/0x1d0 handle_edge_irq+0x21e/0xb00 __common_interrupt+0x79/0x1a0 common_interrupt+0x78/0xa0 </IRQ> <TASK> asm_common_interrupt+0x22/0x40 RIP: 0010:default_idle+0x42/0x60 Code: c1 83 e0 07 48 c1 e9 03 83 c0 03 0f b6 14 11 38 d0 7c 04 84 d2 75 14 8b 05 eb 47 22 02 85 c0 7e 07 0f 00 2d e0 9f 48 00 fb f4 <c3> 48 c7 c7 80 08 7f 85 e8 d1 d3 3e fe eb de 66 66 2e 0f 1f 84 00 RSP: 0018:ffff888100dbfdf0 EFLAGS: 00000242 RAX: 0000000000000001 RBX: ffffffff84ecbd48 RCX: 1ffffffff0afe110 RDX: 0000000000000004 RSI: 0000000000000000 RDI: ffffffff835cc9bc RBP: 0000000000000005 R08: 0000000000000001 R09: ffff88881dec4ac3 R10: ffffed1103bd8958 R11: 0000017d0ca571c9 R12: 0000000000000005 R13: ffffffff84f024e0 R14: 0000000000000000 R15: dffffc0000000000 ? default_idle_call+0xcc/0x450 default_idle_call+0xec/0x450 do_idle+0x394/0x450 ? arch_cpu_idle_exit+0x40/0x40 ? do_idle+0x17/0x450 cpu_startup_entry+0x19/0x20 start_secondary+0x221/0x2b0 ? set_cpu_sibling_map+0x2070/0x2070 secondary_startup_64_no_verify+0xcd/0xdb </TASK> Allocated by task 49502: kasan_save_stack+0x1e/0x40 __kasan_kmalloc+0x81/0xa0 kvmalloc_node+0x48/0xe0 mlx5e_bulk_async_init+0x35/0x110 [mlx5_core] mlx5e_tls_priv_tx_list_cleanup+0x84/0x3e0 [mlx5_core] mlx5e_ktls_cleanup_tx+0x38f/0x760 [mlx5_core] mlx5e_cleanup_nic_tx+0xa7/0x100 [mlx5_core] mlx5e_detach_netdev+0x1c ---truncated---

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

12

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 vulnerable async command cleanup is reached via local paths such as RDMA DEVX async cmd FD close (/dev/infiniband/uverbs*, mode 0666) or mlx5 kTLS TX pool create/destroy work triggered by setsockopt TLS device offload, not by remote packet processing. AC:L - The attacker controls both sides of the race by submitting inflight mlx5_cmd_exec_cb work and then immediately triggering mlx5_cmd_cleanup_async_ctx (close DEVX FD or churn kTLS offload contexts), and can retry until the wake_up-after-free window is hit. PR:L - Unprivileged local users can exercise the bug through DEVX (no capability required for basic uctx/async query) or through kTLS TX offload on mlx5, without needing CAP_SYS_MODULE, CAP_NET_ADMIN, or real root. UI:N - Exploitation requires no victim action; the attacker alone opens/closes the DEVX async FD or creates/destroys TLS offload sockets to drive the race. S:U - This is a same-host kernel memory corruption/privilege-escalation issue within a single OS security authority; it is not a VM escape or IOMMU/DMA boundary bypass. C:H - Use-after-free of mlx5_async_ctx allows reclaim of the freed object and abuse of the subsequent wake_up path, enabling arbitrary kernel memory read primitives per UAF guidance. I:H - The UAF lets an attacker reclaim the freed wait_queue_head and corrupt list/lock state during wake_up, yielding heap write and control-flow hijack primitives. A:H - The demonstrated KASAN UAF already causes kernel oops/crash in IRQ context, and any use-after-free is treated as high availability impact.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux e355477ed9e4f401e3931043df97325d38552d54 to < 69dd3ad406c49aa69ce4852c15231ac56af8caf9 (affected · git)e355477ed9e4f401e3931043df97325d38552d54 to < bbcc06933f35651294ea1e963757502312c2171f (affected · git)e355477ed9e4f401e3931043df97325d38552d54 to < ab3de780c176bb91995c6166a576b370d9726e17 (affected · git)e355477ed9e4f401e3931043df97325d38552d54 to < 0aa3ee1e4e5c9ed5dda11249450d609c3072c54e (affected · git)e355477ed9e4f401e3931043df97325d38552d54 to < bacd22df95147ed673bec4692ab2d4d585935241 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.1 (affected)0 to < 5.1 (unaffected · semver)5.4.223 through 5.4.* (unaffected · semver)5.10.153 through 5.10.* (unaffected · semver)5.15.77 through 5.15.* (unaffected · semver)6.0.7 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

1

Linux · cna

net/mlx5: Fix possible use-after-free in async command interface

Provenance

Schema
5.2
Searchable
yes
Content hash
670fd8dbf8c66bcabef4bfcc14f4742643fe467866d7a2a355e9bbe74d165f16
Ingested
23 Sep 2026, 08:04:48 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