Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability in the Linux kernel's Btrfs file system has been addressed. The issue arose in the function 'btrfs_copy_root()', where an unexpected generation in the extent buffer was only logged as a warning. This oversight allowed metadata with incorrect generation information to be saved. The vulnerability has been corrected by changing the behavior to abort the transaction and return an error code, preventing the persistence of such metadata.
The vulnerability could lead to the Btrfs file system allowing the persistence of metadata with incorrect generation information, potentially causing inconsistencies or corruption.
The vulnerability can be reproduced by triggering a Btrfs transaction that involves copying a root with an extent buffer that has an unexpected generation. This can be done by manipulating the transaction to include an extent buffer with a generation number that does not match the expected value, causing the 'btrfs_copy_root()' function to only issue a warning without aborting the transaction.
Users can update to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for updating the kernel can be found in the official Linux documentation.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.