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 77DA21BDCD for ; Wed, 6 Mar 2024 06:47:00 +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=1709707620; cv=none; b=Gjf6Dahz/qdBX4dtUfQckO2aHwKCfq4o3m+yvOWyWXrQLiB4+l7eFOaF0RDvPUFWrQwrjqze0VPDQjjLhVG18ZgSGrGTS9cYyqzzb50+TO6+89YvSLcky9AoYb6m16zgiZ/0XZZis/AlkggTPWcUWHJMM2OJwA5I9mB5muSZajQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709707620; c=relaxed/simple; bh=31WL7qwBRWEZQeWaQ7hz0ixz5Js/VLU537mc0xPJblU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PExz8R+SCapF1kSRrItwCrb3C2eyK2ll/sMSMwHEEp1NZRvEBVvCENOEZbSsJQJxrtmscrp2aYcZveVeyUWBH0D3aQkYrQsoT2vGsUXm/c2UEzNJLidgflGHl4UkqSRTVN/T6MtNTVN8/vUKl+oOSdx8Tn2HflyUlJrj+Uavhoc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=S8O3rhl2; 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="S8O3rhl2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4BB9C433F1; Wed, 6 Mar 2024 06:46:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709707620; bh=31WL7qwBRWEZQeWaQ7hz0ixz5Js/VLU537mc0xPJblU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=S8O3rhl2hNET/ykaC8ZZ0q7tAOkFsdZLh0MjmbaElCK0rBt79Tr7s3mdHXpk9AckV Pa8W/BxYEPE7pk9t1n9EOiA+5ALlXnNPvdbVXTQDz4vZrw14PX2nS5Ip0TUF6zXDPH Ro8PgGzWZ7fo0a9LDn8DXzxqJDDdi7EA+EwU6ixI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52590: ocfs2: Avoid touching renamed directory if parent does not change Date: Wed, 6 Mar 2024 06:45:48 +0000 Message-ID: <2024030644-CVE-2023-52590-fca9@gregkh> X-Mailer: git-send-email 2.44.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=1766; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=31WL7qwBRWEZQeWaQ7hz0ixz5Js/VLU537mc0xPJblU=; b=owGbwMvMwCRo6H6F97bub03G02pJDKkvBCVCk3vf+oeHbNONCZw+P4Xr24bY+dpXlLNZ2qp2v 708Ydm/jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIXALDghsvFs9VX7HovEBe 5LzQVVvkFKu0NzHMj1Gt57dYulmvL53nwLOcaSKWa25HAwA= 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: Avoid touching renamed directory if parent does not change The VFS will not be locking moved directory if its parent does not change. Change ocfs2 rename code to avoid touching renamed directory if its parent does not change as without locking that can corrupt the filesystem. The Linux kernel CVE team has assigned CVE-2023-52590 to this issue. Affected and fixed versions =========================== Fixed in 6.7.4 with commit de940cede3c4 Fixed in 6.8-rc1 with commit 9d618d19b29c Please see https://www.kernel.org or 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-2023-52590 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/namei.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/de940cede3c41624e2de27f805b490999f419df9 https://git.kernel.org/stable/c/9d618d19b29c2943527e3a43da0a35aea91062fc