f2fs: fix dentry folio leak in find_in_level (Linux Linux)

CVE-2026-89837
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 12 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 7ad08a58bf67594057362e45cbddd3e27e53e557 < d2011b371fcb9247b2ef4ea2d852401a6c82ab88 ; affected 7ad08a58bf67594057362e45cbddd3e27e53e557 < 3b8593f7965fcb22672d98b55ae2e9410ea3d9f7 ; affected 7ad08a58bf67594057362e45cbddd3e27e53e557 < b6c0e77d950bf80ab357e2b4b9667f4389ed417c ; affected 7ad08a58bf67594057362e45cbddd3e27e53e557 < af9cc316d31371824de8d409260a2ab9759dd51c ; affected 7ad08a58bf67594057362e45cbddd3e27e53e557 < aefb4b0f465b6f95fe02b52d1822a3fb4a9ae922 ; affected 7ad08a58bf67594057362e45cbddd3e27e53e557 < 93a3e6a4c9e726a13a935963e8dc43d181db1527
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.224 ≤ 5.15.* ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.112 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD