f2fs: fix dentry folio leak in find_in_level
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3b8593f7965fcb22672d98b55ae2e9410ea3d9f7, Kernel 93a3e6a4c9e726a13a935963e8dc43d181db1527, Kernel aefb4b0f465b6f95fe02b52d1822a3fb4a9ae922 and 4 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.11, >=7ad08a58bf67594057362e45cbddd3e27e53e557 <3b8593f7965fcb22672d98b55ae2e9410ea3d9f7, >=7ad08a58bf67594057362e45cbddd3e27e53e557 <93a3e6a4c9e726a13a935963e8dc43d181db1527, >=7ad08a58bf67594057362e45cbddd3e27e53e557 <aefb4b0f465b6f95fe02b52d1822a3fb4a9ae922, >=7ad08a58bf67594057362e45cbddd3e27e53e557 <af9cc316d31371824de8d409260a2ab9759dd51c, >=7ad08a58bf67594057362e45cbddd3e27e53e557 <b6c0e77d950bf80ab357e2b4b9667f4389ed417c, >=7ad08a58bf67594057362e45cbddd3e27e53e557 <cca7d3e30bf30333314e31bc70b9a739f1342167, >=7ad08a58bf67594057362e45cbddd3e27e53e557 <d2011b371fcb9247b2ef4ea2d852401a6c82ab88 | 3b8593f7965fcb22672d98b55ae2e9410ea3d9f7, 93a3e6a4c9e726a13a935963e8dc43d181db1527, aefb4b0f465b6f95fe02b52d1822a3fb4a9ae922, af9cc316d31371824de8d409260a2ab9759dd51c, b6c0e77d950bf80ab357e2b4b9667f4389ed417c, cca7d3e30bf30333314e31bc70b9a739f1342167, d2011b371fcb9247b2ef4ea2d852401a6c82ab88 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket