rootpwn

critical · CVSS v3 8.8

CVE-2026-98115

The Linux kernel ksmbd component had a critical flaw that allowed session teardown during SMB3 multichannel logoff to leave requests running

Overview

The Linux kernel ksmbd component had a critical flaw that allowed session teardown during SMB3 multichannel logoff to leave requests running on multiple connections, potentially causing resource leaks and denial of service. The patch ensures proper draining of sessions and cancellation callbacks. This affects any system running the kernel with ksmbd enabled.

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.

Impact

The vulnerability primarily impacts availability by allowing attackers to exhaust kernel resources or cause hanging SMB sessions. It could also lead to inconsistent session state, potentially affecting integrity of file operations. Confidentiality is not directly compromised.

Remediation

Apply the latest kernel update that includes the CVE-2026-98115 fix. If immediate patching is not possible, disable ksmbd or SMB3 multichannel support, or switch to a user-space SMB implementation such as Samba. Use firewall rules to limit SMB traffic and monitor for abnormal session activity. Ensure kernel hardening options are enabled.

Risk context

Severity is critical with a CVSS v3 score of 8.8. No EPSS data is available, but the lack of a patch in current kernels makes this a high‑priority issue for defenders.

Affected products

  • Linux kernel
  • Red Hat Enterprise Linux
  • Ubuntu
  • Debian
  • CentOS
  • Fedora
  • SUSE Linux Enterprise Server
  • Oracle Linux

Scores

Severity
critical
CVSS v2
9
CVSS v3
8.8
CVSS v4
—
EPSS
—

Linux kernel SMB ksmbd DoS critical availability resource exhaustion

← All CVEs