CVE-2025-37777 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in __smb2_lease_break_noti() Move tcp_transport free to ksmbd_conn_free. If ksmbd connection is referenced when ksmbd server thread terminates, It will not be freed, but conn->tcp_transport is freed. __smb2_lease_break_noti can be performed asynchronously when the connection is disconnected. __smb2_lease_break_noti calls ksmbd_conn_write, which can cause use-after-free when conn->ksmbd_transport is already freed.
A use-after-free vulnerability has been identified in the ksmbd component of the Linux kernel. The issue arises in the __smb2_lease_break_noti() function, where the tcp_transport associated with a ksmbd connection is freed before the connection itself is properly released. This can lead to a use-after-free condition when __smb2_lease_break_noti() is called asynchronously after a connection is disconnected, potentially allowing for exploitation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1aec4d14cf81b7b3e7b69eb1cfa94144eed7138e | kernel.org | Patch |
| https://git.kernel.org/stable/c/1da8bd9a10ecd718692732294d15fd801c0eabb5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/21a4e47578d44c6b37c4fc4aba8ed7cc8dbb13de | kernel.org | Patch |
| https://git.kernel.org/stable/c/e59796fc80603bcd8569d4d2e10b213c1918edb4 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.15, < 6.6.101 >= 6.7, < 6.12.26 >= 6.13, < 6.14.4 6.15 rc1 6.15 rc2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 14, 2025 | Initial Analysis | [email protected] |
| Aug 1, 2025 | CVE Modified | kernel.org |
| May 2, 2025 | CVE Modified | kernel.org |
| May 1, 2025 | New CVE Received | kernel.org |