Skip to main content

Linux f2fs EUVDEUVD-2026-80441

| CVE-2026-89841 HIGH
2026-09-16 Linux GHSA-9c6f-r39g-mhg4
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Local low-priv access to f2fs mount
  2. Delivery
    Trigger redirty_blocks on pinned range
  3. Exploit
    Induce read_cache_folio failure + readahead race
  4. Execution
    Over-decrement folio refcount
  5. Persist
    drop_caches/reclaim hits bad page state
  6. Impact
    Kernel crash / potential page UAF

Vulnerability Assessment

Exploitation Conditions

Requires local access to a system mounting an f2fs filesystem (kernel 6.16 through the fixed 6.18.51/7.2.5/7.3-rc1) and the ability to invoke the redirty_blocks() path. The bug only manifests when read_cache_folio() fails before any folio is pinned (typically under memory pressure or induced I/O failure) AND kernel readahead has already populated that exact failed folio in the page cache, so the do/while cleanup loop runs an extra iteration and calls folio_put_refs(folio, 2) once too often. Limiting factors: f2fs must be in use, the attacker must be local and can trigger the code path (PR:L), and the failure-plus-readahead race is non-deterministic, so reliable triggering is difficult (raising real attack complexity).

Impact

This is a memory-management refcount bug in the Linux f2fs filesystem's redirty_blocks() error path, not an information-disclosure issue as the input tag claims. The vendor CVSS of 7.8 (AV:L/AC:L/PR:L/UI:N/C:H/I:H/A:H) appears over-scored: the flaw only triggers when read_cache_folio() FAILS before any folio is pinned AND readahead has already populated that same failed folio in the page cache, at which point folio_put_refs(folio, 2) drops one reference too many, causing an eventual 'BUG: Bad page state' during drop_caches or reclaim. That two-condition dependency (an induced allocation/read failure plus a readahead race) makes real attack complexity HIGH, not LOW as the vendor vector states - verify with the maintainer. The dominant impact is a page-refcount underflow leading to kernel warnings/instability (availability) and potential downstream use-after-free of the mis-freed page (limited integrity), not confidentiality: C:H is not supported by the described behavior. There is no EPSS score, no KEV listing, and no public PoC, and exploitation requires local low-privileged access on a system using f2fs, so this is a hardening/robustness fix rather than an urgent operational priority despite the high nominal CVSS.

Exploit ScenarioDerived

A local low-privileged user on an f2fs-backed system performs operations that call redirty_blocks() (e.g. on pinned/compressed files) while inducing read_cache_folio() failures under memory pressure and racing kernel readahead so the failed folio is already cached. The extra cleanup iteration over-decrements the folio refcount; a subsequent drop_caches or reclaim then hits 'BUG: Bad page state', risking a kernel crash or page use-after-free. No public exploit code exists at the time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 16, 2026

A folio reference-count imbalance in the Linux kernel's f2fs filesystem lets a local user who can drive the redirty_blocks() path over-decrement a pinned folio when read_cache_folio() fails before any folio is pinned and readahead has already cached that same folio, after which drop_caches or reclaim can emit "BUG: Bad page state" and corrupt kernel memory state. Only kernels that include the folio-conversion commit 5951fee46bef are affected, i.e. Linux 6.16 through the fixed releases 6.18.51, 7.2.5 and 7.3-rc1. Exploitation requires local access with low privileges (CVSS:3.1/AV:L/PR:L) and is gated on a non-deterministic failure-plus-readahead race, so reliability is poor (AC:H); the independent assessment rates confidentiality impact as none with limited integrity and high availability impact, and no public exploit has been identified at time of analysis.

RemediationAI

