{"id":"CVE-2026-99749","aliases":[],"title":"ksmbd: enforce the read-only share flag when creating a stream","originalDescription":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: enforce the read-only share flag when creating a stream\n\nWhen a share is read-only, smb2_open() rejects opens that would create\nor truncate a file. Creating a named stream on an existing file with\nstreams_xattr sets neither O_CREAT nor O_TRUNC, so it passes this check,\nand smb2_set_stream_name_xattr() then creates the stream. On a Time\nMachine share, opening a missing AFP_AfpInfo stream also writes one. A\nuser who can write a file at the filesystem level can therefore add\nstreams to it through a read-only share.\n\nDo not create a stream or synthesize AFP_AfpInfo when the share is not\nwritable. Existing streams still open normally, and a missing stream\nopened with FILE_OPEN still returns STATUS_OBJECT_NAME_NOT_FOUND.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.00173,"percentile":0.07026},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=5.15.0, <5.15.226","fixed":"5.15.226"},{"ecosystem":"Linux","name":"Kernel","range":">=5.15.0, <7.3.5","fixed":"7.3.5"},{"ecosystem":"Linux","name":"Kernel","range":">=5.16.0, <6.1.193","fixed":"6.1.193"},{"ecosystem":"Linux","name":"Kernel","range":">=6.13.0, <6.18.65","fixed":"6.18.65"},{"ecosystem":"Linux","name":"Kernel","range":">=6.19.0, <7.3.5","fixed":"7.3.5"},{"ecosystem":"Linux","name":"Kernel","range":">=6.2.0, <6.6.163","fixed":"6.6.163"},{"ecosystem":"Linux","name":"Kernel","range":">=6.7.0, <6.12.119","fixed":"6.12.119"},{"ecosystem":"vendor","name":"Linux","range":">=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <09139429fab3a5114c18d7c15fb161511d4d66c9","fixed":"09139429fab3a5114c18d7c15fb161511d4d66c9"},{"ecosystem":"vendor","name":"Linux","range":">=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a","fixed":"3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a"},{"ecosystem":"vendor","name":"Linux","range":">=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <996f257e4bf6d5a5574a3ec10cebe5cf63959e4c","fixed":"996f257e4bf6d5a5574a3ec10cebe5cf63959e4c"},{"ecosystem":"vendor","name":"Linux","range":">=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <bbeae2eb4df84a033a2db1b0d7647ed762bd24fa","fixed":"bbeae2eb4df84a033a2db1b0d7647ed762bd24fa"},{"ecosystem":"vendor","name":"Linux","range":">=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <d86cea832d4bffabc51190039ee286a0ab9f3b61","fixed":"d86cea832d4bffabc51190039ee286a0ab9f3b61"},{"ecosystem":"vendor","name":"Linux","range":">=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <ece35b45ec17a462cc5947ad4fbc3450657aa55b","fixed":"ece35b45ec17a462cc5947ad4fbc3450657aa55b"},{"ecosystem":"vendor","name":"Linux","range":">=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <f92cd402cc29889be2dbdcbe60ec014c231f2ec6","fixed":"f92cd402cc29889be2dbdcbe60ec014c231f2ec6"}],"references":[{"url":"https://git.kernel.org/stable/c/ece35b45ec17a462cc5947ad4fbc3450657aa55b","type":"other"},{"url":"https://git.kernel.org/stable/c/09139429fab3a5114c18d7c15fb161511d4d66c9","type":"other"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99749.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99749","type":"advisory"},{"url":"https://git.kernel.org/stable/c/3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a","type":"other"},{"url":"https://git.kernel.org/stable/c/996f257e4bf6d5a5574a3ec10cebe5cf63959e4c","type":"other"},{"url":"https://git.kernel.org/stable/c/bbeae2eb4df84a033a2db1b0d7647ed762bd24fa","type":"other"},{"url":"https://git.kernel.org/stable/c/f92cd402cc29889be2dbdcbe60ec014c231f2ec6","type":"other"},{"url":"https://git.kernel.org/stable/c/d86cea832d4bffabc51190039ee286a0ab9f3b61","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-23T08:46:27.615Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99749","license":"NVD terms of use","firstSeenAt":"2026-11-20T06:30:46.338Z"},{"name":"osv","at":"2026-11-23T10:59:12.931Z","url":"https://osv.dev/vulnerability/CVE-2026-99749","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T07:04:03.733Z"},{"name":"cvelistV5","at":"2026-11-23T21:30:59.504Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99749","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T06:28:16.609Z"}],"firstSeenAt":"2026-11-20T06:28:16.609Z","publishedAt":"2026-11-20T05:51:19.794Z","modifiedAt":"2026-11-23T10:02:14.494Z"}