PT-2025-8762
CVE-2024-57975
·
Published
2025-01-13
·
Updated
2026-10-21
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to the version that includes the fix for the issue described.
Description
A bug in the Linux kernel's btrfs module can cause a crash when the
run delalloc nocow() function fails, leading to a VM BUG ON FOLIO() error. This issue is related to the error handling of run delalloc nocow() and the clearing of folio dirty flags. The problem occurs when a preallocated extent is not properly handled, resulting in an attempt to mark folios as writeback while they are unlocked.Recommendations
To resolve this issue, apply the fix that introduces a helper function to clear folio dirty flags and start/end writeback, and ensure that the
run delalloc nocow() function properly handles errors and clears folio dirty flags.
As a temporary workaround, consider disabling the btrfs module until a patch is available. Found an issue in the description? Have something to add? Feel free to write us 👾