CVE-2026-89837

f2fs: fix dentry folio leak in find_in_level

Published Sep 16, 2026 CVSS n/a EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

f2fs: fix dentry folio leak in find_in_level

find_in_level() gets a dentry folio with f2fs_find_data_folio() before
calling find_in_block(). If find_in_block() returns an error, the
function stores the error in res_folio and breaks out of the loop without
dropping the dentry folio.

This leaks the folio reference on the find_in_block() error path. Drop
the dentry folio before returning the error to the caller.

Analysis

AI-generated

Technical impact

The CVE describes a flaw in the f2fs file system driver where a folio reference is not released on an error path in the find_in_block routine, resulting in a kernel memory leak. This defect does not provide an attacker with code execution or privileged access; it only causes the kernel to retain a reference that should be freed, potentially accumulating unused kernel memory. The vulnerability is categorized as a resource‑leak flaw.

Affected Systems

All Linux operating system images that use the f2fs file system and include a kernel version that has not yet been patched for this flaw are affected. The documentation does not list specific kernel release numbers, so any legacy kernel deployed in F2FS‑enabled environments is potentially vulnerable until the fix is applied.

Risk and Exploitability

The EPSS score of less than 1% indicates that exploitation of this flaw is unlikely. The vulnerability is not listed in the CISA KEV catalog. The flaw involves a reference leak and does not provide a direct path to privilege escalation or code execution. The effect is a potential memory leak that could, over time, consume kernel memory, but it does not grant an attacker immediate capabilities.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a revision that incorporates the patch referenced by the commit hash 93a3e6a4c9e726a13a935963e8dc43d181db1527 or later. In most distributions this means installing the latest security‑updated kernel package or applying the vendor’s patch set.
  • If an immediate package update is not available, manually apply the patch to the kernel source tree, rebuild the kernel, and install the new image.
  • Reboot the system after installing the patched kernel to ensure all memory references are released and the new folio handling logic is active.

Generated by OpenCVE AI on September 18, 2026 at 09:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4906-1 linux security update
Debian DSA Debian DSA DSA-6568-1 linux security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-459
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: f2fs: fix dentry folio leak in find_in_level find_in_level() gets a dentry folio with f2fs_find_data_folio() before calling find_in_block(). If find_in_block() returns an error, the function stores the error in res_folio and breaks out of the loop without dropping the dentry folio. This leaks the folio reference on the find_in_block() error path. Drop the dentry folio before returning the error to the caller.
Title f2fs: fix dentry folio leak in find_in_level
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
Oct 30, 2026, 12:33 PM
Reserved
Sep 11, 2026, 7:38 PM
Status
Received
Published
Sep 16, 2026, 11:16 AM
Modified
Oct 30, 2026, 1:20 PM