CVE-2026-68459

f2fs: fix potential deadlock in gc_merge path of f2fs_balance_fs()

No CVSS score yet EPSS 0.17%

Published 15 Aug 2026 Updated 17 Aug 2026 CNA: Linux

Check your servers for CVE-2026-68459

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-68459 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.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

f2fs: fix potential deadlock in gc_merge path of f2fs_balance_fs()

When we mount device w/ gc_merge mount option, we may suffer below potential deadlock:

Kworker GC trehad Truncator - f2fs_write_cache_pages - f2fs_write_single_data_page - f2fs_do_write_data_page - folio_start_writeback --- set writeback flag on folio - f2fs_outplace_write_data : cached folio in internal bio cache - f2fs_balance_fs - wake_up(gc_thread) : wake up gc thread to run foreground GC - finish_wait(fggc_wq) : wait on the waitqueue --- wait on GC thread to finish the work - truncate_inode_pages_range - __filemap_get_folio(, FGP_LOCK) --- lock folio - truncate_inode_partial_folio - folio_wait_writeback --- wait on writeback being cleared - do_garbage_collect - move_data_page - f2fs_get_lock_data_folio - lock on folio --- blocked on folio's lock

In order to avoid such deadlock, let's call below functions to commit cached bios in GC_MERGE path of f2fs_balance_fs() as the same as we did in NOGC_MERGE path. - f2fs_submit_merged_write(sbi, DATA); - f2fs_submit_all_merged_ipu_writes(sbi);

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.98% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 351df4b201157351c7d26bf12c3eeb9dbce98854, before 8071500a8124e5a6d47d901a8d5ffd91743107a1
affected from 351df4b201157351c7d26bf12c3eeb9dbce98854, before eb02f218aacb36365e0ca2339cbae81fb05d31a5
affected from 351df4b201157351c7d26bf12c3eeb9dbce98854, before 1436031b33fa23ab1ce7df5bc5500093413e8acf
affected from 351df4b201157351c7d26bf12c3eeb9dbce98854, before b885c7783c19c36c7bf899492a0bffcd68afa8c7
affected from 351df4b201157351c7d26bf12c3eeb9dbce98854, before 89479a27fa4e1e11f378b3724944eabceb84f114
affected from 351df4b201157351c7d26bf12c3eeb9dbce98854, before aa807064473abd6f2cafe419fb77ea402d3e3104
affected from 351df4b201157351c7d26bf12c3eeb9dbce98854, before 8b4468ec023d0d1b4669dfb867588997cc03a06b
Other versions: unaffected
Linux
affected 3.8
unaffected before 3.8
unaffected from 5.15.212 up to and including 5.15.*
unaffected from 6.1.178 up to and including 6.1.*
unaffected from 6.6.145 up to and including 6.6.*
unaffected from 6.12.96 up to and including 6.12.*
unaffected from 6.18.39 up to and including 6.18.*
unaffected from 7.1.5 up to and including 7.1.*
unaffected 7.2 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-68459 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-68459

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-68459
trivy image --scanners vuln IMAGE | grep CVE-2026-68459

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

Source: the record CVE-2026-68459 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.