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-2026-90172

published high CVSS 3.1 · 7.5

smb: smbdirect: destroy QP before mem pools on accept failure

Published
17 Sep 2026, 16:06:59 UTC
Updated
19 Oct 2026, 08:59:09 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxeb3ed1e9048cf7b2a38112f48e0f1b772bb7860d to < 959813a3752b459ed77b0b3eaf30b9f4c6204260 · eb3ed1e9048cf7b2a38112f48e0f1b772bb7860d to < 383a9480f5f40bc46454cce27ccfad532cedad9c · Other versions: unaffected Affected Not stated Linux
Linux — Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 7.2.6 through 7.2.* (unaffected · semver) · 7.3 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 evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 10 kernel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernelaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
AlmaLinux 10 kernel-64k Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 kernel-64k-debug Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-debug-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-debug-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-debug-devel-matched Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-debug-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-debug-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-debug-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-devel-matched Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-64k-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-cross-headers Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug-devel-matched Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-debug-uki-virt Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-devel-matched Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-doc Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-headers Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-modules-extra-matched Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-debug Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-debug-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-debug-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-debug-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-debug-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-debug-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-64k-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-debug Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-debug-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-debug-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-debug-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-debug-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-debug-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-rt-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-tools Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-tools-libs Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-tools-libs-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-uki-virt Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-uki-virt-addons Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-zfcpdump Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-zfcpdump-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-zfcpdump-devel Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-zfcpdump-devel-matched Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-zfcpdump-modules Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-zfcpdump-modules-core Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 kernel-zfcpdump-modules-extra Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 libperf Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 perf Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 python3-perf Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 rtla Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
AlmaLinux 10 rv Advisory build 6.12.0-264.22.1.el10_3 ALSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernelppc64le Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernels390x Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernelsrc Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernelx86_64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64kaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-coreaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-debugaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-debug-coreaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-debug-debuginfoaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-debug-develaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-debug-devel-matchedaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-debug-modulesaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-debug-modules-coreaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-debug-modules-extraaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-debuginfoaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-develaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-devel-matchedaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-modulesaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-modules-coreaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-64k-modules-extraaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-abi-stablelistsnoarch Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-coreaarch64 Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-coreppc64le Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695
Red Hat Enterprise Linux RHEL-10 kernel-cores390x Advisory build 6.12.0-264.22.1.el10_3 RHSA-2026:105695

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

Description

In the Linux kernel, the following vulnerability has been resolved: smb: smbdirect: destroy QP before mem pools on accept failure On the rdma_accept_failed error path of smbdirect_accept_connect_request(), the receive io posted just above is owned by the QP (recv_io is set to NULL after a successful post). The error path fell through to smbdirect_connection_destroy_mem_pools() before smbdirect_connection_destroy_qp(), so the mem pools and the recv_io slab cache were destroyed while that recv_io was still outstanding on the QP. The drain in smbdirect_connection_destroy_qp() (ib_drain_qp()) is what runs the recv completion that returns the recv_io to the free list, so destroying the pools first leaves the object outstanding at kmem_cache_destroy() time ("Slab cache still has objects") and later frees it into an already-destroyed mempool (mempool_free_bulk NULL-pointer dereference). Give rdma_accept_failed its own teardown that drains the QP first, then destroys the mem pools, and returns. The remaining labels (post_recv_io_failed onward) run before the recv_io was ever posted, so they keep the mem-pools-then-qp order. The outstanding recv_io at kmem_cache_destroy() time: [ 3487.344647] ============================================================================= [ 3487.349942] BUG smbdirect_recv_io_cache_ffff88811ba99000 (Not tainted): Objects remaining on __kmem_cache_shutdown() [ 3487.356078] ----------------------------------------------------------------------------- [ 3487.356078] [ 3487.356738] Object 0xffff8881511c3440 @offset=13376 [ 3487.358464] Allocated in mempool_alloc_noprof+0x18c/0x290 age=1194 cpu=6 pid=22254 [ 3487.361197] mempool_alloc_noprof+0x18c/0x290 [ 3487.361542] smbdirect_connection_create_mem_pools+0x405/0x780 [ 3487.361972] smbdirect_accept_connect_request+0x5a8/0x1b80 [ 3487.362359] smbdirect_listen_rdma_event_handler+0x1579/0x1b90 [ 3487.362779] cma_cm_event_handler+0x9c/0x230 [ 3487.363096] cma_ib_req_handler+0x2682/0x45d0 [ 3487.363414] cm_process_work+0x56/0x3d0 [ 3487.363676] cm_work_handler+0x8a0e/0xd000 [ 3487.367496] process_scheduled_works+0xa07/0x13a0 [ 3487.367859] worker_thread+0x7c9/0xc80 [ 3487.368148] kthread+0x341/0x430 [ 3487.368407] ret_from_fork+0x3a8/0x7a0 [ 3487.368704] ret_from_fork_asm+0x1a/0x30 [ 3487.370307] Slab 0xffffea0005447000 objects=19 used=1 fp=0xffff8881511c0040 flags=0x100000000000240(workingset|head|node=0|zone=2) [ 3487.372840] ------------[ cut here ]------------ [ 3487.373195] WARNING: mm/slub.c:1244 at __slab_err+0x1a/0x30, CPU#6: kworker/6:84/22254 [ 3487.373759] Modules linked in: [ 3487.373993] CPU: 6 UID: 0 PID: 22254 Comm: kworker/6:84 Tainted: G B 7.1.0-next-20260623+ #88 PREEMPT(lazy) [ 3487.374778] Tainted: [B]=BAD_PAGE [ 3487.377830] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-debian-1.17.0-1 04/01/2014 [ 3487.378515] Workqueue: ib_cm cm_work_handler [ 3487.378820] RIP: 0010:__slab_err+0x1a/0x30 [ 3487.379129] Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 44 00 00 e8 36 00 00 00 bf 05 00 00 00 be 01 00 00 00 e8 f7 75 45 00 90 <0f> 0b 90 c3 cc cc cc cc cc 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 [ 3487.383255] RSP: 0018:ffff888220fc7050 EFLAGS: 00010093 [ 3487.383643] RAX: ffffffff8168e60a RBX: ffff88810955e640 RCX: ffff88821c381d80 [ 3487.384158] RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff870fa080 [ 3487.384662] RBP: ffff888220fc7068 R08: ffffffff870fa087 R09: 1ffffffff0e1f410 [ 3487.385192] R10: dffffc0000000000 R11: fffffbfff0e1f411 R12: ffffea0005447210 [ 3487.385674] R13: ffffea0005447000 R14: ffff888220fc7068 R15: ffff88812a8ab300 [ 3487.388932] FS: 0000000000000000(0000) GS:ffff888427e76000(0000) knlGS:0000000000000000 [ 3487.389529] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 3487.389934] CR2: 00007ffcf2d84fd8 CR3: 0000000111d64006 CR4: 0000000000f72ef0 [ 3487.390440] PKRU: 55555554 [ 3487.390641] Call Trace: [ 3487.390826] <TASK> [ 3 ---truncated---

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

