# CVE-2026-97534: f2fs: accurately adjust free\_sections 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-25T10:21:33.792Z
- **Modified:** 2026-10-30T13:21:06.840Z

## Who should check

- Anyone running Linux \>= b4b10061ef98c583bcf82a4200703fbaa98c18dc, \< 9e7a744c9db8c2d33ed6ac2ff9bca9323a38b038; \>= b4b10061ef98c583bcf82a4200703fbaa98c18dc, \< 64a7ed42e9766886dd7300597d90366dfb7a1e53; \>= b4b10061ef98c583bcf82a4200703fbaa98c18dc, \< faeb0a20bdd113311519b598dcc075af3b6fb366; \>= b4b10061ef98c583bcf82a4200703fbaa98c18dc, \< ca31116fad0954c61a0d38163cc51c48e4981b75; \>= b4b10061ef98c583bcf82a4200703fbaa98c18dc, \< 8a123a10770d2132d046748f20f02baa8d5539a1; \>= b4b10061ef98c583bcf82a4200703fbaa98c18dc, \< 8c963d1738fdca400082ff5f9d99e083de4f4e70
- Anyone running Linux 5.8

## Description

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

f2fs: accurately adjust free\_sections during free\_segment\_range

In free\_segment\_range(), MAIN\_SECS(sbi) is temporarily reduced by \`secs\`
to restrict block allocation to the safe remaining main area while valid
blocks in the truncated range are evacuated by GC.

However, FREE\_I(sbi)-\>free\_sections tracks the total number of free
sections across the whole filesystem. If any sections within the
truncated range were already free upon entering free\_segment\_range(),
failing to deduct them from free\_sections causes the filesystem to
overestimate available free sections in the active, reduced main area.
This leads to inconsistent free section accounting during GC data
migration and can trigger unexpected allocation failures or assertion
errors when space is tight.

Fix this by calculating the number of already-free sections in the
truncated range, deducting them from free\_sections upon entering
free\_segment\_range(), and restoring them on exit.

## Affected and fixed versions

- Linux: \>= b4b10061ef98c583bcf82a4200703fbaa98c18dc, \< 9e7a744c9db8c2d33ed6ac2ff9bca9323a38b038; \>= b4b10061ef98c583bcf82a4200703fbaa98c18dc, \< 64a7ed42e9766886dd7300597d90366dfb7a1e53; \>= b4b10061ef98c583bcf82a4200703fbaa98c18dc, \< faeb0a20bdd113311519b598dcc075af3b6fb366; \>= b4b10061ef98c583bcf82a4200703fbaa98c18dc, \< ca31116fad0954c61a0d38163cc51c48e4981b75; \>= b4b10061ef98c583bcf82a4200703fbaa98c18dc, \< 8a123a10770d2132d046748f20f02baa8d5539a1; \>= b4b10061ef98c583bcf82a4200703fbaa98c18dc, \< 8c963d1738fdca400082ff5f9d99e083de4f4e70 (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-97534.md
Affected: Linux >= b4b10061ef98c583bcf82a4200703fbaa98c18dc, < 9e7a744c9db8c2d33ed6ac2ff9bca9323a38b038; >= b4b10061ef98c583bcf82a4200703fbaa98c18dc, < 64a7ed42e9766886dd7300597d90366dfb7a1e53; >= b4b10061ef98c583bcf82a4200703fbaa98c18dc, < faeb0a20bdd113311519b598dcc075af3b6fb366; >= b4b10061ef98c583bcf82a4…
Fixed in: Linux 9e7a744c9db8c2d33ed6ac2ff9bca9323a38b038, Linux 64a7ed42e9766886dd7300597d90366dfb7a1e53, Linux 8a123a10770d2132d046748f20f02baa8d5539a1, Linux 8c963d1738fdca400082ff5f9d99e083de4f4e70

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= b4b10061ef98c583bcf82a4200703fbaa98c18dc, \< 9e7a744c9db8c2d33ed6ac2ff9bca9323a38b038; \>= b4b10061ef98c583bcf82a4200703fbaa98c18dc, \< 64a7ed42e9766886dd7300597d90366dfb7a1e53; \>= b4b10061ef98c583bcf82a4200703fbaa98c18dc, \< faeb0a20bdd113311519b598dcc075af3b6fb366; \>= b4b10061ef98c583bcf82a4200703fbaa98c18dc, \< ca31116fad0954c61a0d38163cc51c48e4981b75; \>= b4b10061ef98c583bcf82a4200703fbaa98c18dc, \< 8a123a10770d2132d046748f20f02baa8d5539a1; \>= b4b10061ef98c583bcf82a4200703fbaa98c18dc, \< 8c963d1738fdca400082ff5f9d99e083de4f4e70; Linux 5.8.

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

Yes. Fixed in Linux 9e7a744c9db8c2d33ed6ac2ff9bca9323a38b038, Linux 64a7ed42e9766886dd7300597d90366dfb7a1e53, Linux 8a123a10770d2132d046748f20f02baa8d5539a1, Linux 8c963d1738fdca400082ff5f9d99e083de4f4e70. Upgrade Linux to 8c963d1738fdca400082ff5f9d99e083de4f4e70 or later.

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

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/9e7a744c9db8c2d33ed6ac2ff9bca9323a38b038>
- other: <https://git.kernel.org/stable/c/64a7ed42e9766886dd7300597d90366dfb7a1e53>
- other: <https://git.kernel.org/stable/c/faeb0a20bdd113311519b598dcc075af3b6fb366>
- other: <https://git.kernel.org/stable/c/ca31116fad0954c61a0d38163cc51c48e4981b75>
- other: <https://git.kernel.org/stable/c/8a123a10770d2132d046748f20f02baa8d5539a1>
- other: <https://git.kernel.org/stable/c/8c963d1738fdca400082ff5f9d99e083de4f4e70>

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

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