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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
7ad08a58bf67594057362e45cbddd3e27e53e557 to < d2011b371fcb9247b2ef4ea2d852401a6c82ab88affected7ad08a58bf67594057362e45cbddd3e27e53e557 to < 3b8593f7965fcb22672d98b55ae2e9410ea3d9f7affected7ad08a58bf67594057362e45cbddd3e27e53e557 to < b6c0e77d950bf80ab357e2b4b9667f4389ed417caffected7ad08a58bf67594057362e45cbddd3e27e53e557 to < af9cc316d31371824de8d409260a2ab9759dd51caffected7ad08a58bf67594057362e45cbddd3e27e53e557 to < aefb4b0f465b6f95fe02b52d1822a3fb4a9ae922affected7ad08a58bf67594057362e45cbddd3e27e53e557 to < 93a3e6a4c9e726a13a935963e8dc43d181db1527affected7ad08a58bf67594057362e45cbddd3e27e53e557 to < cca7d3e30bf30333314e31bc70b9a739f1342167affected
Linux Linux
Default version status: affected
5.11affected0 to < 5.11unaffected5.15.224 to ≤ 5.15.*unaffected6.1.191 to ≤ 6.1.*unaffected6.6.160 to ≤ 6.6.*unaffected6.12.112 to ≤ 6.12.*unaffected6.18.51 to ≤ 6.18.*unaffected7.2.5 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
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 ↗