{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99749","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.432Z","datePublished":"2026-11-20T05:51:19.794Z","dateUpdated":"2026-11-20T05:51:19.794Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-20T05:51:19.794Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/server/smb2pdu.c"],"versions":[{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","lessThan":"ece35b45ec17a462cc5947ad4fbc3450657aa55b","status":"affected","versionType":"git"},{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","lessThan":"09139429fab3a5114c18d7c15fb161511d4d66c9","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/server/smb2pdu.c"],"versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.3.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.4-rc2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/ece35b45ec17a462cc5947ad4fbc3450657aa55b"},{"url":"https://git.kernel.org/stable/c/09139429fab3a5114c18d7c15fb161511d4d66c9"}],"title":"ksmbd: enforce the read-only share flag when creating a stream","x_generator":{"engine":"bippy-1.2.0"}}}}