# CVE-2026-98115: ksmbd: safely drain sessions during logoff

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

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; 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, login needed
- **EPSS:** 0.39% (percentile 25, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2026-09-25T10:36:01.119Z
- **Modified:** 2026-10-19T10:18:09.537Z

## Who should check

- Anyone running Linux \>= 76e98a158b207771a6c9a0de0a60522a446a3447, \< a7e6df0bb92642bee4431b2b85c69ada1e463b21; \>= 76e98a158b207771a6c9a0de0a60522a446a3447, \< d12168084c8c1b6d883c8eca5853929ac5136a9e; 118fd997612d1efc94a86c307c6c6d659ebe29fc; c1e55020534c4aafbc38d8f5c4583ff30755ac18; \>= 6.6.48, \< 6.7; \>= 6.10.7, \< 6.11
- Anyone running Linux 6.11

## Description

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

ksmbd: safely drain sessions during logoff

SMB3 multichannel allows requests for one session to run on multiple
connections. Wait for all channels bound to a session before freeing
shared session objects.

A deferred byte-range lock remains counted as a running request and only
wakes when its file closes. Wake blocked locks during the drain without
unpublishing or modifying their file objects. Synchronous CANCEL requests
must invoke their cancellation callback to wake pending operations, while
CHANGE\_NOTIFY completion remains specific to the asynchronous path.

Serialize session teardown with channel registration and previous-session
cleanup, and use atomic work-state transitions so LOGOFF, CANCEL, and
connection teardown invoke cancellation callbacks only once.

## Affected and fixed versions

- Linux: \>= 76e98a158b207771a6c9a0de0a60522a446a3447, \< a7e6df0bb92642bee4431b2b85c69ada1e463b21; \>= 76e98a158b207771a6c9a0de0a60522a446a3447, \< d12168084c8c1b6d883c8eca5853929ac5136a9e; 118fd997612d1efc94a86c307c6c6d659ebe29fc; c1e55020534c4aafbc38d8f5c4583ff30755ac18; \>= 6.6.48, \< 6.7; \>= 6.10.7, \< 6.11 (cvelist)
- Linux: 6.11 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-98115.md
Affected: Linux >= 76e98a158b207771a6c9a0de0a60522a446a3447, < a7e6df0bb92642bee4431b2b85c69ada1e463b21; >= 76e98a158b207771a6c9a0de0a60522a446a3447, < d12168084c8c1b6d883c8eca5853929ac5136a9e; 118fd997612d1efc94a86c307c6c6d659ebe29fc; c1e55020534c4aafbc38d8f5c4583ff30755ac18; >= 6.6.48, < 6.7; >= 6.10.7, < …
Fixed in: Linux 6.7, Linux 6.11

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

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

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

High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.

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

Linux \>= 76e98a158b207771a6c9a0de0a60522a446a3447, \< a7e6df0bb92642bee4431b2b85c69ada1e463b21; \>= 76e98a158b207771a6c9a0de0a60522a446a3447, \< d12168084c8c1b6d883c8eca5853929ac5136a9e; 118fd997612d1efc94a86c307c6c6d659ebe29fc; c1e55020534c4aafbc38d8f5c4583ff30755ac18; \>= 6.6.48, \< 6.7; \>= 6.10.7, \< 6.11; Linux 6.11.

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

Yes. Fixed in Linux 6.7, Linux 6.11. Upgrade Linux to 6.11 or later.

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

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

- patch: <https://git.kernel.org/stable/c/a7e6df0bb92642bee4431b2b85c69ada1e463b21>
- patch: <https://git.kernel.org/stable/c/d12168084c8c1b6d883c8eca5853929ac5136a9e>

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

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