CVE Database›Document archive›CVE-2023-52590

CVE-2023-52590

kernel: ocfs2: Avoid touching renamed directory if parent does not change

Loading…

Severity

Low

Red Hat Product Security

7.1

CVSS 3.1

Review impact separately from score.

Published · March 6, 2024

Updated · September 27, 2026

Description

This Linux kernel bug affects the Oracle Cluster File System v2 (OCFS2). The issue arises during directory rename operations when a moved directory's parent remains the same, a scenario where the Virtual File System (VFS) does not natively lock the directory. Because the OCFS2 code was previously touching the renamed directory without ensuring it was properly locked, this flaw could potentially be triggered by a local user to cause filesystem corruption. Patched kernel versions resolve the vulnerability by updating the OCFS2 rename code to avoid touching the renamed directory if its parent does not change, preventing the unsafe, lockless operations that could corrupt data on disk.

Statement

This vulnerability is rated as having a Low impact because exploitation requires local access with permissions to perform directory renames on an OCFS2 file system. In standard Red Hat Enterprise Linux environments, OCFS2 is neither supported nor enabled by default. Furthermore, Red Hat Enterprise Linux kernels do not incorporate the upstream changes to directory locking behavior that exposed this issue, leaving typical enterprise deployments unaffected.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

CWE-413 · Improper Resource Locking