VDB

CVE-2026-53368

CVE-2026-53368 PUBLISHED CVSS 7.1 HIGH

f2fs: fix fsck inconsistency caused by incorrect nat_entry flag usage

Reported by linux · Published July 19, 2026

In the Linux kernel, the following vulnerability has been resolved: f2fs: fix fsck inconsistency caused by incorrect nat_entry flag usage f2fs_need_dentry_mark() reads nat_entry flags without mutual exclusion with the checkpoint path, which can result in an incorrect inode block marking state. The scenario is as follows: create & write & fsync 'file A' write checkpoint - f2fs_do_sync_file // inline inode - f2fs_write_inode // inode folio is dirty - f2fs_write_checkpoint - f2fs_flush_merged_writes - f2fs_sync_node_pages - f2fs_fsync_node_pages // no dirty node - f2fs_need_inode_block_update // return true - f2fs_fsync_node_pages // inode dirtied - f2fs_need_dentry_mark //return true - f2fs_flush_nat_entries - f2fs_write_checkpoint end - __write_node_folio // inode with DENT_BIT_SHIFT set SPO, "fsck --dry-run" find inode has already checkpointed but still with DENT_BIT_SHIFT set The state observed by f2fs_need_dentry_mark() can differ from the state observed in __write_node_folio() after acquiring sbi->node_write. The root cause is that the semantics of IS_CHECKPOINTED and HAS_FSYNCED_INODE are only guaranteed after the checkpoint write has fully completed. This patch moves set_dentry_mark() into __write_node_folio() and protects it with the sbi->node_write lock.

EPSS 0.17% · 6.6th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux7.0.7, 6.18.30

Risk scores

CVSS 3.1
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
EPSS Score
0.17%
6.6th percentile

Affected products

VendorProductVersions
LinuxLinux88bd02c9472a166b706284a34a84f1243322d782, 88bd02c9472a166b706284a34a84f1243322d782, 88bd02c9472a166b706284a34a84f1243322d782
LinuxLinux3.18, 0, 6.1.191
linuxlinux_kernel3.18, 3.18, 3.18
LinuxLinux88bd02c9472a166b706284a34a84f1243322d782, 88bd02c9472a166b706284a34a84f1243322d782, 88bd02c9472a166b706284a34a84f1243322d782

Timeline

  • Jul 19, 2026 Coalition ESS Score
  • Jul 19, 2026 CVE Published
  • Jul 20, 2026 Security Advisory (31 in total, the first dated here)
  • Aug 7, 2026 EPSS Score (11 in total, the first dated here)
  • Aug 12, 2026 Distribution Patch (30 in total, the first dated here)
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-53368
vulnetix vdb fixes CVE-2026-53368

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-53368/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›