CVE-2025-39720

Source
https://cve.org/CVERecord?id=CVE-2025-39720
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39720.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-39720
Downstream
Related
Published
2025-09-05T17:21:28.060Z
Modified
2026-03-20T12:43:01.500596Z
Summary
ksmbd: fix refcount leak causing resource not released
Details

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix refcount leak causing resource not released

When ksmbdconnreleasing(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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39720.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0626e6641f6b467447c81dd7678a69c66f7746cf
Fixed
a1d2bab4d53368a526c97aba92671dd71814f95a
Fixed
36e010bb865fbaa1202fe9bcce3fd486d6db7606
Fixed
9a7abce6e8c0e2145b346a6d4abf0d9655e9b0e8
Fixed
89bb430f621124af39bb31763c4a8b504c9651e2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39720.json"