What’s Vulnerable › Vulnerabilities
CVE-2025-68817: ksmbd: fix use-after-free in ksmbd_tree_connect_put under concurrency
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-01-13 · updated 2026-07-30
- Weakness: CWE-416
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in ksmbd_tree_connect_put under concurrency Under high concurrency, A tree-connection object (tcon) is freed on a disconnect path while another path still holds a reference and later executes *_put()/write on it.
Affected products
- Linux kernel: from 5.15.145 before 5.15.199; from 6.1.71 before 6.1.160; from 6.6.1 before 6.6.120; from 6.7 before 6.12.64; from 6.13 before 6.18.3; 6.6, 6.6-rc5, 6.6-rc6, 6.6-rc7 — fixed in 5.15.199, 6.1.160, 6.12.64, 6.18.3, 6.6.120
How to fix
Upgrade to a fixed version: Linux kernel 5.15.199, 6.1.160, 6.12.64, 6.18.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/063cbbc6f595ea36ad146e1b7d2af820894beb21
- https://git.kernel.org/stable/c/21a3d01fc6db5129f81edb0ab7cb94fd758bcbea
- https://git.kernel.org/stable/c/446beed646b2e426dd53d27358365f8678e1dd01
- https://git.kernel.org/stable/c/b39a1833cc4a2755b02603eec3a71a85e9dff926
- https://git.kernel.org/stable/c/d092de8a26c952379ded8e6b0bda31d89befac1a
- https://git.kernel.org/stable/c/d64977495e44855f2b28d8ce56107c963a7a50e4
Get alerted when CVE-2025-68817 or the next vulnerability affects your stack