CVE-2025-39720: Linux kernel · ksmbd: fix refcount leak causing resource not released
Affects Linux kernelSource CVE Database V5
Not known to be exploited · CVSS 7.5 High · fixed in a1d2bab4d53368a526c97aba92671dd71814f95a : patch Linux kernel soon.
Data as of 30 Oct 2026, 12:49 UTC
Thin evidence
One scorer or none| CNA (Linux) | CVSS 3.1 | 7.5 |
|---|
- Patch
- Available – fixed in a1d2bab4d53368a526c97aba92671dd71814f95a, 263680d314eaaa27334f486d86c9fe7d19f50c8a, 89bb430f621124af39bb31763c4a8b504c9651e2 +2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 5 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix refcount leak causing resource not released When ksmbd_conn_releasing(opinfo->conn) returns true,the refcount was not decremented properly, causing a refcount leak that prevents the count from reaching zero and the memory from being released.
References
- git.kernel.org/stable/c/263680d314eaaa27334f486d86c9fe7d19f50c8a (opens in a new tab)
- git.kernel.org/stable/c/a1d2bab4d53368a526c97aba92671dd71814f95a (opens in a new tab)
- git.kernel.org/stable/c/36e010bb865fbaa1202fe9bcce3fd486d6db7606 (opens in a new tab)
- git.kernel.org/stable/c/9a7abce6e8c0e2145b346a6d4abf0d9655e9b0e8 (opens in a new tab)
- git.kernel.org/stable/c/89bb430f621124af39bb31763c4a8b504c9651e2 (opens in a new tab)