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 01C0464D for ; Mon, 29 Jul 2024 06:37:30 +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=1722235051; cv=none; b=E1lT7n4Tj/yx2rIVZe7V6SZ5F/UPHeWQtRf5/PCJvsEIfO9qhRCNcOuz+Q36JWdg4hF8Gyv+hRVBuNYhiRDgw1u7GKoR1B7YJpFZANGMH+fvwpRZ6Vfx+Fm+iBGXYZclYzrDrVuykb/aoQHZd47zjqhApf9vUEiOD086nw5LZE8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722235051; c=relaxed/simple; bh=Fx1Xon6AF9BtZmGJfacdd+wfkxf2T9pSE+zCijr0DRU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=V7BmLowJPF2kS0mrpgihuUR2gxBzRS50MgdHEvsWm3sLhvr643KErkNFWD8ZAoiGaYtxgH0Ml7rYfKB8ONRZ2EAlI9FUl07j1TlHZJ0tU9OkVbQnS8TRwhXM0gq/Orn96WpIIpETHHYC4fc1oL8nw+RKH/aYXNiKVi+Hh85mDzs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hnSAHXdN; 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="hnSAHXdN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1133AC32786; Mon, 29 Jul 2024 06:37:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722235050; bh=Fx1Xon6AF9BtZmGJfacdd+wfkxf2T9pSE+zCijr0DRU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=hnSAHXdNoAPb/Kd0+45HMaj7E01avS2ECP7M1saaKitaGtAPKQ2IR1+V0NIucHYOO CCUwFNPkR0I/1Q9YE10dP75XsWIkX2q9x+mmhvSmBvp+zhfm3WytmNOpcZPijbpVrJ bjWbMjWwVMMQouSyvebuvYhehxUih6bQnUFjURow= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-41017: jfs: don't walk off the end of ealist Date: Mon, 29 Jul 2024 08:37:13 +0200 Message-ID: <2024072911-CVE-2024-41017-f367@gregkh> X-Mailer: git-send-email 2.45.2 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=2445; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Fx1Xon6AF9BtZmGJfacdd+wfkxf2T9pSE+zCijr0DRU=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnLLaa7tD/QuVXE1jmx+9vlWxM8jpUvdI19dkPAx9zgx 8Zdkufud8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE9BUY5oocP3z9ytS7VZ+3 3l4zg+WOtxtP3wGG+emqazsLpovckE1xO3BmuVmo5Lo/sgA= 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: don't walk off the end of ealist Add a check before visiting the members of ea to make sure each ea stays within the ealist. The Linux kernel CVE team has assigned CVE-2024-41017 to this issue. Affected and fixed versions =========================== Fixed in 4.19.319 with commit 7f91bd0f2941 Fixed in 5.4.281 with commit fc16776a82e8 Fixed in 5.10.223 with commit 6386f1b6a10e Fixed in 5.15.164 with commit 7e21574195a4 Fixed in 6.1.102 with commit 4e034f7e563a Fixed in 6.6.43 with commit 17440dbc66ab Fixed in 6.9.12 with commit f4435f476b9b Fixed in 6.10.2 with commit dbde7bc91093 Fixed in 6.11-rc1 with commit d0fa70aca54c 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-41017 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/xattr.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/7f91bd0f2941fa36449ce1a15faaa64f840d9746 https://git.kernel.org/stable/c/fc16776a82e8df97b6c4f9a10ba95aa44cef7ba5 https://git.kernel.org/stable/c/6386f1b6a10e5d1ddd03db4ff6dfc55d488852ce https://git.kernel.org/stable/c/7e21574195a45fc193555fa40e99fed16565ff7e https://git.kernel.org/stable/c/4e034f7e563ab723b93a59980e4a1bb33198ece8 https://git.kernel.org/stable/c/17440dbc66ab98b410514b04987f61deedb86751 https://git.kernel.org/stable/c/f4435f476b9bf059cd9e26a69f5b29c768d00375 https://git.kernel.org/stable/c/dbde7bc91093fa9c2410e418b236b70fde044b73 https://git.kernel.org/stable/c/d0fa70aca54c8643248e89061da23752506ec0d4