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=1795100874; b=S76i4lZLtnov3NZ9ae3iDAztHtz/Pqo943eRQV6yKMlomoGk2edNqGmNZoFmYvQW72y7 RmB943vh+gOyAvfsbokPv2ch9h2eIZilY77Rser86PDM7y2OmWJP0k8ssOfDgqzAo/+Qp Ha7f/3RrCg07ZslSSJSMvrxVtEu4rG3pOnWQMKkZfAl+Wy99q3cXc0wl0Yhc1OBW7Z2rn fNrVByx7pddXWP0PUm4HcpdZxRuNvUYaL5SB8cywe3oOC1DvvSACTsFQdSVLWa//HAnwb C48RyPfJ4nfhvQGgZ4ThHFnXnBoakAVDuiWmbR6nZl9n4bp6ypkSIqLJ2B93PGanJVg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795100874; 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=tKO345wOja2u9iv15jrls5kGAENjCQoXnfPsKU8/69Y=; b=2tCPRxMyuPjI+vLZxS+1gb3J8vDWSxYNDTsXbMlkFX/wyIJ+RTTXXebWr7G2NgKwbLcm y2AOcMfWEe6S8F8WDLISbbddnsaB4pdVn2MinSiplgDKBnLlqYjaTAXBJPsUe3vuxMekP eBrHqURGl0sMP4HVoKZowIA4OjyKePwzmC+cp2hyN8nQ7Q/h/8jiuHRUeLnFDswehsk8R RUSzK34jV/R0MLgWPgopO63G9XNSLsxJ/cFetdwuZG92mncJywE3tZcFflqlYRp4FYziv GAEn/Ezv5A8bw+anqIphLMwJcp1S1TWzawv0sNMeCSNR7NykX9KNvXmqkL7ldgcoRww== 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=sAhibFly; 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 2B270606A7C5 for ; Thu, 19 Nov 2026 15:07:54 +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=sAhibFly Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46DAD1F000C4; Thu, 19 Nov 2026 15:07:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795100874; bh=tKO345wOja2u9iv15jrls5kGAENjCQoXnfPsKU8/69Y=; h=From:To:Cc:Subject:Date:Reply-To; b=sAhibFlyDodH5Gf2xZVx4+z804Y6yNHhU+Y3gdqtWO8Rtj/t2lpp/gcEKp/fA7Bvn As4m1EpWcgECdoRJQNpUTWcGgXhznaZrmVdFL8sOWbjRMrrC7gOeeNxDIsRjVO1Kqj 9Dsao8jTElGiyulGcdtU8WyLEEPOyFC14jHPBw6Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99565: ksmbd: wait for negotiation before receiving another PDU Date: Thu, 19 Nov 2026 15:27:43 +0100 Message-ID: <2026111929-CVE-2026-99565-828a@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=3359; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=o8hieh73n5qpUoao0g6MVcZBWh6F5c7C3aRDPbfqWVk=; b=kA0DAAIRMUfUDdst+ykByyZiAGr/Bp7I0Iy9kBXEqaEQRs/mgboBOWKm94I5EsgcASSDbCWBb ohdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmr/Bp4ACgkQMUfUDdst+ymKYgCfd7nA mel2daSi9wqLcmvZHuzqZugAoLQ3ci4zfE/6Kj+7HffeUYt0nMUD 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: wait for negotiation before receiving another PDU The receive thread queues a request and can read the next PDU before the negotiation worker finishes. While need_neg is set, the next PDU can cause ksmbd_init_smb_server() to replace conn->ops. A pipelined SMB2 request can therefore make the worker handle an earlier, shorter SMB1 request with SMB2 operations and read beyond its buffer. An SMB1 multi-protocol negotiate may be followed by an SMB2 NEGOTIATE that changes conn->ops again. Wait for work queued while the connection is new or needs negotiation to complete before reading another PDU. This keeps the operations stable for both stages of negotiation without changing when need_neg is cleared. The Linux kernel CVE team has assigned CVE-2026-99565 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit dc8289f912387c3bcfbc5d2db29c8947fa207c11 and fixed in 6.12.117 with commit a9039d6c9de5dfd91f360b085da75899055b15a5 Issue introduced in 6.3 with commit dc8289f912387c3bcfbc5d2db29c8947fa207c11 and fixed in 6.18.61 with commit 49675f7bc0e1ae12a60f6af5cb2b800eb39fe055 Issue introduced in 6.3 with commit dc8289f912387c3bcfbc5d2db29c8947fa207c11 and fixed in 7.2.15 with commit aaf8a64a3fbf745eddea729fe27c6e22f4a009e2 Issue introduced in 6.3 with commit dc8289f912387c3bcfbc5d2db29c8947fa207c11 and fixed in 7.3.2 with commit d4a52e78378a501ae38f676e85a60a2a6c21af35 Issue introduced in 6.3 with commit dc8289f912387c3bcfbc5d2db29c8947fa207c11 and fixed in 7.4-rc1 with commit 68f410faedaf6ee74d81e574733c50ebcc1bd8ed Issue introduced in 5.15.145 with commit 921536046bd165efeb07beef5630aff35cd6a489 Issue introduced in 6.1.24 with commit a8334a0c535d0f0b4d64926c8fe0922ed98f7d43 Issue introduced in 6.2.11 with commit 99a51c673b1d2d0b5a972353401b77612d9cc713 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-99565 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/server.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/a9039d6c9de5dfd91f360b085da75899055b15a5 https://git.kernel.org/stable/c/49675f7bc0e1ae12a60f6af5cb2b800eb39fe055 https://git.kernel.org/stable/c/aaf8a64a3fbf745eddea729fe27c6e22f4a009e2 https://git.kernel.org/stable/c/d4a52e78378a501ae38f676e85a60a2a6c21af35 https://git.kernel.org/stable/c/68f410faedaf6ee74d81e574733c50ebcc1bd8ed