CVE-2026-68381
ksmbd: pin conn during async oplock break notification
Reported by linux · Published August 10, 2026
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 8e6508c7ecb1802909f294827eff38f301d0c937, 09aeab68033161cb54f194da93e51a11aee6144b, a4261bbc33fbf99b99c80aa3a2c5097611802980 |
| Linux | Linux | 6.14, 0, 6.6.148 |
| linux | linux_kernel | 6.6.84, 6.12.20, 6.14 |
| Linux | Linux | 8e6508c7ecb1802909f294827eff38f301d0c937, 09aeab68033161cb54f194da93e51a11aee6144b, * |
Timeline
- Aug 10, 2026 Coalition ESS Score
- Aug 10, 2026 CVE Published
- Aug 21, 2026 Security Advisory
- Aug 24, 2026 EPSS Score (30 in total, the first dated here)
- Oct 30, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-68381
vulnetix vdb fixes CVE-2026-68381
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68381/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart