# CVE-2026-89837: f2fs: fix dentry folio leak in find_in_level

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-09-16T10:31:11.557Z
- Modified: 2026-10-30T13:20:30.877Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7ad08a58bf67594057362e45cbddd3e27e53e557 before d2011b371fcb9247b2ef4ea2d852401a6c82ab88; from 7ad08a58bf67594057362e45cbddd3e27e53e557 before 3b8593f7965fcb22672d98b55ae2e9410ea3d9f7; from 7ad08a58bf67594057362e45cbddd3e27e53e557 before b6c0e77d950bf80ab357e2b4b9667f4389ed417c; from 7ad08a58bf67594057362e45cbddd3e27e53e557 before af9cc316d31371824de8d409260a2ab9759dd51c; from 7ad08a58bf67594057362e45cbddd3e27e53e557 before aefb4b0f465b6f95fe02b52d1822a3fb4a9ae922; from 7ad08a58bf67594057362e45cbddd3e27e53e557 before 93a3e6a4c9e726a13a935963e8dc43d181db1527; from 7ad08a58bf67594057362e45cbddd3e27e53e557 before cca7d3e30bf30333314e31bc70b9a739f1342167; 5.11 (not affected: before 5.11; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/d2011b371fcb9247b2ef4ea2d852401a6c82ab88>
- <https://git.kernel.org/stable/c/3b8593f7965fcb22672d98b55ae2e9410ea3d9f7>
- <https://git.kernel.org/stable/c/b6c0e77d950bf80ab357e2b4b9667f4389ed417c>
- <https://git.kernel.org/stable/c/af9cc316d31371824de8d409260a2ab9759dd51c>
- <https://git.kernel.org/stable/c/aefb4b0f465b6f95fe02b52d1822a3fb4a9ae922>
- <https://git.kernel.org/stable/c/93a3e6a4c9e726a13a935963e8dc43d181db1527>
- <https://git.kernel.org/stable/c/cca7d3e30bf30333314e31bc70b9a739f1342167>

## Sources

- CVE List: [CVE-2026-89837](https://www.cve.org/CVERecord?id=CVE-2026-89837), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-89837](https://nvd.nist.gov/vuln/detail/CVE-2026-89837), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-89837 · Whole record: https://cve.day/CVE-2026-89837.json · Rebuilt by cve.day 2026-11-25T22:59:38.952Z
