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 9ED1B2E5B3D for ; Tue, 7 Oct 2025 15:25:36 +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=1759850736; cv=none; b=Dci/Zo9+55vS/eje2L8ZUFYGNsfMorE64SKxnW/a/ebYhpKz5BbjS7nIQqHw7J4C3kxXv040Uemip+wK1FS0YQX6BHXpHCpuPpUKyqJCXA/5n0itLPdm2R5Ewzs0G6ezw+2kRWegWMD0+jWK7QkAzn29Pf9qQFJueqm5W+I+0jc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759850736; c=relaxed/simple; bh=F026dlSh58h0pYnxjfqIB4jJyb6U+txalnvOfbOrKG0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=utnPifEG2WVOcEPtOEmyejcQwx7tvj/nbvI1Yf5oE2FVi+YTjpb9Biy+HA9HkgFbcPNE23vEZtryFS9hizGFikDqStadCD1VGYaClliI4rFLEph7adBI0jdnTseRRqZ2zZUC0IZq2GQSHpajuveRn1wivE/5VUVqrq6+7a8L7Tc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wvSKNcCS; 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="wvSKNcCS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 221AEC4CEF1; Tue, 7 Oct 2025 15:25:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759850736; bh=F026dlSh58h0pYnxjfqIB4jJyb6U+txalnvOfbOrKG0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=wvSKNcCS20W2BVh+t8a+yuR1o7pHX7ZHT7iPUX7YJ5guEz1Eo/PG5xOzUbxfaSszq PUBCupXDIyZuGuPpK8iinxJKWY6Pnb77gw3eUpiHMJqw9xIc4YsUdE9DX0qNka/JTd rrsYmgc4oXw8xnVw0VcewLNiGlRlPwBojfZXzB2I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53680: NFSD: Avoid calling OPDESC() with ops->opnum == OP_ILLEGAL Date: Tue, 7 Oct 2025 17:21:39 +0200 Message-ID: <2025100708-CVE-2023-53680-501d@gregkh> X-Mailer: git-send-email 2.51.0 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=2795; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=i9XxQcbMw7niiELpf0ojIlIdipiPrAnhOCfhYr+mM3U=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlP9Z9EV4S5GWy5VKOScXH/lM1NOm+y5JdXu32/43Hob ZXk5HOfOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiZscYFmyyybt/9knJzKeG u6umF1X+ZYz578qwYGazpLBxIIsro5j6XWHve7mv/Eo2AQA= 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: NFSD: Avoid calling OPDESC() with ops->opnum == OP_ILLEGAL OPDESC() simply indexes into nfsd4_ops[] by the op's operation number, without range checking that value. It assumes callers are careful to avoid calling it with an out-of-bounds opnum value. nfsd4_decode_compound() is not so careful, and can invoke OPDESC() with opnum set to OP_ILLEGAL, which is 10044 -- well beyond the end of nfsd4_ops[]. The Linux kernel CVE team has assigned CVE-2023-53680 to this issue. Affected and fixed versions =========================== Issue introduced in 4.14 with commit f4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8 and fixed in 5.10.220 with commit 50827896c365e0f6c8b55ed56d444dafd87c92c5 Issue introduced in 4.14 with commit f4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8 and fixed in 5.15.107 with commit a64160124d5a078be0c380b1e8a0bad2d040d3a1 Issue introduced in 4.14 with commit f4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8 and fixed in 6.1.24 with commit ffcbcf087581ae68ddc0a21460f7ecd4315bdd0e Issue introduced in 4.14 with commit f4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8 and fixed in 6.2.11 with commit f352c41fa718482979e7e6b71b4da2b718e381cc Issue introduced in 4.14 with commit f4f9ef4a1b0a1ca80b152e28e176d69515bdf7e8 and fixed in 6.3 with commit 804d8e0a6e54427268790472781e03bc243f4ee3 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-2023-53680 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/nfsd/nfs4xdr.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/50827896c365e0f6c8b55ed56d444dafd87c92c5 https://git.kernel.org/stable/c/a64160124d5a078be0c380b1e8a0bad2d040d3a1 https://git.kernel.org/stable/c/ffcbcf087581ae68ddc0a21460f7ecd4315bdd0e https://git.kernel.org/stable/c/f352c41fa718482979e7e6b71b4da2b718e381cc https://git.kernel.org/stable/c/804d8e0a6e54427268790472781e03bc243f4ee3