ksmbd: reserve space for the UTF-16 terminator in stream info
Exact source revision recorded 7 Nov 2026 16:07:43 UTC. It does not establish the source's current position. Latest evidence.
cve-program · CVE-2026-99273
PublishedIn the Linux kernel, the following vulnerability has been resolved: ksmbd: reserve space for the UTF-16 terminator in stream info smb_strtoUTF16() always writes a terminating zero UTF-16 unit after the converted characters, but get_file_stream_info() budgets only sizeof(struct smb2_file_stream_info) + streamlen * 2 for a stream entry and sizeof(struct smb2_file_stream_info) + 7 * 2 for the trailing "::$DATA" entry. When an entry exactly fills the 448-byte small response buffer, the terminator is written two bytes past the allocation. Reserve one extra UTF-16 unit in both budget checks. The terminator is not part of the wire format, so the reported lengths are unchanged.
- Source published
- 7 Nov 2026 14:08:45 UTC
- Source modified
- 7 Nov 2026 14:08:45 UTC
- Observed here
- 7 Nov 2026 16:07:43 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: cve-program · CVE Program Terms of Use. Source text is retained; field grouping and change labels are provided by ChangeIntel.