CVE-2023-54187
NoneCVSS
—
EPSS
0.2%
Published
Dec 30, 2025
CISA due date
—
Cloudanix analysis
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
- Identify or create a Linux environment using the F2FS filesystem
- Perform or induce a directory move/rename operation that matches the vulnerable code path
- Trigger subsequent filesystem access or unmount to surface corruption
- 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
- CVE-2026-23226 In the Linux kernel, the following vulnerability has been resolved: ksmbd: add chann_lock… Also affects Kernel
- CVE-2026-23225 In the Linux kernel, the following vulnerability has been resolved: sched/mmcid: Don't… Also affects Kernel
- CVE-2026-23230 In the Linux kernel, the following vulnerability has been resolved: smb: client: split… Also affects Kernel
- CVE-2026-23224 In the Linux kernel, the following vulnerability has been resolved: erofs: fix UAF issue… Also affects Kernel
- CVE-2026-23227 In the Linux kernel, the following vulnerability has been resolved: drm/exynos: vidi: use… Also affects Kernel
- CVE-2026-23223 In the Linux kernel, the following vulnerability has been resolved: xfs: fix UAF in… Also affects Kernel
- CVE-2026-23228 In the Linux kernel, the following vulnerability has been resolved: smb: server: fix leak… Also affects Kernel
- CVE-2026-23229 In the Linux kernel, the following vulnerability has been resolved: crypto: virtio - Add… Also affects Kernel