CVE-2026-139349
f2fs: quota: fix quota flush failure during filesystem freeze
Check your servers for CVE-2026-139349
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139349 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.5% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 9ec535db9da76dafa05c89f8b58a0b1d7dddba1c, before f9470260ea0baef0a2307ff721ab37b7d3a66651 affected from eb85c2410d6f581e957cd03a644ff6ddbe592af9, before 261f8d4d69f66f7760a61bdd45c198505621dd45 affected from eb85c2410d6f581e957cd03a644ff6ddbe592af9, before a5164d94b838e464d0b02a6b73af7da41f7109c1 affected from eb85c2410d6f581e957cd03a644ff6ddbe592af9, before f6f8f34480c78eade6542faea6386c47c9b4c6b3 affected d7acf0a6c87aa282c86a36dbaa2f92fda88c5884 affected from 6.12.114, before 6.12.119 affected from 6.14.2, before 6.15
Other versions: unaffected
|
| Linux |
affected 6.15 unaffected before 6.15 unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139349 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139349
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139349
trivy image --scanners vuln IMAGE | grep CVE-2026-139349
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/f9470260ea0baef0a2307ff721ab37b7d3a66651 git.kernel.org
- https://git.kernel.org/stable/c/261f8d4d69f66f7760a61bdd45c198505621dd45 git.kernel.org
- https://git.kernel.org/stable/c/a5164d94b838e464d0b02a6b73af7da41f7109c1 git.kernel.org
- https://git.kernel.org/stable/c/f6f8f34480c78eade6542faea6386c47c9b4c6b3 git.kernel.org
Source: the record CVE-2026-139349 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse