CVE-2026-99749Linux
NVD
Vulnerability Summary
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.
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 & Patched Versions
- Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and < 3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a
- Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and < 996f257e4bf6d5a5574a3ec10cebe5cf63959e4c
- Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and < bbeae2eb4df84a033a2db1b0d7647ed762bd24fa
- Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and < f92cd402cc29889be2dbdcbe60ec014c231f2ec6
- Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and < d86cea832d4bffabc51190039ee286a0ab9f3b61
- Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and < ece35b45ec17a462cc5947ad4fbc3450657aa55b
- Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 and < 09139429fab3a5114c18d7c15fb161511d4d66c9
- Linux 5.15
- Linux 3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a
- Linux 996f257e4bf6d5a5574a3ec10cebe5cf63959e4c
- Linux bbeae2eb4df84a033a2db1b0d7647ed762bd24fa
- Linux f92cd402cc29889be2dbdcbe60ec014c231f2ec6
- Linux d86cea832d4bffabc51190039ee286a0ab9f3b61
- Linux ece35b45ec17a462cc5947ad4fbc3450657aa55b
- Linux 09139429fab3a5114c18d7c15fb161511d4d66c9
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Linux and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 20, 2026Published
- Nov 23, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Linux CVEsYou are reading CVE-2026-99749. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://git.kernel.org/stable/c/09139429fab3a5114c18d7c15fb161511d4d66c9
- Referencehttps://git.kernel.org/stable/c/3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a
- Referencehttps://git.kernel.org/stable/c/996f257e4bf6d5a5574a3ec10cebe5cf63959e4c
- Referencehttps://git.kernel.org/stable/c/bbeae2eb4df84a033a2db1b0d7647ed762bd24fa
- Referencehttps://git.kernel.org/stable/c/d86cea832d4bffabc51190039ee286a0ab9f3b61
- Referencehttps://git.kernel.org/stable/c/ece35b45ec17a462cc5947ad4fbc3450657aa55b
- Referencehttps://git.kernel.org/stable/c/f92cd402cc29889be2dbdcbe60ec014c231f2ec6
Data last checked: Nov 24, 2026 07:07 UTC