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 A88F81BDCD for ; Wed, 6 Mar 2024 06:47:02 +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=1709707622; cv=none; b=acWvIB+K3tbd9ZJ1yudWdFm3PQ9Fb/aDiv+Av6jibXl7rBC0rMHvVzPpJ7OcHprDXpKTmXpIBBLZ7oOAst3SYX5f940uwAyz+c6mEMNK2RElkXdw/FE12La5DZ3TT2BiUM5DZAxV5r04iRUDSdjRL4UAlqoNvc7iNjumtwbbz3A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709707622; c=relaxed/simple; bh=FD/a92s+2wckTXWshyLn1i44vJ/nca8gXV7TKyOBvu0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=X0uZPAbUJL1/KGcyhKM6AceiV+PBK6K4v1Kg6HMX023NOAJIbw8dhb9CnlZfDxL81ozmhSBd4SwJupkYAIAWEW9Tonb60ldq2yrVK4P5Vw/03s0cH8mA/5gh4P4oW/+YfR2TOMwhXw23KRD7mylwrKGvxnExScBhVE3ECyuTVbA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Q5elQuZw; 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="Q5elQuZw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B3BCC433F1; Wed, 6 Mar 2024 06:47:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709707622; bh=FD/a92s+2wckTXWshyLn1i44vJ/nca8gXV7TKyOBvu0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Q5elQuZwuJKtioo25IIwMHqThCYPGhMTe8MQhJaqnUUyCH8Dsciaf+6kXj2Fzh9ar dOszkxV51PQHRU2TM5zEJazGbOSIro06FriZkHohL96EfUVLwRWqcCeeoA2CNrlEIn 41dsjyQvht0e/9WrWjYDikE7OVaqncXD7LN43adI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52591: reiserfs: Avoid touching renamed directory if parent does not change Date: Wed, 6 Mar 2024 06:45:49 +0000 Message-ID: <2024030644-CVE-2023-52591-46a0@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=1893; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=FD/a92s+2wckTXWshyLn1i44vJ/nca8gXV7TKyOBvu0=; b=owGbwMvMwCRo6H6F97bub03G02pJDKkvBCWdV6xvm/E3UcvvyJ/fDsezGg6mdZ09+XUqT6Kn5 sTiWv/2jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiI+hOGBbtZbT6aHtmyiavw g9iP4++cL6owZjMsmJrKs2haDTdLae0v61NVlXbTpRZYAgA= 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: reiserfs: Avoid touching renamed directory if parent does not change The VFS will not be locking moved directory if its parent does not change. Change reiserfs 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-52591 to this issue. Affected and fixed versions =========================== Fixed in 6.6.16 with commit 17e1361cb91d Fixed in 6.7.4 with commit c04c162f82ac Fixed in 6.8-rc1 with commit 49db9b1b86a8 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-52591 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/reiserfs/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/17e1361cb91dc1325834da95d2ab532959d2debc https://git.kernel.org/stable/c/c04c162f82ac403917780eb6d1654694455d4e7c https://git.kernel.org/stable/c/49db9b1b86a82448dfaf3fcfefcf678dee56c8ed