{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "9ec535db9da76dafa05c89f8b58a0b1d7dddba1c"
            },
            {
              "fixed": "f9470260ea0baef0a2307ff721ab37b7d3a66651"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "eb85c2410d6f581e957cd03a644ff6ddbe592af9"
            },
            {
              "fixed": "261f8d4d69f66f7760a61bdd45c198505621dd45"
            },
            {
              "fixed": "a5164d94b838e464d0b02a6b73af7da41f7109c1"
            },
            {
              "fixed": "f6f8f34480c78eade6542faea6386c47c9b4c6b3"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "d7acf0a6c87aa282c86a36dbaa2f92fda88c5884"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "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"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139349.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: quota: fix quota flush failure during filesystem freeze\n\nQuota flush retries can be exhausted during filesystem freeze.\n\nfreeze_super() and the quota checkpoint may race as below.\n\nfreeze_super()                       f2fs_ckpt\n- down_write(\u0026sb-\u003es_umount)\n- sb-\u003es_writers.frozen = SB_FREEZE_PAGEFAULT\n- sync_filesystem()\n - f2fs_sync_fs()\n  - f2fs_issue_checkpoint()\n   - queue CP_SYNC -----------------\u003e - block_operations()\n                                      - down_read_trylock(s_umount)\n                                        : fails; freeze holds write lock\n                                      - quota flush retries exhausted\n                                      - set CP_QUOTA_NEED_FSCK_FLAG\n\nDuring the PAGEFAULT sync pass, freeze_super() holds s_umount for\nwrite, but umount_lock_holder is not set until f2fs_freeze().  Thus\nquota writeback tries to acquire s_umount again and can exhaust retries.\n\nWith checkpoint merge enabled, f2fs_issue_checkpoint() may dispatch\nCP_SYNC to f2fs_ckpt. That thread also cannot acquire the freeze lock.\n\nRecord current as umount_lock_holder around the VFS PAGEFAULT sync so\ncheckpoint runs in the freeze caller and quota flush uses its existing\ns_umount write lock.",
  "id": "CVE-2026-139349",
  "modified": "2026-12-01T20:45:42.640425839Z",
  "published": "2026-11-30T13:33:56.388Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/261f8d4d69f66f7760a61bdd45c198505621dd45"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a5164d94b838e464d0b02a6b73af7da41f7109c1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f6f8f34480c78eade6542faea6386c47c9b4c6b3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f9470260ea0baef0a2307ff721ab37b7d3a66651"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139349.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139349"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "f2fs: quota: fix quota flush failure during filesystem freeze"
}