{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99749","id":"CVE-2026-99749","title":"Linux kernel read-only share bypass in ksmbd named stream creation","description":"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 stre","descriptionLong":"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.","published":"2026-11-20T05:51:19.794Z","updated":"2026-11-20T06:18:12.863Z","reserved":"2026-09-25T10:25:14.432Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","lessThan":"ece35b45ec17a462cc5947ad4fbc3450657aa55b","status":"affected","versionType":"git"},{"version":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","lessThan":"09139429fab3a5114c18d7c15fb161511d4d66c9","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","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"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/ece35b45ec17a462cc5947ad4fbc3450657aa55b","tags":[]},{"url":"https://git.kernel.org/stable/c/09139429fab3a5114c18d7c15fb161511d4d66c9","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99749","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99749","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99749","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99749","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}