From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7709B2153DD for ; Wed, 26 Feb 2025 02:13:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536001; cv=none; b=KFuAmaSSiDHsrSoKXSMBXC6oVDqYV1l4EbzGyBGH4NZPGMwk7WwuM5ojZy+LwK7fTLRxPCTiJmk2wb31ZYfe+Pigz9U6bTmNtqeUT7lkdjgc5dl0N02TmuKRCd9UZMf6dFG8PvHm55Urad8fOS1Qvs3Kq6NSi2vFYbjeFT3SxdE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536001; c=relaxed/simple; bh=G/7p9aVMSxJaEDsTTIArypTr/6LFP8weB9o8PnUfziQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PmC+5Uju/KcjOO8Gap9OvsBIT1lHftiAYlGuCoAL8puEValoXVhgfblD8zGxlrXsRMQm2oORPZX5xZdGyurgZaw4PpvyiDXpWcVBVoO2bHxQeFr1929dLc6e1qqTtwg8sc1Rnf3NQ44rc9rQa/LM/bk9QNq4/fKSbgSRDtSRAz4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=U8ZwA5Qu; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="U8ZwA5Qu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46180C4CEDD; Wed, 26 Feb 2025 02:13:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536001; bh=G/7p9aVMSxJaEDsTTIArypTr/6LFP8weB9o8PnUfziQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=U8ZwA5Qu35nkgDH0avvxWsMe5/NZDuu3EdIzWfekosfmFQk4jh6c6pGsMIXn1/bal Acy2ScuH0xofpZfp6fhJ/Jl1nV1TvHUnuU0uSF4RBG1aMiOeChSAVXanFUOw8Jidve rJtwTMVqIpcSeRfsWRu/3Vg8h63lZop0MWtyARJw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49356: SUNRPC: Trap RDMA segment overflows Date: Wed, 26 Feb 2025 03:10:30 +0100 Message-ID: <2025022643-CVE-2022-49356-6195@gregkh> X-Mailer: git-send-email 2.48.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2441; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=G/7p9aVMSxJaEDsTTIArypTr/6LFP8weB9o8PnUfziQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7yp8LLxEvaLgl9PSnxsUbdc7G8WJ1dyfz32TS/Nnqa rWdjZGjI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbSz8swV9K//FDNtPyw3F2v ItW5vCbv5P6UyDBPx/6A+05r9v2LSt3VlaY1VCmcS4sDAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: SUNRPC: Trap RDMA segment overflows Prevent svc_rdma_build_writes() from walking off the end of a Write chunk's segment array. Caught with KASAN. The test that this fix replaces is invalid, and might have been left over from an earlier prototype of the PCL work. The Linux kernel CVE team has assigned CVE-2022-49356 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit 7a1cbfa18059a40d4752dab057384c3ca2de326c and fixed in 5.15.47 with commit ea26bf5eca1459b5a7824997d7823409ce38214e Issue introduced in 5.11 with commit 7a1cbfa18059a40d4752dab057384c3ca2de326c and fixed in 5.17.15 with commit 812c13521d4a72469c78ce06d8cdc8dc5b5557b5 Issue introduced in 5.11 with commit 7a1cbfa18059a40d4752dab057384c3ca2de326c and fixed in 5.18.4 with commit 659f7568e09593945c221bf20217a82ebdfe1328 Issue introduced in 5.11 with commit 7a1cbfa18059a40d4752dab057384c3ca2de326c and fixed in 5.19 with commit f012e95b377c73c0283f009823c633104dedb337 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-2022-49356 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/xprtrdma/svc_rdma_rw.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/ea26bf5eca1459b5a7824997d7823409ce38214e https://git.kernel.org/stable/c/812c13521d4a72469c78ce06d8cdc8dc5b5557b5 https://git.kernel.org/stable/c/659f7568e09593945c221bf20217a82ebdfe1328 https://git.kernel.org/stable/c/f012e95b377c73c0283f009823c633104dedb337