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.
Published: 2026-09-25
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Potential Service Interruptions due to Improper Session Teardown
Action: Immediate Patch
AI Analysis

Impact

In the Linux kernel’s ksmbd module, a bug in the handling of session tear‑down when using SMB3 multichannel was identified and fixed. The patch ensures that all channels bound to a session are fully drained before freeing shared session objects and that deferred byte‑range locks are awakened and cleaned up correctly during a drain. This prevents races or dangling references that could otherwise leave the kernel in an inconsistent state, potentially causing resource leakage or service disruption.

Affected Systems

Linux kernel. All kernel releases that include the ksmbd module and support SMB3 multichannel without the patch remain affected. Because specific affected versions are not listed, any kernel build pre‑dating the commit that introduced the session‑drain logic should be considered vulnerable.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity while the EPSS score of < 1 % suggests a low exploitation probability. The CVE is not listed in the CISA KEV catalog, so no public exploits are known. The likely attack vector is a remote SMB client sending LOGOFF, CANCEL, or other session‑teardown operations that may trigger the race condition. Successful exploitation would require the target to be exposed to SMB traffic and the attacker to have the ability to send SMB requests.

Generated by OpenCVE AI on October 2, 2026 at 16:46 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel release that incorporates the ksmbd session‑drain patch.
  • Disable SMB3 multichannel support or restrict SMB traffic to trusted clients to avoid triggering the race condition.
  • Monitor SMB‑related system logs for abnormal activity, such as repeated logoff errors or lock defects.

Generated by OpenCVE AI on October 2, 2026 at 16:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 02 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CPEs cpe:2.3:o:linux:linux_kernel:6.11:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.11:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.11:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.11:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.3:rc1:*:*:*:*:*:*

Wed, 30 Sep 2026 05:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416

Tue, 29 Sep 2026 13:15:00 +0000


Fri, 25 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416

Fri, 25 Sep 2026 21:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 25 Sep 2026 15:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Fri, 25 Sep 2026 13:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 25 Sep 2026 10:45:00 +0000

Type Values Removed Values Added
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.
Title ksmbd: safely drain sessions during logoff
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:14:07.523Z

Reserved: 2026-09-25T10:25:14.317Z

Link: CVE-2026-98115

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-09-25T11:17:42.667

Modified: 2026-10-19T10:18:09.537

Link: CVE-2026-98115

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-98115 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-02T17:00:17Z

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-366

    Race Condition within a Thread