CVE-2025-38161
published high CVSS 3.1 · 7.8RDMA/mlx5: Fix error flow upon firmware failure for RQ destruction
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe2013b212f9f201c71fc5826ce41f39ebece0852 to < 26d2f662d3a6655a82fd8a287e8b1ce471567f36 · e2013b212f9f201c71fc5826ce41f39ebece0852 to < f9784da76ad7be66230e829e743bdf68a2c49e56 · e2013b212f9f201c71fc5826ce41f39ebece0852 to < cf32affe6f3801cfb72a65e69c4bc7a8ee9be100 · e2013b212f9f201c71fc5826ce41f39ebece0852 to < 7c4c84cdcc19e89d42f6bf117238e5471173423e · e2013b212f9f201c71fc5826ce41f39ebece0852 to < 50ac361ff8914133e3cf6ef184bac90c22cb8d79 · e2013b212f9f201c71fc5826ce41f39ebece0852 to < 0a7790cbba654e925243571cf2f24d61603d3ed3 · e2013b212f9f201c71fc5826ce41f39ebece0852 to < 5d2ea5aebbb2f3ebde4403f9c55b2b057e5dd2d6 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.5 (affected) · 0 to < 4.5 (unaffected · semver) · 5.10.239 through 5.10.* (unaffected · semver) · 5.15.186 through 5.15.* (unaffected · semver) · 6.1.142 through 6.1.* (unaffected · semver) · 6.6.94 through 6.6.* (unaffected · semver) · 6.12.34 through 6.12.* (unaffected · semver) · 6.15.3 through 6.15.* (unaffected · semver) · 6.16 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2968 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2025-098 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-082 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2025-106 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.147-1 | DSA-5973-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1080 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1111 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | linux | Advisory build | 5.10.244-1 | DLA-4327-1 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.153-1~deb11u1 | DLA-4328-1 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-312.187.5.el8uek | ELSA-2025-20552 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-312.187.5.el9uek | ELSA-2025-20552 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Fix error flow upon firmware failure for RQ destruction Upon RQ destruction if the firmware command fails which is the last resource to be destroyed some SW resources were already cleaned regardless of the failure. Now properly rollback the object to its original state upon such failure. In order to avoid a use-after free in case someone tries to destroy the object again, which results in the following kernel trace: refcount_t: underflow; use-after-free. WARNING: CPU: 0 PID: 37589 at lib/refcount.c:28 refcount_warn_saturate+0xf4/0x148 Modules linked in: rdma_ucm(OE) rdma_cm(OE) iw_cm(OE) ib_ipoib(OE) ib_cm(OE) ib_umad(OE) mlx5_ib(OE) rfkill mlx5_core(OE) mlxdevm(OE) ib_uverbs(OE) ib_core(OE) psample mlxfw(OE) mlx_compat(OE) macsec tls pci_hyperv_intf sunrpc vfat fat virtio_net net_failover failover fuse loop nfnetlink vsock_loopback vmw_vsock_virtio_transport_common vmw_vsock_vmci_transport vmw_vmci vsock xfs crct10dif_ce ghash_ce sha2_ce sha256_arm64 sha1_ce virtio_console virtio_gpu virtio_blk virtio_dma_buf virtio_mmio dm_mirror dm_region_hash dm_log dm_mod xpmem(OE) CPU: 0 UID: 0 PID: 37589 Comm: python3 Kdump: loaded Tainted: G OE ------- --- 6.12.0-54.el10.aarch64 #1 Tainted: [O]=OOT_MODULE, [E]=UNSIGNED_MODULE Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : refcount_warn_saturate+0xf4/0x148 lr : refcount_warn_saturate+0xf4/0x148 sp : ffff80008b81b7e0 x29: ffff80008b81b7e0 x28: ffff000133d51600 x27: 0000000000000001 x26: 0000000000000000 x25: 00000000ffffffea x24: ffff00010ae80f00 x23: ffff00010ae80f80 x22: ffff0000c66e5d08 x21: 0000000000000000 x20: ffff0000c66e0000 x19: ffff00010ae80340 x18: 0000000000000006 x17: 0000000000000000 x16: 0000000000000020 x15: ffff80008b81b37f x14: 0000000000000000 x13: 2e656572662d7265 x12: ffff80008283ef78 x11: ffff80008257efd0 x10: ffff80008283efd0 x9 : ffff80008021ed90 x8 : 0000000000000001 x7 : 00000000000bffe8 x6 : c0000000ffff7fff x5 : ffff0001fb8e3408 x4 : 0000000000000000 x3 : ffff800179993000 x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000133d51600 Call trace: refcount_warn_saturate+0xf4/0x148 mlx5_core_put_rsc+0x88/0xa0 [mlx5_ib] mlx5_core_destroy_rq_tracked+0x64/0x98 [mlx5_ib] mlx5_ib_destroy_wq+0x34/0x80 [mlx5_ib] ib_destroy_wq_user+0x30/0xc0 [ib_core] uverbs_free_wq+0x28/0x58 [ib_uverbs] destroy_hw_idr_uobject+0x34/0x78 [ib_uverbs] uverbs_destroy_uobject+0x48/0x240 [ib_uverbs] __uverbs_cleanup_ufile+0xd4/0x1a8 [ib_uverbs] uverbs_destroy_ufile_hw+0x48/0x120 [ib_uverbs] ib_uverbs_close+0x2c/0x100 [ib_uverbs] __fput+0xd8/0x2f0 __fput_sync+0x50/0x70 __arm64_sys_close+0x40/0x90 invoke_syscall.constprop.0+0x74/0xd0 do_el0_svc+0x48/0xe8 el0_svc+0x44/0x1d0 el0t_64_sync_handler+0x120/0x130 el0t_64_sync+0x1a4/0x1a8
Related advisories
Vendor advisories explicitly linked to this CVE.
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 code is reached only through the local RDMA verbs uAPI (`/dev/infiniband/uverbsN` ioctl/write commands for WQ create/destroy, plus optional DEVX commands); no remote peer input reaches `mlx5_core_destroy_rq_tracked()`. AC:L - The attacker can deterministically force the firmware `DESTROY_RQ` to fail by creating a DEVX RQT/TIR that references the WQ's RQN (both objects share the caller's devx uid), then issuing WQ_DESTROY; the second destroy attempt (explicit or automatic at close()) always hits the refcount underflow, with no race to win. PR:L - Only an unprivileged local account with access to the uverbs character device is needed — no capability is checked in `ib_uverbs_ex_create_wq`, `UVERBS_METHOD_WQ_DESTROY`, or DEVX uid allocation, and rdma-core's default udev rules expose these nodes to normal users (including inside containers). UI:N - The full sequence (create WQ, pin a firmware reference, destroy twice or just close the fd) is performed entirely by the attacker's own process; no victim action is required. S:U - The corrupted refcount, hung task and freed-buffer DMA all remain within the kernel's own security authority on the same host; no VM, IOMMU or sandbox boundary is crossed. C:H - Upstream reports this as a use-after-free (refcount underflow on an object whose lifetime tracking has been dismantled while firmware still owns it); on the affected pre-5.9 range the user's RQ buffers are unpinned and freed while the live RQ continues DMA-ing, allowing recycled kernel memory to be read back through the still-mapped queue. I:H - The same broken lifetime accounting yields a write primitive — a firmware-owned RQ continues DMA-writing attacker-influenced received packet data into pages returned to the page allocator, and refcount saturation destroys the object's free protocol, which is exploitable for memory corruption rather than a mere warning. A:H - The retried destroy blocks permanently in `wait_for_completion()` on an already-consumed completion, leaving an unkillable TASK_UNINTERRUPTIBLE thread inside close() while holding `ufile->hw_destroy_rwsem`, which also wedges any further use of that uverbs file and prevents device unbind/module removal.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e2013b212f9f201c71fc5826ce41f39ebece0852 to < 26d2f662d3a6655a82fd8a287e8b1ce471567f36 (affected · git)e2013b212f9f201c71fc5826ce41f39ebece0852 to < f9784da76ad7be66230e829e743bdf68a2c49e56 (affected · git)e2013b212f9f201c71fc5826ce41f39ebece0852 to < cf32affe6f3801cfb72a65e69c4bc7a8ee9be100 (affected · git)e2013b212f9f201c71fc5826ce41f39ebece0852 to < 7c4c84cdcc19e89d42f6bf117238e5471173423e (affected · git)e2013b212f9f201c71fc5826ce41f39ebece0852 to < 50ac361ff8914133e3cf6ef184bac90c22cb8d79 (affected · git)e2013b212f9f201c71fc5826ce41f39ebece0852 to < 0a7790cbba654e925243571cf2f24d61603d3ed3 (affected · git)e2013b212f9f201c71fc5826ce41f39ebece0852 to < 5d2ea5aebbb2f3ebde4403f9c55b2b057e5dd2d6 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.5 (affected)0 to < 4.5 (unaffected · semver)5.10.239 through 5.10.* (unaffected · semver)5.15.186 through 5.15.* (unaffected · semver)6.1.142 through 6.1.* (unaffected · semver)6.6.94 through 6.6.* (unaffected · semver)6.12.34 through 6.12.* (unaffected · semver)6.15.3 through 6.15.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
9- https://git.kernel.org/stable/c/0a7790cbba654e925243571cf2f24d61603d3ed3
- https://git.kernel.org/stable/c/26d2f662d3a6655a82fd8a287e8b1ce471567f36
- https://git.kernel.org/stable/c/50ac361ff8914133e3cf6ef184bac90c22cb8d79
- https://git.kernel.org/stable/c/5d2ea5aebbb2f3ebde4403f9c55b2b057e5dd2d6
- https://git.kernel.org/stable/c/7c4c84cdcc19e89d42f6bf117238e5471173423e
- https://git.kernel.org/stable/c/cf32affe6f3801cfb72a65e69c4bc7a8ee9be100
- https://git.kernel.org/stable/c/f9784da76ad7be66230e829e743bdf68a2c49e56
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Provider assertions
3Linux · cna
RDMA/mlx5: Fix error flow upon firmware failure for RQ destruction
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- de73c80f622a5f00557f4cac1ce5aa11b0a68650037af00355c7a61f279ca582
- Ingested
- 15 Oct 2026, 23:26:24 UTC
- Source record
- Official CVE record