f2fs: quota: fix quota flush failure during filesystem freeze

Summary

CVECVE-2026-139349
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:19:00 UTC
Updated2026-11-30 14:19:00 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 9ec535db9da76dafa05c89f8b58a0b1d7dddba1c f9470260ea0baef0a2307ff721ab37b7d3a66651 git Not specified
CNA Linux Linux affected eb85c2410d6f581e957cd03a644ff6ddbe592af9 261f8d4d69f66f7760a61bdd45c198505621dd45 git Not specified
CNA Linux Linux affected eb85c2410d6f581e957cd03a644ff6ddbe592af9 a5164d94b838e464d0b02a6b73af7da41f7109c1 git Not specified
CNA Linux Linux affected eb85c2410d6f581e957cd03a644ff6ddbe592af9 f6f8f34480c78eade6542faea6386c47c9b4c6b3 git Not specified
CNA Linux Linux affected d7acf0a6c87aa282c86a36dbaa2f92fda88c5884 git Not specified
CNA Linux Linux affected 6.12.114 6.12.119 semver Not specified
CNA Linux Linux affected 6.14.2 6.15 semver Not specified
CNA Linux Linux affected 6.15 Not specified
CNA Linux Linux unaffected 6.15 semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/261f8d4d69f66f7760a61bdd45c198505621dd45 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a5164d94b838e464d0b02a6b73af7da41f7109c1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f6f8f34480c78eade6542faea6386c47c9b4c6b3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f9470260ea0baef0a2307ff721ab37b7d3a66651 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report