# CVE-2026-99749: ksmbd: enforce the read-only share flag when creating a stream

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.17% (percentile 4, 2026-11-28)
- **Published:** 2026-11-20T05:51:19.794Z
- **Modified:** 2026-11-23T08:18:15.150Z

## Who should check

- Anyone running Linux \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 996f257e4bf6d5a5574a3ec10cebe5cf63959e4c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< bbeae2eb4df84a033a2db1b0d7647ed762bd24fa; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< f92cd402cc29889be2dbdcbe60ec014c231f2ec6; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< d86cea832d4bffabc51190039ee286a0ab9f3b61; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< ece35b45ec17a462cc5947ad4fbc3450657aa55b; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 09139429fab3a5114c18d7c15fb161511d4d66c9
- Anyone running Linux 5.15

## Description

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

ksmbd: enforce the read-only share flag when creating a stream

When a share is read-only, smb2\_open() rejects opens that would create
or truncate a file. Creating a named stream on an existing file with
streams\_xattr sets neither O\_CREAT nor O\_TRUNC, so it passes this check,
and smb2\_set\_stream\_name\_xattr() then creates the stream. On a Time
Machine share, opening a missing AFP\_AfpInfo stream also writes one. A
user who can write a file at the filesystem level can therefore add
streams to it through a read-only share.

Do not create a stream or synthesize AFP\_AfpInfo when the share is not
writable. Existing streams still open normally, and a missing stream
opened with FILE\_OPEN still returns STATUS\_OBJECT\_NAME\_NOT\_FOUND.

## Affected and fixed versions

- Linux: \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 996f257e4bf6d5a5574a3ec10cebe5cf63959e4c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< bbeae2eb4df84a033a2db1b0d7647ed762bd24fa; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< f92cd402cc29889be2dbdcbe60ec014c231f2ec6; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< d86cea832d4bffabc51190039ee286a0ab9f3b61; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< ece35b45ec17a462cc5947ad4fbc3450657aa55b; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 09139429fab3a5114c18d7c15fb161511d4d66c9 (cvelist)
- Linux: 5.15 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 09139429fab3a5114c18d7c15fb161511d4d66c9 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-99749. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99749.md
Affected: Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 996f257e4bf6d5a5574a3ec10cebe5cf63959e4c; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < bbeae2eb4df84a033a2db1b0d7647ed762bd24fa; >= e2f34481b24db2fd634b5ed…
Fixed in: Linux 3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a, Linux 996f257e4bf6d5a5574a3ec10cebe5cf63959e4c, Linux 09139429fab3a5114c18d7c15fb161511d4d66c9

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 996f257e4bf6d5a5574a3ec10cebe5cf63959e4c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< bbeae2eb4df84a033a2db1b0d7647ed762bd24fa; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< f92cd402cc29889be2dbdcbe60ec014c231f2ec6; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< d86cea832d4bffabc51190039ee286a0ab9f3b61; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< ece35b45ec17a462cc5947ad4fbc3450657aa55b; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 09139429fab3a5114c18d7c15fb161511d4d66c9; Linux 5.15.

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

Yes. Fixed in Linux 3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a, Linux 996f257e4bf6d5a5574a3ec10cebe5cf63959e4c, Linux 09139429fab3a5114c18d7c15fb161511d4d66c9. Upgrade Linux to 09139429fab3a5114c18d7c15fb161511d4d66c9 or later.

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

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/3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a>
- other: <https://git.kernel.org/stable/c/996f257e4bf6d5a5574a3ec10cebe5cf63959e4c>
- other: <https://git.kernel.org/stable/c/bbeae2eb4df84a033a2db1b0d7647ed762bd24fa>
- other: <https://git.kernel.org/stable/c/f92cd402cc29889be2dbdcbe60ec014c231f2ec6>
- other: <https://git.kernel.org/stable/c/d86cea832d4bffabc51190039ee286a0ab9f3b61>
- other: <https://git.kernel.org/stable/c/ece35b45ec17a462cc5947ad4fbc3450657aa55b>
- other: <https://git.kernel.org/stable/c/09139429fab3a5114c18d7c15fb161511d4d66c9>

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

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