Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-89837

f2fs: fix dentry folio leak in find_in_level

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 7ad08a58bf67594057362e45cbddd3e27e53e557 to < d2011b371fcb9247b2ef4ea2d852401a6c82ab88affected
  • 7ad08a58bf67594057362e45cbddd3e27e53e557 to < 3b8593f7965fcb22672d98b55ae2e9410ea3d9f7affected
  • 7ad08a58bf67594057362e45cbddd3e27e53e557 to < b6c0e77d950bf80ab357e2b4b9667f4389ed417caffected
  • 7ad08a58bf67594057362e45cbddd3e27e53e557 to < af9cc316d31371824de8d409260a2ab9759dd51caffected
  • 7ad08a58bf67594057362e45cbddd3e27e53e557 to < aefb4b0f465b6f95fe02b52d1822a3fb4a9ae922affected
  • 7ad08a58bf67594057362e45cbddd3e27e53e557 to < 93a3e6a4c9e726a13a935963e8dc43d181db1527affected
  • 7ad08a58bf67594057362e45cbddd3e27e53e557 to < cca7d3e30bf30333314e31bc70b9a739f1342167affected

Linux Linux

Default version status: affected

  • 5.11affected
  • 0 to < 5.11unaffected
  • 5.15.224 to ≤ 5.15.*unaffected
  • 6.1.191 to ≤ 6.1.*unaffected
  • 6.6.160 to ≤ 6.6.*unaffected
  • 6.12.112 to ≤ 6.12.*unaffected
  • 6.18.51 to ≤ 6.18.*unaffected
  • 7.2.5 to ≤ 7.2.*unaffected
  • 7.3 to ≤ *unaffected

References