# CVE-2026-89834: f2fs: fix to migrate all curseg types during free\_segment\_range

> 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 7, 2026-11-26)
- **Published:** 2026-09-16T10:31:07.093Z
- **Modified:** 2026-10-30T13:20:30.617Z

## Who should check

- Anyone running Linux \>= d0b9e42ab6155dc05fc83f00af9f45d4dd02264d, \< 7ffac0deea2d84cf79051f16fed8e215c4bcf0e6; \>= d0b9e42ab6155dc05fc83f00af9f45d4dd02264d, \< d358d2fc6be11eefde5eb1286f1c43a6d0330db6; \>= d0b9e42ab6155dc05fc83f00af9f45d4dd02264d, \< 3b85edf3391f3e1f624f409a7d2d239885f567b7; \>= d0b9e42ab6155dc05fc83f00af9f45d4dd02264d, \< b8ae1228c153622afa71a179c9d4dc268117e0f0; \>= d0b9e42ab6155dc05fc83f00af9f45d4dd02264d, \< b9776094aa7118e8e5dfdcd791ffc8330c5ca408; \>= d0b9e42ab6155dc05fc83f00af9f45d4dd02264d, \< 8ec06f50ddd8d201bd7e55b896ae28ed9d4cb7d1
- Anyone running Linux 5.10

## Description

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

f2fs: fix to migrate all curseg types during free\_segment\_range

In free\_segment\_range(), the curseg evacuation loop only iterates up to
NR\_CURSEG\_PERSIST\_TYPE (0..5), missing non-persistent in-memory curseg
types such as CURSEG\_COLD\_DATA\_PINNED and CURSEG\_ALL\_DATA\_ATGC.

Even though these in-memory curseg types are not saved in the on-disk
checkpoint header, they still occupy active physical segments at runtime.
If an active in-memory curseg happens to be allocated within the segment
range being truncated during filesystem shrink, failing to evacuate it
will cause subsequent writes to the curseg attempting out-of-bounds I/O
on the truncated storage range.

Fix this by expanding the curseg evacuation loop upper bound to
NR\_CURSEG\_TYPE to ensure all active curseg types are safely migrated
out of the target range.

## Affected and fixed versions

- Linux: \>= d0b9e42ab6155dc05fc83f00af9f45d4dd02264d, \< 7ffac0deea2d84cf79051f16fed8e215c4bcf0e6; \>= d0b9e42ab6155dc05fc83f00af9f45d4dd02264d, \< d358d2fc6be11eefde5eb1286f1c43a6d0330db6; \>= d0b9e42ab6155dc05fc83f00af9f45d4dd02264d, \< 3b85edf3391f3e1f624f409a7d2d239885f567b7; \>= d0b9e42ab6155dc05fc83f00af9f45d4dd02264d, \< b8ae1228c153622afa71a179c9d4dc268117e0f0; \>= d0b9e42ab6155dc05fc83f00af9f45d4dd02264d, \< b9776094aa7118e8e5dfdcd791ffc8330c5ca408; \>= d0b9e42ab6155dc05fc83f00af9f45d4dd02264d, \< 8ec06f50ddd8d201bd7e55b896ae28ed9d4cb7d1 (cvelist)
- Linux: 5.10 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-89834.md
Affected: Linux >= d0b9e42ab6155dc05fc83f00af9f45d4dd02264d, < 7ffac0deea2d84cf79051f16fed8e215c4bcf0e6; >= d0b9e42ab6155dc05fc83f00af9f45d4dd02264d, < d358d2fc6be11eefde5eb1286f1c43a6d0330db6; >= d0b9e42ab6155dc05fc83f00af9f45d4dd02264d, < 3b85edf3391f3e1f624f409a7d2d239885f567b7; >= d0b9e42ab6155dc05fc83f0…
Fixed in: Linux 7ffac0deea2d84cf79051f16fed8e215c4bcf0e6, Linux 3b85edf3391f3e1f624f409a7d2d239885f567b7, Linux 8ec06f50ddd8d201bd7e55b896ae28ed9d4cb7d1

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

There is no confirmed exploitation: CVE-2026-89834 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-89834?

It has no CVSS score yet. Unknown.

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

Linux \>= d0b9e42ab6155dc05fc83f00af9f45d4dd02264d, \< 7ffac0deea2d84cf79051f16fed8e215c4bcf0e6; \>= d0b9e42ab6155dc05fc83f00af9f45d4dd02264d, \< d358d2fc6be11eefde5eb1286f1c43a6d0330db6; \>= d0b9e42ab6155dc05fc83f00af9f45d4dd02264d, \< 3b85edf3391f3e1f624f409a7d2d239885f567b7; \>= d0b9e42ab6155dc05fc83f00af9f45d4dd02264d, \< b8ae1228c153622afa71a179c9d4dc268117e0f0; \>= d0b9e42ab6155dc05fc83f00af9f45d4dd02264d, \< b9776094aa7118e8e5dfdcd791ffc8330c5ca408; \>= d0b9e42ab6155dc05fc83f00af9f45d4dd02264d, \< 8ec06f50ddd8d201bd7e55b896ae28ed9d4cb7d1; Linux 5.10.

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

Yes. Fixed in Linux 7ffac0deea2d84cf79051f16fed8e215c4bcf0e6, Linux 3b85edf3391f3e1f624f409a7d2d239885f567b7, Linux 8ec06f50ddd8d201bd7e55b896ae28ed9d4cb7d1. Upgrade Linux to 8ec06f50ddd8d201bd7e55b896ae28ed9d4cb7d1 or later.

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

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/7ffac0deea2d84cf79051f16fed8e215c4bcf0e6>
- other: <https://git.kernel.org/stable/c/d358d2fc6be11eefde5eb1286f1c43a6d0330db6>
- other: <https://git.kernel.org/stable/c/3b85edf3391f3e1f624f409a7d2d239885f567b7>
- other: <https://git.kernel.org/stable/c/b8ae1228c153622afa71a179c9d4dc268117e0f0>
- other: <https://git.kernel.org/stable/c/b9776094aa7118e8e5dfdcd791ffc8330c5ca408>
- other: <https://git.kernel.org/stable/c/8ec06f50ddd8d201bd7e55b896ae28ed9d4cb7d1>

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

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