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


