# CVE-2025-39932: smb: client: let smbd\_destroy() call disable\_work\_sync(&info-\>post\_send\_credits\_work)

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.57% (percentile 41, 2026-11-28)
- **Published:** 2025-10-04T07:30:56.726Z
- **Modified:** 2026-10-30T13:18:11.463Z

## Who should check

- Anyone running Linux \>= f198186aa9bbd60fae7a2061f4feec614d880299, \< 5e919f0420fa3f467c0cc12bd60d08ca8a45ef8b; \>= f198186aa9bbd60fae7a2061f4feec614d880299, \< 6ae90a2baf923e85eb037b636aa641250bf4220f; \>= f198186aa9bbd60fae7a2061f4feec614d880299, \< 3fabb1236f2e3ad78d531be0a4ad9f4a4ccdda87; \>= f198186aa9bbd60fae7a2061f4feec614d880299, \< d9dcbbcf9145b68aa85c40947311a6907277e097
- Anyone running Linux 4.16

## 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);

## Affected and fixed versions

- Linux: \>= f198186aa9bbd60fae7a2061f4feec614d880299, \< 5e919f0420fa3f467c0cc12bd60d08ca8a45ef8b; \>= f198186aa9bbd60fae7a2061f4feec614d880299, \< 6ae90a2baf923e85eb037b636aa641250bf4220f; \>= f198186aa9bbd60fae7a2061f4feec614d880299, \< 3fabb1236f2e3ad78d531be0a4ad9f4a4ccdda87; \>= f198186aa9bbd60fae7a2061f4feec614d880299, \< d9dcbbcf9145b68aa85c40947311a6907277e097 (cvelist)
- Linux: 4.16 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-39932. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39932.md
Affected: Linux >= f198186aa9bbd60fae7a2061f4feec614d880299, < 5e919f0420fa3f467c0cc12bd60d08ca8a45ef8b; >= f198186aa9bbd60fae7a2061f4feec614d880299, < 6ae90a2baf923e85eb037b636aa641250bf4220f; >= f198186aa9bbd60fae7a2061f4feec614d880299, < 3fabb1236f2e3ad78d531be0a4ad9f4a4ccdda87; >= f198186aa9bbd60fae7a206…
Fixed in: Linux 5e919f0420fa3f467c0cc12bd60d08ca8a45ef8b, Linux 6ae90a2baf923e85eb037b636aa641250bf4220f, Linux 3fabb1236f2e3ad78d531be0a4ad9f4a4ccdda87

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-39932 being exploited?

There is no confirmed exploitation: CVE-2025-39932 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.57% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-39932?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-39932?

Linux \>= f198186aa9bbd60fae7a2061f4feec614d880299, \< 5e919f0420fa3f467c0cc12bd60d08ca8a45ef8b; \>= f198186aa9bbd60fae7a2061f4feec614d880299, \< 6ae90a2baf923e85eb037b636aa641250bf4220f; \>= f198186aa9bbd60fae7a2061f4feec614d880299, \< 3fabb1236f2e3ad78d531be0a4ad9f4a4ccdda87; \>= f198186aa9bbd60fae7a2061f4feec614d880299, \< d9dcbbcf9145b68aa85c40947311a6907277e097; Linux 4.16.

### Is there a fix for CVE-2025-39932?

Yes. Fixed in Linux 5e919f0420fa3f467c0cc12bd60d08ca8a45ef8b, Linux 6ae90a2baf923e85eb037b636aa641250bf4220f, Linux 3fabb1236f2e3ad78d531be0a4ad9f4a4ccdda87. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-39932?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/6ae90a2baf923e85eb037b636aa641250bf4220f>
- patch: <https://git.kernel.org/stable/c/3fabb1236f2e3ad78d531be0a4ad9f4a4ccdda87>
- patch: <https://git.kernel.org/stable/c/d9dcbbcf9145b68aa85c40947311a6907277e097>
- other: <https://git.kernel.org/stable/c/5e919f0420fa3f467c0cc12bd60d08ca8a45ef8b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-39932>

HTML: <https://flawdb.com/CVE-2025-39932> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-39932>
