f2fs: quota: fix quota flush failure during filesystem freeze
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
f2fs: quota: fix quota flush failure during filesystem freeze
Quota flush retries can be exhausted during filesystem freeze.
freeze_super() and the quota checkpoint may race as below.
freeze_super() f2fs_ckpt - down_write(&sb->s_umount) - sb->s_writers.frozen = SB_FREEZE_PAGEFAULT - sync_filesystem() - f2fs_sync_fs() - f2fs_issue_checkpoint() - queue CP_SYNC -----------------> - block_operations() - down_read_trylock(s_umount) : fails; freeze holds write lock - quota flush retries exhausted - set CP_QUOTA_NEED_FSCK_FLAG
During the PAGEFAULT sync pass, freeze_super() holds s_umount for write, but umount_lock_holder is not set until f2fs_freeze(). Thus quota writeback tries to acquire s_umount again and can exhaust retries.
With checkpoint merge enabled, f2fs_issue_checkpoint() may dispatch CP_SYNC to f2fs_ckpt. That thread also cannot acquire the freeze lock.
Record current as umount_lock_holder around the VFS PAGEFAULT sync so checkpoint runs in the freeze caller and quota flush uses its existing s_umount write lock.
| Product | Versions |
|---|---|
| Linux Linux | 9ec535db9da76dafa05c89f8b58a0b1d7dddba1c to before f9470260ea0baef0a2307ff721ab37b7d3a66651 Affectedeb85c2410d6f581e957cd03a644ff6ddbe592af9 to before 261f8d4d69f66f7760a61bdd45c198505621dd45 Affectedeb85c2410d6f581e957cd03a644ff6ddbe592af9 to before a5164d94b838e464d0b02a6b73af7da41f7109c1 Affectedeb85c2410d6f581e957cd03a644ff6ddbe592af9 to before f6f8f34480c78eade6542faea6386c47c9b4c6b3 Affectedd7acf0a6c87aa282c86a36dbaa2f92fda88c5884 Affected6.12.114 to before 6.12.119 Affected6.14.2 to before 6.15 Affected |
| Linux Linux | 6.15 Affectedbefore 6.15 Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.