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=1795100897; b=UOw+BqOSIfIDglz+HDcoRAAH+DyzwfoNsdacCViobEqlkGh8c3YOp3S82Feo4x6euDMr G6oIHJlhVwi+lxFrtUoikLmAZe2IODIw48w0rRhY2pUoNAVjgQdORCFuZiojSZIMWSZwW 5/mAxpjqTgV75vhLs5XTBdYtzX2sfNMv24dicNwFdVEDoIkdrUCVqPW+sy/qSxmgd7dFE Mi2AAEjPnuNa8DoWycoAhuVsho7RNw31IHTZfO+54vm3rXYTv5pvV0jG5z9jKfxWPGV8l k0kLrnzpnxOpuhUJti8tgl0N6XMMULoCQ6KF6DrrozB2lK8JfEectIIqOb36K9Y87rw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795100897; 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=AIODSg1Gj11uwQNFapUuzn0E5BmqPOM1E2LGuamLJw0=; b=UGQg4D9OHQUe1R5Uo6AFPNZAkQeBuBPTAcpZVK/j3n31FdAZO8PJoAtTCnf3VEkk/oZ3 cOPfPWtK/lS3hB0Uk8iR1ufbP1cKNXUuvJ6mgHrXk33MYWKtm3NhW9q95mQdi1UK4OvnH p0nWjdqjtyJd5V2G2nsI/ntflWR90YXQJN7xQy/1cC9zmp+LeZhsM+5clyAYQuqXzKeQz gjyAhBPeMY4B3tzbXsMiOZVVni0K3jmaRp47adTi2596g8BW7CXYH12ZJoGGxWrG4WIIX CMZzy2gbL9tLw5EJVg0TwKd3YtsZEeRT12HnnIEcLbSAALqNO7r+hnh2yQDaHfv1hKw== 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=NiAJqRrC; 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 879C8606A7DF for ; Thu, 19 Nov 2026 15:08:17 +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=NiAJqRrC Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F99D1F000C4; Thu, 19 Nov 2026 15:08:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795100897; bh=AIODSg1Gj11uwQNFapUuzn0E5BmqPOM1E2LGuamLJw0=; h=From:To:Cc:Subject:Date:Reply-To; b=NiAJqRrCic7Oyk6axGF2s1NnYTyJHq4VYZNdjA8ETU30SRWWKvAGX8JHJaXgkbksD t96nFuWPCA+3edrg55dUJYmdiBKU5WIkbws/Wo0Q9ypTHogqb9GEXxRs96j9A4gNgh cFOB5qCg0Bv8osibkKv1rWobk3/4DxPFS+dfKq+E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99534: ksmbd: prevent stale data from being written by SMB2 WRITE requests Date: Thu, 19 Nov 2026 15:27:12 +0100 Message-ID: <2026111922-CVE-2026-99534-be08@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=2946; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/lIS9Axf2knhrzugIjt9NUzKBXktZjO4mR+EtaZFbK0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2aY9O5nbf8LAc5bK2lU8Dy7Jz+gRzmDR25Kplf5y4 aeNTwVKO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAim2IZFqz9sGybUtauiJ/L Xjy4ynd8Zeqy4B8MCyZICNg0x/8uCYqQevN/4/nYN3o7DwEA 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: prevent stale data from being written by SMB2 WRITE requests Initialize the compatibility byte in request buffers without zeroing the entire allocation. Keep the one-byte compatibility exception for SMB2 messages so valid zero-length WRITE requests remain compatible, and validate the data range in the WRITE handlers against the current compound request before accessing it. This prevents stale request-buffer data from being written to files or sent to IPC pipes. The Linux kernel CVE team has assigned CVE-2026-99534 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit 443d61d1fa9faa60ef925513d83742902390100f and fixed in 6.12.117 with commit 139e8a3d6edd0c5b5dfe4ada2f636146e1209dc3 Issue introduced in 6.4 with commit 443d61d1fa9faa60ef925513d83742902390100f and fixed in 6.18.61 with commit fbe9fcda7ae8835b454c376de1d49232ab6bbcfb Issue introduced in 6.4 with commit 443d61d1fa9faa60ef925513d83742902390100f and fixed in 7.3.2 with commit 97d489f68b85a5b64496e01d4cb3c0e092aa817e Issue introduced in 6.4 with commit 443d61d1fa9faa60ef925513d83742902390100f and fixed in 7.4-rc1 with commit bc0e0f5ac1d7b044d403f859406b4b66d4b1ce9b Issue introduced in 5.15.113 with commit 61e043326e72b5abb02b5bc9132f2620a7faf8c5 Issue introduced in 6.1.30 with commit af7335a4b946f9f6f9d98398cbcea15cd9850409 Issue introduced in 6.3.4 with commit 778aae5a513ea09aa5addfa352bd70a5b71dda85 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-99534 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/compress.c fs/smb/server/connection.c 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/139e8a3d6edd0c5b5dfe4ada2f636146e1209dc3 https://git.kernel.org/stable/c/fbe9fcda7ae8835b454c376de1d49232ab6bbcfb https://git.kernel.org/stable/c/97d489f68b85a5b64496e01d4cb3c0e092aa817e https://git.kernel.org/stable/c/bc0e0f5ac1d7b044d403f859406b4b66d4b1ce9b