CVE-2023-54124
Deadlock Vulnerability in Linux Kernel f2fs During umount
Publication date: 2025-12-24
Last updated on: 2025-12-24
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability occurs in the Linux kernel's f2fs filesystem during the unmount (umount) process. If a checkpoint error (cp_error) is set, the function f2fs_wait_on_all_pages() incorrectly waits for all F2FS_WB_CP_DATA pages to be written back, which can cause a kernel bug due to a non-zero fsync_node_num after waiting. This leads to a kernel BUG and potential deadlock. The fix involves dropping all dirty pages during umount if cp_error is set, instead of redirtying them, to avoid the deadlock.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to crash (kernel BUG) during the unmounting of an f2fs filesystem if a checkpoint error occurs. This can lead to system instability, potential data loss, or denial of service as the system may deadlock or crash during filesystem operations.