CVE-2026-139349

Source
https://cve.org/CVERecord?id=CVE-2026-139349
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139349.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139349
Downstream
Published
2026-11-30T13:33:56Z
Modified
2026-11-30T15:02:28Z
Summary
f2fs: quota: fix quota flush failure during filesystem freeze
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139349.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9ec535db9da76dafa05c89f8b58a0b1d7dddba1c
Fixed
f9470260ea0baef0a2307ff721ab37b7d3a66651
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
eb85c2410d6f581e957cd03a644ff6ddbe592af9
Fixed
261f8d4d69f66f7760a61bdd45c198505621dd45
Fixed
a5164d94b838e464d0b02a6b73af7da41f7109c1
Fixed
f6f8f34480c78eade6542faea6386c47c9b4c6b3
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d7acf0a6c87aa282c86a36dbaa2f92fda88c5884

Affected versions

v6.*
v6.12.114
v6.12.115
v6.12.116
v6.12.117
v6.12.118
v6.14.10
v6.14.11
v6.14.2
v6.14.3
v6.14.4
v6.14.5
v6.14.6
v6.14.7
v6.14.8
v6.14.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139349.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.12.114
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.14.2
Fixed
6.15
Type
ECOSYSTEM
Events
Introduced
6.15.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139349.json"