CVE-2025-39720Published Sep 5, 2025 · Sep 5Updated Nov 1
ksmbd: fix refcount leak causing resource not released
Linux
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
A refcount leak in the Linux kernel's ksmbd component can prevent memory from being released when a connection is releasing. The input does not specify how an attacker could trigger this condition or whether authentication or user interaction is required.
Engineers running the Linux kernel with ksmbd should check their deployments; affected versions are not specified.