CVE-2026-46175
f2fs: fix fsck inconsistency caused by FGGC of node block
Check your servers for CVE-2026-46175
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-46175 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.
Description
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 ./test_sync // write inline inode and sync root@vm:/mnt/f2fs# rm -f 1 root@vm:/mnt/f2fs# sync root@vm:/mnt/f2fs# f2fs_io gc_range // move data block in sync mode and not write CP SPO, "fsck --dry-run" find inode has already checkpointed but still with DENT_BIT_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 f2fs_sync_node_pages(), which guarantees the dentry and fsync marks are cleared before writing.
This patch move the set/clear of the fsync|dentry marks into __write_node_folio to make the logic clearer, and ensures the fsync|dentry mark is cleared in FGGC.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
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 3.80% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from da011cc0da8cf4a60ddf4d2ae8b42902a3d71e5f, before 3b7a0bbb3444addddb139f42a74ab4492052fa27 affected from da011cc0da8cf4a60ddf4d2ae8b42902a3d71e5f, before d1820a5814eadb8e63ab6c7c8d04e28ce49836be affected from da011cc0da8cf4a60ddf4d2ae8b42902a3d71e5f, before 8ac93964658d0649337dcb3f6e38d77f8cdd86f3 affected from da011cc0da8cf4a60ddf4d2ae8b42902a3d71e5f, before 8be551f538dc5b64183e27bd45a7a0795263f760 affected from da011cc0da8cf4a60ddf4d2ae8b42902a3d71e5f, before e7c6d30169b03307d27c4479563df79c08f3a746 affected from da011cc0da8cf4a60ddf4d2ae8b42902a3d71e5f, before c3e238bd1f56993f205ef83889d406dfeaf717a8
Other versions: unaffected
|
| Linux |
affected 4.7 unaffected before 4.7 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.114 up to and including 6.12.* unaffected from 6.18.30 up to and including 6.18.* unaffected from 7.0.7 up to and including 7.0.* unaffected 7.1 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-46175 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-46175
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-46175
trivy image --scanners vuln IMAGE | grep CVE-2026-46175
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
- https://git.kernel.org/stable/c/3b7a0bbb3444addddb139f42a74ab4492052fa27 git.kernel.org
- https://git.kernel.org/stable/c/d1820a5814eadb8e63ab6c7c8d04e28ce49836be git.kernel.org
- https://git.kernel.org/stable/c/8ac93964658d0649337dcb3f6e38d77f8cdd86f3 git.kernel.org
- https://git.kernel.org/stable/c/8be551f538dc5b64183e27bd45a7a0795263f760 git.kernel.org
- https://git.kernel.org/stable/c/e7c6d30169b03307d27c4479563df79c08f3a746 git.kernel.org
- https://git.kernel.org/stable/c/c3e238bd1f56993f205ef83889d406dfeaf717a8 git.kernel.org
Source: the record CVE-2026-46175 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.
Vulnpocalypse