CVE-2026-99273 ksmbd: reserve space for the UTF-16 terminator in stream info
설명
In 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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.15
해결 버전
- 5.15 미만
- 5.15.226 이상
- 6.1.193 이상
- 6.6.163 이상
- 6.12.117 이상
- 6.18.61 이상
- 7.3.2 이상
참고 자료 7건
- git.kernel.org https://git.kernel.org/stable/c/06a751809ebd33e95b05bf733697318a17a4872b (새 창)
- git.kernel.org https://git.kernel.org/stable/c/0e64f89563164719ceb1aa33f2a8bfd6391fa340 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/583ede545a14f275a959772b5e1e50fe3e14b861 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/9703d2f43587570456712333fe04c2bdbc24cef3 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/a025c4991a7d83edc4dd339e3ea86d8ff6226eca (새 창)
- git.kernel.org https://git.kernel.org/stable/c/a45a8d283bc5225a9b364c4f262a3cab9ced1018 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d6642b5b031fb988e65b8e8bfe7ad130f728e955 (새 창)