{"id":"CVE-2025-39720","title":"ksmbd: fix refcount leak causing resource not released","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix refcount leak causing resource not released\n\nWhen ksmbd_conn_releasing(opinfo->conn) returns true,the refcount was not\ndecremented properly, causing a refcou…","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cvssSource":"cna","vendor":"Linux","product":"Linux","affected":["Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 263680d314eaaa27334f486d86c9fe7d19f50c8a","Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf < a1d2bab4d53368a526c97aba92671dd71814f95a","Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 36e010bb865fbaa1202fe9bcce3fd486d6db7606","Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 9a7abce6e8c0e2145b346a6d4abf0d9655e9b0e8","Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 89bb430f621124af39bb31763c4a8b504c9651e2","Linux 5.15"],"published":"2025-09-05","updated":"2026-10-30","sourceUpdated":"2026-10-30T12:22:22.322Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-39720","references":[{"url":"https://git.kernel.org/stable/c/263680d314eaaa27334f486d86c9fe7d19f50c8a"},{"url":"https://git.kernel.org/stable/c/a1d2bab4d53368a526c97aba92671dd71814f95a"},{"url":"https://git.kernel.org/stable/c/36e010bb865fbaa1202fe9bcce3fd486d6db7606"},{"url":"https://git.kernel.org/stable/c/9a7abce6e8c0e2145b346a6d4abf0d9655e9b0e8"},{"url":"https://git.kernel.org/stable/c/89bb430f621124af39bb31763c4a8b504c9651e2"}],"tags":["cve.org"],"epss":0.00298,"epssPercentile":0.22612,"ingestedAt":"2026-11-03T19:53:18.508Z","slug":"CVE-2025-39720","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix refcount leak causing resource not released\n\nWhen ksmbd_conn_releasing(opinfo->conn) returns true,the refcount was not\ndecremented properly, causing a refcount leak that prevents the count from\nreaching zero and the memory from being released.\n\n## Affected\n\n- `Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 263680d314eaaa27334f486d86c9fe7d19f50c8a`\n- `Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf < a1d2bab4d53368a526c97aba92671dd71814f95a`\n- `Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 36e010bb865fbaa1202fe9bcce3fd486d6db7606`\n- `Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 9a7abce6e8c0e2145b346a6d4abf0d9655e9b0e8`\n- `Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 89bb430f621124af39bb31763c4a8b504c9651e2`\n- `Linux 5.15`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}