CVE-2026-46175: f2fs: fix fsck inconsistency caused by FGGC of node block

Published May 28, 2026
·
Updated

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

f2fs: fix fsck inconsistency caused by FGGC of node block

During FGGC node block migration, fsck may incorrectly treat the migrated node block as fsync-written data.

The reproduction scenario: root@vm:/mnt/f2fs# seq 1 2048 | xargs -n 1 ./testsync // write inline inode and sync root@vm:/mnt/f2fs# rm -f 1 root@vm:/mnt/f2fs# sync root@vm:/mnt/f2fs# f2fsio gcrange // move data block in sync mode and not write CP SPO, "fsck --dry-run" find inode has already checkpointed but still with DENTBITSHIFT set

The root cause is that GC does not clear the dentry mark and fsync mark during node block migration, leading fsck to misinterpret them as user-issued fsync writes.

In BGGC mode, node block migration is handled by f2fssyncnodepages(), which guarantees the dentry and fsync marks are cleared before writing.

This patch move the set/clear of the fsync|dentry marks into writenodefolio to make the logic clearer, and ensures the fsync|dentry mark is cleared in FGGC.

Affected Software

3 affected components
Linux f2fs (Linux kernel)
Linux Linux kernel>=4.7<6.18.30
Linux Linux kernel>=6.19<7.0.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel f2fs to a version that resolves this vulnerability.

    Patch f2fs: fix fsck inconsistency caused by FGGC of node block
  2. Compensating control

    Avoid running node block migration on FGGC until the fix is applied, since the bug can make “fsck --dry-run” misinterpret migrated node blocks as fsync-written data due to uncleared dentry/fsync marks.

Event History

May 28, 2026
CVE Published
via MITRE·09:36 AM
Data Sourced
via MITRE·09:36 AM
DescriptionSeverity
Data Sourced
via NVD·10:16 AM
RemedyDescriptionSeverityAffected Software
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-46175?

The severity of CVE-2026-46175 is high with a score of 7.1.

2

How do I fix CVE-2026-46175?

To fix CVE-2026-46175, upgrade to the latest version of the Linux kernel that includes the patch for this vulnerability.

3

What systems are affected by CVE-2026-46175?

CVE-2026-46175 affects systems running the f2fs file system in the Linux kernel.

4

What is the impact of CVE-2026-46175?

The impact of CVE-2026-46175 includes potential data corruption during the FGGC node block migration.

5

How can I mitigate the risks of CVE-2026-46175 before applying a fix?

To mitigate risks from CVE-2026-46175, avoid using the f2fs file system until the upgrade can be performed.

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