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 04B051A2C06 for ; Wed, 18 Jun 2025 09:35:26 +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=1750239326; cv=none; b=QrH8vxh4EYpza1JDA54ZtLSuwAxn7c/J68kD705GVXPW7zokxQUCjdBpo8Vb13TcdWWlHEoz8Fhi1iepkWQf2ehWVAZFetOMmaoPx06lUJYxar6sUP09wSmjbrdAaeY5Gd96ClW5fLc1V53ljLeydtEXFZKab8Rkm3O6vbAKbqk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750239326; c=relaxed/simple; bh=rzeBIo0BJHQph4BIdi5pApw1yLzSoOSOS34B5N1HrjA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IBaO/mCYV+W6AapNG37M79AubBqT3GJUkZaPLgk2riKDc4naoiAw8y9Wl1iNfL5JJezS+iTyr2aEs1zlYrMVdaJAhFCpH9+eTDsLf9BuqaLd2o+GjHo5ul2W93TjLQACtt5E72J8Fu/nuuyIuyFUGWLMGvp+C61THUyVoZpCQ58= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HR3qpwQC; 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="HR3qpwQC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6827FC4CEE7; Wed, 18 Jun 2025 09:35:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750239325; bh=rzeBIo0BJHQph4BIdi5pApw1yLzSoOSOS34B5N1HrjA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=HR3qpwQCxpC/G8e2fg/hwRmz/W4XllMI03xm1rAtB6MuVXzRpeCfFg4/dwV30e3wq eiIExTL6iursy6rE1wXJ9FNCSPERjKit419Ky8Rb1WYUB6FuCDUyaeYvctkjGpHVHu tvf5FEFA5fxDcBDUY+7wfEdH3GA4TU6Zcq8Tp5hw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38065: orangefs: Do not truncate file size Date: Wed, 18 Jun 2025 11:34:00 +0200 Message-ID: <2025061836-CVE-2025-38065-e91a@gregkh> X-Mailer: git-send-email 2.49.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=2583; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KaWdfze1ExI2yr/4kBAdG4iMb9sGiryTF4LJjXNTi+c=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlB7R/sPy64toBbc4bHmVtz9quJOtcYe0+1qq8tar3kU i+R9qWgI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYSdIlhfuKv7pIa88sPG56f bP7fLWiTllnByjDf61LM3bPntit0yn7POvmxLXzCLRMtAA== 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: orangefs: Do not truncate file size 'len' is used to store the result of i_size_read(), so making 'len' a size_t results in truncation to 4GiB on 32-bit systems. The Linux kernel CVE team has assigned CVE-2025-38065 to this issue. Affected and fixed versions =========================== Fixed in 5.4.294 with commit ceaf195ed285b77791e29016ee6344b3ded609b3 Fixed in 5.10.238 with commit 341e3a5984cf5761f3dab16029d7e9fb1641d5ff Fixed in 5.15.185 with commit 5111227d7f1f57f6804666b3abf780a23f44fc1d Fixed in 6.1.141 with commit 15602508ad2f923e228b9521960b4addcd27d9c4 Fixed in 6.6.93 with commit 121f0335d91e46369bf55b5da4167d82b099a166 Fixed in 6.12.31 with commit cd918ec24168fe08c6aafc077dd3b6d88364c5cf Fixed in 6.14.9 with commit 2323b806221e6268a4e17711bc72e2fc87c191a3 Fixed in 6.15 with commit 062e8093592fb866b8e016641a8b27feb6ac509d 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-38065 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/orangefs/inode.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/ceaf195ed285b77791e29016ee6344b3ded609b3 https://git.kernel.org/stable/c/341e3a5984cf5761f3dab16029d7e9fb1641d5ff https://git.kernel.org/stable/c/5111227d7f1f57f6804666b3abf780a23f44fc1d https://git.kernel.org/stable/c/15602508ad2f923e228b9521960b4addcd27d9c4 https://git.kernel.org/stable/c/121f0335d91e46369bf55b5da4167d82b099a166 https://git.kernel.org/stable/c/cd918ec24168fe08c6aafc077dd3b6d88364c5cf https://git.kernel.org/stable/c/2323b806221e6268a4e17711bc72e2fc87c191a3 https://git.kernel.org/stable/c/062e8093592fb866b8e016641a8b27feb6ac509d