# CVE-2026-98420: ksmbd: follow SMB2 session expiration semantics

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.24% (percentile 9, 2026-11-28)
- **Published:** 2026-10-14T13:27:49.599Z
- **Modified:** 2026-10-19T10:18:47.533Z

## Who should check

- Anyone running Linux \>= ea174a91893956450510945a0c5d1a10b5323656, \< c99ea7855124ca1428a1e59c2b4590aaef34eacf; \>= ea174a91893956450510945a0c5d1a10b5323656, \< d7fd1f98607f2cd358e583f9548bdf0173090a86; a6a9601ba995d0fec635324cb9fd8d14f9bea14e; 1fc8a2b14ef5223f8e0b95faba2ee0a6e4d0f99d; 750a2d772e9d9ff377fd32e3b6797bf2cd847a7a; 6775ee7ef4b37c521aa4cf3730f54554c4875542; \>= 5.15.145, \< 5.16; \>= 6.1.29, \< 6.2; \>= 6.2.16, \< 6.3; \>= 6.3.2, \< 6.4
- Anyone running Linux 6.4

## 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.

## Affected and fixed versions

- Linux: \>= ea174a91893956450510945a0c5d1a10b5323656, \< c99ea7855124ca1428a1e59c2b4590aaef34eacf; \>= ea174a91893956450510945a0c5d1a10b5323656, \< d7fd1f98607f2cd358e583f9548bdf0173090a86; a6a9601ba995d0fec635324cb9fd8d14f9bea14e; 1fc8a2b14ef5223f8e0b95faba2ee0a6e4d0f99d; 750a2d772e9d9ff377fd32e3b6797bf2cd847a7a; 6775ee7ef4b37c521aa4cf3730f54554c4875542; \>= 5.15.145, \< 5.16; \>= 6.1.29, \< 6.2; \>= 6.2.16, \< 6.3; \>= 6.3.2, \< 6.4 (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- Upgrade Linux to 6.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98420. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98420.md
Affected: Linux >= ea174a91893956450510945a0c5d1a10b5323656, < c99ea7855124ca1428a1e59c2b4590aaef34eacf; >= ea174a91893956450510945a0c5d1a10b5323656, < d7fd1f98607f2cd358e583f9548bdf0173090a86; a6a9601ba995d0fec635324cb9fd8d14f9bea14e; 1fc8a2b14ef5223f8e0b95faba2ee0a6e4d0f99d; 750a2d772e9d9ff377fd32e3b6797bf…
Fixed in: Linux 5.16, Linux 6.2, Linux 6.3, Linux 6.4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98420 being exploited?

There is no confirmed exploitation: CVE-2026-98420 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-98420?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98420?

Linux \>= ea174a91893956450510945a0c5d1a10b5323656, \< c99ea7855124ca1428a1e59c2b4590aaef34eacf; \>= ea174a91893956450510945a0c5d1a10b5323656, \< d7fd1f98607f2cd358e583f9548bdf0173090a86; a6a9601ba995d0fec635324cb9fd8d14f9bea14e; 1fc8a2b14ef5223f8e0b95faba2ee0a6e4d0f99d; 750a2d772e9d9ff377fd32e3b6797bf2cd847a7a; 6775ee7ef4b37c521aa4cf3730f54554c4875542; \>= 5.15.145, \< 5.16; \>= 6.1.29, \< 6.2; \>= 6.2.16, \< 6.3; \>= 6.3.2, \< 6.4; Linux 6.4.

### Is there a fix for CVE-2026-98420?

Yes. Fixed in Linux 5.16, Linux 6.2, Linux 6.3, Linux 6.4. Upgrade Linux to 6.4 or later.

### How do I check if I'm affected by CVE-2026-98420?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/c99ea7855124ca1428a1e59c2b4590aaef34eacf>
- other: <https://git.kernel.org/stable/c/d7fd1f98607f2cd358e583f9548bdf0173090a86>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98420>

HTML: <https://flawdb.com/CVE-2026-98420> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98420>
