CVE-2026-89837
f2fs: fix dentry folio leak in find_in_level
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.112, 6.18.51, 7.2.5
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
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() 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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
5.11
- KernelLinux
From 5.11.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.112; From 6.13.0 · fixed in 6.18.51; From 6.19.0 · fixed in 7.2.5
References 7
git.kernel.org
- stable/c/d2011b371fcb9247b2ef4ea2d852401a6c82ab88
- stable/c/3b8593f7965fcb22672d98b55ae2e9410ea3d9f7
- stable/c/b6c0e77d950bf80ab357e2b4b9667f4389ed417c
- stable/c/af9cc316d31371824de8d409260a2ab9759dd51c
- stable/c/aefb4b0f465b6f95fe02b52d1822a3fb4a9ae922
- stable/c/93a3e6a4c9e726a13a935963e8dc43d181db1527
- stable/c/cca7d3e30bf30333314e31bc70b9a739f1342167