CVE-2026-68459

Source
https://cve.org/CVERecord?id=CVE-2026-68459
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68459.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-68459
Downstream
Published
2026-08-15T05:51:19.713Z
Modified
2026-08-16T03:48:26.261793155Z
Summary
f2fs: fix potential deadlock in gc_merge path of f2fs_balance_fs()
Details

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

f2fs: fix potential deadlock in gcmerge path of f2fsbalance_fs()

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

Kworker GC trehad Truncator - f2fswritecachepages - f2fswritesingledatapage - f2fsdowritedatapage - foliostartwriteback --- set writeback flag on folio - f2fsoutplacewritedata : cached folio in internal bio cache - f2fsbalancefs - wakeup(gcthread) : wake up gc thread to run foreground GC - finishwait(fggcwq) : wait on the waitqueue --- wait on GC thread to finish the work - truncateinodepages_range - __filemapgetfolio(, FGPLOCK) --- lock folio - truncateinodepartialfolio - foliowaitwriteback --- wait on writeback being cleared - dogarbagecollect - movedatapage - f2fsgetlockdatafolio - lock on folio --- blocked on folio's lock

In order to avoid such deadlock, let's call below functions to commit cached bios in GCMERGE path of f2fsbalancefs() as the same as we did in NOGCMERGE path. - f2fssubmitmergedwrite(sbi, DATA); - f2fssubmitallmergedipuwrites(sbi);

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68459.json",
    "cna_assigner": "Linux"
}
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
351df4b201157351c7d26bf12c3eeb9dbce98854
Fixed
8071500a8124e5a6d47d901a8d5ffd91743107a1
Fixed
eb02f218aacb36365e0ca2339cbae81fb05d31a5
Fixed
1436031b33fa23ab1ce7df5bc5500093413e8acf
Fixed
b885c7783c19c36c7bf899492a0bffcd68afa8c7
Fixed
89479a27fa4e1e11f378b3724944eabceb84f114
Fixed
aa807064473abd6f2cafe419fb77ea402d3e3104
Fixed
8b4468ec023d0d1b4669dfb867588997cc03a06b

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
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

Database specific

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