ksmbd: fix use-after-free in ksmbd_tree_connect_put under concurrency
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-416 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.15.145 to before 5.15.199; 6.1.71 to before 6.1.160 | 5.15.199, 6.1.160 | Patch available | CNA |
| Linux | Linux | 6.6 and later | 5.15.199, 6.1.160, 6.6.120, 6.12.64, 6.18.3, 6.19 | Patch available | CNA |
- Linux VendorLinux Affected 5.15.145 to before 5.15.199; 6.1.71 to before 6.1.160 Fixed in 5.15.199, 6.1.160 Patch available CNA
- Linux VendorLinux Affected 6.6 and later Fixed in 5.15.199, 6.1.160, 6.6.120, 6.12.64, 6.18.3, 6.19 Patch available CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.15.145 to before 5.15.199; 6.1.71 to before 6.1.160; 6.6.1 to before 6.6.120; 6.7 to before 6.12.64; 6.13 to before 6.18.3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.6:-:*:*:*:*:*:* | 6.6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.6:rc5:*:*:*:*:*:* | 6.6 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.6:rc6:*:*:*:*:*:* | 6.6 rc6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.6:rc7:*:*:*:*:*:* | 6.6 rc7 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.15.145 to before 5.15.199; 6.1.71 to before 6.1.160; 6.6.1 to before 6.6.120; 6.7 to before 6.12.64; 6.13 to before 6.18.3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.6:-:*:*:*:*:*:* Versions 6.6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.6:rc5:*:*:*:*:*:* Versions 6.6 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.6:rc6:*:*:*:*:*:* Versions 6.6 rc6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.6:rc7:*:*:*:*:*:* Versions 6.6 rc7 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.15.199, 6.1.160
- Fix · CNA Linux (Linux) Fixed in 5.15.199, 6.1.160, 6.6.120, 6.12.64, 6.18.3, 6.19
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 5 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2025-68817
- 2026-10-03 Alias added: GHSA-77h3-779x-v4x3
References
Patch 6
- https://git.kernel.org/stable/c/446beed646b2e426dd53d27358365f8678e1dd01
- https://git.kernel.org/stable/c/d092de8a26c952379ded8e6b0bda31d89befac1a
- https://git.kernel.org/stable/c/d64977495e44855f2b28d8ce56107c963a7a50e4
- https://git.kernel.org/stable/c/21a3d01fc6db5129f81edb0ab7cb94fd758bcbea
- https://git.kernel.org/stable/c/063cbbc6f595ea36ad146e1b7d2af820894beb21
- https://git.kernel.org/stable/c/b39a1833cc4a2755b02603eec3a71a85e9dff926
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2025-68817 · CVE Program
- CVE-2025-68817 · NVD
- FIRST EPSS
- GHSA-77h3-779x-v4x3 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-68817 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences