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 DF101189902 for ; Sun, 7 Sep 2025 15:16:42 +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=1757258203; cv=none; b=Nny+Uru+9oJl7QGsWcoj83ne3oXlaHXad8ZK3arwnLA8rA+9MGv7fMYovQxfkjqIPnT7ypt37t2QHslSb38G7Z0O5euMpZnU66U4Z6AcHAhnSD29hp0yHW2NzLw6Fq9TL+KJi/S+nv4/gOmVc6nYhY1HGKsfr03zj05c5ovS/PU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757258203; c=relaxed/simple; bh=SJfRbd/NxT04FEt7PWTnjgadt9bfAuAb/ToHpIHVpFs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lmR4xbFD9/2RyuBenhxLuC234OF8M74XsAaLz9Bo5K4tfvnwKSJqt3vCjOosgN7La6jUrhVEu2WhXB8F2+fmzOJVRkA+I0NdhPxcMCalbK3arvl2KUet+Qw0lg3Kp/vUf0pHRJIcc5M1qhrPK4dTKD2kmJlVhv6EYlp+ujTGqGQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OQEi3uNJ; 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="OQEi3uNJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 076F7C4CEF0; Sun, 7 Sep 2025 15:16:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757258202; bh=SJfRbd/NxT04FEt7PWTnjgadt9bfAuAb/ToHpIHVpFs=; h=From:To:Cc:Subject:Date:Reply-to:From; b=OQEi3uNJzLGgd9m98t70mUgjAV6Ilh3vmzsRPPU9UG7+4OetatpdNOF1bJJFEi8Fi bqWA1Ngn1CUqwfoEDFHQqe0Ze55UMcjR+f86inUCOhjqbIHKJPRAhR8BCE52XpqMnP tZqMJLfZzFWHrflMjqTOtXwvNnL9ECe6NZzq56x8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39730: NFS: Fix filehandle bounds checking in nfs_fh_to_dentry() Date: Sun, 7 Sep 2025 17:16:31 +0200 Message-ID: <2025090730-CVE-2025-39730-72c9@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=3469; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Y67B8BOtAW7XLKaBsJovP/UVne/S8UXL454npy59wjk=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl7F55Lba/bMFX9lSXH7xK7n9NlMwODlmt9uHtOh531r hXjFYv5HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRg9kMCy5UJr2Jvrn65sRr 6+pf1572TJSM1WVYcPbDYf1Qxb3P92fv0nYpOs97nU3sJQA= 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: NFS: Fix filehandle bounds checking in nfs_fh_to_dentry() The function needs to check the minimal filehandle length before it can access the embedded filehandle. The Linux kernel CVE team has assigned CVE-2025-39730 to this issue. Affected and fixed versions =========================== Issue introduced in 4.13 with commit 20fa19027286983ab2734b5910c4a687436e0c31 and fixed in 5.4.297 with commit 7f8eca87fef7519e9c41f3258f25ebc2752247ee Issue introduced in 4.13 with commit 20fa19027286983ab2734b5910c4a687436e0c31 and fixed in 5.10.241 with commit cb09afa0948d96b1e385d609ed044bb1aa043536 Issue introduced in 4.13 with commit 20fa19027286983ab2734b5910c4a687436e0c31 and fixed in 5.15.190 with commit 3570ef5c31314c13274c935a20b91768ab5bf412 Issue introduced in 4.13 with commit 20fa19027286983ab2734b5910c4a687436e0c31 and fixed in 6.1.148 with commit 763810bb883cb4de412a72f338d80947d97df67b Issue introduced in 4.13 with commit 20fa19027286983ab2734b5910c4a687436e0c31 and fixed in 6.6.102 with commit 12ad3def2e5e0b120e3d0cb6ce8b7b796819ad40 Issue introduced in 4.13 with commit 20fa19027286983ab2734b5910c4a687436e0c31 and fixed in 6.12.42 with commit 2ad40b7992aa26bc631afc1a995b0e3ddc30de3f Issue introduced in 4.13 with commit 20fa19027286983ab2734b5910c4a687436e0c31 and fixed in 6.15.10 with commit b7f7866932466332a2528fda099000b035303485 Issue introduced in 4.13 with commit 20fa19027286983ab2734b5910c4a687436e0c31 and fixed in 6.16.1 with commit 7dd36f7477d1e03a1fcf8d13531ca326c4fb599f Issue introduced in 4.13 with commit 20fa19027286983ab2734b5910c4a687436e0c31 and fixed in 6.17-rc1 with commit ef93a685e01a281b5e2a25ce4e3428cf9371a205 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-39730 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/nfs/export.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/7f8eca87fef7519e9c41f3258f25ebc2752247ee https://git.kernel.org/stable/c/cb09afa0948d96b1e385d609ed044bb1aa043536 https://git.kernel.org/stable/c/3570ef5c31314c13274c935a20b91768ab5bf412 https://git.kernel.org/stable/c/763810bb883cb4de412a72f338d80947d97df67b https://git.kernel.org/stable/c/12ad3def2e5e0b120e3d0cb6ce8b7b796819ad40 https://git.kernel.org/stable/c/2ad40b7992aa26bc631afc1a995b0e3ddc30de3f https://git.kernel.org/stable/c/b7f7866932466332a2528fda099000b035303485 https://git.kernel.org/stable/c/7dd36f7477d1e03a1fcf8d13531ca326c4fb599f https://git.kernel.org/stable/c/ef93a685e01a281b5e2a25ce4e3428cf9371a205