---
id: CVE-2026-89837
title: |-
  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()
summary: |-
  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() return…
severity: medium
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 7ad08a58bf67594057362e45cbddd3e27e53e557 <
    af9cc316d31371824de8d409260a2ab9759dd51c
  - >-
    Linux >= 7ad08a58bf67594057362e45cbddd3e27e53e557 <
    aefb4b0f465b6f95fe02b52d1822a3fb4a9ae922
  - >-
    Linux >= 7ad08a58bf67594057362e45cbddd3e27e53e557 <
    93a3e6a4c9e726a13a935963e8dc43d181db1527
  - >-
    Linux >= 7ad08a58bf67594057362e45cbddd3e27e53e557 <
    cca7d3e30bf30333314e31bc70b9a739f1342167
  - Linux 5.11
published: '2026-09-16'
updated: '2026-10-03'
sourceUpdated: '2026-10-03T11:17:44.200'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89837'
references:
  - url: 'https://git.kernel.org/stable/c/93a3e6a4c9e726a13a935963e8dc43d181db1527'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/aefb4b0f465b6f95fe02b52d1822a3fb4a9ae922'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/af9cc316d31371824de8d409260a2ab9759dd51c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/cca7d3e30bf30333314e31bc70b9a739f1342167'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89837.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-89837'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2535251'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-89837'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89837'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-89837.mbox
  - url: 'https://git.kernel.org/stable/c/b6c0e77d950bf80ab357e2b4b9667f4389ed417c'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00206
epssPercentile: 0.10589
ingestedAt: '2026-09-16T10:53:53.998Z'
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
cwe:
  - CWE-772
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · updated 2026-10-05 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89837.json)
