
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-54124 is a kernel bug in the Linux f2fs (Flash-Friendly File System) subsystem that causes a kernel BUG assertion failure during umount() when the cp_error flag is set. The flaw was disclosed on December 24, 2025, and affects the Linux kernel across a wide range of stable branches. Specifically, the bug manifests in f2fs_put_super() at fs/f2fs/super.c:1627 when fsync_node_num is non-zero at unmount time. Patches were backported to kernel versions 4.19.284, 5.4.244, 5.10.181, 5.15.113, 6.1.30, 6.3.4, and 6.4. No CVSS base score has been assigned (recorded as 0.0) (Feedly, ENISA EUVD).
The root cause is improper handling of dirty page writeback during the f2fs filesystem unmount path when a checkpoint error (cp_error) is active. When cp_error is set, f2fs_wait_on_all_pages() may return before all F2FS_WB_CP_DATA pages have been written back, leaving fsync_node_num non-zero and triggering the f2fs_bug_on() assertion in f2fs_put_super(). The fix modifies the unmount path to drop all dirty pages rather than redirtying them, preventing a potential deadloop in f2fs_wait_on_all_pages(). This is classified as an improper error handling / resource management issue (related to CWE-755: Improper Handling of Exceptional Conditions). The bug was originally identified via the xfstest generic/361 test case (Feedly).
The primary impact is a kernel panic (BUG assertion) triggered during unmount of an f2fs filesystem when a checkpoint error condition exists, resulting in a denial of service (system crash or forced reboot). This affects availability of systems using f2fs-formatted storage, which is common on Android devices and embedded Linux systems. There is no evidence of confidentiality or integrity impact beyond the crash itself, and no lateral movement potential has been identified (Feedly, ENISA EUVD).
No public exploit code or proof-of-concept has been identified for CVE-2023-54124. The vulnerability requires a local user or process to trigger an f2fs unmount while a checkpoint error is active, making exploitation dependent on specific filesystem state conditions. The EPSS score is approximately 0.024% (0.000240), indicating very low probability of exploitation in the wild. There is no evidence of in-the-wild exploitation, no threat actor attribution, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Feedly).
Apply the upstream Linux kernel patches that fix the f2fs unmount path. Fixed versions include kernel stable releases 4.19.284, 5.4.244, 5.10.181, 5.15.113, 6.1.30, 6.3.4, and 6.4. The relevant upstream commits are available at the kernel stable git repository (e.g., 92575f05a32d, 4ceedc2f8bdf, ad87bd313f70, d8f4ad5f3979, 7741ddc882a0, 82c3d6e9db41, c9b3649a934d). As a workaround, administrators can avoid unmounting f2fs filesystems in a cp_error state without first ensuring all dirty pages are flushed, though upgrading to a patched kernel is the recommended remediation (Feedly, ENISA EUVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."