Messages in this thread | | | Subject | Re: [PATCH] f2fs: read page index before freeing | From | Chao Yu <> | Date | Mon, 26 Nov 2018 17:13:53 +0800 |
| |
Hi Pan,
On 2018/11/22 18:58, Pan Bian wrote: > The function truncate_node frees the page with f2fs_put_page. However, > the page index is read after that. So, the patch reads the index before > freeing the page.
I notice that you found another use-after-free bug in ext4, out of curiosity, I'd like to ask how do you find those bugs? by tool or code review?
Thanks,
| |