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 285BE14A0A8 for ; Thu, 27 Feb 2025 02:13:16 +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=1740622396; cv=none; b=XBGDeu6lfV8NfBCtPaCe9JyijvFPnnWixezmQRAE3pXJBGYYQH6ZgfRBm0ObTlUNs9XfqVG8I2g5KQxbjiMqAMixA1Nq03l/CShDCPTKpF6lELu9gv84CRvqMySDX4CirCChgoDvtB3yB0a5h1mzKVZC3Du7p713uErGlkpLRzM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740622396; c=relaxed/simple; bh=7EOkrt6wnTGT9YEkpyG85dZov3vaUZPPBcv++AXlsfM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=V2Mt7OSHTVC46cwAOFMy/C5iQ6/SKJMnkXLtTMt6gH9av1EmAUrJb983sWwaA1jHyj5kgj2KbURpGJKmkNkhJeloPqi/5yoASt1c633nihI/hgA8cDW7Enb44YnnzEpxH5DZoRCSnU/Lu23YSvXnfXKZb1cMt66GvCk+G1gqY64= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=B3gW1unc; 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="B3gW1unc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EFDC0C4CED6; Thu, 27 Feb 2025 02:13:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740622396; bh=7EOkrt6wnTGT9YEkpyG85dZov3vaUZPPBcv++AXlsfM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=B3gW1unciussBlFkoUO5TtnuwbgsUZbLn82MAkLBwg7TLovw0gFvhc1FLNGJEJFA4 szWIDnUXQkkJWBDI4yCQ8a3sUYszwHVBN0y30+duJRfayUaVCB6K2jjDm7KiM+tKWd seOy14i1Es97KOvL8vbJtVsp3onPdT0MhTLbsRIc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-58001: ocfs2: handle a symlink read error correctly Date: Wed, 26 Feb 2025 18:10:55 -0800 Message-ID: <2025022654-CVE-2024-58001-3f9c@gregkh> X-Mailer: git-send-email 2.48.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=2596; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=7EOkrt6wnTGT9YEkpyG85dZov3vaUZPPBcv++AXlsfM=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7T66rSWnSlto2eQLfmwPqmuHBPwK6Tv54vHz7g32qX x/uj7j+rSOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmosfNMD+RY8GNirmCdjtP tql7zRFjtm/WXc6wYPeTK+qPLvI97bz7fVVFH3ektCKPHAA= 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: handle a symlink read error correctly Patch series "Convert ocfs2 to use folios". Mark did a conversion of ocfs2 to use folios and sent it to me as a giant patch for review ;-) So I've redone it as individual patches, and credited Mark for the patches where his code is substantially the same. It's not a bad way to do it; his patch had some bugs and my patches had some bugs. Hopefully all our bugs were different from each other. And hopefully Mark likes all the changes I made to his code! This patch (of 23): If we can't read the buffer, be sure to unlock the page before returning. The Linux kernel CVE team has assigned CVE-2024-58001 to this issue. Affected and fixed versions =========================== Fixed in 6.1.129 with commit 6e143eb4ab83c24e7ad3e3d8e7daa241d9c38377 Fixed in 6.6.78 with commit b6833b38984d1e9f20dd80f9ec9050c10d687f30 Fixed in 6.12.14 with commit 52a326f93ceb9348264fddf7bab6e345db69e08c Fixed in 6.13.3 with commit 5e3b3ec7c3cb5ba5629a766e4f0926db72cf0a1f Fixed in 6.14-rc1 with commit 2b4c2094da6d84e69b843dd3317902e977bf64bd 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-58001 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/symlink.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/6e143eb4ab83c24e7ad3e3d8e7daa241d9c38377 https://git.kernel.org/stable/c/b6833b38984d1e9f20dd80f9ec9050c10d687f30 https://git.kernel.org/stable/c/52a326f93ceb9348264fddf7bab6e345db69e08c https://git.kernel.org/stable/c/5e3b3ec7c3cb5ba5629a766e4f0926db72cf0a1f https://git.kernel.org/stable/c/2b4c2094da6d84e69b843dd3317902e977bf64bd