CVE-2026-99749
ksmbd: enforce the read-only share flag when creating a stream
- CVSS
- —
- EPSS
- 0.17% (p7)
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-11-23
- Product
- Linux Linux
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.
Fixed in
09139429fab3a5114c18d7c15fb161511d4d66c9 · 3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a · 5.15.226 · 6.1.193 · 6.12.119 · 6.18.65 · 6.6.163 · 7.3.5 · 996f257e4bf6d5a5574a3ec10cebe5cf63959e4c · bbeae2eb4df84a033a2db1b0d7647ed762bd24fa · d86cea832d4bffabc51190039ee286a0ab9f3b61 · ece35b45ec17a462cc5947ad4fbc3450657aa55b · f92cd402cc29889be2dbdcbe60ec014c231f2ec6
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.15.0, <5.15.226 | 5.15.226 |
| Linux | Kernel | >=5.15.0, <7.3.5 | 7.3.5 |
| Linux | Kernel | >=5.16.0, <6.1.193 | 6.1.193 |
| Linux | Kernel | >=6.13.0, <6.18.65 | 6.18.65 |
| Linux | Kernel | >=6.19.0, <7.3.5 | 7.3.5 |
| Linux | Kernel | >=6.2.0, <6.6.163 | 6.6.163 |
| Linux | Kernel | >=6.7.0, <6.12.119 | 6.12.119 |
| vendor | Linux | >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <09139429fab3a5114c18d7c15fb161511d4d66c9 | 09139429fab3a5114c18d7c15fb161511d4d66c9 |
| vendor | Linux | >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a | 3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a |
| vendor | Linux | >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <996f257e4bf6d5a5574a3ec10cebe5cf63959e4c | 996f257e4bf6d5a5574a3ec10cebe5cf63959e4c |
| vendor | Linux | >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <bbeae2eb4df84a033a2db1b0d7647ed762bd24fa | bbeae2eb4df84a033a2db1b0d7647ed762bd24fa |
| vendor | Linux | >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <d86cea832d4bffabc51190039ee286a0ab9f3b61 | d86cea832d4bffabc51190039ee286a0ab9f3b61 |
| vendor | Linux | >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <ece35b45ec17a462cc5947ad4fbc3450657aa55b | ece35b45ec17a462cc5947ad4fbc3450657aa55b |
| vendor | Linux | >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <f92cd402cc29889be2dbdcbe60ec014c231f2ec6 | f92cd402cc29889be2dbdcbe60ec014c231f2ec6 |
Sources
- NVD · first seen 14d ago · NVD terms of use
- OSV · first seen 14d ago · CC-BY 4.0
- CVE List · first seen 14d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/ece35b45ec17a462cc5947ad4fbc3450657aa55b other
- https://git.kernel.org/stable/c/09139429fab3a5114c18d7c15fb161511d4d66c9 other
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99749.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99749 advisory
- 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