Description
In the Linux kernel, the following vulnerability has been resolved:

ksmbd: follow SMB2 session expiration semantics

ksmbd_session_register() destroys valid sessions after ten seconds of
inactivity whenever a client starts another SessionSetup exchange. This
confuses Session.IdleTime with Session.ExpirationTime. Windows can create
additional authenticated sessions on an existing connection, so deleting
the older session invalidates its tree connects and makes mapped drives
fail with STATUS_NETWORK_NAME_DELETED.

The session expiration rules require the server to change a valid session
to expired only after its credential expiration time passes. A valid or
expired session otherwise keeps its connection from being scavenged.
Connections that have not negotiated a dialect, have no sessions, or have
only InProgress sessions are disconnected after an implementation-specific
timeout. Use the Windows-compatible 45 second value and run the expiration
check periodically for both TCP and SMB Direct.

Keep zero as an infinite credential expiration time, and count each
Valid-to-Expired transition. Set expired sessions to InProgress when they
reauthenticate. If authentication fails, remove the session from the
global and per-connection tables immediately, including SMB3 multichannel
connections.

Retain protection against abandoned SessionId-zero exchanges by allowing
only one InProgress authentication per connection. Additional exchanges
fail with STATUS_INSUFFICIENT_RESOURCES, and stale InProgress sessions are
reaped after the same 45 second setup timeout. This bounds the original
unauthenticated memory-exhaustion path without evicting established
sessions.
Published: 2026-10-14
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via premature SMB session termination
Action: Assess Impact
AI Analysis

Impact

The ksmbd component of the Linux kernel processes SMB2/3 sessions. In this flaw, the ksmbd_session_register function incorrectly destroys a valid session after ten seconds of inactivity whenever a client initiates a new SessionSetup exchange, mistakenly conflating Session.IdleTime with Session.ExpirationTime. As a consequence, previously established tree connections are invalidated, and Windows clients see a STATUS_NETWORK_NAME_DELETED error on subsequent file-share accesses. The defect also bounds an otherwise memory‑exhaustion path, but it is inferred that a malicious attacker could deliberately generate repeated session setups to trigger denial of service. The vulnerability does not provide a remote code execution or privilege‑elevation path. This issue aligns with CWE-826.

Affected Systems

Linux kernel, all builds that have not incorporated the ksmbd_session_register fix. The remedy is to apply kernel updates containing commits c99ea7855124ca1428a1e59c2b4590aaef34eacf and d7fd1f98607f2cd358e583f9548bdf0173090a86, which appear in the stable Linux kernel tree. No specific version numbers are listed in the advisories, so administrators should verify whether their kernel contains those commits.

Risk and Exploitability

The CVSS score is 5.5, indicating medium severity. The EPSS score is less than 1%, indicating a very low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. The flaw is reachable through normal SMB traffic and can cause service disruption; it is inferred that an attacker could repeatedly initiate SessionSetup exchanges to force premature session termination. It is inferred that the attack requires no privileged credentials and is limited to denial of service of SMB services; no known active exploits exist. For environments that expose SMB shares, the risk is moderate and warrants evaluation of the potential for an attacker to interfere with session handling.

Generated by OpenCVE AI on October 16, 2026 at 23:44 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that incorporates the ksmbd_session_register patch (commits c99ea7855124ca1428a1e59c2b4590aaef34eacf and d7fd1f98607f2cd358e583f9548bdf0173090a86).
  • Verify that the server is configured to use a 45-second idle timeout for SMB sessions as recommended by the patch guidelines.
  • Monitor SMB client connectivity for STATUS_NETWORK_NAME_DELETED errors and adjust client settings to avoid session reuse while the patch is pending.

Generated by OpenCVE AI on October 16, 2026 at 23:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-826
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Fri, 16 Oct 2026 00:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-204
CWE-547
CWE-665

Thu, 15 Oct 2026 03:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-204
CWE-547
CWE-665

Wed, 14 Oct 2026 13:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ksmbd: follow SMB2 session expiration semantics ksmbd_session_register() destroys valid sessions after ten seconds of inactivity whenever a client starts another SessionSetup exchange. This confuses Session.IdleTime with Session.ExpirationTime. Windows can create additional authenticated sessions on an existing connection, so deleting the older session invalidates its tree connects and makes mapped drives fail with STATUS_NETWORK_NAME_DELETED. The session expiration rules require the server to change a valid session to expired only after its credential expiration time passes. A valid or expired session otherwise keeps its connection from being scavenged. Connections that have not negotiated a dialect, have no sessions, or have only InProgress sessions are disconnected after an implementation-specific timeout. Use the Windows-compatible 45 second value and run the expiration check periodically for both TCP and SMB Direct. Keep zero as an infinite credential expiration time, and count each Valid-to-Expired transition. Set expired sessions to InProgress when they reauthenticate. If authentication fails, remove the session from the global and per-connection tables immediately, including SMB3 multichannel connections. Retain protection against abandoned SessionId-zero exchanges by allowing only one InProgress authentication per connection. Additional exchanges fail with STATUS_INSUFFICIENT_RESOURCES, and stale InProgress sessions are reaped after the same 45 second setup timeout. This bounds the original unauthenticated memory-exhaustion path without evicting established sessions.
Title ksmbd: follow SMB2 session expiration semantics
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:19:13.954Z

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

Link: CVE-2026-98420

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-14T14:17:53.427

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

Link: CVE-2026-98420

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-14T00:00:00Z

Links: CVE-2026-98420 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T22:15:05Z

Weaknesses
  • CWE-826

    Premature Release of Resource During Expected Lifetime