CVE-2026-97534
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
25/09/2026
Last modified:
30/10/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
f2fs: accurately adjust free_sections during free_segment_range<br />
<br />
In free_segment_range(), MAIN_SECS(sbi) is temporarily reduced by `secs`<br />
to restrict block allocation to the safe remaining main area while valid<br />
blocks in the truncated range are evacuated by GC.<br />
<br />
However, FREE_I(sbi)->free_sections tracks the total number of free<br />
sections across the whole filesystem. If any sections within the<br />
truncated range were already free upon entering free_segment_range(),<br />
failing to deduct them from free_sections causes the filesystem to<br />
overestimate available free sections in the active, reduced main area.<br />
This leads to inconsistent free section accounting during GC data<br />
migration and can trigger unexpected allocation failures or assertion<br />
errors when space is tight.<br />
<br />
Fix this by calculating the number of already-free sections in the<br />
truncated range, deducting them from free_sections upon entering<br />
free_segment_range(), and restoring them on exit.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/64a7ed42e9766886dd7300597d90366dfb7a1e53
- https://git.kernel.org/stable/c/8a123a10770d2132d046748f20f02baa8d5539a1
- https://git.kernel.org/stable/c/8c963d1738fdca400082ff5f9d99e083de4f4e70
- https://git.kernel.org/stable/c/9e7a744c9db8c2d33ed6ac2ff9bca9323a38b038
- https://git.kernel.org/stable/c/ca31116fad0954c61a0d38163cc51c48e4981b75
- https://git.kernel.org/stable/c/faeb0a20bdd113311519b598dcc075af3b6fb366


