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-2025-39932

published critical CVSS 3.1 · 9.8

smb: client: let smbd_destroy() call disable_work_sync(&info->post_send_credits_work)

Published
04 Oct 2025, 07:30:56 UTC
Updated
30 Oct 2026, 12:22:37 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxf198186aa9bbd60fae7a2061f4feec614d880299 to < 5e919f0420fa3f467c0cc12bd60d08ca8a45ef8b · f198186aa9bbd60fae7a2061f4feec614d880299 to < 6ae90a2baf923e85eb037b636aa641250bf4220f · f198186aa9bbd60fae7a2061f4feec614d880299 to < 3fabb1236f2e3ad78d531be0a4ad9f4a4ccdda87 · f198186aa9bbd60fae7a2061f4feec614d880299 to < d9dcbbcf9145b68aa85c40947311a6907277e097 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.16 (affected) · 0 to < 4.16 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.12.49 through 6.12.* (unaffected · semver) · 6.16.9 through 6.16.* (unaffected · semver) · 6.17 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
Debian bookworm linux Advisory build 6.1.192-1 DLA-4906-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754

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: client: let smbd_destroy() call disable_work_sync(&info->post_send_credits_work) In smbd_destroy() we may destroy the memory so we better wait until post_send_credits_work is no longer pending and will never be started again. I actually just hit the case using rxe: WARNING: CPU: 0 PID: 138 at drivers/infiniband/sw/rxe/rxe_verbs.c:1032 rxe_post_recv+0x1ee/0x480 [rdma_rxe] ... [ 5305.686979] [ T138] smbd_post_recv+0x445/0xc10 [cifs] [ 5305.687135] [ T138] ? srso_alias_return_thunk+0x5/0xfbef5 [ 5305.687149] [ T138] ? __kasan_check_write+0x14/0x30 [ 5305.687185] [ T138] ? __pfx_smbd_post_recv+0x10/0x10 [cifs] [ 5305.687329] [ T138] ? __pfx__raw_spin_lock_irqsave+0x10/0x10 [ 5305.687356] [ T138] ? srso_alias_return_thunk+0x5/0xfbef5 [ 5305.687368] [ T138] ? srso_alias_return_thunk+0x5/0xfbef5 [ 5305.687378] [ T138] ? _raw_spin_unlock_irqrestore+0x11/0x60 [ 5305.687389] [ T138] ? srso_alias_return_thunk+0x5/0xfbef5 [ 5305.687399] [ T138] ? get_receive_buffer+0x168/0x210 [cifs] [ 5305.687555] [ T138] smbd_post_send_credits+0x382/0x4b0 [cifs] [ 5305.687701] [ T138] ? __pfx_smbd_post_send_credits+0x10/0x10 [cifs] [ 5305.687855] [ T138] ? __pfx___schedule+0x10/0x10 [ 5305.687865] [ T138] ? __pfx__raw_spin_lock_irq+0x10/0x10 [ 5305.687875] [ T138] ? queue_delayed_work_on+0x8e/0xa0 [ 5305.687889] [ T138] process_one_work+0x629/0xf80 [ 5305.687908] [ T138] ? srso_alias_return_thunk+0x5/0xfbef5 [ 5305.687917] [ T138] ? __kasan_check_write+0x14/0x30 [ 5305.687933] [ T138] worker_thread+0x87f/0x1570 ... It means rxe_post_recv was called after rdma_destroy_qp(). This happened because put_receive_buffer() was triggered by ib_drain_qp() and called: queue_work(info->workqueue, &info->post_send_credits_work);

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

15

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - The vulnerable teardown path is the client's SMB Direct (RDMA) transport, driven entirely by the remote SMB server peer over iWARP/RoCE/IB — the peer triggers the disconnect that enters `smbd_destroy()` via `cifs_reconnect()`/`smbd_reconnect()` and controls the receive-credit traffic that requeues `post_send_credits_work`. This matches the established scoring of other client-side smbdirect flaws (e.g. CVE-2026-31609, CVE-2026-31535) as network-reachable. AC:L - The attacker owns both sides of the race: it initiates the RDMA disconnect that starts `smbd_destroy()`, it controls how many receive buffers are outstanding (and therefore how many `put_receive_buffer()` → `queue_work()` requeues `ib_drain_qp()` flushes), and it can force reconnect cycles indefinitely until it wins. The window is not narrow — the reporter hit it during ordinary rxe testing, and the worker's status check is a TOCTOU that a preempted worker bypasses without any signal or unusual state. PR:N - The SMB Direct transport connect/teardown and credit machinery sits below SMB session setup, so no credentials, capability, or account on the target are validated anywhere on the path to `smbd_post_send_credits()`. The remote peer needs no privileges on the client to reset the connection and drive the teardown. UI:N - Against an already-established SMB Direct mount — persistent deployment state, not participation in the compromise — the attacker completes the whole sequence by resetting the RDMA connection; the client's demultiplex thread enters `smbd_reconnect()` → `smbd_destroy()` automatically with no victim action. S:U - The freed QP, protection domain and receive buffers are all kernel-internal objects belonging to the same security authority as the faulting code. No VM, IOMMU, or sandbox boundary is crossed. C:H - This is a use-after-free of the `ib_qp` freed by `rdma_destroy_qp()`, whose contents are read back by `ib_post_recv()`/`ib_post_send()` (`qp->device`, `qp->valid`, queue pointers) along with a stale `sc->ib.pd->local_dma_lkey`; reclaiming that slab lets an attacker read and exfiltrate kernel memory, and stale DMA mappings can expose freed receive buffers. I:H - `ib_post_recv()` dispatches through `qp->device->ops.post_recv` — a function pointer loaded from freed memory — giving a control-flow hijack primitive once the QP slab is sprayed, and the driver additionally writes a WQE and producer index into the freed ring, yielding a write primitive into reclaimed memory. A:H - The observed result is a kernel WARN/oops inside the workqueue worker, and after `sc->ib.qp = NULL` the same path is an outright NULL dereference; either panics the machine under `panic_on_oops` and otherwise wedges the SMB Direct connection, and the attacker can retrigger it on every reconnect.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux f198186aa9bbd60fae7a2061f4feec614d880299 to < 5e919f0420fa3f467c0cc12bd60d08ca8a45ef8b (affected · git)f198186aa9bbd60fae7a2061f4feec614d880299 to < 6ae90a2baf923e85eb037b636aa641250bf4220f (affected · git)f198186aa9bbd60fae7a2061f4feec614d880299 to < 3fabb1236f2e3ad78d531be0a4ad9f4a4ccdda87 (affected · git)f198186aa9bbd60fae7a2061f4feec614d880299 to < d9dcbbcf9145b68aa85c40947311a6907277e097 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.16 (affected)0 to < 4.16 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.12.49 through 6.12.* (unaffected · semver)6.16.9 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

2

Linux · cna

smb: client: let smbd_destroy() call disable_work_sync(&info->post_send_credits_work)

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
747405171441eb2e7828a6c66d32f2899de12cd67952d50eaf02816747574a18
Ingested
30 Oct 2026, 12:31:36 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