Cloudanix VulnDB

CVE-2023-54187

None

CVSS

—

EPSS

0.2%

Published

Dec 30, 2025

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in Linux file handling could corrupt data or crash systems when folders are moved, requiring a kernel update to prevent problems.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Moderate
Impact
Data Tampering
Component
OS kernel
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Improper input validation during directory rename operations in the F2FS filesystem allows metadata corruption under specific move conditions, matching the root cause previously fixed in ext4.

Why it matters to the business

Linux systems using F2FS may experience filesystem corruption, application crashes, or data inconsistency during routine directory operations, increasing operational risk for storage-heavy workloads.

How an attack unfolds

An attacker or automated workload triggers a directory rename sequence that exercises the unpatched F2FS rename path, causing on-disk metadata inconsistency that manifests as crashes or corruption on subsequent access.

How to fix it

Upgrade affected Linux kernels to a version containing commit 3e77036246123ff710fa2661dcaa12a45284f09b or later; apply the corresponding stable backports for all maintained branches.

How to confirm the fix worked

Confirm kernel version includes the referenced commit, then execute xfstests/generic/707 or equivalent directory-rename stress tests to verify absence of corruption.

Typical attack path

  1. Identify or create a Linux environment using the F2FS filesystem
  2. Perform or induce a directory move/rename operation that matches the vulnerable code path
  3. Trigger subsequent filesystem access or unmount to surface corruption
  4. Observe kernel oops, xfstests failures, or data inconsistency

How to detect it

Search kernel logs for F2FS-related oops or corruption messages around directory rename operations; review audit trails of rename syscalls on F2FS mounts for anomalous patterns matching the xfstests trigger.

What your security team should do

  • Prioritize kernel updates on all systems using F2FS for production storage
  • Add F2FS-specific filesystem integrity checks to monitoring and backup validation routines
  • Review and test rename-heavy workloads before deploying unpatched kernels

The record

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")

Affected packages

Ecosystem Package Introduced Fixed
Linux Kernel 0 5.4.243
Linux Kernel 3.19.0 5.4.243

Related vulnerabilities