---
id: CVE-2023-52590
title: |-
  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
summary: |-
  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 t…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-667
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 6.7.4
patched:
  - linux_kernel 6.7.4
published: '2024-03-06'
updated: '2026-08-04'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-52590'
references:
  - url: 'https://git.kernel.org/stable/c/9d618d19b29c2943527e3a43da0a35aea91062fc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/de940cede3c41624e2de27f805b490999f419df9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9d618d19b29c2943527e3a43da0a35aea91062fc'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/de940cede3c41624e2de27f805b490999f419df9'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00169
epssPercentile: 0.05527
ingestedAt: '2026-08-05T05:58:02.761Z'
---

## Overview

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.

## Affected

- `linux_kernel < 6.7.4`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.7.4`
