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 0421D1F5407 for ; Fri, 27 Dec 2024 14:59:24 +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=1735311565; cv=none; b=prVNZDuzk/Sf+q8+9UX8XSwZ81/Wx+WxKtMuwY0e5j4Qe+ZBgTExUsI14OPMBVbY/Og7kNCKVh6lW4sO81QD1XIBTMbv+Ot/s81p/07ysM+czH555A61E78Ibgvy88+kBssWibFa29zZjYES3ih4YdDY7Zgor4fPY0ubfPMAepE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735311565; c=relaxed/simple; bh=zt+SEgQsUbOkpOIMlnYEYrQjzOizZR9Ea6aZJuwoGAU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bRMrusDth2HBwxTgk4RjG7qQdpXJhA3W5YNd6mOPSRcX/H6meXTC3635/3nnuEmOX70IZlCVi6wBK9g4NnPXzONq2enr2M95Diqoy0jR5b/7LdLfUX6davusq04wT/AQ76zXbCA2EMJbNC3Qn9CQ7XSkGRjjVJvps9g7zy+1eTc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Q+1qj6WG; 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="Q+1qj6WG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 13649C4CED0; Fri, 27 Dec 2024 14:59:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735311564; bh=zt+SEgQsUbOkpOIMlnYEYrQjzOizZR9Ea6aZJuwoGAU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Q+1qj6WGrBHGRYVpWjqWKJQiRQc7EGtygK/SwKCUdbILIRDfSfPVCJwJmRE44P7Zh CSx8xcUj6PkNpzbn1VTICjA8XZarjjzr4HMsOiVimCOlt9/o0r13qb96MReUIwchwd uh1xZqQBagQSeSoss6AVqu2KaxgiWByN+2IQLByU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56598: jfs: array-index-out-of-bounds fix in dtReadFirst Date: Fri, 27 Dec 2024 15:51:05 +0100 Message-ID: <2024122702-CVE-2024-56598-3955@gregkh> X-Mailer: git-send-email 2.47.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=2467; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=zt+SEgQsUbOkpOIMlnYEYrQjzOizZR9Ea6aZJuwoGAU=; b=owGbwMvMwCRo6H6F97bub03G02pJDOl5+6598I6ddFj5AaNOUdzB0l3HvMw2+L1l5pi4IPltT NkDoYsnOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiMg8ZFlz1y2b+a/Ur/OLD 7dMaKwQqfaO3pDIsWHd20bnHB5V/ef7IqQr9+vOGxrSvNwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: jfs: array-index-out-of-bounds fix in dtReadFirst The value of stbl can be sometimes out of bounds due to a bad filesystem. Added a check with appopriate return of error code in that case. The Linux kernel CVE team has assigned CVE-2024-56598 to this issue. Affected and fixed versions =========================== Fixed in 5.4.287 with commit 25f1e673ef61d6bf9a6022e27936785896d74948 Fixed in 5.10.231 with commit 8c97a4d5463a1c972ef576ac499ea9b05f956097 Fixed in 5.15.174 with commit 823d573f5450ca6be80b36f54d1902ac7cd23fb9 Fixed in 6.1.120 with commit 2eea5fda5556ef03defebf07b0a12fcd2c5210f4 Fixed in 6.6.66 with commit fd993b2180b4c373af8b99aa28d4dcda5c2a8f10 Fixed in 6.12.5 with commit 22dcbf7661c6ffc3247978c254dc40b833a0d429 Fixed in 6.13-rc1 with commit ca84a2c9be482836b86d780244f0357e5a778c46 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-2024-56598 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/jfs_dtree.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/25f1e673ef61d6bf9a6022e27936785896d74948 https://git.kernel.org/stable/c/8c97a4d5463a1c972ef576ac499ea9b05f956097 https://git.kernel.org/stable/c/823d573f5450ca6be80b36f54d1902ac7cd23fb9 https://git.kernel.org/stable/c/2eea5fda5556ef03defebf07b0a12fcd2c5210f4 https://git.kernel.org/stable/c/fd993b2180b4c373af8b99aa28d4dcda5c2a8f10 https://git.kernel.org/stable/c/22dcbf7661c6ffc3247978c254dc40b833a0d429 https://git.kernel.org/stable/c/ca84a2c9be482836b86d780244f0357e5a778c46