CVE-2025-68817
published critical CVSS 3.1 · 9.8ksmbd: fix use-after-free in ksmbd_tree_connect_put under concurrency
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxdd45db4d9bbc8f122a9b4db5ce94ae29fcf03d3c to < 446beed646b2e426dd53d27358365f8678e1dd01 · 7b58ee8d0b91359554cf219cd4f33872ea2afd66 to < d092de8a26c952379ded8e6b0bda31d89befac1a · 33b235a6e6ebe0f05f3586a71e8d281d00f71e2e to < d64977495e44855f2b28d8ce56107c963a7a50e4 · 33b235a6e6ebe0f05f3586a71e8d281d00f71e2e to < 21a3d01fc6db5129f81edb0ab7cb94fd758bcbea · 33b235a6e6ebe0f05f3586a71e8d281d00f71e2e to < 063cbbc6f595ea36ad146e1b7d2af820894beb21 · 33b235a6e6ebe0f05f3586a71e8d281d00f71e2e to < b39a1833cc4a2755b02603eec3a71a85e9dff926 · 5.15.145 to < 5.15.199 · 6.1.71 to < 6.1.160 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 5.15.199 through 5.15.* (unaffected · semver) · 6.1.160 through 6.1.* (unaffected · semver) · 6.6.120 through 6.6.* (unaffected · semver) · 6.12.64 through 6.12.* (unaffected · semver) · 6.18.3 through 6.18.* (unaffected · semver) · 6.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.162-1 | DSA-6127-1 |
| Ubuntu | focal | linux-aws-5.15 | Advisory build | 5.15.0-1105.112~20.04.1 | USN-8180-1 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.162-1~deb11u1 | DLA-4476-1 |
| Debian | trixie | linux | Advisory build | 6.12.69-1 | DSA-6126-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | linux-aws-5.15-cloud-tools-5.15.0-1105 | Advisory build | 5.15.0-1105.112~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-aws-5.15-headers-5.15.0-1105 | Advisory build | 5.15.0-1105.112~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-aws-5.15-tools-5.15.0-1105 | Advisory build | 5.15.0-1105.112~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-azure-5.15 | Advisory build | 5.15.0-1110.119~20.04.1 | USN-8243-1 |
| Ubuntu | focal | linux-azure-5.15-cloud-tools-5.15.0-1110 | Advisory build | 5.15.0-1110.119~20.04.1 | USN-8243-1 |
| Ubuntu | focal | linux-azure-5.15-headers-5.15.0-1110 | Advisory build | 5.15.0-1110.119~20.04.1 | USN-8243-1 |
| Ubuntu | focal | linux-azure-5.15-tools-5.15.0-1110 | Advisory build | 5.15.0-1110.119~20.04.1 | USN-8243-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1057-nvidia-tegra | Advisory build | 5.15.0-1057.57~20.04.1 | USN-8162-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1057-nvidia-tegra-rt | Advisory build | 5.15.0-1057.57~20.04.1 | USN-8162-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1099-ibm | Advisory build | 5.15.0-1099.102~20.04.1 | USN-8180-5 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1100-intel-iotg | Advisory build | 5.15.0-1100.106~20.04.1 | USN-8180-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1102-oracle | Advisory build | 5.15.0-1102.108~20.04.1 | USN-8180-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1105-aws | Advisory build | 5.15.0-1105.112~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1106-gcp | Advisory build | 5.15.0-1106.115~20.04.1 | USN-8297-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1110-azure | Advisory build | 5.15.0-1110.119~20.04.1 | USN-8243-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-175-lowlatency | Advisory build | 5.15.0-175.185~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-175-lowlatency-64k | Advisory build | 5.15.0-175.185~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-176-generic | Advisory build | 5.15.0-176.186~20.04.1 | USN-8188-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-176-generic-64k | Advisory build | 5.15.0-176.186~20.04.1 | USN-8188-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-176-generic-lpae | Advisory build | 5.15.0-176.186~20.04.1 | USN-8188-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1100-intel-iotg | Advisory build | 5.15.0-1100.106~20.04.1 | USN-8180-3 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1105-aws | Advisory build | 5.15.0-1105.112~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1110-azure | Advisory build | 5.15.0-1110.119~20.04.1 | USN-8243-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-175-lowlatency | Advisory build | 5.15.0-175.185~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-176-generic | Advisory build | 5.15.0-176.186~20.04.1 | USN-8188-1 |
| Ubuntu | focal | linux-gcp-5.15 | Advisory build | 5.15.0-1106.115~20.04.1 | USN-8297-1 |
| Ubuntu | focal | linux-gcp-5.15-headers-5.15.0-1106 | Advisory build | 5.15.0-1106.115~20.04.1 | USN-8297-1 |
| Ubuntu | focal | linux-gcp-5.15-tools-5.15.0-1106 | Advisory build | 5.15.0-1106.115~20.04.1 | USN-8297-1 |
| Ubuntu | focal | linux-headers-5.15.0-1057-nvidia-tegra | Advisory build | 5.15.0-1057.57~20.04.1 | USN-8162-1 |
| Ubuntu | focal | linux-headers-5.15.0-1057-nvidia-tegra-rt | Advisory build | 5.15.0-1057.57~20.04.1 | USN-8162-1 |
| Ubuntu | focal | linux-headers-5.15.0-1099-ibm | Advisory build | 5.15.0-1099.102~20.04.1 | USN-8180-5 |
| Ubuntu | focal | linux-headers-5.15.0-1100-intel-iotg | Advisory build | 5.15.0-1100.106~20.04.1 | USN-8180-3 |
| Ubuntu | focal | linux-headers-5.15.0-1102-oracle | Advisory build | 5.15.0-1102.108~20.04.1 | USN-8180-3 |
| Ubuntu | focal | linux-headers-5.15.0-1105-aws | Advisory build | 5.15.0-1105.112~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-headers-5.15.0-1106-gcp | Advisory build | 5.15.0-1106.115~20.04.1 | USN-8297-1 |
| Ubuntu | focal | linux-headers-5.15.0-1110-azure | Advisory build | 5.15.0-1110.119~20.04.1 | USN-8243-1 |
| Ubuntu | focal | linux-headers-5.15.0-175-lowlatency | Advisory build | 5.15.0-175.185~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-headers-5.15.0-175-lowlatency-64k | Advisory build | 5.15.0-175.185~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-headers-5.15.0-176-generic | Advisory build | 5.15.0-176.186~20.04.1 | USN-8188-1 |
| Ubuntu | focal | linux-headers-5.15.0-176-generic-64k | Advisory build | 5.15.0-176.186~20.04.1 | USN-8188-1 |
| Ubuntu | focal | linux-headers-5.15.0-176-generic-lpae | Advisory build | 5.15.0-176.186~20.04.1 | USN-8188-1 |
| Ubuntu | focal | linux-hwe-5.15 | Advisory build | 5.15.0-176.186~20.04.1 | USN-8188-1 |
| Ubuntu | focal | linux-hwe-5.15-cloud-tools-5.15.0-176 | Advisory build | 5.15.0-176.186~20.04.1 | USN-8188-1 |
| Ubuntu | focal | linux-hwe-5.15-headers-5.15.0-176 | Advisory build | 5.15.0-176.186~20.04.1 | USN-8188-1 |
| Ubuntu | focal | linux-hwe-5.15-tools-5.15.0-176 | Advisory build | 5.15.0-176.186~20.04.1 | USN-8188-1 |
| Ubuntu | focal | linux-ibm-5.15 | Advisory build | 5.15.0-1099.102~20.04.1 | USN-8180-5 |
| Ubuntu | focal | linux-ibm-5.15-headers-5.15.0-1099 | Advisory build | 5.15.0-1099.102~20.04.1 | USN-8180-5 |
| Ubuntu | focal | linux-ibm-5.15-source-5.15.0 | Advisory build | 5.15.0-1099.102~20.04.1 | USN-8180-5 |
| Ubuntu | focal | linux-ibm-5.15-tools-5.15.0-1099 | Advisory build | 5.15.0-1099.102~20.04.1 | USN-8180-5 |
| Ubuntu | focal | linux-image-5.15.0-176-generic | Advisory build | 5.15.0-176.186~20.04.1 | USN-8188-1 |
| Ubuntu | focal | linux-image-5.15.0-176-generic-lpae | Advisory build | 5.15.0-176.186~20.04.1 | USN-8188-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1057-nvidia-tegra | Advisory build | 5.15.0-1057.57~20.04.1 | USN-8162-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1057-nvidia-tegra-rt | Advisory build | 5.15.0-1057.57~20.04.1 | USN-8162-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1099-ibm | Advisory build | 5.15.0-1099.102~20.04.1 | USN-8180-5 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1100-intel-iotg | Advisory build | 5.15.0-1100.106~20.04.1 | USN-8180-3 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1102-oracle | Advisory build | 5.15.0-1102.108~20.04.1 | USN-8180-3 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1105-aws | Advisory build | 5.15.0-1105.112~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1106-gcp | Advisory build | 5.15.0-1106.115~20.04.1 | USN-8297-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1110-azure | Advisory build | 5.15.0-1110.119~20.04.1 | USN-8243-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-175-lowlatency | Advisory build | 5.15.0-175.185~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-175-lowlatency-64k | Advisory build | 5.15.0-175.185~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-176-generic | Advisory build | 5.15.0-176.186~20.04.1 | USN-8188-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-176-generic-64k | Advisory build | 5.15.0-176.186~20.04.1 | USN-8188-1 |
| Ubuntu | focal | linux-intel-iotg-5.15 | Advisory build | 5.15.0-1100.106~20.04.1 | USN-8180-3 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-5.15.0-1100 | Advisory build | 5.15.0-1100.106~20.04.1 | USN-8180-3 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-common | Advisory build | 5.15.0-1100.106~20.04.1 | USN-8180-3 |
| Ubuntu | focal | linux-intel-iotg-5.15-headers-5.15.0-1100 | Advisory build | 5.15.0-1100.106~20.04.1 | USN-8180-3 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-5.15.0-1100 | Advisory build | 5.15.0-1100.106~20.04.1 | USN-8180-3 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-common | Advisory build | 5.15.0-1100.106~20.04.1 | USN-8180-3 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-host | Advisory build | 5.15.0-1100.106~20.04.1 | USN-8180-3 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15 | Advisory build | 5.15.0-175.185~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-175 | Advisory build | 5.15.0-175.185~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-headers-5.15.0-175 | Advisory build | 5.15.0-175.185~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-tools-5.15.0-175 | Advisory build | 5.15.0-175.185~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-modules-5.15.0-1057-nvidia-tegra | Advisory build | 5.15.0-1057.57~20.04.1 | USN-8162-1 |
| Ubuntu | focal | linux-modules-5.15.0-1057-nvidia-tegra-rt | Advisory build | 5.15.0-1057.57~20.04.1 | USN-8162-1 |
| Ubuntu | focal | linux-modules-5.15.0-1099-ibm | Advisory build | 5.15.0-1099.102~20.04.1 | USN-8180-5 |
| Ubuntu | focal | linux-modules-5.15.0-1100-intel-iotg | Advisory build | 5.15.0-1100.106~20.04.1 | USN-8180-3 |
| Ubuntu | focal | linux-modules-5.15.0-1102-oracle | Advisory build | 5.15.0-1102.108~20.04.1 | USN-8180-3 |
| Ubuntu | focal | linux-modules-5.15.0-1105-aws | Advisory build | 5.15.0-1105.112~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-modules-5.15.0-1106-gcp | Advisory build | 5.15.0-1106.115~20.04.1 | USN-8297-1 |
| Ubuntu | focal | linux-modules-5.15.0-1110-azure | Advisory build | 5.15.0-1110.119~20.04.1 | USN-8243-1 |
| Ubuntu | focal | linux-modules-5.15.0-175-lowlatency | Advisory build | 5.15.0-175.185~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-modules-5.15.0-175-lowlatency-64k | Advisory build | 5.15.0-175.185~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-modules-5.15.0-176-generic | Advisory build | 5.15.0-176.186~20.04.1 | USN-8188-1 |
| Ubuntu | focal | linux-modules-5.15.0-176-generic-64k | Advisory build | 5.15.0-176.186~20.04.1 | USN-8188-1 |
| Ubuntu | focal | linux-modules-5.15.0-176-generic-lpae | Advisory build | 5.15.0-176.186~20.04.1 | USN-8188-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1057-nvidia-tegra | Advisory build | 5.15.0-1057.57~20.04.1 | USN-8162-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1099-ibm | Advisory build | 5.15.0-1099.102~20.04.1 | USN-8180-5 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1100-intel-iotg | Advisory build | 5.15.0-1100.106~20.04.1 | USN-8180-3 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1102-oracle | Advisory build | 5.15.0-1102.108~20.04.1 | USN-8180-3 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1105-aws | Advisory build | 5.15.0-1105.112~20.04.1 | USN-8180-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1106-gcp | Advisory build | 5.15.0-1106.115~20.04.1 | USN-8297-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1110-azure | Advisory build | 5.15.0-1110.119~20.04.1 | USN-8243-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-176-generic | Advisory build | 5.15.0-176.186~20.04.1 | USN-8188-1 |
| Ubuntu | focal | linux-modules-involflt-5.15.0-1110-azure | Advisory build | 5.15.0-1110.119~20.04.1 | USN-8243-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - ksmbd processes remotely supplied SMB2/3 requests over TCP port 445, with the request path reaching smb2_tree_disconnect and ksmbd_tree_connect_put in kernel context. AC:L - A remote client can control both sides by issuing concurrent tree-scoped requests and SMB2_TREE_DISCONNECT against its own tree connection. ksmbd permits thousands of in-flight work items, allowing repeated race attempts without conditions outside attacker control. PR:N - The path requires a valid SMB session and tree ID, but ksmbd supports public guest shares and skips password verification for guest accounts. An attacker can therefore establish the required session and tree without credentials in a reasonable deployment. UI:N - Once the SMB server and share are available, the attacker triggers the race entirely through network requests without victim action. S:U - The UAF corrupts the ksmbd host kernel within the same security authority; it does not inherently cross a VM, IOMMU, or other separate security boundary. C:H - The final reference release accesses the freed tcon wait-queue list, which can operate on attacker-influenced contents after heap reclamation. This kernel UAF can plausibly provide arbitrary memory disclosure rather than only a bounded leak. I:H - wake_up can lock and traverse the reclaimed wait queue, causing writes and an indirect function call through stale contents. Heap spraying can therefore support arbitrary write or kernel control-flow hijacking. A:H - Invalid wait-queue pointers, corrupted lock state, or a stale indirect call can cause a kernel oops or panic. The remotely controlled race can be attempted repeatedly.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | dd45db4d9bbc8f122a9b4db5ce94ae29fcf03d3c to < 446beed646b2e426dd53d27358365f8678e1dd01 (affected · git)7b58ee8d0b91359554cf219cd4f33872ea2afd66 to < d092de8a26c952379ded8e6b0bda31d89befac1a (affected · git)33b235a6e6ebe0f05f3586a71e8d281d00f71e2e to < d64977495e44855f2b28d8ce56107c963a7a50e4 (affected · git)33b235a6e6ebe0f05f3586a71e8d281d00f71e2e to < 21a3d01fc6db5129f81edb0ab7cb94fd758bcbea (affected · git)33b235a6e6ebe0f05f3586a71e8d281d00f71e2e to < 063cbbc6f595ea36ad146e1b7d2af820894beb21 (affected · git)33b235a6e6ebe0f05f3586a71e8d281d00f71e2e to < b39a1833cc4a2755b02603eec3a71a85e9dff926 (affected · git)5.15.145 to < 5.15.199 (affected · semver)6.1.71 to < 6.1.160 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.6 (affected)0 to < 6.6 (unaffected · semver)5.15.199 through 5.15.* (unaffected · semver)6.1.160 through 6.1.* (unaffected · semver)6.6.120 through 6.6.* (unaffected · semver)6.12.64 through 6.12.* (unaffected · semver)6.18.3 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- 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
Provider assertions
1Linux · cna
ksmbd: fix use-after-free in ksmbd_tree_connect_put under concurrency
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 69ff0f45e92c99e1110e3306085ded3808b4facd17c3ccfae3e20e896a7b6fab
- Ingested
- 23 Sep 2026, 08:57:14 UTC
- Source record
- Official CVE record