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.
Published: 2026-09-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch
AI Analysis

Impact

A bug in the Linux kernel’s F2FS filesystem causes the free_sections counter to be over‑estimated after a segment range is freed. The logic that should reduce free_sections by the number of already‑free sections in the truncated range is omitted, leaving the kernel to believe more space is available than actually is. This inconsistency can trigger allocation failures or assertion errors when the garbage collector migrates data, potentially causing the filesystem to become unavailable. The weakness is an integer overflow (CWE-617).

Affected Systems

The vulnerability exists in the Linux kernel implementation of the F2FS filesystem. It affects all systems that run a kernel version prior to the patch that applies this fix and use F2FS for persistent storage. Any distribution shipping such a kernel version is impacted; the exact kernel release numbers are not provided in the data so users should check whether their current kernel includes the commit that adjusts free_sections during free_segment_range.

Risk and Exploitability

The CVSS score of 5.5 indicates medium severity, but the EPSS score of less than 1% and exclusion from CISA’s KEV catalog point to a low probability of exploitation. The flaw is local in nature, requiring the ability to manipulate file‑system metadata—normally through privileged or local actions. The likely attack vector is local privileged access that can trigger the faulty counter to force allocation failures or crash the filesystem, leading to denial of service for applications that rely on the affected storage. No public exploit has been reported, so immediate exploitation is unlikely, but the impact warrants patching.

Generated by OpenCVE AI on October 1, 2026 at 11:47 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the F2FS free_sections accounting patch.
  • Reboot the system to load the updated kernel and activate the corrected free_sections logic.
  • Run a filesystem check (e.g., f2fsck) on affected F2FS volumes to confirm integrity after the upgrade.

Generated by OpenCVE AI on October 1, 2026 at 11:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6568-1 linux security update
History

Wed, 21 Oct 2026 13:15:00 +0000


Sat, 03 Oct 2026 11:15:00 +0000


Thu, 01 Oct 2026 10:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-617
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 25 Sep 2026 13:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
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.
Title f2fs: accurately adjust free_sections during free_segment_range
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-21T12:53:09.412Z

Reserved: 2026-09-24T16:01:01.153Z

Link: CVE-2026-97534

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:03.643

Modified: 2026-10-21T13:21:12.750

Link: CVE-2026-97534

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-97534 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T12:00:06Z

Weaknesses