From mboxrd@z Thu Jan 1 00:00:00 1970 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 473B233CD2 for ; Mon, 29 Jul 2024 06:37:23 +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=1722235044; cv=none; b=FQaJpJzT2JF2wK/fgtbopCQFkSlhEnnZ09WHG1fzTMrfX1m1LB775XGX3iw6s4Dd2vUdhYls2OKTXLQF100+/lXx6g4IQGT0WsYIZtrFacxIj445vZVG3WbQ54UYZ4Injl7QyzKBAv4w7I0T8fFLJXkrxABkxJ3kYo9D/XBlhZU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722235044; c=relaxed/simple; bh=m4r8ilSQgRere6Ip6dVW8L1WifbbxEh9CCzCZtGYa70=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pk1ptihexcwqyyDx9VJt3TVajw0OF2MoOcoQswU3bheZLyhP/HQxz4B99j9anmu05P8fqSQVu9Uagc2pXAkzm10ZioV+edBVwk2tYHdxEUOFpg2HYnjfdFLLt5QI+mJ7SQi5vJns8VhE5BXEKbXbiXqOya2avV0itKv9018Bb9o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Bowp8+3w; 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="Bowp8+3w" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 708B0C32786; Mon, 29 Jul 2024 06:37:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722235043; bh=m4r8ilSQgRere6Ip6dVW8L1WifbbxEh9CCzCZtGYa70=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Bowp8+3wwDjVYYXoLHmaoq8pTJ9rRDiRV8c76yNJeyMEtT6sSzuMr0XwLEjPeLkCa CryhVW8LMrPvEozsUGvI9P4DV+R2uVthcWHFKMy4LYfQrtYEHy91Kv/eTl46MY/BUc KwScsYwiUxsobss4Z8ZqgTwn0C+qnOLm97/n8ZDc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-41015: ocfs2: add bounds checking to ocfs2_check_dir_entry() Date: Mon, 29 Jul 2024 08:37:11 +0200 Message-ID: <2024072910-CVE-2024-41015-e5c0@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=2497; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=m4r8ilSQgRere6Ip6dVW8L1WifbbxEh9CCzCZtGYa70=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnLLaZZZayf5/1wT/I36+n/+Z6XbYuyMTtXZ1NwV1TXN JV319myjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIwTeGecam+vUCSV/cpqpw 74t+w6Tu1qGdwLDg5uKIb0bGi73zQltOzeBvvPqTw/EVAA== 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: ocfs2: add bounds checking to ocfs2_check_dir_entry() This adds sanity checks for ocfs2_dir_entry to make sure all members of ocfs2_dir_entry don't stray beyond valid memory region. The Linux kernel CVE team has assigned CVE-2024-41015 to this issue. Affected and fixed versions =========================== Fixed in 4.19.319 with commit 13d38c00df97 Fixed in 5.4.281 with commit 564d23cc5b21 Fixed in 5.10.223 with commit 77495e5da5cb Fixed in 5.15.164 with commit 53de17ad01cb Fixed in 6.1.102 with commit fd65685594ee Fixed in 6.6.43 with commit e05a24289db9 Fixed in 6.9.12 with commit 624b380074f0 Fixed in 6.10.2 with commit edb2e67dd462 Fixed in 6.11-rc1 with commit 255547c6bb89 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-41015 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/ocfs2/dir.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/13d38c00df97289e6fba2e54193959293fd910d2 https://git.kernel.org/stable/c/564d23cc5b216211e1694d53f7e45959396874d0 https://git.kernel.org/stable/c/77495e5da5cb110a8fed27b052c77853fe282176 https://git.kernel.org/stable/c/53de17ad01cb5f6f8426f597e9d5c87d4cf53bb7 https://git.kernel.org/stable/c/fd65685594ee707cbf3ddf22ebb73697786ac114 https://git.kernel.org/stable/c/e05a24289db90f76ff606086aadd62d068a88dcd https://git.kernel.org/stable/c/624b380074f0dc209fb8706db3295c735079f34c https://git.kernel.org/stable/c/edb2e67dd4626b06fd7eb37252d5067912e78d59 https://git.kernel.org/stable/c/255547c6bb8940a97eea94ef9d464ea5967763fb