CVE-2026-99749
ksmbd: enforce the read-only share flag when creating a stream
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.
INFO
Published Date :
Nov. 20, 2026, 6:18 a.m.
Last Modified :
Nov. 23, 2026, 8:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the Linux kernel to the resolved version.
- Verify share permissions enforce read-only access.
- Ensure stream creation is prohibited on read-only shares.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-99749.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-99749 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-99749
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-99749 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-99749 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 23, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/99xxx/CVE-2026-99749.json">CVE-2026-99749</a> Added Reference https://git.kernel.org/stable/c/3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a Added Reference https://git.kernel.org/stable/c/996f257e4bf6d5a5574a3ec10cebe5cf63959e4c Added Reference https://git.kernel.org/stable/c/bbeae2eb4df84a033a2db1b0d7647ed762bd24fa Added Reference https://git.kernel.org/stable/c/d86cea832d4bffabc51190039ee286a0ab9f3b61 Added Reference https://git.kernel.org/stable/c/f92cd402cc29889be2dbdcbe60ec014c231f2ec6 -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 20, 2026
Action Type Old Value New Value Added 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/99xxx/CVE-2026-99749.json">CVE-2026-99749</a> Added Reference https://git.kernel.org/stable/c/09139429fab3a5114c18d7c15fb161511d4d66c9 Added Reference https://git.kernel.org/stable/c/ece35b45ec17a462cc5947ad4fbc3450657aa55b