{"id":"CVE-2026-99273","summary":"ksmbd: reserve space for the UTF-16 terminator in stream info","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: reserve space for the UTF-16 terminator in stream info\n\nsmb_strtoUTF16() always writes a terminating zero UTF-16 unit after the\nconverted characters, but get_file_stream_info() budgets only\nsizeof(struct smb2_file_stream_info) + streamlen * 2 for a stream entry\nand sizeof(struct smb2_file_stream_info) + 7 * 2 for the trailing\n\"::$DATA\" entry. When an entry exactly fills the 448-byte small response\nbuffer, the terminator is written two bytes past the allocation.\n\nReserve one extra UTF-16 unit in both budget checks. The terminator is\nnot part of the wire format, so the reported lengths are unchanged.","modified":"2026-11-26T20:45:35.184578259Z","published":"2026-11-07T14:08:45.585Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99273.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/06a751809ebd33e95b05bf733697318a17a4872b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0e64f89563164719ceb1aa33f2a8bfd6391fa340"},{"type":"WEB","url":"https://git.kernel.org/stable/c/583ede545a14f275a959772b5e1e50fe3e14b861"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9703d2f43587570456712333fe04c2bdbc24cef3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a025c4991a7d83edc4dd339e3ea86d8ff6226eca"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a45a8d283bc5225a9b364c4f262a3cab9ced1018"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d6642b5b031fb988e65b8e8bfe7ad130f728e955"},{"type":"WEB","url":"https://github.com/suruurism/cve-writeups-and-pocs/blob/main/CVE-2026-99273/CVE-2026-99273.md"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99273.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99273"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9"},{"fixed":"9703d2f43587570456712333fe04c2bdbc24cef3"},{"fixed":"a45a8d283bc5225a9b364c4f262a3cab9ced1018"},{"fixed":"d6642b5b031fb988e65b8e8bfe7ad130f728e955"},{"fixed":"583ede545a14f275a959772b5e1e50fe3e14b861"},{"fixed":"06a751809ebd33e95b05bf733697318a17a4872b"},{"fixed":"0e64f89563164719ceb1aa33f2a8bfd6391fa340"},{"fixed":"a025c4991a7d83edc4dd339e3ea86d8ff6226eca"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99273.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.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-99273.json"}}],"schema_version":"1.9.2"}