# CVE-2026-99273: ksmbd: reserve space for the UTF-16 terminator in stream info

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-07T14:08:45.585Z
- Modified: 2026-11-25T19:17:41.863Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 9703d2f43587570456712333fe04c2bdbc24cef3; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before a45a8d283bc5225a9b364c4f262a3cab9ced1018; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before d6642b5b031fb988e65b8e8bfe7ad130f728e955; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 583ede545a14f275a959772b5e1e50fe3e14b861; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 06a751809ebd33e95b05bf733697318a17a4872b; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 0e64f89563164719ceb1aa33f2a8bfd6391fa340; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before a025c4991a7d83edc4dd339e3ea86d8ff6226eca; 5.15 (not affected: before 5.15; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://github.com/suruurism/cve-writeups-and-pocs/blob/main/CVE-2026-99273/CVE-2026-99273.md> (exploit)
- <https://git.kernel.org/stable/c/9703d2f43587570456712333fe04c2bdbc24cef3>
- <https://git.kernel.org/stable/c/a45a8d283bc5225a9b364c4f262a3cab9ced1018>
- <https://git.kernel.org/stable/c/d6642b5b031fb988e65b8e8bfe7ad130f728e955>
- <https://git.kernel.org/stable/c/583ede545a14f275a959772b5e1e50fe3e14b861>
- <https://git.kernel.org/stable/c/06a751809ebd33e95b05bf733697318a17a4872b>
- <https://git.kernel.org/stable/c/0e64f89563164719ceb1aa33f2a8bfd6391fa340>
- <https://git.kernel.org/stable/c/a025c4991a7d83edc4dd339e3ea86d8ff6226eca>

## Sources

- CVE List: [CVE-2026-99273](https://www.cve.org/CVERecord?id=CVE-2026-99273), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-99273](https://nvd.nist.gov/vuln/detail/CVE-2026-99273), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-99273 · Whole record: https://cve.day/CVE-2026-99273.json · Rebuilt by cve.day 2026-11-25T23:18:34.947Z
