CVE-2026-99749
publishedksmbd: enforce the read-only share flag when creating a stream
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 996f257e4bf6d5a5574a3ec10cebe5cf63959e4c · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < bbeae2eb4df84a033a2db1b0d7647ed762bd24fa · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < f92cd402cc29889be2dbdcbe60ec014c231f2ec6 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < d86cea832d4bffabc51190039ee286a0ab9f3b61 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < ece35b45ec17a462cc5947ad4fbc3450657aa55b · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 09139429fab3a5114c18d7c15fb161511d4d66c9 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 996f257e4bf6d5a5574a3ec10cebe5cf63959e4c (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < bbeae2eb4df84a033a2db1b0d7647ed762bd24fa (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < f92cd402cc29889be2dbdcbe60ec014c231f2ec6 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < d86cea832d4bffabc51190039ee286a0ab9f3b61 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < ece35b45ec17a462cc5947ad4fbc3450657aa55b (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 09139429fab3a5114c18d7c15fb161511d4d66c9 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/09139429fab3a5114c18d7c15fb161511d4d66c9
- https://git.kernel.org/stable/c/3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a
- https://git.kernel.org/stable/c/996f257e4bf6d5a5574a3ec10cebe5cf63959e4c
- https://git.kernel.org/stable/c/bbeae2eb4df84a033a2db1b0d7647ed762bd24fa
- https://git.kernel.org/stable/c/d86cea832d4bffabc51190039ee286a0ab9f3b61
- https://git.kernel.org/stable/c/ece35b45ec17a462cc5947ad4fbc3450657aa55b
- https://git.kernel.org/stable/c/f92cd402cc29889be2dbdcbe60ec014c231f2ec6
Provider assertions
1Linux · cna
ksmbd: enforce the read-only share flag when creating a stream
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4bb2bea6d784c1739969fcc893747240599a28d581d19fe1b0ba5d9090ac883c
- Ingested
- 23 Nov 2026, 14:37:13 UTC
- Source record
- Official CVE record