# CVE-2026-80926: ksmbd: fix use-after-free in 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.70% (percentile 49, 2026-11-26)
- **Published:** 2026-09-11T19:37:29.855Z
- **Modified:** 2026-11-25T19:17:40.227Z

## Who should check

- Anyone running Linux \>= 945a86b21b40fb17183f5b27461baa6f03e2467f, \< 892f643b141aee3f7aa7c0fc61ddcb55c59f1996; \>= 1ff58dcfcab434ebb51649da33774fbb8e1f7b67, \< 5de0527f782430b1109a447646e32033ad018a6a; \>= e735dbd489e3ea02be78dba991056fe1138be51e, \< c8279ae8df68cce9cd3b785e85f7a86c80a46e78; \>= b003086d76968298f22e7cf62239833b5a3a06b1, \< 8cc98db4fc590e6c7d9db6529320982ee16c5d1d; \>= b003086d76968298f22e7cf62239833b5a3a06b1, \< 0e753899627b5e28a9fea8bca98262a6f65a2452; 75e33deda658c1ab3a9336cbdb1436536f9b3660; \>= 6.6.143, \< 6.6.158; \>= 6.12.94, \< 6.12.111; \>= 6.18.36, \< 6.18.51; \>= 7.0.13, \< 7.1
- Anyone running Linux 7.1

## Description

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix use-after-free in oplock break notification

smb2\_oplock\_break\_noti() reads opinfo-\>conn without any lock and
dereferences it after two allocations which may sleep.  When the
durable handle owning the oplock is disconnected, session\_fd\_check()
clears opinfo-\>conn and drops its conn reference under ci-\>m\_lock, and
the last ksmbd\_conn\_put() frees the connection.  A break triggered by
another connection that races with the teardown can then resurrect the
freed connection: ksmbd\_conn\_get() is a plain atomic\_inc, and the
queued break work later dereferences the stale conn via
ksmbd\_conn\_write(), a use-after-free reachable by any authenticated
client holding a durable batch oplock.

Thread the caller's inode into the notification path instead of taking
a new reference on it.  Every caller of oplock\_break() already holds a
live ksmbd\_file (or an explicit ksmbd\_inode\_lookup\_lock() reference,
in the parent lease break paths) on the inode that owns the break
target's oplock list, so ci cannot be freed during the call, and its
lock can be taken without dereferencing opinfo-\>o\_fp, which a
concurrent close may free.  Select and pin the connection under
ci-\>m\_lock, the same lock session\_fd\_check() and
ksmbd\_reopen\_durable\_fd() use to update opinfo-\>conn, so a concurrent
detach either loses the race to the clear or keeps the connection
alive until the notification work releases it.  Transfer the reference
to the work item and release it on allocation failures.

## Affected and fixed versions

- Linux: \>= 945a86b21b40fb17183f5b27461baa6f03e2467f, \< 892f643b141aee3f7aa7c0fc61ddcb55c59f1996; \>= 1ff58dcfcab434ebb51649da33774fbb8e1f7b67, \< 5de0527f782430b1109a447646e32033ad018a6a; \>= e735dbd489e3ea02be78dba991056fe1138be51e, \< c8279ae8df68cce9cd3b785e85f7a86c80a46e78; \>= b003086d76968298f22e7cf62239833b5a3a06b1, \< 8cc98db4fc590e6c7d9db6529320982ee16c5d1d; \>= b003086d76968298f22e7cf62239833b5a3a06b1, \< 0e753899627b5e28a9fea8bca98262a6f65a2452; 75e33deda658c1ab3a9336cbdb1436536f9b3660; \>= 6.6.143, \< 6.6.158; \>= 6.12.94, \< 6.12.111; \>= 6.18.36, \< 6.18.51; \>= 7.0.13, \< 7.1 (cvelist)
- Linux: 7.1 (cvelist)

## Mitigation

- Upgrade Linux to 7.1 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-80926. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80926.md
Affected: Linux >= 945a86b21b40fb17183f5b27461baa6f03e2467f, < 892f643b141aee3f7aa7c0fc61ddcb55c59f1996; >= 1ff58dcfcab434ebb51649da33774fbb8e1f7b67, < 5de0527f782430b1109a447646e32033ad018a6a; >= e735dbd489e3ea02be78dba991056fe1138be51e, < c8279ae8df68cce9cd3b785e85f7a86c80a46e78; >= b003086d76968298f22e7cf…
Fixed in: Linux 892f643b141aee3f7aa7c0fc61ddcb55c59f1996, Linux 5de0527f782430b1109a447646e32033ad018a6a, Linux 8cc98db4fc590e6c7d9db6529320982ee16c5d1d, Linux 0e753899627b5e28a9fea8bca98262a6f65a2452, Linux 6.6.158, Linux 6.12.111, Linux 6.18.51, Linux 7.1

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-80926 being exploited?

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

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

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

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

Linux \>= 945a86b21b40fb17183f5b27461baa6f03e2467f, \< 892f643b141aee3f7aa7c0fc61ddcb55c59f1996; \>= 1ff58dcfcab434ebb51649da33774fbb8e1f7b67, \< 5de0527f782430b1109a447646e32033ad018a6a; \>= e735dbd489e3ea02be78dba991056fe1138be51e, \< c8279ae8df68cce9cd3b785e85f7a86c80a46e78; \>= b003086d76968298f22e7cf62239833b5a3a06b1, \< 8cc98db4fc590e6c7d9db6529320982ee16c5d1d; \>= b003086d76968298f22e7cf62239833b5a3a06b1, \< 0e753899627b5e28a9fea8bca98262a6f65a2452; 75e33deda658c1ab3a9336cbdb1436536f9b3660; \>= 6.6.143, \< 6.6.158; \>= 6.12.94, \< 6.12.111; \>= 6.18.36, \< 6.18.51; \>= 7.0.13, \< 7.1; Linux 7.1.

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

Yes. Fixed in Linux 892f643b141aee3f7aa7c0fc61ddcb55c59f1996, Linux 5de0527f782430b1109a447646e32033ad018a6a, Linux 8cc98db4fc590e6c7d9db6529320982ee16c5d1d, Linux 0e753899627b5e28a9fea8bca98262a6f65a2452, Linux 6.6.158, Linux 6.12.111, Linux 6.18.51, Linux 7.1. Upgrade Linux to 7.1 or later.

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

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/892f643b141aee3f7aa7c0fc61ddcb55c59f1996>
- other: <https://git.kernel.org/stable/c/5de0527f782430b1109a447646e32033ad018a6a>
- other: <https://git.kernel.org/stable/c/c8279ae8df68cce9cd3b785e85f7a86c80a46e78>
- other: <https://git.kernel.org/stable/c/8cc98db4fc590e6c7d9db6529320982ee16c5d1d>
- other: <https://git.kernel.org/stable/c/0e753899627b5e28a9fea8bca98262a6f65a2452>
- other: <https://github.com/suruurism/cve-writeups-and-pocs/blob/main/CVE-2026-80926/CVE-2026-80926.md>

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

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