Skip to main content

Linux Kernel EUVDEUVD-2026-26524

| CVE-2026-31715 HIGH
Use After Free (CWE-416)
2026-05-01 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Authenticate to local system
  2. Delivery
    Mount F2FS filesystem
  3. Exploit
    Initiate heavy write I/O operations
  4. Install
    Trigger concurrent filesystem unmount
  5. C2
    Race f2fs_write_end_io with f2fs_put_super
  6. Execute
    Dereference freed sbi->node_inode pointer
  7. Impact
    Kernel NULL pointer exception and panic

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires local authenticated access to a system running Linux kernel 4.19 through 7.1-rc1 with F2FS filesystem enabled and actively mounted. Attacker must have sufficient privileges to mount/unmount filesystems or trigger system operations that unmount F2FS filesystems (typically requires membership in disk or operator groups, or root access depending on system policy). Exploitation requires triggering concurrent write I/O operations to F2FS checkpoint data (F2FS_WB_CP_DATA) while initiating filesystem unmount, creating a narrow race window between f2fs_write_end_io() callback execution and f2fs_put_super() teardown. The race condition is timing-dependent (AC:L suggests reproducible with moderate effort) but requires F2FS-specific workload patterns. Not exploitable on systems not using F2FS filesystem, which limits exposure primarily to embedded devices, Android systems with F2FS-formatted partitions, and specialized flash-optimized Linux deployments. Remote exploitation is not possible (AV:L). The vulnerability affects kernel memory management, so standard userspace protections (ASLR, stack canaries) do not prevent triggering, though they may complicate code execution scenarios beyond DoS.

Impact

Real-world risk is moderate despite the 7.8 CVSS base score. The CVSS vector (AV:L/AC:L/PR:L/UI:N) indicates local access with low privileges is required - attackers need local authenticated access to trigger the race condition, limiting remote attack surface. The low attack complexity suggests the race window is exploitable with sufficient triggering. EPSS score of 0.02% (4th percentile) indicates extremely low observed exploitation likelihood in the wild, consistent with the requirement for local access and filesystem-specific triggering conditions. No CISA KEV listing confirms no widespread active exploitation. The vulnerability requires specific F2FS filesystem usage during concurrent write-and-unmount operations, a narrow window that requires timing precision. While the CWE-416 class can enable kernel code execution (hence CVSS C:H/I:H/A:H), practical exploitation beyond denial-of-service requires sophisticated heap manipulation in kernel context. Primary concern is system stability for users of F2FS filesystems on embedded devices, Android systems, and flash-optimized Linux deployments. Given patch availability across stable branches and low EPSS, this is a patch-when-convenient priority for most environments unless F2FS is heavily used in production with frequent mount/unmount cycles.

Exploit ScenarioDerived

An authenticated local attacker with low privileges on a system using F2FS filesystems triggers the vulnerability by creating a race condition between filesystem write operations and unmount. The attacker initiates heavy write I/O to an F2FS-mounted partition to generate F2FS_WB_CP_DATA write callbacks, then immediately triggers filesystem unmount (via umount command or system shutdown) to race f2fs_put_super() against pending I/O completion handlers. When timing succeeds, f2fs_write_end_io() dereferences the freed sbi->node_inode pointer after f2fs_put_super() has deallocated it, causing NULL pointer dereference and kernel panic. While denial-of-service via kernel crash is straightforward, achieving code execution would require heap grooming techniques to control freed memory contents.

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

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

Alert me

AnalysisAIv1 – May 06, 2026

Use-after-free in Linux kernel F2FS filesystem allows local authenticated attackers to trigger kernel panic or potentially achieve code execution. The vulnerability (CWE-416) occurs during concurrent write callback and unmount operations when f2fs_write_end_io() decrements page count before checking node inode validity, leading to NULL pointer dereference. Discovered via xfstests generic/107 and syzbot fuzzing. EPSS exploitation probability is low (0.02%, 4th percentile), no active exploitation confirmed. Vendor patches available across stable kernel branches 6.18.25, 7.0.2, and 7.1-rc1.

RemediationAI

