
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-54151 is a vulnerability in the Linux kernel's f2fs (Flash-Friendly File System) subsystem that causes a system crash due to insufficient free space handling in Log-structured File System (LFS) mode. When f2fs attempts a checkpoint during foreground garbage collection in LFS mode, a kernel panic occurs if the volume of dirty node and dentry pages generated by data migration exceeds available free space. The vulnerability was published on December 24, 2025, and affects the Linux kernel. No CVSS score has been officially assigned at this time, and the CVE status is listed as Unknown (Red Hat Advisory, Red Hat Bugzilla).
The root cause is a missing pre-condition check in the f2fs garbage collection path: before initiating a checkpoint during foreground GC in LFS mode, the kernel does not verify whether sufficient free sections exist to accommodate the dirty pages produced by data migration (CWE-754: Improper Check for Unusual or Exceptional Conditions). The crash manifests as a kernel panic in new_curseg(), triggered via the call chain f2fs_gc → f2fs_write_checkpoint → block_operations → f2fs_sync_node_pages → __write_node_page → f2fs_do_write_node_page → do_write_page → f2fs_allocate_data_block → allocate_segment_by_default → new_curseg. The fix adds a check to verify that free sections are sufficient before proceeding with the checkpoint during GC (Red Hat Bugzilla).
Successful triggering of this vulnerability results in a kernel panic (system crash), causing a complete loss of availability for the affected system. The impact is limited to availability — there is no evidence of confidentiality or integrity compromise. Systems running Linux with f2fs-formatted volumes mounted in LFS mode and subjected to heavy write workloads (e.g., large file creation followed by random writes on a nearly full device) are at risk (Red Hat Bugzilla).
There is no evidence of in-the-wild exploitation or public proof-of-concept exploit code for CVE-2023-54151. The vulnerability requires local access and specific conditions: an f2fs volume in LFS mode that is nearly full, with a workload generating sufficient dirty pages during GC to exhaust free space. The EPSS score is 0.017% (0.000170), indicating a very low probability of exploitation in the wild. It is not listed in the CISA Known Exploited Vulnerabilities catalog (Feedly).
new_curseg+0x48a/0x510 [f2fs] in system logs (/var/log/kern.log, dmesg, or journal).allocate_segment_by_default, f2fs_allocate_data_block, f2fs_write_checkpoint, and f2fs_gc in crash dumps or kernel oops logs.The upstream Linux kernel fix adds a free-section sufficiency check before checkpoint during garbage collection in LFS mode. Patches have been committed to stable kernel trees (commits ce71c61d661c, d11cef14f814, and f4631d295ae3 on kernel.org). Users should update to a patched kernel version that includes these fixes. As a workaround, avoid mounting f2fs filesystems in LFS mode on near-capacity devices, or ensure sufficient free space headroom to prevent the crash condition (Red Hat Bugzilla).
The vulnerability was reported via the upstream Linux CVE announcement mailing list (linux-cve-announce) on December 24, 2025, and tracked by Red Hat's Product Security team. No significant public commentary or media coverage has been identified beyond standard kernel security tracking (Red Hat Bugzilla).
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."