CVE-2026-46175

Source
https://cve.org/CVERecord?id=CVE-2026-46175
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46175.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-46175
Downstream
Related
Published
2026-05-28T09:36:29.522Z
Modified
2026-07-08T08:13:37.963208190Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
f2fs: fix fsck inconsistency caused by FGGC of node block
Details

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 DENTBIT_SHIFT 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 f2fssyncnode_pages(), 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46175.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
da011cc0da8cf4a60ddf4d2ae8b42902a3d71e5f
Fixed
8be551f538dc5b64183e27bd45a7a0795263f760
Fixed
e7c6d30169b03307d27c4479563df79c08f3a746
Fixed
c3e238bd1f56993f205ef83889d406dfeaf717a8

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.7.0
Fixed
6.18.30
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.7

Database specific

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