# CVE-2026-23267: f2fs: fix IS\_CHECKPOINTED flag inconsistency issue caused by concurrent atomic commit and checkpoint writes

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-26)
- **Published:** 2026-03-18T17:46:09.116Z
- **Modified:** 2026-06-17T10:21:13.140Z

## Who should check

- Anyone running Linux \>= 608514deba38c8611ad330d6a3c8e2b9a1f68e4b, \< 32bc3c9fe18881d50dd51fd5f26d19fe1190dc0d; \>= 608514deba38c8611ad330d6a3c8e2b9a1f68e4b, \< 75e19da068adf0dc5dd269dd157392434b9117d4; \>= 608514deba38c8611ad330d6a3c8e2b9a1f68e4b, \< 962c167b0f262b9962207fbeaa531721d55ea00e; \>= 608514deba38c8611ad330d6a3c8e2b9a1f68e4b, \< bd66b4c487d5091d2a65d6089e0de36f0c26a4c7; \>= 608514deba38c8611ad330d6a3c8e2b9a1f68e4b, \< ed81bc5885460905f9160e7b463e5708fd056324; \>= 608514deba38c8611ad330d6a3c8e2b9a1f68e4b, \< 7633a7387eb4d0259d6bea945e1d3469cd135bbc
- Anyone running Linux 4.7

## Description

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

f2fs: fix IS\_CHECKPOINTED flag inconsistency issue caused by concurrent atomic commit and checkpoint writes

During SPO tests, when mounting F2FS, an -EINVAL error was returned from
f2fs\_recover\_inode\_page. The issue occurred under the following scenario

Thread A                                     Thread B
f2fs\_ioc\_commit\_atomic\_write
 - f2fs\_do\_sync\_file // atomic = true
  - f2fs\_fsync\_node\_pages
    : last\_folio = inode folio
    : schedule before folio\_lock(last\_folio) f2fs\_write\_checkpoint
                                              - block\_operations// writeback last\_folio
                                              - schedule before f2fs\_flush\_nat\_entries
    : set\_fsync\_mark(last\_folio, 1)
    : set\_dentry\_mark(last\_folio, 1)
    : folio\_mark\_dirty(last\_folio)
    - \_\_write\_node\_folio(last\_folio)
      : f2fs\_down\_read(&sbi-\>node\_write)//block
                                              - f2fs\_flush\_nat\_entries
                                                : {struct nat\_entry}-\>flag \|= BIT(IS\_CHECKPOINTED)
                                              - unblock\_operations
                                                : f2fs\_up\_write(&sbi-\>node\_write)
                                             f2fs\_write\_checkpoint//return
      : f2fs\_do\_write\_node\_page()
f2fs\_ioc\_commit\_atomic\_write//return
                                             SPO

Thread A calls f2fs\_need\_dentry\_mark(sbi, ino), and the last\_folio has
already been written once. However, the {struct nat\_entry}-\>flag did not
have the IS\_CHECKPOINTED set, causing set\_dentry\_mark(last\_folio, 1) and
write last\_folio again after Thread B finishes f2fs\_write\_checkpoint.

After SPO and reboot, it was detected that {struct node\_info}-\>blk\_addr
was not NULL\_ADDR because Thread B successfully write the checkpoint.

This issue only occurs in atomic write scenarios. For regular file
fsync operations, the folio must be dirty. If
block\_operations-\>f2fs\_sync\_node\_pages successfully submit the folio
write, this path will not be executed. Otherwise, the
f2fs\_write\_checkpoint will need to wait for the folio write submission
to complete, as sbi-\>nr\_pages\[F2FS\_DIRTY\_NODES\] \> 0. Therefore, the
situation where f2fs\_need\_dentry\_mark checks that the {struct
nat\_entry}-\>flag /wo the IS\_CHECKPOINTED flag, but the folio write has
already been submitted, will not occur.

Therefore, for atomic file fsync, sbi-\>node\_write should be acquired
through \_\_write\_node\_folio to ensure that the IS\_CHECKPOINTED flag
correctly indicates that the checkpoint write has been completed.

## Affected and fixed versions

