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

Published Sep 25, 2026
·
Updated

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 CHANGENOTIFY 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 Software

1 affected component
Linux Linux kernel

Event History

Sep 25, 2026
CVE Published
via MITRE·10:36 AM
Data Sourced
via MITRE·10:36 AM
Description

Frequently Asked Questions

1

What configurations are exposed to this issue?

Systems using the Linux kernel's ksmbd SMB server with SMB3 multichannel sessions are exposed to the affected session-logoff handling. The issue involves requests for a single session running across multiple connections.

2

What can trigger the vulnerable teardown path?

Session LOGOFF, synchronous CANCEL requests, and connection teardown can trigger the relevant cancellation and session-draining paths. Deferred byte-range locks and pending operations can remain active while session objects are being freed.

3

What is the mitigation if an updated kernel cannot be deployed immediately?

The provided information does not specify a configuration workaround. Reducing or avoiding use of ksmbd SMB3 multichannel sessions would avoid the specific multi-channel condition described, but the data does not state whether this is a complete mitigation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203