Linux KernelOperating system · Linux

CVE-2026-53017

MEDIUM · 5.5 CVSS v3.1 Published 2026-06-24
Fix available
A fix is available. Upgrade to 7.0.10 or later.
See remediation →
57/100
Remediation priority · Elevated
Zero-click Patch available 8 weeks old

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix data loss caused by incorrect use of nat_entry flag Data loss can occur when fsync is performed on a newly created file (before any checkpoint has been written) concurrently with a checkpoint operation. 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_flush_nat_entries - f2fs_fsync_node_pages // no dirty node - f2fs_need_inode_block_update // return false SPO and lost 'file A' f2fs_flush_nat_entries() sets the IS_CHECKPOINTED and HAS_LAST_FSYNC flags for the nat_entry, but this does not mean that the checkpoint has actually completed successfully. However, f2fs_need_inode_block_update() checks these flags and incorrectly assumes that the checkpoint has finished. The root cause is that the semantics of IS_CHECKPOINTED and HAS_LAST_FSYNC are only guaranteed after the checkpoint write fully completes. This patch modifies f2fs_need_inode_block_update() to acquire the sbi->node_write lock before reading the nat_entry flags, ensuring that once IS_CHECKPOINTED and HAS_LAST_FSYNC are observed to be set, the checkpoint operation has already completed.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

A race condition in f2fs filesystem allows data loss when fsync is performed on a newly created file concurrently with checkpoint. The function f2fs_need_inode_block_update() incorrectly relies on IS_CHECKPOINTED and HAS_LAST_FSYNC nat_entry flags set during checkpoint to determine if inode blocks need updating, but these flags don't guarantee the checkpoint has actually completed. The fix acquires sbi->node_write lock before reading these flags.

MitigationApply the upstream kernel patch to f2fs_need_inode_block_update() to acquire node_write lock before reading nat_entry flags, ensuring checkpoint completion is properly synchronized.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Linux KernelOperating system
Affected:>= 3.8, < 7.0.10

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify if f2fs filesystem is in use
    Check mounted filesystems: mount | grep f2fs or cat /proc/mounts | grep f2fs
    Affected if No f2fs partitions are mounted - the system is not using the affected filesystem
  2. Check the running kernel version
    Run 'uname -r' and compare the version number against the affected range (>= 3.8 and < 7.0.10)
    Affected if Kernel version falls within 3.8 to 7.0.9 inclusive
  3. Verify f2fs module status
    Check if f2fs module is loaded: lsmod | grep f2fs or check /proc/filesystems for f2fs support
    Affected if f2fs is not loaded or compiled into the kernel - the vulnerable code path is not reachable
  4. Determine if workloads involve fsync on newly created files
    Review application I/O patterns; check if any workloads perform fsync() on newly created files on f2fs partitions
    Affected if No applications perform fsync on newly created f2fs files - the race condition cannot be triggered

The system is affected if it runs a kernel between 3.8 and 7.0.9 inclusive, uses f2fs filesystem, and has workloads that perform fsync on newly created files concurrently with checkpoint operations.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 7.0.10 or later
Fixed in 7.0.10
Vendor patch git.kernel.org →
Interim mitigation

Apply the upstream kernel patch to f2fs_need_inode_block_update() to acquire node_write lock before reading nat_entry flags, ensuring checkpoint completion is properly synchronized.

Recommended fix High confidence

Linux Kernel 7.0.10 or later

  1. Upgrade the Linux kernel to version 7.0.10 or later to resolve the f2fs data loss vulnerability
  2. Alternatively, apply the vendor patch that modifies f2fs_need_inode_block_update() to acquire sbi->node_write lock before reading nat_entry flags (IS_CHECKPOINTED and HAS_LAST_FSYNC)
  3. After upgrading or patching, verify the f2fs filesystem integrity using fsck.f2fs or mount with check=strict mode
Caveat Major kernel upgrade from 3.x/4.x/5.x/6.x series may require significant testing; ensure application and driver compatibility with the newer kernel

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Linux Kernel Scoped from the published advisory
  • Consultation2.0 h
  • Implementation3.0 h
  • Testing6.0 h
  • Review / QA2.0 h
13.0 hours of engineering $2,200
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,520.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-53017 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-53017 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data