Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 7ad08a58bf67594057362e45cbddd3e27e53e557 before b6c0e77d950bf80ab357e2b4b9667f4389ed417c; affected 7ad08a58bf67594057362e45cbddd3e27e53e557 before af9cc316d31371824de8d409260a2ab9759dd51c; affected 7ad08a58bf67594057362e45cbddd3e27e53e557 before aefb4b0f465b6f95fe02b52d1822a3fb4a9ae922; affected 7ad08a58bf67594057362e45cbddd3e27e53e557 before 93a3e6a4c9e726a13a935963e8dc43d181db1527; affected 7ad08a58bf67594057362e45cbddd3e27e53e557 before cca7d3e30bf30333314e31bc70b9a739f1342167 |
| Linux / Linux | affected 5.11; unaffected 0 before 5.11; unaffected 6.6.160 through 6.6.*; unaffected 6.12.112 through 6.12.*; unaffected 6.18.51 through 6.18.*; unaffected 7.2.5 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- 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