- Linux: \>= 608514deba38c8611ad330d6a3c8e2b9a1f68e4b, \< 32bc3c9fe18881d50dd51fd5f26d19fe1190dc0d; \>= 608514deba38c8611ad330d6a3c8e2b9a1f68e4b, \< 75e19da068adf0dc5dd269dd157392434b9117d4; \>= 608514deba38c8611ad330d6a3c8e2b9a1f68e4b, \< 962c167b0f262b9962207fbeaa531721d55ea00e; \>= 608514deba38c8611ad330d6a3c8e2b9a1f68e4b, \< bd66b4c487d5091d2a65d6089e0de36f0c26a4c7; \>= 608514deba38c8611ad330d6a3c8e2b9a1f68e4b, \< ed81bc5885460905f9160e7b463e5708fd056324; \>= 608514deba38c8611ad330d6a3c8e2b9a1f68e4b, \< 7633a7387eb4d0259d6bea945e1d3469cd135bbc (cvelist)
- Linux: 4.7 (cvelist)

## Mitigation

- Upgrade Linux to 7633a7387eb4d0259d6bea945e1d3469cd135bbc or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23267. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23267.md
Affected: Linux >= 608514deba38c8611ad330d6a3c8e2b9a1f68e4b, < 32bc3c9fe18881d50dd51fd5f26d19fe1190dc0d; >= 608514deba38c8611ad330d6a3c8e2b9a1f68e4b, < 75e19da068adf0dc5dd269dd157392434b9117d4; >= 608514deba38c8611ad330d6a3c8e2b9a1f68e4b, < 962c167b0f262b9962207fbeaa531721d55ea00e; >= 608514deba38c8611ad330d…
Fixed in: Linux 32bc3c9fe18881d50dd51fd5f26d19fe1190dc0d, Linux 75e19da068adf0dc5dd269dd157392434b9117d4, Linux 962c167b0f262b9962207fbeaa531721d55ea00e, Linux 7633a7387eb4d0259d6bea945e1d3469cd135bbc

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23267 being exploited?

There is no confirmed exploitation: CVE-2026-23267 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23267?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23267?

Linux \>= 608514deba38c8611ad330d6a3c8e2b9a1f68e4b, \< 32bc3c9fe18881d50dd51fd5f26d19fe1190dc0d; \>= 608514deba38c8611ad330d6a3c8e2b9a1f68e4b, \< 75e19da068adf0dc5dd269dd157392434b9117d4; \>= 608514deba38c8611ad330d6a3c8e2b9a1f68e4b, \< 962c167b0f262b9962207fbeaa531721d55ea00e; \>= 608514deba38c8611ad330d6a3c8e2b9a1f68e4b, \< bd66b4c487d5091d2a65d6089e0de36f0c26a4c7; \>= 608514deba38c8611ad330d6a3c8e2b9a1f68e4b, \< ed81bc5885460905f9160e7b463e5708fd056324; \>= 608514deba38c8611ad330d6a3c8e2b9a1f68e4b, \< 7633a7387eb4d0259d6bea945e1d3469cd135bbc; Linux 4.7.

### Is there a fix for CVE-2026-23267?

Yes. Fixed in Linux 32bc3c9fe18881d50dd51fd5f26d19fe1190dc0d, Linux 75e19da068adf0dc5dd269dd157392434b9117d4, Linux 962c167b0f262b9962207fbeaa531721d55ea00e, Linux 7633a7387eb4d0259d6bea945e1d3469cd135bbc. Upgrade Linux to 7633a7387eb4d0259d6bea945e1d3469cd135bbc or later.

### How do I check if I'm affected by CVE-2026-23267?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/32bc3c9fe18881d50dd51fd5f26d19fe1190dc0d>
- patch: <https://git.kernel.org/stable/c/75e19da068adf0dc5dd269dd157392434b9117d4>
- patch: <https://git.kernel.org/stable/c/962c167b0f262b9962207fbeaa531721d55ea00e>
- patch: <https://git.kernel.org/stable/c/bd66b4c487d5091d2a65d6089e0de36f0c26a4c7>
- patch: <https://git.kernel.org/stable/c/ed81bc5885460905f9160e7b463e5708fd056324>
- patch: <https://git.kernel.org/stable/c/7633a7387eb4d0259d6bea945e1d3469cd135bbc>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23267>

HTML: <https://flawdb.com/CVE-2026-23267> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23267>
