Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794065621; b=FX9HhR8YERLTiVUfDQqIjelIz08n7Bwt1JILkSiruQqMlUQUQ3yIfyA+qALrYUlZlP6T mHD93W5us+QFgmClN4QOPO/N7upimAZvSnT+JHQqS1kWAkbKPaBESyG3I428aeBynoI1c xJA0n2B6KHcgo2202B9K0ltKmIYqR10W/h4SGfgDkpCkuKpYllHH6i7Re6QGdhygAXNpm K5xrjjAvMCVnx23SNX+9ONRex//hHoYPDGVuD5q89X9nS8/+OdnX0utPsJDM/AbZ6e18o gfTwiPHEfjqvKcHgOC47zCVwfB6BrXAe9wwtQ/w8OKs9R+LanuB4vGYn4u+rkxc00VA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794065621; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=Ze6eGInjPcL/M9ThxpvZ7KmhVygZZROj7fWCv74DNO4=; b=dbrzVUQmiRwObHUJ6/EC7T++XnkriUWh2wMBaRFbHlH2YpaTAFxojdcTkLq6ryLwa+XL oBOOQNwFMGkEC1CwaZ1Krm2N+ohiOZ6+uU1v2az+8VsAi1XavWx6UKJhGbfqY7tFDdPOe 3VtoJc5bbjnUf9+XRWFbJnhy+hsGGsQU7WRvykuiB0EtQgKhMf2ndphwpUSPQca1ST6B0 jAuN+H2F9OY3lsFwOBp55lLSBaDKJbbSK6yGSYOSwZfFcq0Q20x6sZbxv09yZEkm/pk4/ +DIdQh5m62S44hRvVPsC3akGVVnPpqHIrqlyfPzNdhGPTTia779jQoktKarPqFPWtaA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=mrcKvwY9; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3252C606D817 for ; Sat, 7 Nov 2026 15:33:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=mrcKvwY9 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E5691F0089F; Sat, 7 Nov 2026 15:33:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1794065620; bh=Ze6eGInjPcL/M9ThxpvZ7KmhVygZZROj7fWCv74DNO4=; h=From:To:Cc:Subject:Date:Reply-To; b=mrcKvwY9m3snzzyDeDzS8xKTCSBW0Jj5hBEAkptHtL04qgA/xWqzOWN604vY7au17 LwuhfQbssqSeDGGSQsOuuFdUZ5XPO2VcWgoQTDmXNVRPL3baCv05gigICP9a8tOR+F YhcQnu0wEZEyGoxDViKSvSQgMDWNnRnWS9XCNyD8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99273: ksmbd: reserve space for the UTF-16 terminator in stream info Date: Sat, 7 Nov 2026 09:08:53 -0500 Message-ID: <2026110754-CVE-2026-99273-d61c@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2310; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=i62xb+9q8pvMTV+zsxunzEyko76iekkWJAXelOxnMNU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnvDb6l2Pbv+GFx0fJhHAO7WKm/enxfLAvLwyti8qFW1 0RVp73piGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIkEBjHM03x19ZvLB4aYV3/u zC278Ovnvc9H6hjmafAmRU7XY095GL2/LG2SteSqKy7dAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-99273 to this issue. Affected and fixed versions =========================== Fixed in 6.18.61 with commit 06a751809ebd33e95b05bf733697318a17a4872b Fixed in 7.3.2 with commit 0e64f89563164719ceb1aa33f2a8bfd6391fa340 Fixed in 7.4-rc1 with commit a025c4991a7d83edc4dd339e3ea86d8ff6226eca Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-99273 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: fs/smb/server/smb2pdu.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/06a751809ebd33e95b05bf733697318a17a4872b https://git.kernel.org/stable/c/0e64f89563164719ceb1aa33f2a8bfd6391fa340 https://git.kernel.org/stable/c/a025c4991a7d83edc4dd339e3ea86d8ff6226eca