Apply the vendor fix by upgrading to Linux 6.18.51, 7.2.5 or 7.3-rc1, or by cherry-picking the stable backports 445e4a1e6025ecd5312e9a95c1b234192c976ca1, 89c65ec3c18903de763cf567c96ab3ef60e5f3b0 and 85171332742e741ccd6f401c69b6e0d698119e72 from git.kernel.org (see also https://nvd.nist.gov/vuln/detail/CVE-2026-89841); vendor-released patches exist, so no long-term workaround should be necessary. Until patched, the practical compensating controls all carry trade-offs: stop mounting f2fs volumes on the host or container (strongly reduces exposure but removes f2fs features and forces migration of data to another filesystem), restrict local shell and container access so unprivileged users cannot induce the redirty_blocks() error path (limits multi-tenant risk but not the underlying bug and is hard to enforce), and avoid manual or automated memory-pressure tuning that forces read_cache_folio() failures while readahead is active (reduces the non-deterministic trigger window but degrades reclaim behaviour and is not a reliable defence). Reboot or drop_caches is not a mitigation and, once a folio refcount has been under-decremented, reclaim may itself report bad page state, so patching remains the only robust fix.

Affected VersionsENISA

Linux patch: 6.18.51
Linux 5951fee46befbf6176c86482432f4f76e522f16c <89c65ec3c18903de763cf567c96ab3ef60e5f3b0
Linux patch: 7.3-rc1
Linux patch: 7.2.5
Linux 6.16
Linux 5951fee46befbf6176c86482432f4f76e522f16c <445e4a1e6025ecd5312e9a95c1b234192c976ca1
Linux 5951fee46befbf6176c86482432f4f76e522f16c <85171332742e741ccd6f401c69b6e0d698119e72
Linux patch: 0

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in fs/f2fs/data.c's redirty_blocks(), a path taken when f2fs must re-mark a range of folios dirty. The function first pins folios with read_cache_folio() and then walks the same index range a second time using filemap_lock_folio() to redirty each folio and drop the extra references it took. Commit 5951fee46bef ("f2fs: Use a folio in redirty_blocks()") rewrote that second pass as a do/while loop, which means the cleanup body executes at least once even when read_cache_folio() failed on the very first folio and nothing was pinned, leaving page_idx unadvanced. If kernel readahead has in the meantime populated that failed folio into the page cache, the spurious iteration resolves the folio and calls folio_put_refs(folio, 2), releasing one reference more than the function acquired. The resulting refcount underflow is a classic memory-management reference-counting defect (no CWE was supplied with the record, but the class is improper reference-count update on a page-cache object) that surfaces as bad page state during later cache eviction or memory reclaim. The fix restricts the redirty pass to the range that was actually pinned successfully, and is carried in the stable commits 445e4a1e6025ecd5312e9a95c1b234192c976ca1, 89c65ec3c18903de763cf567c96ab3ef60e5f3b0 and 85171332742e741ccd6f401c69b6e0d698119e72 referenced by the CVE.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 5.3 MEDIUM

Local low-priv trigger (AV:L/PR:L); needs an induced read failure plus readahead race so AC:H; refcount underflow yields kernel BUG/crash (A:H) and possible page UAF (I:L), no disclosure (C:N).

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE 4.7 MEDIUM
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.5 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Sep 16, 2026 - 15:22 NVD
7.8 (HIGH)
Patch available
Sep 16, 2026 - 11:03 EUVD
CVE Published
Sep 16, 2026 - 10:31 cve.org
HIGH 7.8
CVE Published
Sep 16, 2026 - 10:31 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

f2fs: only redirty pinned folios in redirty_blocks

redirty_blocks() pins folios with read_cache_folio() and then walks the same range again with filemap_lock_folio() to redirty them and drop the references it took.

Commit 5951fee46bef ("f2fs: Use a folio in redirty_blocks()") changed the second pass to a do/while loop. If read_cache_folio() fails before anything is pinned, page_idx does not advance but the cleanup loop still runs once.

If readahead has already populated the failed folio in page cache, that extra iteration finds it and folio_put_refs(folio, 2) drops one reference too many. Later drop_caches or reclaim can then report "BUG: Bad page state".

Only redirty the range that was pinned successfully.

Executive ViewAI

Why It Matters

A memory-safety flaw in the Linux kernel's f2fs filesystem (CVE-2026-89841, CVSS 7.8) affects kernels built from commit 5951fee46bef - Linux 6.16 through the fixed releases 6.18.51, 7.2.5 and 7.3-rc1 - and can allow an authenticated local user with low privileges to corrupt kernel memory state or crash the host. Exposure is concentrated in multi-tenant servers, container hosts, and systems where untrusted local users or workloads can exercise the f2fs redirty_blocks() path; exploitation is gated on a non-deterministic race, so reliability is poor, and no public exploit identified at time of analysis. Leadership should care because a successful trigger undermines host availability and integrity across shared infrastructure, though confidentiality impact is assessed as none.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
High
f2fs is the default userdata filesystem on most Android devices
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 16.0 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy