What’s Vulnerable › Vulnerabilities

CVE-2024-26601: ext4: regenerate buddy after block freeing failed if under fc replay

Description

In the Linux kernel, the following vulnerability has been resolved: ext4: regenerate buddy after block freeing failed if under fc replay This mostly reverts commit 6bd97bf273bd ("ext4: remove redundant mb_regenerate_buddy()") and reintroduces mb_regenerate_buddy(). Based on code in mb_free_blocks(), fast commit replay can end up marking as free blocks that are already marked as such. This causes corruption of the buddy bitmap so we need to regenerate it in that case.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.211, 5.15.150, 6.1.78, 6.6.17. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-26601 or the next vulnerability affects your stack