CVE-2026-68381
published critical CVSS 3.1 · 9.8ksmbd: pin conn during async oplock break notification
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux8e6508c7ecb1802909f294827eff38f301d0c937 to < dab1493bc9d97947f1219d6823c2e2a28636021b · 09aeab68033161cb54f194da93e51a11aee6144b to < 0f72fc9659d7f585460d43c158055df5afdcffb6 · a4261bbc33fbf99b99c80aa3a2c5097611802980 to < 793e1c7041b93af96ff87e678329bc16aee7ba88 · 3aa660c059240e0c795217182cf7df32909dd917 to < 6ecb252efa0b413ac3d9979fb4eec247f8fc1258 · 3aa660c059240e0c795217182cf7df32909dd917 to < 14062c74e5b25c27edcff7a2fe0dc701c930b372 · 3aa660c059240e0c795217182cf7df32909dd917 to < aa5d8f3f96aa11a4a54ce993c11ce8af11c546f9 · f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa · 6.6.84 to < 6.6.148 · 6.12.20 to < 6.12.101 · 6.13.8 to < 6.14 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.6.148 through 6.6.* (unaffected · semver) · 6.12.101 through 6.12.* (unaffected · semver) · 6.18.42 through 6.18.* (unaffected · semver) · 7.1.6 through 7.1.* (unaffected · semver) · 7.2 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-6.12 | Advisory build | 6.12.101-1~deb12u1 | DLA-4745-1 |
| Ubuntu | jammy | linux-aws-6.8 | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-aws-6.8-cloud-tools-6.8.0-1069 | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-aws-6.8-headers-6.8.0-1069 | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | jammy | linux-aws-6.8-tools-6.8.0-1069 | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-azure-6.8 | Advisory build | 6.8.0-1073.82~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-azure-6.8-cloud-tools-6.8.0-1073 | Advisory build | 6.8.0-1073.82~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-azure-6.8-headers-6.8.0-1073 | Advisory build | 6.8.0-1073.82~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-azure-6.8-tools-6.8.0-1073 | Advisory build | 6.8.0-1073.82~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-azure-fde-6.8 | Advisory build | 6.8.0-1071.78~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-azure-fde-6.8-cloud-tools-6.8.0-1071 | Advisory build | 6.8.0-1071.78~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-azure-fde-6.8-headers-6.8.0-1071 | Advisory build | 6.8.0-1071.78~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-azure-fde-6.8-tools-6.8.0-1071 | Advisory build | 6.8.0-1071.78~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1067-oracle | Advisory build | 6.8.0-1067.71~22.04.1 | USN-9025-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1067-oracle-64k | Advisory build | 6.8.0-1067.71~22.04.1 | USN-9025-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1069-aws | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1069-aws-64k | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1069-ibm | Advisory build | 6.8.0-1069.70~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1071-azure-fde | Advisory build | 6.8.0-1071.78~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1073-azure | Advisory build | 6.8.0-1073.82~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1073-gcp | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1073-gcp-64k | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-149-generic | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-149-generic-64k | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-149-lowlatency | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-149-lowlatency-64k | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.1-1064-realtime | Advisory build | 6.8.1-1064.65~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1069-aws | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1069-aws-64k | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1071-azure-fde | Advisory build | 6.8.0-1071.78~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1073-azure | Advisory build | 6.8.0-1073.82~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-149-generic | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-149-lowlatency | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.1-1064-realtime | Advisory build | 6.8.1-1064.65~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-gcp-6.8 | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-gcp-6.8-headers-6.8.0-1073 | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-gcp-6.8-tools-6.8.0-1073 | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1067-oracle | Advisory build | 6.8.0-1067.71~22.04.1 | USN-9025-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1067-oracle-64k | Advisory build | 6.8.0-1067.71~22.04.1 | USN-9025-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1069-aws | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1069-aws-64k | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1069-ibm | Advisory build | 6.8.0-1069.70~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1071-azure-fde | Advisory build | 6.8.0-1071.78~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1073-azure | Advisory build | 6.8.0-1073.82~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1073-gcp | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1073-gcp-64k | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-headers-6.8.0-149-generic | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-headers-6.8.0-149-generic-64k | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-headers-6.8.0-149-lowlatency | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-headers-6.8.0-149-lowlatency-64k | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-headers-6.8.1-1064-realtime | Advisory build | 6.8.1-1064.65~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-hwe-6.8 | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-hwe-6.8-cloud-tools-6.8.0-149 | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-hwe-6.8-headers-6.8.0-149 | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-hwe-6.8-tools-6.8.0-149 | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-ibm-6.8 | Advisory build | 6.8.0-1069.70~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-ibm-6.8-headers-6.8.0-1069 | Advisory build | 6.8.0-1069.70~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-ibm-6.8-tools-6.8.0-1069 | Advisory build | 6.8.0-1069.70~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-image-6.8.0-149-generic | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1067-oracle | Advisory build | 6.8.0-1067.71~22.04.1 | USN-9025-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1067-oracle-64k | Advisory build | 6.8.0-1067.71~22.04.1 | USN-9025-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1069-aws | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1069-aws-64k | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1069-ibm | Advisory build | 6.8.0-1069.70~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1071-azure-fde | Advisory build | 6.8.0-1071.78~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1073-azure | Advisory build | 6.8.0-1073.82~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1073-gcp | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1073-gcp-64k | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-149-generic | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-149-generic-64k | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-149-lowlatency | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-149-lowlatency-64k | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.1-1064-realtime | Advisory build | 6.8.1-1064.65~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8 | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-cloud-tools-6.8.0-149 | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-headers-6.8.0-149 | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-lib-rust-6.8.0-149-lowlatency | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8-tools-6.8.0-149 | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1067-oracle | Advisory build | 6.8.0-1067.71~22.04.1 | USN-9025-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1067-oracle-64k | Advisory build | 6.8.0-1067.71~22.04.1 | USN-9025-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1069-aws | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1069-aws-64k | Advisory build | 6.8.0-1069.74~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1069-ibm | Advisory build | 6.8.0-1069.70~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1071-azure-fde | Advisory build | 6.8.0-1071.78~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1073-azure | Advisory build | 6.8.0-1073.82~22.04.1 | USN-9026-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1073-gcp | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1073-gcp-64k | Advisory build | 6.8.0-1073.81~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-modules-6.8.0-149-generic | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-modules-6.8.0-149-generic-64k | Advisory build | 6.8.0-149.149~22.04.1 | USN-9066-1 |
| Ubuntu | jammy | linux-modules-6.8.0-149-lowlatency | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-modules-6.8.0-149-lowlatency-64k | Advisory build | 6.8.0-149.149.1~22.04.1 | USN-9024-1 |
| Ubuntu | jammy | linux-modules-6.8.1-1064-realtime | Advisory build | 6.8.1-1064.65~22.04.1 | USN-9024-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: pin conn during async oplock break notification smb2_oplock_break_noti() and smb2_lease_break_noti() store a ksmbd_conn pointer in an async ksmbd_work and then queue that work on ksmbd-io. The work only increments conn->r_count, which prevents teardown from passing the pending-request wait after the increment, but it does not pin the struct ksmbd_conn object. If connection teardown races with an oplock break notification, the last conn reference can be dropped before the queued worker finishes. The worker then uses the freed conn in ksmbd_conn_write() and ksmbd_conn_r_count_dec(). Take a real conn reference when publishing the conn pointer to the async work item, and drop it after the notification work has decremented r_count. Apply the same lifetime rule to lease break notification, which uses the same work->conn pattern.
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 is the in-kernel SMB server listening on TCP/445 (and SMB-Direct); the oplock/lease break notification path is driven entirely by remote SMB2 CREATE/close traffic and connection teardown, so a remote peer reaches the freed-conn use over the network. AC:L - The attacker controls both sides of the race: one connection holds a batch oplock/lease while a second connection opens the same file to force the async break, and the first connection is then abruptly dropped so teardown passes the r_count wait before the increment lands; this can be retried across arbitrarily many connections. PR:N - ksmbd share access is commonly exposed with guest/anonymous mapping, so an unauthenticated or trivially-credentialed remote client can open files and trigger oplock/lease breaks; consistent with prior ksmbd connection-lifetime UAF scoring, no meaningful privilege gate protects this path. UI:N - No victim action is needed; the attacker's own two SMB connections create the oplock break and the racing disconnect entirely on their own initiative. S:U - The freed object and the corrupted state are both kernel memory owned by the ksmbd server within the same security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - Use-after-free of struct ksmbd_conn lets the attacker reclaim the slab object with attacker-shaped data and have the worker read conn->transport and response state from it, enabling disclosure of kernel memory and pointer values, potentially leaked back over the SMB connection. I:H - ksmbd_conn_write() dereferences conn->transport->ops->writev from the freed object and indirectly calls it, and ksmbd_conn_lock()/ksmbd_conn_r_count_dec() perform mutex and atomic/waitqueue writes into freed memory, giving heap-spray-based control-flow hijack and arbitrary-write potential. A:H - Even without successful exploitation, using a freed ksmbd_conn (mutex operations, transport pointer dereference, waitqueue wakeup) reliably causes memory corruption, oops, or kernel panic, taking down the whole system.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 8e6508c7ecb1802909f294827eff38f301d0c937 to < dab1493bc9d97947f1219d6823c2e2a28636021b (affected · git)09aeab68033161cb54f194da93e51a11aee6144b to < 0f72fc9659d7f585460d43c158055df5afdcffb6 (affected · git)a4261bbc33fbf99b99c80aa3a2c5097611802980 to < 793e1c7041b93af96ff87e678329bc16aee7ba88 (affected · git)3aa660c059240e0c795217182cf7df32909dd917 to < 6ecb252efa0b413ac3d9979fb4eec247f8fc1258 (affected · git)3aa660c059240e0c795217182cf7df32909dd917 to < 14062c74e5b25c27edcff7a2fe0dc701c930b372 (affected · git)3aa660c059240e0c795217182cf7df32909dd917 to < aa5d8f3f96aa11a4a54ce993c11ce8af11c546f9 (affected · git)f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa (affected · git)6.6.84 to < 6.6.148 (affected · semver)6.12.20 to < 6.12.101 (affected · semver)6.13.8 to < 6.14 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.14 (affected)0 to < 6.14 (unaffected · semver)6.6.148 through 6.6.* (unaffected · semver)6.12.101 through 6.12.* (unaffected · semver)6.18.42 through 6.18.* (unaffected · semver)7.1.6 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
6- https://git.kernel.org/stable/c/0f72fc9659d7f585460d43c158055df5afdcffb6
- https://git.kernel.org/stable/c/14062c74e5b25c27edcff7a2fe0dc701c930b372
- https://git.kernel.org/stable/c/6ecb252efa0b413ac3d9979fb4eec247f8fc1258
- https://git.kernel.org/stable/c/793e1c7041b93af96ff87e678329bc16aee7ba88
- https://git.kernel.org/stable/c/aa5d8f3f96aa11a4a54ce993c11ce8af11c546f9
- https://git.kernel.org/stable/c/dab1493bc9d97947f1219d6823c2e2a28636021b
Provider assertions
2Linux · cna
ksmbd: pin conn during async oplock break notification
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 42557a902749fccfdd4b5456978ee1f1ec33a72121c33b4eb8c26ced458f744c
- Ingested
- 30 Oct 2026, 12:43:17 UTC
- Source record
- Official CVE record