CVE-2026-68459: f2fs: fix potential deadlock in gc_merge path of f2fs_balance_fs()

Published Aug 15, 2026
·
Updated

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

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

When we mount device w/ gcmerge 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 - truncateinodepagesrange - 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);

Affected Software

1 affected component
Linux Linux kernel

Event History

Aug 15, 2026
CVE Published
via MITRE·05:51 AM
Data Sourced
via MITRE·05:51 AM
Description
Data Sourced
via NVD·06:18 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-68459?

CVE-2026-68459 has a risk rating of 37.

2

What does CVE-2026-68459 affect?

CVE-2026-68459 affects the Linux kernel, specifically in the f2fs filesystem's gc_merge path.

3

How do I fix CVE-2026-68459?

To fix CVE-2026-68459, update to the latest version of the Linux kernel where the vulnerability has been patched.

4

What is the nature of the vulnerability in CVE-2026-68459?

CVE-2026-68459 is a potential deadlock issue that may occur when using the gc_merge mount option.

5

When was CVE-2026-68459 published?

CVE-2026-68459 was published on August 15, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203