CVE-2023-54067
Race Condition in Linux btrfs Free Space Root Deletion Causes Crash
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 is a race condition in the Linux kernel's btrfs filesystem. Specifically, when deleting the free space root from the dirty cow roots list, the code does not properly lock the list, leading to unsynchronized manipulation. This can cause concurrent operations on the list to interfere with each other, potentially resulting in system crashes or other unpredictable failures.
How can this vulnerability impact me? :
The vulnerability can cause system instability or crashes due to race conditions in the btrfs filesystem. This may lead to data loss, corruption, or downtime if the filesystem is in use when the race condition occurs.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version that includes the fix for the race condition in the btrfs filesystem. The fix involves proper locking of struct btrfs_fs_info::trans_lock before deleting the free space root from the dirty cow roots list. Applying the latest kernel patches or upgrading to a kernel version released after 2025-12-24 that contains this fix is recommended.