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 1D25B1FDA61 for ; Fri, 25 Jul 2025 14:17:08 +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=1753453029; cv=none; b=QBTqHjl5VKlfA4/2sX5Co3ZylOdEUMud9NmlDBcAusel98/xAG4aopPbi9eoSQXBawBlY/iM3TX8XZonySYnYEX3XQdEWoFCH+P7Pcn/kIohf3yP9PT6ke6Ho3jtK692o511di0z9PeCfqh4l1uW0V5d0xJyICxk3oPCQUyml3Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753453029; c=relaxed/simple; bh=3wk9CNPor1b8ZDo5a4azm8rsG2KyX+U5ZkxiZSmwBAU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=q8Cz9m/tpli6keZMgrYQjJM/gSkp6hzO3h6zEc0CwWSriqlWItp7VXxj5gnk8w5w46y3Frps0psTpl1XnBaucMzFVrKDhaAalYSKKLm/6+YhQsssMNn2P85IAp96tBkR8nIEIGhDBb29o/GiGN7jp2pHs6pKSSNZDpxSfnwgAdU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lub/M9oM; 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="lub/M9oM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D0ABC4CEE7; Fri, 25 Jul 2025 14:17:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1753453028; bh=3wk9CNPor1b8ZDo5a4azm8rsG2KyX+U5ZkxiZSmwBAU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=lub/M9oMhIWGr17NiALyA915QQ1nc1neMEYQsSVmUXwUEQEpc4c3etker9zq3LrhI 49ykrt9pC9E7pwa0MLBKDrnmGbTmUgMkAH7+au8pPW90AI23C2sJxisc+UuXOBzNe5 YL7CIGgRuGdjG3uUF87AevvbiwfTwnETLQVGu+kU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38430: nfsd: nfsd4_spo_must_allow() must check this is a v4 compound request Date: Fri, 25 Jul 2025 16:17:03 +0200 Message-ID: <2025072556-CVE-2025-38430-dafd@gregkh> X-Mailer: git-send-email 2.50.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=2725; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WhqPl+ndP30GoK/o8ReDAwffClMmM3C/w+TwpgznFBM=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnNE2/EPA1c5T2tgN8udI5O+tbv0vvPn9wkWpMavWJX0 aEPa/rTO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiTR8ZFuxe4DqZqX/2nP/3 +iWfdCt1/Y5nz2WY7zHt4GY3c5a34vMlW+R9VFNMXdNmAAA= 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: nfsd4_spo_must_allow() must check this is a v4 compound request If the request being processed is not a v4 compound request, then examining the cstate can have undefined results. This patch adds a check that the rpc procedure being executed (rq_procinfo) is the NFSPROC4_COMPOUND procedure. The Linux kernel CVE team has assigned CVE-2025-38430 to this issue. Affected and fixed versions =========================== Fixed in 5.4.295 with commit bf78a2706ce975981eb5167f2d3b609eb5d24c19 Fixed in 5.10.239 with commit b1d0323a09a29f81572c7391e0d80d78724729c9 Fixed in 5.15.186 with commit 425efc6b3292a3c79bfee4a1661cf043dcd9cf2f Fixed in 6.1.142 with commit 64a723b0281ecaa59d31aad73ef8e408a84cb603 Fixed in 6.6.95 with commit e7e943ddd1c6731812357a28e7954ade3a7d8517 Fixed in 6.12.35 with commit 7a75a956692aa64211a9e95781af1ec461642de4 Fixed in 6.15.4 with commit 2c54bd5a380ebf646fb9efbc4ae782ff3a83a5af Fixed in 6.16-rc1 with commit 1244f0b2c3cecd3f349a877006e67c9492b41807 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-2025-38430 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/nfs4proc.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/bf78a2706ce975981eb5167f2d3b609eb5d24c19 https://git.kernel.org/stable/c/b1d0323a09a29f81572c7391e0d80d78724729c9 https://git.kernel.org/stable/c/425efc6b3292a3c79bfee4a1661cf043dcd9cf2f https://git.kernel.org/stable/c/64a723b0281ecaa59d31aad73ef8e408a84cb603 https://git.kernel.org/stable/c/e7e943ddd1c6731812357a28e7954ade3a7d8517 https://git.kernel.org/stable/c/7a75a956692aa64211a9e95781af1ec461642de4 https://git.kernel.org/stable/c/2c54bd5a380ebf646fb9efbc4ae782ff3a83a5af https://git.kernel.org/stable/c/1244f0b2c3cecd3f349a877006e67c9492b41807