CVE-2026-89837 PUBLISHED

f2fs: fix dentry folio leak in find_in_level

Assigner: Linux
Reserved: 11.09.2026 Published: 16.09.2026 Updated: 16.09.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 7ad08a58bf67594057362e45cbddd3e27e53e557 to aefb4b0f465b6f95fe02b52d1822a3fb4a9ae922 (excl.)
  • affected from 7ad08a58bf67594057362e45cbddd3e27e53e557 to 93a3e6a4c9e726a13a935963e8dc43d181db1527 (excl.)
  • affected from 7ad08a58bf67594057362e45cbddd3e27e53e557 to cca7d3e30bf30333314e31bc70b9a739f1342167 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.11 is affected
  • unaffected from 0 to 5.11 (excl.)
  • unaffected from 6.18.51 to 6.18.* (incl.)
  • unaffected from 7.2.5 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References