# CVE-2025-68769: f2fs: fix return value of f2fs\_recover\_fsync\_data()

> 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.27% (percentile 11, 2026-11-28)
- **Published:** 2026-01-13T15:28:47.798Z
- **Modified:** 2026-06-17T09:59:33.410Z

## Who should check

- Anyone running Linux \>= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, \< e6ac31abd30e9fd2ef5f0819ce7f3f932be3b725; \>= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, \< 0de4977a1eeafe9d77701e3c031a1bcdba389243; \>= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, \< 9bc246018aaa3b46a7710428d0a2196c229f9d49; \>= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, \< a4c67d96f92eefcfa5596a08f069e77b743c5865; \>= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, \< 473550e715654ad7612aa490d583cb7c25fe2ff3; \>= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, \< 4560db9678a2c5952b6205fbca468c6805c2ba2a; \>= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, \< 01fba45deaddcce0d0b01c411435d1acf6feab7b; 1499d39b74f5957e932639a86487ccea5a0a9740; \>= 4.4.172, \< 4.5
- Anyone running Linux 4.7

## Description

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

f2fs: fix return value of f2fs\_recover\_fsync\_data()

With below scripts, it will trigger panic in f2fs:

mkfs.f2fs -f /dev/vdd
mount /dev/vdd /mnt/f2fs
touch /mnt/f2fs/foo
sync
echo 111 \>\> /mnt/f2fs/foo
f2fs\_io fsync /mnt/f2fs/foo
f2fs\_io shutdown 2 /mnt/f2fs
umount /mnt/f2fs
mount -o ro,norecovery /dev/vdd /mnt/f2fs
or
mount -o ro,disable\_roll\_forward /dev/vdd /mnt/f2fs

F2FS-fs (vdd): f2fs\_recover\_fsync\_data: recovery fsync data, check\_only: 0
F2FS-fs (vdd): Mounted with checkpoint version = 7f5c361f
F2FS-fs (vdd): Stopped filesystem due to reason: 0
F2FS-fs (vdd): f2fs\_recover\_fsync\_data: recovery fsync data, check\_only: 1
Filesystem f2fs get\_tree() didn't set fc-\>root, returned 1
------------\[ cut here \]------------
kernel BUG at fs/super.c:1761!
Oops: invalid opcode: 0000 \[\#1\] SMP PTI
CPU: 3 UID: 0 PID: 722 Comm: mount Not tainted 6.18.0-rc2+ \#721 PREEMPT(voluntary)
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:vfs\_get\_tree.cold+0x18/0x1a
Call Trace:
 \<TASK\>
 fc\_mount+0x13/0xa0
 path\_mount+0x34e/0xc50
 \_\_x64\_sys\_mount+0x121/0x150
 do\_syscall\_64+0x84/0x800
 entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7e
RIP: 0033:0x7fa6cc126cfe

The root cause is we missed to handle error number returned from
f2fs\_recover\_fsync\_data() when mounting image w/ ro,norecovery or
ro,disable\_roll\_forward mount option, result in returning a positive
error number to vfs\_get\_tree(), fix it.

## Affected and fixed versions

- Linux: \>= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, \< e6ac31abd30e9fd2ef5f0819ce7f3f932be3b725; \>= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, \< 0de4977a1eeafe9d77701e3c031a1bcdba389243; \>= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, \< 9bc246018aaa3b46a7710428d0a2196c229f9d49; \>= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, \< a4c67d96f92eefcfa5596a08f069e77b743c5865; \>= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, \< 473550e715654ad7612aa490d583cb7c25fe2ff3; \>= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, \< 4560db9678a2c5952b6205fbca468c6805c2ba2a; \>= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, \< 01fba45deaddcce0d0b01c411435d1acf6feab7b; 1499d39b74f5957e932639a86487ccea5a0a9740; \>= 4.4.172, \< 4.5 (cvelist)
- Linux: 4.7 (cvelist)

## Mitigation

- Upgrade Linux to 4.5 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-68769.md
Affected: Linux >= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, < e6ac31abd30e9fd2ef5f0819ce7f3f932be3b725; >= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, < 0de4977a1eeafe9d77701e3c031a1bcdba389243; >= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, < 9bc246018aaa3b46a7710428d0a2196c229f9d49; >= 6781eabba1bdb133eb9125c…
Fixed in: Linux 0de4977a1eeafe9d77701e3c031a1bcdba389243, Linux 9bc246018aaa3b46a7710428d0a2196c229f9d49, Linux 473550e715654ad7612aa490d583cb7c25fe2ff3, Linux 4560db9678a2c5952b6205fbca468c6805c2ba2a, Linux 01fba45deaddcce0d0b01c411435d1acf6feab7b, Linux 4.5

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-2025-68769 being exploited?

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

### How serious is CVE-2025-68769?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68769?

Linux \>= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, \< e6ac31abd30e9fd2ef5f0819ce7f3f932be3b725; \>= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, \< 0de4977a1eeafe9d77701e3c031a1bcdba389243; \>= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, \< 9bc246018aaa3b46a7710428d0a2196c229f9d49; \>= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, \< a4c67d96f92eefcfa5596a08f069e77b743c5865; \>= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, \< 473550e715654ad7612aa490d583cb7c25fe2ff3; \>= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, \< 4560db9678a2c5952b6205fbca468c6805c2ba2a; \>= 6781eabba1bdb133eb9125c4acf6704ccbe4df02, \< 01fba45deaddcce0d0b01c411435d1acf6feab7b; 1499d39b74f5957e932639a86487ccea5a0a9740; \>= 4.4.172, \< 4.5; Linux 4.7.

### Is there a fix for CVE-2025-68769?

Yes. Fixed in Linux 0de4977a1eeafe9d77701e3c031a1bcdba389243, Linux 9bc246018aaa3b46a7710428d0a2196c229f9d49, Linux 473550e715654ad7612aa490d583cb7c25fe2ff3, Linux 4560db9678a2c5952b6205fbca468c6805c2ba2a, Linux 01fba45deaddcce0d0b01c411435d1acf6feab7b, Linux 4.5. Upgrade Linux to 4.5 or later.

### How do I check if I'm affected by CVE-2025-68769?

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/e6ac31abd30e9fd2ef5f0819ce7f3f932be3b725>
- other: <https://git.kernel.org/stable/c/0de4977a1eeafe9d77701e3c031a1bcdba389243>
- other: <https://git.kernel.org/stable/c/9bc246018aaa3b46a7710428d0a2196c229f9d49>
- other: <https://git.kernel.org/stable/c/a4c67d96f92eefcfa5596a08f069e77b743c5865>
- other: <https://git.kernel.org/stable/c/473550e715654ad7612aa490d583cb7c25fe2ff3>
- other: <https://git.kernel.org/stable/c/4560db9678a2c5952b6205fbca468c6805c2ba2a>
- other: <https://git.kernel.org/stable/c/01fba45deaddcce0d0b01c411435d1acf6feab7b>

## 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-2025-68769>

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