# CVE-2026-93235: f2fs: fix to zero post-EOF data when extending file size

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-09-24T15:33:33.241Z
- **Modified:** 2026-10-19T10:17:14.553Z

## Who should check

- Anyone running Linux \>= fbfa2cc58d5363f780f4f2ad0243a47185c2bb2a, \< 6882d458d2e403f6ba7b45542dd31a6b7531eb2e; \>= fbfa2cc58d5363f780f4f2ad0243a47185c2bb2a, \< 32c7f11a24268ba8d3bb50ea7f54d33f698cd253; \>= fbfa2cc58d5363f780f4f2ad0243a47185c2bb2a, \< 91ec55ddc097ccddd25ffb95a3d079b2ef362372; \>= fbfa2cc58d5363f780f4f2ad0243a47185c2bb2a, \< c42608c09b6b5d5967bf211c255914c068c2cde1; \>= fbfa2cc58d5363f780f4f2ad0243a47185c2bb2a, \< 5eced87b7d19dbc76ebdddaf322046f9ac582fcb
- Anyone running Linux 3.8

## Description

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

f2fs: fix to zero post-EOF data when extending file size

generic/794  4s ... - output mismatch (see /share/git/fstests/results//generic/794.out.bad)
    --- tests/generic/794.out   2026-06-12 08:46:32.766426241 +0800
    +++ /share/git/fstests/results//generic/794.out.bad 2026-07-05 18:32:55.000000000 +0800
    @@ -1,4 +1,16 @@
     QA output created by 794
     append\_write
    +FAIL: non-zero data in gap \[4080,4096) after shutdown+remount
    +000000 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a 5a  \>ZZZZZZZZZZZZZZZZ\<
    +\*
    +001000
     truncate\_up
    ...
    (Run 'diff -u /share/git/fstests/tests/generic/794.out /share/git/fstests/results//generic/794.out.bad'  to see the entire diff)
Ran: generic/794
Failures: generic/794
Failed 1 of 1 tests

Steps of generic/794:
1. write 4096 bytes to file w/ 0x5a
2. use fiemap to get PBA of first block in file
3. truncate file to 4080
4. umount; write 4096 bytes to file w/ 0x5a directly via PBA; mount
5. extend filesize via
   a) append 4096 from offset 4096, or
   b) truncate 8192, or
   c) fallocate 4096 from offset 4096
6. verify the gap is zeroed in memory \[4080,4096)
7. sync range 4096 from offset 4096; shutdown -f (flush meta before shutdown)
8. umount; mount; verify \[4080,4096) is zeroed or not.

When extending file size (e.g. via truncate, fallocate, or write) across an
unaligned EOF boundary, we need to ensure that post-EOF data in the partial
page is zeroed out in pagecache and marked dirty, then writeback the cache to
persist zeroed data before committing inode w/ updated i\_size.

This help to prevent stale disk data beyond the previous EOF from being exposed
after remounting or crash recovery.

Since f2fs is a LFS filesystem, we only support direct write via PBA in pinfile,
and pinfile has section-aligned filesize, so in Android, there should no problem,
but for other usage in different environment, let's fix this w/ fsync\_mode=strict
mount option.

## Affected and fixed versions

- Linux: \>= fbfa2cc58d5363f780f4f2ad0243a47185c2bb2a, \< 6882d458d2e403f6ba7b45542dd31a6b7531eb2e; \>= fbfa2cc58d5363f780f4f2ad0243a47185c2bb2a, \< 32c7f11a24268ba8d3bb50ea7f54d33f698cd253; \>= fbfa2cc58d5363f780f4f2ad0243a47185c2bb2a, \< 91ec55ddc097ccddd25ffb95a3d079b2ef362372; \>= fbfa2cc58d5363f780f4f2ad0243a47185c2bb2a, \< c42608c09b6b5d5967bf211c255914c068c2cde1; \>= fbfa2cc58d5363f780f4f2ad0243a47185c2bb2a, \< 5eced87b7d19dbc76ebdddaf322046f9ac582fcb (cvelist)
- Linux: 3.8 (cvelist)

## Mitigation

- Upgrade Linux to 5eced87b7d19dbc76ebdddaf322046f9ac582fcb 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-93235. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-93235.md
Affected: Linux >= fbfa2cc58d5363f780f4f2ad0243a47185c2bb2a, < 6882d458d2e403f6ba7b45542dd31a6b7531eb2e; >= fbfa2cc58d5363f780f4f2ad0243a47185c2bb2a, < 32c7f11a24268ba8d3bb50ea7f54d33f698cd253; >= fbfa2cc58d5363f780f4f2ad0243a47185c2bb2a, < 91ec55ddc097ccddd25ffb95a3d079b2ef362372; >= fbfa2cc58d5363f780f4f2a…
Fixed in: Linux 6882d458d2e403f6ba7b45542dd31a6b7531eb2e, Linux 32c7f11a24268ba8d3bb50ea7f54d33f698cd253, Linux 91ec55ddc097ccddd25ffb95a3d079b2ef362372, Linux 5eced87b7d19dbc76ebdddaf322046f9ac582fcb

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-93235 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= fbfa2cc58d5363f780f4f2ad0243a47185c2bb2a, \< 6882d458d2e403f6ba7b45542dd31a6b7531eb2e; \>= fbfa2cc58d5363f780f4f2ad0243a47185c2bb2a, \< 32c7f11a24268ba8d3bb50ea7f54d33f698cd253; \>= fbfa2cc58d5363f780f4f2ad0243a47185c2bb2a, \< 91ec55ddc097ccddd25ffb95a3d079b2ef362372; \>= fbfa2cc58d5363f780f4f2ad0243a47185c2bb2a, \< c42608c09b6b5d5967bf211c255914c068c2cde1; \>= fbfa2cc58d5363f780f4f2ad0243a47185c2bb2a, \< 5eced87b7d19dbc76ebdddaf322046f9ac582fcb; Linux 3.8.

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

Yes. Fixed in Linux 6882d458d2e403f6ba7b45542dd31a6b7531eb2e, Linux 32c7f11a24268ba8d3bb50ea7f54d33f698cd253, Linux 91ec55ddc097ccddd25ffb95a3d079b2ef362372, Linux 5eced87b7d19dbc76ebdddaf322046f9ac582fcb. Upgrade Linux to 5eced87b7d19dbc76ebdddaf322046f9ac582fcb or later.

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

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

- other: <https://git.kernel.org/stable/c/6882d458d2e403f6ba7b45542dd31a6b7531eb2e>
- other: <https://git.kernel.org/stable/c/32c7f11a24268ba8d3bb50ea7f54d33f698cd253>
- other: <https://git.kernel.org/stable/c/91ec55ddc097ccddd25ffb95a3d079b2ef362372>
- other: <https://git.kernel.org/stable/c/c42608c09b6b5d5967bf211c255914c068c2cde1>
- other: <https://git.kernel.org/stable/c/5eced87b7d19dbc76ebdddaf322046f9ac582fcb>

## 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-93235>

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