# CVE-2024-26869: f2fs: fix to truncate meta inode pages forcely

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.25% (percentile 10, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2024-04-17T10:27:30.100Z
- **Modified:** 2026-10-30T13:17:22.617Z

## Who should check

- Anyone running Linux \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< 0721a4f85d12a364002a9476c84b930fbc993f83; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< c92f2927df860a60ba815d3ee610a944b92a8694; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< 77bfdb89cc222fc7bfe198eda77bdc427d5ac189; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< 04226d8e3c4028dc451e9d8777356ec0f7919253; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< 9f0c4a46be1fe9b97dbe66d49204c1371e3ece65
- Anyone running Linux 4.19

## Description

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

f2fs: fix to truncate meta inode pages forcely

Below race case can cause data corruption:

Thread A				GC thread
					- gc\_data\_segment
					 - ra\_data\_block
					  - locked meta\_inode page
- f2fs\_inplace\_write\_data
 - invalidate\_mapping\_pages
 : fail to invalidate meta\_inode page
   due to lock failure or dirty\|writeback
   status
 - f2fs\_submit\_page\_bio
 : write last dirty data to old blkaddr
					 - move\_data\_block
					  - load old data from meta\_inode page
					  - f2fs\_submit\_page\_write
					  : write old data to new blkaddr

Because invalidate\_mapping\_pages() will skip invalidating page which
has unclear status including locked, dirty, writeback and so on, so
we need to use truncate\_inode\_pages\_range() instead of
invalidate\_mapping\_pages() to make sure meta\_inode page will be dropped.

## Affected and fixed versions

- Linux: \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< 0721a4f85d12a364002a9476c84b930fbc993f83; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< c92f2927df860a60ba815d3ee610a944b92a8694; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< 77bfdb89cc222fc7bfe198eda77bdc427d5ac189; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< 04226d8e3c4028dc451e9d8777356ec0f7919253; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< 9f0c4a46be1fe9b97dbe66d49204c1371e3ece65 (cvelist)
- Linux: 4.19 (cvelist)

## Mitigation

- Upgrade Linux to 9f0c4a46be1fe9b97dbe66d49204c1371e3ece65 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-26869.md
Affected: Linux >= 6aa58d8ad20a3323f42274c25820a6f54192422d, < 0721a4f85d12a364002a9476c84b930fbc993f83; >= 6aa58d8ad20a3323f42274c25820a6f54192422d, < c92f2927df860a60ba815d3ee610a944b92a8694; >= 6aa58d8ad20a3323f42274c25820a6f54192422d, < 77bfdb89cc222fc7bfe198eda77bdc427d5ac189; >= 6aa58d8ad20a3323f42274c…
Fixed in: Linux 0721a4f85d12a364002a9476c84b930fbc993f83, Linux 77bfdb89cc222fc7bfe198eda77bdc427d5ac189, Linux 04226d8e3c4028dc451e9d8777356ec0f7919253, Linux 9f0c4a46be1fe9b97dbe66d49204c1371e3ece65

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-2024-26869 being exploited?

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

### How serious is CVE-2024-26869?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-26869?

Linux \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< 0721a4f85d12a364002a9476c84b930fbc993f83; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< c92f2927df860a60ba815d3ee610a944b92a8694; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< 77bfdb89cc222fc7bfe198eda77bdc427d5ac189; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< 04226d8e3c4028dc451e9d8777356ec0f7919253; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< 9f0c4a46be1fe9b97dbe66d49204c1371e3ece65; Linux 4.19.

### Is there a fix for CVE-2024-26869?

Yes. Fixed in Linux 0721a4f85d12a364002a9476c84b930fbc993f83, Linux 77bfdb89cc222fc7bfe198eda77bdc427d5ac189, Linux 04226d8e3c4028dc451e9d8777356ec0f7919253, Linux 9f0c4a46be1fe9b97dbe66d49204c1371e3ece65. Upgrade Linux to 9f0c4a46be1fe9b97dbe66d49204c1371e3ece65 or later.

### How do I check if I'm affected by CVE-2024-26869?

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/c92f2927df860a60ba815d3ee610a944b92a8694>
- patch: <https://git.kernel.org/stable/c/77bfdb89cc222fc7bfe198eda77bdc427d5ac189>
- patch: <https://git.kernel.org/stable/c/04226d8e3c4028dc451e9d8777356ec0f7919253>
- patch: <https://git.kernel.org/stable/c/9f0c4a46be1fe9b97dbe66d49204c1371e3ece65>
- other: <https://git.kernel.org/stable/c/0721a4f85d12a364002a9476c84b930fbc993f83>

## 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-2024-26869>

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