3

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scenarios
en: AV:N - A remote RDMA peer sends an IB CM REQ (RDMA_CM_EVENT_CONNECT_REQUEST) that cma_ib_req_handler delivers to smbdirect_listen_rdma_event_handler; ksmbd_rdma_init() listens for that on RoCEv2/IB port 445 and iWARP port 5445, which are IP-routable SMB Direct transports. AC:L - smbdirect_accept_connect_request() takes rdma_accept_failed after smbdirect_connection_post_recv_io() has already posted the recv_io; the attacker makes rdma_accept() fail with a CONNECT_REQUEST whose CM REQ path/QP fields cause cma_modify_qp_rtr()/ib_send_cm_rep() to fail, so the error path is attacker-driven rather than a victim-side race. PR:N - The bug runs in smbdirect_accept_connect_request() from the listen CONNECT_REQUEST handler, before smbdirect_accept_negotiate_recv_done() processes the SMB Direct negotiate request and before ksmbd_conn_handler_loop() runs SMB2 SESSION_SETUP, so no credentials are checked. UI:N - Once ksmbd_rdma_init() has called smbdirect_socket_listen(), the attacker triggers the buggy teardown solely by sending the RDMA CM CONNECT_REQUEST that fails rdma_accept(); no victim mount or other interaction is required. S:U - The oops is in the host kernel on smbdirect_connection_destroy_mem_pools()/mempool_free_bulk() during ksmbd SMB Direct accept teardown and does not cross a VM, IOMMU, or other security authority. C:N - kmem_cache_destroy() of the per-connection smbdirect_recv_io_cache returns without freeing the still-posted recv_io, and the later mempool_free(recv_io, NULL) NULL-dereferences sc->recv_io.mem.pool in mempool_free_bulk(); that path does not return kernel memory to the RDMA peer. I:N - The outstanding recv_io is not actually released by the failed kmem_cache_destroy(), and mempool_free_bulk() oopses on the NULL pool pointer before any write through a dangling object, so there is no integrity or code-execution primitive. A:H - After ib_drain_qp() in smbdirect_connection_destroy_qp() returns the posted recv_io onto the free list, smbdirect_socket_release() calls smbdirect_connection_destroy_mem_pools() again, which mempool_free()s it with sc->recv_io.mem.pool already NULL and oopses in mempool_free_bulk().

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux eb3ed1e9048cf7b2a38112f48e0f1b772bb7860d to < 959813a3752b459ed77b0b3eaf30b9f4c6204260 (affected · git)eb3ed1e9048cf7b2a38112f48e0f1b772bb7860d to < 383a9480f5f40bc46454cce27ccfad532cedad9c (affected · git)Default: unaffected Linux · cna
Linux Linux 7.1 (affected)0 to < 7.1 (unaffected · semver)7.2.6 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

smb: smbdirect: destroy QP before mem pools on accept failure

Provenance

Schema
5.2
Searchable
yes
Content hash
5bd52f7301f47b4b7bb3e97a7d7ae264b52d3abd85036dd994a01ddfa127e2e5
Ingested
19 Oct 2026, 09:08:15 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