{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "351df4b201157351c7d26bf12c3eeb9dbce98854"
            },
            {
              "fixed": "8071500a8124e5a6d47d901a8d5ffd91743107a1"
            },
            {
              "fixed": "eb02f218aacb36365e0ca2339cbae81fb05d31a5"
            },
            {
              "fixed": "1436031b33fa23ab1ce7df5bc5500093413e8acf"
            },
            {
              "fixed": "b885c7783c19c36c7bf899492a0bffcd68afa8c7"
            },
            {
              "fixed": "89479a27fa4e1e11f378b3724944eabceb84f114"
            },
            {
              "fixed": "aa807064473abd6f2cafe419fb77ea402d3e3104"
            },
            {
              "fixed": "8b4468ec023d0d1b4669dfb867588997cc03a06b"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.8.0"
            },
            {
              "fixed": "5.15.212"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.178"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.145"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.96"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.39"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68459.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix potential deadlock in gc_merge path of f2fs_balance_fs()\n\nWhen we mount device w/ gc_merge mount option, we may suffer below\npotential deadlock:\n\nKworker\t\t\t\t\tGC trehad\t\t\tTruncator\n- f2fs_write_cache_pages\n - f2fs_write_single_data_page\n  - f2fs_do_write_data_page\n   - folio_start_writeback  --- set writeback flag on folio\n   - f2fs_outplace_write_data\n   : cached folio in internal bio cache\n  - f2fs_balance_fs\n   - wake_up(gc_thread)\n   : wake up gc thread to run foreground GC\n   - finish_wait(fggc_wq)\n   : wait on the waitqueue --- wait on GC thread to finish the work\n\t\t\t\t\t\t\t\t\t- truncate_inode_pages_range\n\t\t\t\t\t\t\t\t\t - __filemap_get_folio(, FGP_LOCK)  --- lock folio\n\t\t\t\t\t\t\t\t\t - truncate_inode_partial_folio\n\t\t\t\t\t\t\t\t\t  - folio_wait_writeback            --- wait on writeback being cleared\n\t\t\t\t\t- do_garbage_collect\n\t\t\t\t\t - move_data_page\n\t\t\t\t\t  - f2fs_get_lock_data_folio\n\t\t\t\t\t   - lock on folio  --- blocked on folio's lock\n\nIn order to avoid such deadlock, let's call below functions to commit\ncached bios in GC_MERGE path of f2fs_balance_fs() as the same as we did\nin NOGC_MERGE path.\n- f2fs_submit_merged_write(sbi, DATA);\n- f2fs_submit_all_merged_ipu_writes(sbi);",
  "id": "CVE-2026-68459",
  "modified": "2026-08-16T03:31:26.737218030Z",
  "published": "2026-08-15T05:51:19.713Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1436031b33fa23ab1ce7df5bc5500093413e8acf"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8071500a8124e5a6d47d901a8d5ffd91743107a1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/89479a27fa4e1e11f378b3724944eabceb84f114"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8b4468ec023d0d1b4669dfb867588997cc03a06b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/aa807064473abd6f2cafe419fb77ea402d3e3104"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b885c7783c19c36c7bf899492a0bffcd68afa8c7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/eb02f218aacb36365e0ca2339cbae81fb05d31a5"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68459.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-68459"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "f2fs: fix potential deadlock in gc_merge path of f2fs_balance_fs()"
}