{"id":"CVE-2026-99537","summary":"ksmbd: preserve unreadable named streams on open","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: preserve unreadable named streams on open\n\nA write-only client can open an existing named stream with FILE_OPEN_IF\nwithout permission to read the underlying file. The case-insensitive\nlookup finds the xattr name, but querying its value length then fails\nwith -EACCES. smb2_set_stream_name_xattr() treats every negative result\nas a missing stream and replaces the existing xattr with an empty value.\n\nA failed xattr list is not proof that the stream is absent either:\nfor example, -ENOMEM can lead to the same empty replacement. Preserve\nlisting errors and create a stream only for -ENOENT or -ENODATA. The\nlatter can occur if the xattr is removed between listing its name and\nquerying its value. Return other lookup errors without changing the\nstream.\n\nA write-only FILE_OPEN now reports access denied instead of name not\nfound. FILE_OVERWRITE_IF and FILE_SUPERSEDE on an unreadable stream\nalso fail instead of appearing to replace it. Stream writes and EOF\nchanges already need to read the old value, so such handles cannot\nupdate the stream after opening either.","modified":"2026-11-19T17:01:26.942711797Z","published":"2026-11-19T14:44:50.604Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99537.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/22464634d240f5132b0787048a10e8260ac7e639"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4cdee894f9bcebe0093df90cf28dc732d38418da"},{"type":"WEB","url":"https://git.kernel.org/stable/c/80c816c047f7cae3c99cc75740c1f5d2c4d97b45"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f5f6a705247314540b780dbf94c319d764b84bb4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99537.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99537"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9"},{"fixed":"f5f6a705247314540b780dbf94c319d764b84bb4"},{"fixed":"22464634d240f5132b0787048a10e8260ac7e639"},{"fixed":"4cdee894f9bcebe0093df90cf28dc732d38418da"},{"fixed":"80c816c047f7cae3c99cc75740c1f5d2c4d97b45"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99537.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99537.json"}}],"schema_version":"1.9.2"}