CVE-2026-98115

ksmbd: safely drain sessions during logoff

State
Published
Severity
8.8 High
Published
Sep 25, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 76e98a158b207771a6c9a0de0a60522a446a3447 to before a7e6df0bb92642bee4431b2b85c69ada1e463b21Affected
  • 76e98a158b207771a6c9a0de0a60522a446a3447 to before d12168084c8c1b6d883c8eca5853929ac5136a9eAffected
  • 118fd997612d1efc94a86c307c6c6d659ebe29fcAffected
  • c1e55020534c4aafbc38d8f5c4583ff30755ac18Affected
  • 6.6.48 to before 6.7Affected
  • 6.10.7 to before 6.11Affected
LinuxLinux
  • 6.11Affected
  • before 6.11Not affected
  • 7.2.7 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.