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 7B7DD274B4A for ; Thu, 4 Sep 2025 15:35:29 +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=1757000129; cv=none; b=qy8hbwXoK//Db66k9ERqPVNPfYtDV3Cwyk8JgC9Inga2SxAS7LfDCjhL+u1Hhhq+b7ufFJbjR92E+3ehV6/J2fti3eajwSm+hBWgApt53vX2PvLAKo46K2k6aBGSrt8vi3+KfmKCy/JMkz8JtJzqFhZpmlimqmsOByVTwzLRzJM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757000129; c=relaxed/simple; bh=NBXW3BpQ493AoB52SnhalNJhIYvu++10qMVe0Y2zWIU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XOrE+u2XoVZQKwum+MRKqXJfO2FueyJRsPbgXIg8Ly+OYHqjaYd44nvr0YFLgk7I9PeoCxhVfnZybun98GuZZ0Xzdvs7m7g8iVZUkwWHeFu2a+ceHZHMUexCIq/axipD9vRDhuHGXtCDhJt4shPGnEUkdriZEKHL0IiuaeWKv9Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=t7ceQS2l; 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="t7ceQS2l" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 018ACC4CEF0; Thu, 4 Sep 2025 15:35:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757000129; bh=NBXW3BpQ493AoB52SnhalNJhIYvu++10qMVe0Y2zWIU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=t7ceQS2l/BRryvS1D4/2zDdxGZ8vvSVqjBhohNhBd2ZnuaQm5RZ9h1E59rI4fiAzy iJ+D6nO4B/kLKXYoZf/J5jIh+PuTI3VIGOBfv1AvN1LmvWNtQXViRUjXZ9o8iHQizb g8ckm22nS+8KezYk9jAb0CQOsKFELoFx7YijXfnQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38698: jfs: Regular file corruption check Date: Thu, 4 Sep 2025 17:33:03 +0200 Message-ID: <2025090452-CVE-2025-38698-e0e3@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=2754; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Eo9kwEFYrglCWABXenKlZHK7h0heCfB0dlkatS8mKpQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk7N6rEikmlcwtOEGoJ5G02+vJ6V8vWxWo2W9LSl6za8 2HdMTO+jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI7GeGBXvzxBrK3Wcy25rW qV47IPa876+HEMOCszefS8788PBdkkDZL1eDrMPtcWafAQ== 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: jfs: Regular file corruption check The reproducer builds a corrupted file on disk with a negative i_size value. Add a check when opening this file to avoid subsequent operation failures. The Linux kernel CVE team has assigned CVE-2025-38698 to this issue. Affected and fixed versions =========================== Fixed in 5.4.297 with commit 9f896c3d0192241d6438be6963682ace8203f502 Fixed in 5.10.241 with commit 6bc86f1d7d5419d5b19483ba203ca0b760c41c51 Fixed in 5.15.190 with commit 9ad054cd2c4ca8c371e555748832aa217c41fc65 Fixed in 6.1.149 with commit 9605cb2ea38ba014d0e704cba0dbbb00593fa9fd Fixed in 6.6.103 with commit 78989af5bbf55a0cf1165b0fa73921bc02f1543b Fixed in 6.12.43 with commit 00462be586b33076f8b8023e7ba697deedc131db Fixed in 6.15.11 with commit fd9454b7710b28060faa49b041f8283c435721a3 Fixed in 6.16.2 with commit 02edcfda419168d9405bffe55f18ea9c1bf92366 Fixed in 6.17-rc1 with commit 2d04df8116426b6c7b9f8b9b371250f666a2a2fb 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-38698 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/jfs/file.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/9f896c3d0192241d6438be6963682ace8203f502 https://git.kernel.org/stable/c/6bc86f1d7d5419d5b19483ba203ca0b760c41c51 https://git.kernel.org/stable/c/9ad054cd2c4ca8c371e555748832aa217c41fc65 https://git.kernel.org/stable/c/9605cb2ea38ba014d0e704cba0dbbb00593fa9fd https://git.kernel.org/stable/c/78989af5bbf55a0cf1165b0fa73921bc02f1543b https://git.kernel.org/stable/c/00462be586b33076f8b8023e7ba697deedc131db https://git.kernel.org/stable/c/fd9454b7710b28060faa49b041f8283c435721a3 https://git.kernel.org/stable/c/02edcfda419168d9405bffe55f18ea9c1bf92366 https://git.kernel.org/stable/c/2d04df8116426b6c7b9f8b9b371250f666a2a2fb