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.
Published: 2026-11-07
Score: n/a
EPSS: n/a
KEV: No
Impact: Kernel memory corruption that could lead to denial of service or privilege escalation
Action: Immediate Patch
AI Analysis

Impact

The vulnerability arises when ksmbd converts SMB stream names to UTF-16; the terminator is always written, but the allocation logic reserves too little memory. When a stream entry exactly fills the 448‑byte small response buffer, the terminator is written two bytes beyond the allocated space, corrupting kernel memory. If successfully triggered, the overflow could cause a kernel crash or provide an attacker with an avenue to execute arbitrary code with kernel privileges, leading to denial of service or privileged escalation.

Affected Systems

All Linux kernel installations that have not yet incorporated the commit which reserves additional UTF‑16 space are affected. No specific version range is listed, but the issue exists until the patch from the cited maintenance commits is merged into the running kernel.

Risk and Exploitability

The CVSS score is not provided, but a buffer overflow in kernel space is typically high‑severity. The EPSS score is not available and the vulnerability is not in the CISA KEV catalog, indicating no known active exploitation. The likely attack vector is remote, via the SMB protocol that ksmbd serves over the network. An attacker must craft a SMB request containing a stream name that exactly fills the buffer, which is achievable without authentication, so the risk remains substantial until patched.

Generated by OpenCVE AI on November 7, 2026 at 15:27 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the patch reserving space for the UTF‑16 terminator (commits 06a7518, 0e64f89, a025c49), or install a kernel version from the stable branch that incorporates the fix.
  • If an immediate kernel upgrade is not possible, disable the ksmbd service on hosts that do not require SMB sharing, or isolate the host on a dedicated network segment.
  • Use firewall or network segmentation to restrict SMB (port 445) traffic from untrusted networks until the kernel is updated.

Generated by OpenCVE AI on November 7, 2026 at 15:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 07 Nov 2026 16:30:00 +0000

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux

Sat, 07 Nov 2026 14:15:00 +0000

Type Values Removed Values Added
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.
Title ksmbd: reserve space for the UTF-16 terminator in stream info
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-11-07T14:08:45.585Z

Reserved: 2026-09-25T10:25:14.405Z

Link: CVE-2026-99273

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-07T14:17:02.600

Modified: 2026-11-07T14:17:02.600

Link: CVE-2026-99273

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-07T16:15:14Z

Weaknesses

No weakness.