f2fs: accurately adjust free_sections during free_segment_range
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
- Fix · CNA Linux (Linux) Fixed in 6.1.191, 6.6.160, 6.12.112, 6.18.53, 7.2.7, 7.3
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 7 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-10-02 Threatist record created from CVE-2026-97534
- 2026-10-03 Alias added: GHSA-9m8h-hg7g-4xp7
- 2026-10-03 Fix available: Linux/[email protected], Linux/Linux@faeb0a20bdd113311519b598dcc075af3b6fb366 · CNA
- 2026-10-03 1 new reference · CNA
- 2026-10-19 Fix available: Linux/[email protected] · CNA
- 2026-10-21 Fix available: Linux/[email protected], Linux/Linux@64a7ed42e9766886dd7300597d90366dfb7a1e53 · CNA
- 2026-10-21 1 new reference · CNA
- 2026-10-30 Fix available: Linux/[email protected], Linux/Linux@9e7a744c9db8c2d33ed6ac2ff9bca9323a38b038 · CNA
- 2026-10-30 1 new reference · CNA
- 2026-11-06 Affected versions changed · Red Hat
References
Other 6
- https://git.kernel.org/stable/c/9e7a744c9db8c2d33ed6ac2ff9bca9323a38b038
- https://git.kernel.org/stable/c/64a7ed42e9766886dd7300597d90366dfb7a1e53
- https://git.kernel.org/stable/c/faeb0a20bdd113311519b598dcc075af3b6fb366
- https://git.kernel.org/stable/c/ca31116fad0954c61a0d38163cc51c48e4981b75
- https://git.kernel.org/stable/c/8a123a10770d2132d046748f20f02baa8d5539a1
- https://git.kernel.org/stable/c/8c963d1738fdca400082ff5f9d99e083de4f4e70
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-97534 · CVE Program
- CVE-2026-97534 · NVD
- FIRST EPSS
- GHSA-9m8h-hg7g-4xp7 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-97534 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences