# CVE-2026-99533: ksmbd: validate AppInstanceId takeover target

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.20% (percentile 5, 2026-11-28)
- **Published:** 2026-11-19T14:44:45.808Z
- **Modified:** 2026-11-19T15:18:09.183Z

## Who should check

- Anyone running Linux \>= 16c30649709d949b439273e61769028b1e706327, \< 896ecf714703f6801af43b6d3db4b824d8a12286; \>= 16c30649709d949b439273e61769028b1e706327, \< e0386cd6498b9c63f8c6d10b3e08670b92c0f3f1
- Anyone running Linux 7.2

## Description

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

ksmbd: validate AppInstanceId takeover target

AppInstanceId lookup currently selects the first open with the matching
identifier. CREATE for an unrelated share or path can therefore
force-close another session's open before authorization of the new
target. Matching only the base path also conflates alternate data streams
with the unnamed stream.

MS-SMB2 requires the old open to match the share and path, belong to a
different ClientGuid, and be closed only when the requester has
GENERIC\_READ access. Search all opens with the ID and match share,
resolved path, stream, and the current connection's client GUID. Retain a
share configuration reference in ksmbd\_file and reuse its name instead of
allocating a name for every open. This keeps matching safe during tree
connection teardown and preserves name-based matching across configuration
updates.

Refresh the share reference on durable reconnect and restore the old
reference if reopening fails. Serialize connection and share comparisons
with durable disconnect/reconnect, and recheck the target before closing
it. Keep the original ClientGuid for durable replay and lease checks.

Check AppInstanceVersion before querying access, even when GENERIC\_READ
is absent, and before disconnected delete-on-close cleanup. Rejected
CREATE must leave other durable opens untouched. Calculate maximal access
on the matched open's referenced path so a rename cannot substitute another
file's authorization. Require read access with the effective VFS
credentials as well as the NT DACL before takeover. Access denial only
skips takeover and leaves CREATE to its normal access checks. Restore
filesystem credentials before returning a takeover error.

Handle takeover before checking FILE\_CREATE collisions, and re-resolve
the path after closing the old open. This lets delete-on-close remove the
old file before a new one is created. Include SYNCHRONIZE in the baseline
maximal-access mask so read-only files report GENERIC\_READ correctly.

## Affected and fixed versions

- Linux: \>= 16c30649709d949b439273e61769028b1e706327, \< 896ecf714703f6801af43b6d3db4b824d8a12286; \>= 16c30649709d949b439273e61769028b1e706327, \< e0386cd6498b9c63f8c6d10b3e08670b92c0f3f1 (cvelist)
- Linux: 7.2 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-99533.md
Affected: Linux >= 16c30649709d949b439273e61769028b1e706327, < 896ecf714703f6801af43b6d3db4b824d8a12286; >= 16c30649709d949b439273e61769028b1e706327, < e0386cd6498b9c63f8c6d10b3e08670b92c0f3f1; Linux 7.2
Fixed in: Linux 896ecf714703f6801af43b6d3db4b824d8a12286

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-99533 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 16c30649709d949b439273e61769028b1e706327, \< 896ecf714703f6801af43b6d3db4b824d8a12286; \>= 16c30649709d949b439273e61769028b1e706327, \< e0386cd6498b9c63f8c6d10b3e08670b92c0f3f1; Linux 7.2.

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

Yes. Fixed in Linux 896ecf714703f6801af43b6d3db4b824d8a12286. No fix listed yet: follow the vendor advisory.

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

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/896ecf714703f6801af43b6d3db4b824d8a12286>
- other: <https://git.kernel.org/stable/c/e0386cd6498b9c63f8c6d10b3e08670b92c0f3f1>

## 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-99533>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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