CVE-2026-97534

f2fs: accurately adjust free_sections during free_segment_range

No CVSS score yet EPSS 0.22%

Published 25 Sep 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-97534

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-97534 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.76% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from b4b10061ef98c583bcf82a4200703fbaa98c18dc, before 9e7a744c9db8c2d33ed6ac2ff9bca9323a38b038
affected from b4b10061ef98c583bcf82a4200703fbaa98c18dc, before 64a7ed42e9766886dd7300597d90366dfb7a1e53
affected from b4b10061ef98c583bcf82a4200703fbaa98c18dc, before faeb0a20bdd113311519b598dcc075af3b6fb366
affected from b4b10061ef98c583bcf82a4200703fbaa98c18dc, before ca31116fad0954c61a0d38163cc51c48e4981b75
affected from b4b10061ef98c583bcf82a4200703fbaa98c18dc, before 8a123a10770d2132d046748f20f02baa8d5539a1
affected from b4b10061ef98c583bcf82a4200703fbaa98c18dc, before 8c963d1738fdca400082ff5f9d99e083de4f4e70
Other versions: unaffected
Linux
affected 5.8
unaffected before 5.8
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.12.112 up to and including 6.12.*
unaffected from 6.18.53 up to and including 6.18.*
unaffected from 7.2.7 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-97534 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-97534

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-97534
trivy image --scanners vuln IMAGE | grep CVE-2026-97534

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-97534 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.