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: n/a
KEV: No
Impact: Denial of Service via Use‑After‑Free
Action: Immediate Patch
AI Analysis

Impact

The ksmbd implementation contains a flaw that allows session objects to be freed while still referenced by active SMB3 multichannel connections, causing a use‑after‑free that can crash the kernel or lead to resource exhaustion. Deferred byte‑range locks remain counted as running requests until their files close, delaying cleanup. An attacker could exploit this by repeatedly issuing LOGOFF or CANCEL operations to destabilize the server.

Affected Systems

All Linux kernels that include the ksmbd subsystem and have not applied the recent patch. The advisory does not enumerate exact versions, so any unpatched kernel that supports SMB3 and multichannel is potentially vulnerable. The fix is distributed with newer kernel releases, but affected kernels are those running before the patch commit.

Risk and Exploitability

No EPSS score is provided and the vulnerability is not listed in the CISA KEV catalog, indicating that no public exploits are known. The likely attack vector is a remote SMB client that initiates LOGOFF, CANCEL, or connection teardown while the server is servicing locks; successful exploitation requires the server to be exposed to SMB traffic. Because the impact can materialize as a kernel crash or prolonged resource starvation, unpatched systems face high‑severity risk if SMB traffic is not controlled.

Generated by OpenCVE AI on September 25, 2026 at 12:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel release that contains the ksmbd session drain patch.
  • Disable SMB3 multichannel support or restrict SMB traffic to trusted clients to avoid the race condition.
  • Monitor SMB‑related system logs for crash events or repeated logoff errors and alert on abnormal patterns.

Generated by OpenCVE AI on September 25, 2026 at 12:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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-09-25T14:42:07.560Z

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

Link: CVE-2026-98115

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-09-25T15:18:06.270

Link: CVE-2026-98115

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T12:45:17Z

Weaknesses