Skip to content
Heist/ feed
Unrated

f2fs: fix dentry folio leak in find_in_level

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-89837

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-89837

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "7ad08a58bf67594057362e45cbddd3e27e53e557",
        "lessThan": "b6c0e77d950bf80ab357e2b4b9667f4389ed417c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "7ad08a58bf67594057362e45cbddd3e27e53e557",
        "lessThan": "af9cc316d31371824de8d409260a2ab9759dd51c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "7ad08a58bf67594057362e45cbddd3e27e53e557",
        "lessThan": "aefb4b0f465b6f95fe02b52d1822a3fb4a9ae922",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "7ad08a58bf67594057362e45cbddd3e27e53e557",
        "lessThan": "93a3e6a4c9e726a13a935963e8dc43d181db1527",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "7ad08a58bf67594057362e45cbddd3e27e53e557",
        "lessThan": "cca7d3e30bf30333314e31bc70b9a739f1342167",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/f2fs/dir.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.11"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.11",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.112",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.51",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.5",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/f2fs/dir.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-89837

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#48558 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement