CVE Catalog

CVE-2026-99273

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel ksmbd module, get_file_stream_info() does not reserve space for the terminating UTF-16 unit written by smb_strtoUTF16(). When an entry exactly fills the 448-byte response buffer, the terminator is written two bytes past the allocation.

Risk Assessment

This can lead to an out-of-bounds write and potential kernel memory corruption by a remote SMB client.

Recommendation

Update the Linux kernel to a version with the fix that reserves one extra UTF-16 unit in both budget checks.

Other vulnerabilities in Linux kernel (ksmbd)

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS