# CVE-2026-68381: ksmbd: pin conn during async oplock break notification

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.72% (percentile 50, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-08-10T12:03:59.849Z
- **Modified:** 2026-10-30T13:19:43.910Z

## Who should check

- Anyone running Linux \>= 8e6508c7ecb1802909f294827eff38f301d0c937, \< dab1493bc9d97947f1219d6823c2e2a28636021b; \>= 09aeab68033161cb54f194da93e51a11aee6144b, \< 0f72fc9659d7f585460d43c158055df5afdcffb6; \>= a4261bbc33fbf99b99c80aa3a2c5097611802980, \< 793e1c7041b93af96ff87e678329bc16aee7ba88; \>= 3aa660c059240e0c795217182cf7df32909dd917, \< 6ecb252efa0b413ac3d9979fb4eec247f8fc1258; \>= 3aa660c059240e0c795217182cf7df32909dd917, \< 14062c74e5b25c27edcff7a2fe0dc701c930b372; \>= 3aa660c059240e0c795217182cf7df32909dd917, \< aa5d8f3f96aa11a4a54ce993c11ce8af11c546f9; f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa; \>= 6.6.84, \< 6.6.148; \>= 6.12.20, \< 6.12.101; \>= 6.13.8, \< 6.14
- Anyone running Linux 6.14

## 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.

## Affected and fixed versions

- Linux: \>= 8e6508c7ecb1802909f294827eff38f301d0c937, \< dab1493bc9d97947f1219d6823c2e2a28636021b; \>= 09aeab68033161cb54f194da93e51a11aee6144b, \< 0f72fc9659d7f585460d43c158055df5afdcffb6; \>= a4261bbc33fbf99b99c80aa3a2c5097611802980, \< 793e1c7041b93af96ff87e678329bc16aee7ba88; \>= 3aa660c059240e0c795217182cf7df32909dd917, \< 6ecb252efa0b413ac3d9979fb4eec247f8fc1258; \>= 3aa660c059240e0c795217182cf7df32909dd917, \< 14062c74e5b25c27edcff7a2fe0dc701c930b372; \>= 3aa660c059240e0c795217182cf7df32909dd917, \< aa5d8f3f96aa11a4a54ce993c11ce8af11c546f9; f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa; \>= 6.6.84, \< 6.6.148; \>= 6.12.20, \< 6.12.101; \>= 6.13.8, \< 6.14 (cvelist)
- Linux: 6.14 (cvelist)

## Mitigation

- Upgrade Linux to 6.14 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-68381. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68381.md
Affected: Linux >= 8e6508c7ecb1802909f294827eff38f301d0c937, < dab1493bc9d97947f1219d6823c2e2a28636021b; >= 09aeab68033161cb54f194da93e51a11aee6144b, < 0f72fc9659d7f585460d43c158055df5afdcffb6; >= a4261bbc33fbf99b99c80aa3a2c5097611802980, < 793e1c7041b93af96ff87e678329bc16aee7ba88; >= 3aa660c059240e0c7952171…
Fixed in: Linux 0f72fc9659d7f585460d43c158055df5afdcffb6, Linux 793e1c7041b93af96ff87e678329bc16aee7ba88, Linux 6ecb252efa0b413ac3d9979fb4eec247f8fc1258, Linux 14062c74e5b25c27edcff7a2fe0dc701c930b372, Linux 6.6.148, Linux 6.12.101, Linux 6.14

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-68381 being exploited?

There is no confirmed exploitation: CVE-2026-68381 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.72% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-68381?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-68381?

Linux \>= 8e6508c7ecb1802909f294827eff38f301d0c937, \< dab1493bc9d97947f1219d6823c2e2a28636021b; \>= 09aeab68033161cb54f194da93e51a11aee6144b, \< 0f72fc9659d7f585460d43c158055df5afdcffb6; \>= a4261bbc33fbf99b99c80aa3a2c5097611802980, \< 793e1c7041b93af96ff87e678329bc16aee7ba88; \>= 3aa660c059240e0c795217182cf7df32909dd917, \< 6ecb252efa0b413ac3d9979fb4eec247f8fc1258; \>= 3aa660c059240e0c795217182cf7df32909dd917, \< 14062c74e5b25c27edcff7a2fe0dc701c930b372; \>= 3aa660c059240e0c795217182cf7df32909dd917, \< aa5d8f3f96aa11a4a54ce993c11ce8af11c546f9; f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa; \>= 6.6.84, \< 6.6.148; \>= 6.12.20, \< 6.12.101; \>= 6.13.8, \< 6.14; Linux 6.14.

### Is there a fix for CVE-2026-68381?

Yes. Fixed in Linux 0f72fc9659d7f585460d43c158055df5afdcffb6, Linux 793e1c7041b93af96ff87e678329bc16aee7ba88, Linux 6ecb252efa0b413ac3d9979fb4eec247f8fc1258, Linux 14062c74e5b25c27edcff7a2fe0dc701c930b372, Linux 6.6.148, Linux 6.12.101, Linux 6.14. Upgrade Linux to 6.14 or later.

### How do I check if I'm affected by CVE-2026-68381?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/dab1493bc9d97947f1219d6823c2e2a28636021b>
- other: <https://git.kernel.org/stable/c/0f72fc9659d7f585460d43c158055df5afdcffb6>
- other: <https://git.kernel.org/stable/c/793e1c7041b93af96ff87e678329bc16aee7ba88>
- other: <https://git.kernel.org/stable/c/6ecb252efa0b413ac3d9979fb4eec247f8fc1258>
- other: <https://git.kernel.org/stable/c/14062c74e5b25c27edcff7a2fe0dc701c930b372>
- other: <https://git.kernel.org/stable/c/aa5d8f3f96aa11a4a54ce993c11ce8af11c546f9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-68381>

HTML: <https://flawdb.com/CVE-2026-68381> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-68381>
