From mboxrd@z Thu Jan 1 00:00:00 1970 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=1795099005; b=pGTDHUdsIWHx4hS5ses2ct7fNiDkskmRc77j03CBDufyKjBcGCBS1gWowtTV4KEQSm7O 9TT+DgRktYJeP4AE0oszoLmKSZJee02sakKAQfuCQi5/gX4+9vbIG/jwP80t/LTuHQrp/ p0N6sEYJvqdzOjjOmBPk/XmuVFL4HolvVHQTfsJ+9RN8MrEuiUPJnoI5Kuur4lzntVizn H8XP+m1eI4aczv6ahEhs5kiBd8NFzfMlB4TBlyqLURMMW+DXmEstoOqptIIW608nsK0YM EnFG6aWAFI+SXg/506YSs1RKHtZOHIiZxWKjgC8HsiKVNZJS49eBUwm7f/yFbAVOZmQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099005; 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=DrOfyvjnfalXQOz7FZxsLgGOWfJc3DKluQotmK7bUIo=; b=mkfmuz/xCWuiZtxIzFut5pNLf+gfiY/ALD1zSB0Ttw7qch1/UxWgLShn6q7/m9yEBebB VbESk0dg8R4JxfKjoCqrCdDsdVvvlLlm73qqXFSNvs6YQHMY676SY4pN8U7prlivZjUxa PEkh9rKzGJLLp1q7bf2UxqsYd0yZG8gMXSFxeEeZkJHaozJ96ydPnwTj5pPsa4KUUcT2b j68cq7jsudhBml3ecJY5qwalKVwEotmTK1fi4ZzR/btYd+hD2J4smNMZph7UiprRYxE28 QElcOT+wFVWWSqquqyGb4joLeUxbD9+lPpAGoYMT0iCwcD4dc3fCclDJ+dMawbE8/hQ== 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=t4bSZZAt; 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 71ACC606A320 for ; Thu, 19 Nov 2026 14:36:45 +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=t4bSZZAt Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F06D1F000C4; Thu, 19 Nov 2026 14:36:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099005; bh=DrOfyvjnfalXQOz7FZxsLgGOWfJc3DKluQotmK7bUIo=; h=From:To:Cc:Subject:Date:Reply-To; b=t4bSZZAt+XkTUyDnRg4BwgRRfiuRCqaso6ALzc9ghPIuzPkrvMdEkhMdmD1SOZmGG eZzIuisEKqpZR0B+UxZfwCP+JuOCmU5mn44SPxSn1Awld4EWAc+Ts29A08ERUAS829 74K8rcnII9oTrbjd8+HFn6Y6UKQkMX5KZyzHc8Ac= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99357: SUNRPC: Copy the deferred RPC Call from the head buffer Date: Thu, 19 Nov 2026 15:24:15 +0100 Message-ID: <2026111949-CVE-2026-99357-a050@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=3460; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=GqYaXPPU7hTBZFtSESDJQhTMg6cUwCviPzxR8ct5QKI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2Ur75rzmXODFv3OOYLKc1uNZX0wfGtkc0mT4kLDu/ sNnXz/ydcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEdlczzNOq4TplnPv6fYai 6oNfzAZnHsXYXWWY72JkxPDNXI9nybem5u+FS5flJW/SAAA= 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: SUNRPC: Copy the deferred RPC Call from the head buffer svc_defer() snapshots the RPC Call for replay once a pending cache upcall resolves. It copies the Call starting (rq_arg.len - head[0].iov_len) bytes before head[0].iov_base, a back-up that once covered a transport header. No transport has had one since commit 983084b2672c ("SUNRPC: Remove svc_rqst::rq_xprt_hlen"), so the two lengths are meant to be equal. An RPCSEC_GSS Call breaks that assumption. Unwrapping the integrity service truncates rq_arg.len by the length of the trailing checksum, and unwrapping the privacy service leaves rq_arg.len short by an amount the client sets with trailing bytes after the wrap token. Neither adjusts head[0].iov_len. Both lengths are size_t, so the subtraction underflows and the copy starts past head[0].iov_base. Every deferred integrity Call replays a shifted snapshot. A deferred replay skips GSS verification, so a shifted snapshot runs as an authenticated Call. With the privacy service the offset is client-chosen. A forged Call placed in that window, naming another user's GSS context handle, runs under that identity. Copy the Call from head[0].iov_base. Refuse to defer a Call whose length runs past the head buffer, so the copy cannot read out of bounds. The Linux kernel CVE team has assigned CVE-2026-99357 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.25 with commit 260c1d1298f6703d38fdccd3dd5a310766327340 and fixed in 6.12.117 with commit 629a17cc81fe0b749bbee8303797b6c99a3e776b Issue introduced in 2.6.25 with commit 260c1d1298f6703d38fdccd3dd5a310766327340 and fixed in 6.18.61 with commit d514dd81771aff1192e84a57ae60428c13f07ccb Issue introduced in 2.6.25 with commit 260c1d1298f6703d38fdccd3dd5a310766327340 and fixed in 7.3.2 with commit 70614e41d379e5b9b1893ac65b49ae4cea6c36eb Issue introduced in 2.6.25 with commit 260c1d1298f6703d38fdccd3dd5a310766327340 and fixed in 7.4-rc1 with commit 2192a56b0686599358909c3e12e9a366f5b5d452 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-99357 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: net/sunrpc/svc_xprt.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/629a17cc81fe0b749bbee8303797b6c99a3e776b https://git.kernel.org/stable/c/d514dd81771aff1192e84a57ae60428c13f07ccb https://git.kernel.org/stable/c/70614e41d379e5b9b1893ac65b49ae4cea6c36eb https://git.kernel.org/stable/c/2192a56b0686599358909c3e12e9a366f5b5d452