Vulnerabilities · 2025 · Linux
CVE-2025-37777
Linux Kernel vulnerability
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.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/1aec4d14cf81b7b3e7b69eb1cfa94144eed7138e · Patch
- git.kernel.org/stable/c/1da8bd9a10ecd718692732294d15fd801c0eabb5 · Patch
- git.kernel.org/stable/c/21a4e47578d44c6b37c4fc4aba8ed7cc8dbb13de · Patch
- git.kernel.org/stable/c/e59796fc80603bcd8569d4d2e10b213c1918edb4 · Patch
- nvd.nist.gov/vuln/detail/CVE-2025-37777
- cve.org/CVERecord?id=CVE-2025-37777
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.