CVE-2026-100023

f2fs: flush SIT journal during filesystem resize

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

f2fs: flush SIT journal during filesystem resize

During a filesystem resize, SBI_IS_RESIZEFS prevents new SIT entries
from being added to the journal and forces existing entries to the SIT
area. However, f2fs_flush_sit_entries() returns early when there are no
new dirty sentries, leaving existing journal entries behind.

After the main area shrinks, a later checkpoint can access a journal
entry whose segment number is outside the new geometry and trigger
f2fs_bug_on().

Only take the zero-dirty fast path when entries may be written back to
the journal. This lets resize drain existing entries through
remove_sits_in_journal() even when there are no new dirty sentries.

Analysis

AI-generated

Technical impact

During a filesystem resize on Linux f2fs, a logic flaw causes the kernel to skip the flushing of SIT journal entries when no new dirty entries are present. This leads to leftover journal references that point to segment numbers outside the new filesystem geometry. When a later checkpoint attempts to read such an entry, the kernel triggers an f2fs_bug_on assertion, resulting in a crash. The effect is a denial of service that can take the affected system offline. The weakness is an improper check for failure conditions, which falls under the broader category of input validation or control‑flow errors, as reflected in the CWE-398 label.

Affected Systems

The flaw resides in the Linux kernel’s f2fs filesystem code. No specific kernel version or patch level is given in the advisory; applications or utilities that invoke a filesystem resize on an f2fs device are affected. The advisory references only the generic Linux:Linux vendor and product families.

Risk and Exploitability

The CVSS score is not disclosed and EPSS is not available, but the vulnerability is not listed in the CISA KEV catalog, suggesting no known public exploitation yet. However, because a filesystem resize typically requires privileged access, an attacker who can execute such a command locally can trigger the crash. The impact is severe, but the attack vector remains relatively constrained to privileged users or system processes that perform resizing.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that includes the f2fs SIT journal flush fix.
  • Until the patch is available, avoid performing any f2fs filesystem resize operations and use a backup or test environment to verify safety before resizing.
  • If resizing is unavoidable, perform the operation under monitored conditions, review dmesg or /var/log/kern.log for f2fs_bug_on messages, and have a recovery plan in place.

Generated by OpenCVE AI on November 30, 2026 at 15:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-398
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: f2fs: flush SIT journal during filesystem resize During a filesystem resize, SBI_IS_RESIZEFS prevents new SIT entries from being added to the journal and forces existing entries to the SIT area. However, f2fs_flush_sit_entries() returns early when there are no new dirty sentries, leaving existing journal entries behind. After the main area shrinks, a later checkpoint can access a journal entry whose segment number is outside the new geometry and trigger f2fs_bug_on(). Only take the zero-dirty fast path when entries may be written back to the journal. This lets resize drain existing entries through remove_sits_in_journal() even when there are no new dirty sentries.
Title f2fs: flush SIT journal during filesystem resize
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:23 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 30, 2026, 2:17 PM
Modified
Nov 30, 2026, 2:17 PM