All vulnerabilities
CVE-2026-98115

Linux: ksmbd: safely drain sessions during logoff

Linux LinuxOperating systems
CVSS
8.8High
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.27%Chance of exploitation activity in the next 30 days, higher than 18% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in6.7Also 6.11CVE List
Published25 Sep 2026Updated 19 Oct 2026CVE List

What fixes it

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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.

Text from CVE List

Affected versions 10

  • Linuxaffected: 76e98a158b207771a6c9a0de0a60522a446a3447 before a7e6df0bb92642bee4431b2b85c69ada1e463b21CVE List
  • Linuxaffected: 76e98a158b207771a6c9a0de0a60522a446a3447 before d12168084c8c1b6d883c8eca5853929ac5136a9eCVE List
  • Linuxaffected: 118fd997612d1efc94a86c307c6c6d659ebe29fcCVE List
  • Linuxaffected: c1e55020534c4aafbc38d8f5c4583ff30755ac18CVE List
  • Linuxaffected: 6.6.48 before 6.7CVE List
  • Linuxaffected: 6.10.7 before 6.11CVE List
  • Linuxaffected: 6.11CVE List
  • Linuxunaffected: all versions before 6.11CVE List
  • Linuxunaffected: 7.2.7 through 7.2.*CVE List
  • Linuxunaffected: 7.3CVE List

References 2