VDB

CVE-2026-97534

CVE-2026-97534 PUBLISHED

f2fs: accurately adjust free_sections during free_segment_range

Reported by linux · Published September 25, 2026

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.

EPSS 0.21% · 11.5th percentile

Risk scores

EPSS Score
0.21%
11.5th percentile

Affected products

VendorProductVersions
LinuxLinuxb4b10061ef98c583bcf82a4200703fbaa98c18dc, b4b10061ef98c583bcf82a4200703fbaa98c18dc, b4b10061ef98c583bcf82a4200703fbaa98c18dc
LinuxLinux5.8, 0, 6.1.191
linuxlinux_kernel5.8, 5.8, 5.8
LinuxLinux*, *, *

Timeline

  • Sep 25, 2026 Coalition ESS Score
  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (10 in total, the first dated here)
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-97534
vulnetix vdb fixes CVE-2026-97534

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-97534/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›