Upgrade to patched Linux kernel versions: 6.18.25 or later in the 6.x stable series, 7.0.2 or later in the 7.0 stable series, or 7.1-rc1 and later in the development branch. Apply vendor-provided kernel updates containing commits 188bb65f247a, 963d2e24d9d9, or 2d9c4a4ed4ee depending on your kernel branch. Patch details at https://git.kernel.org/stable/c/188bb65f247a7a7c62f287c9a263aee3cad96fa5. The fix reorders operations in f2fs_write_end_io() to call f2fs_in_warm_node_list() before decrementing the page counter, closing the race window. If immediate patching is not feasible, consider disabling F2FS filesystem support if not actively used (filesystem can be disabled in kernel configuration via CONFIG_F2FS_FS), though this breaks functionality for systems relying on F2FS. Avoid frequent mount/unmount cycles of F2FS filesystems during heavy write I/O operations to reduce race condition triggering probability, though this is operationally impractical for most use cases. No application-layer mitigations exist as this is a kernel-internal race condition. Monitor kernel crash logs for NULL pointer dereferences in f2fs_in_warm_node_list or f2fs_write_end_io as potential exploitation indicators.

Affected VersionsENISA

Linux 4.19
Linux patch: 6.18.25
Linux 50fa53eccf9f911a5b435248a2b0bd484fd82e5e <188bb65f247a7a7c62f287c9a263aee3cad96fa5
Linux patch: 7.1-rc1
Linux 50fa53eccf9f911a5b435248a2b0bd484fd82e5e <963d2e24d9d92a31e6773b0f642214f10013ebf7
Linux 50fa53eccf9f911a5b435248a2b0bd484fd82e5e <2d9c4a4ed4eef1f82c5b16b037aee8bad819fd53
Linux patch: 7.0.2
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 F2FS (Flash-Friendly File System) is a log-structured filesystem designed for NAND flash storage in the Linux kernel. This use-after-free vulnerability (CWE-416: Use After Free) stems from a race condition in the write completion callback path. The f2fs_write_end_io() function handles I/O completion for checkpoint data writes (F2FS_WB_CP_DATA). The vulnerable code path decrements the sbi->nr_pages reference counter and wakes waiters, then calls f2fs_in_warm_node_list() which dereferences sbi->node_inode. Concurrently, the unmount path (f2fs_put_super) waits for nr_pages to reach zero, then immediately calls iput(sbi->node_inode) and sets the pointer to NULL. The race window allows the write callback to access the freed node_inode pointer after it has been deallocated, violating temporal memory safety. The CPE strings indicate affected versions span from Linux 4.19 through 7.1-rc1, suggesting long-standing code present across multiple stable branches.

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

NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

5
CVSS changed
May 06, 2026 - 21:22 NVD
7.8 (HIGH)
Patch released
May 01, 2026 - 15:24 nvd
Patch available
Patch available
May 01, 2026 - 15:02 EUVD
CVE Published
May 01, 2026 - 14:16 nvd
HIGH 7.8
CVE Published
May 01, 2026 - 14:16 nvd
N/A

DescriptionNVD

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

f2fs: fix UAF caused by decrementing sbi->nr_pages[] in f2fs_write_end_io()

The xfstests case "generic/107" and syzbot have both reported a NULL pointer dereference.

The concurrent scenario that triggers the panic is as follows:

F2FS_WB_CP_DATA write callback umount

  • f2fs_write_checkpoint
  • f2fs_wait_on_all_pages(sbi, F2FS_WB_CP_DATA)
  • blk_mq_end_request
  • bio_endio
  • f2fs_write_end_io

: dec_page_count(sbi, F2FS_WB_CP_DATA) : wake_up(&sbi->cp_wait)

  • kill_f2fs_super
  • kill_block_super
  • f2fs_put_super

: iput(sbi->node_inode) : sbi->node_inode = NULL : f2fs_in_warm_node_list

  • is_node_folio // sbi->node_inode is NULL and panic

The root cause is that f2fs_put_super() calls iput(sbi->node_inode) and sets sbi->node_inode to NULL after sbi->nr_pages[F2FS_WB_CP_DATA] is decremented to zero. As a result, f2fs_in_warm_node_list() may dereference a NULL node_inode when checking whether a folio belongs to the node inode, leading to a panic.

This patch fixes the issue by calling f2fs_in_warm_node_list() before decrementing sbi->nr_pages[F2FS_WB_CP_DATA], thus preventing the use-after-free condition.

Executive ViewAI

Why It Matters

CVE-2026-31715 is a use-after-free vulnerability in the Linux kernel F2FS filesystem that allows local authenticated users to cause kernel panics or potentially execute code with kernel privileges. Organizations running Linux systems with F2FS must prioritize kernel patching to prevent service disruption and potential privilege escalation attacks from legitimate local users.

Business Impact: High
Compensating Controls

Apply vendor patch. Until patching is complete, restrict local user account creation and access on F2FS-based systems, and disable concurrent file I/O operations where operationally feasible. Monitor kernel logs for NULL pointer dereference errors and unexpected reboots.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
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.0%
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

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

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

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