Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
- >= 6.1, < 6.1.0-rc1
A vulnerability in the Linux kernel's Btrfs file system has been addressed, concerning the handling of exclusive operations during balance and device addition processes. The issue arose because the balance operation, when paused, could lead to conflicting states if multiple threads attempted to initiate balancing and add devices simultaneously. This vulnerability is present in several versions of the Linux kernel.
Exploitation of this vulnerability could lead to assertion failures, causing the system to halt the Btrfs operation and potentially disrupt file system management tasks.
The vulnerability can be reproduced by concurrently adding multiple devices to the same Btrfs mount point while attempting to start a balance operation. This can be done using a script or tool that automates the device addition process, such as 'repro', which is mentioned in the context. The 'repro' tool fails to add the device '/dev/vda' due to the assertion error, demonstrating the vulnerability in action.
Users can upgrade to the latest stable version of the Linux kernel, where this vulnerability has been fixed.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.