# CVE-2025-68817: ksmbd: fix use-after-free in ksmbd\_tree\_connect\_put under concurrency

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-01-13 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2025-68817, DEBIAN-CVE-2025-68817
- Record: https://cvemate.com/vulnerability/CVE-2025-68817 · JSON: https://cvemate.com/vulnerability/CVE-2025-68817/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.444%, percentile 40.346%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 148)

- debian linux (Debian): \< 6.1.162-1 \| \< 6.12.69-1 \| \< 6.18.3-1
- ubuntu linux (Ubuntu): \< 5.15.0-176.186 \| \< 6.8.0-110.110 \| \< 6.17.0-22.22
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1105.112 \| \< 6.8.0-1052.55 \| \< 6.17.0-1012.12
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1105.112~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): \< 6.17.0-1012.12~24.04.1
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1052.55~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 5.15.0-1105.112+fips1 \| \< 6.8.0-1052.55+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1110.119 \| \< 6.8.0-1054.60 \| \< 6.17.0-1013.13
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 43)

- <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>
- <https://ubuntu.com/security/CVE-2025-68817>
- <https://www.cve.org/CVERecord?id=CVE-2025-68817>
- <https://git.kernel.org/linus/b39a1833cc4a2755b02603eec3a71a85e9dff926>
- <https://ubuntu.com/security/notices/USN-8162-1>
- <https://ubuntu.com/security/notices/USN-8177-1>
- <https://ubuntu.com/security/notices/USN-8179-1>
- <https://ubuntu.com/security/notices/USN-8180-1>
- <https://ubuntu.com/security/notices/USN-8177-2>
- <https://ubuntu.com/security/notices/USN-8183-1>
- <https://ubuntu.com/security/notices/USN-8184-1>
- <https://ubuntu.com/security/notices/USN-8179-2>
- <https://ubuntu.com/security/notices/USN-8185-1>
- <https://ubuntu.com/security/notices/USN-8180-2>
- <https://ubuntu.com/security/notices/USN-8186-1>

---

Data as of 2026-12-05T04:47:35.567Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
