PT-2025-3584 · Linux+2 · Linux Kernel+2
Published
2024-12-23
·
Updated
2025-05-29
·
CVE-2024-57806
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 6.12.8
Description
The issue is related to a transaction atomicity bug when enabling simple quotas in the Linux kernel. Specifically, when enabling quotas, the
BTRFS QGROUP STATUS FLAG SIMPLE MODE flag is set, but the BTRFS FEATURE INCOMPAT SIMPLE QUOTA incompat bit is only set after the transaction is committed. This can lead to an assertion failure if the filesystem is unmounted without starting and committing another transaction, or if there is a power failure. The issue can be reproduced using a specific reproducer script.Recommendations
To resolve the issue, update to a Linux kernel version 6.12.8 or later.
As a temporary workaround, consider avoiding the use of simple quotas until a patch is available.
Exploit
Fix
Assertion Failure
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linuxmint
Linux Kernel
Ubuntu