[f2fs-dev] Bug report: null ptr dereference in fscrypt_do_page_crypto() when operating a file on a corrupted f2fs image

2018-07-09 Thread Xu, Wen
Hi Chao, Could you please check: https://bugzilla.kernel.org/show_bug.cgi?id=200465 This new issue cannot be solved by your recent commits from my testing. Thanks, Wen -- Check out the vibrant tech community on one of

Re: [f2fs-dev] Bug report: some new bugs found by fuzzing

2018-07-09 Thread Xu, Wen
Yeah, the issues are all fixed by your commits regarding my tests. Thanks, Wen > On Jul 9, 2018, at 11:10 AM, Chao Yu wrote: > > I guess, could you please test it? > > Thanks, > > On 2018/7/8 10:43, Xu, Wen wrote: >> It is already fixed by the latest commit in y

Re: [f2fs-dev] Bug report: some new bugs found by fuzzing

2018-07-07 Thread Xu, Wen
It is already fixed by the latest commit in your git tree? Thanks, Wen > On Jul 7, 2018, at 12:32 PM, Chao Yu wrote: > > On 2018/7/7 23:48, Xu, Wen wrote: >> Sure I will do it. So you are still willing to fix the issues even it may be >> affected by CHECK_FS config? &g

Re: [f2fs-dev] Bug report: some new bugs found by fuzzing

2018-07-07 Thread Xu, Wen
Sure I will do it. So you are still willing to fix the issues even it may be affected by CHECK_FS config? Thanks -Wen > On Jul 6, 2018, at 12:22 PM, Chao Yu wrote: > > Hi Wen, > > I've update two patches today for these issues, could you please test them? > > On 2018/7/

Re: [f2fs-dev] Bug report: some new bugs found by fuzzing

2018-07-06 Thread Xu, Wen
> On Jul 6, 2018, at 3:00 AM, Chao Yu wrote: > > Hi Wen > > On 2018/7/6 9:30, Xu, Wen wrote: >> Thanks very much! I would like to provide any further help or testing. > > I found something interesting, our key metadata in checkpoint pack has already > been prote

Re: [f2fs-dev] Bug report: some new bugs found by fuzzing

2018-07-05 Thread Xu, Wen
Thanks very much! I would like to provide any further help or testing. -Wen > On Jul 5, 2018, at 9:13 PM, Chao Yu wrote: > > Hi Wen, > > On 2018/7/6 3:19, Xu, Wen wrote: >> Dear F2FS developers, >> >> By fuzzing, I find some new issues in Linux f2fs kern

[f2fs-dev] Bug report: some new bugs found by fuzzing

2018-07-05 Thread Xu, Wen
Dear F2FS developers, By fuzzing, I find some new issues in Linux f2fs kernel module. Here are the links on Bugzilla, 200419 NULL pointer dereference in __remove_dirty_segment() when mounting an f2fs image https://bugzilla.kernel.org/show_bug.cgi?id=200419 200421 Buffer overrun in

[f2fs-dev] Questions about commit f2fs: fix to avoid broken of dnode block list

2018-07-03 Thread Xu, Wen
Hi Chao, https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git/commit/?h=f2fs-dev=0ac2890156ab517a8ac79849ee5abab7ad60310b In this patch: f2fs: fix to avoid broken of dnode block list -int f2fs_wait_on_node_pages_writeback(struct f2fs_sb_info *sbi, nid_t ino) +int

Re: [f2fs-dev] Unfixed bug in f2fs-dev branch

2018-06-30 Thread Xu, Wen
Yeah, thanks. -Wen > On Jun 30, 2018, at 10:29 PM, Chao Yu wrote: > > On 2018/7/1 5:08, Xu, Wen wrote: >> Thanks for your efforts. It is fixed regarding my testing. > > Thanks very much for the test. :) > > If you don't mind, I will reply to bug report posts, and

Re: [f2fs-dev] Unfixed bug in f2fs-dev branch

2018-06-30 Thread Xu, Wen
Thanks for your efforts. It is fixed regarding my testing. -Wen > On Jun 30, 2018, at 6:17 AM, Chao Yu wrote: > > Hi Wen Xu, > > On 2018/6/30 1:31, Xu, Wen wrote: >> Hi Chao, >> >> Thank you for your quick response for my bugs! >> >> After testin

[f2fs-dev] Unfixed bug in f2fs-dev branch

2018-06-29 Thread Xu, Wen
Hi Chao, Thank you for your quick response for my bugs! After testing your patches, I found all my bugs are fixed except for https://bugzilla.kernel.org/show_bug.cgi?id=200179 The kernel still panics with KASAN report that I have already pasted in the link. Please check it. -Wen

[f2fs-dev] Bug report: Buffer overrun when reading inline data in f2fs

2018-06-22 Thread Xu, Wen
Hi all, A bug related with inline data read is found by fuzzing at https://bugzilla.kernel.org/show_bug.cgi?id=200219 Thanks, Wen -- Check out the vibrant tech community on one of the world's most engaging tech sites,

[f2fs-dev] Bug report: Buffer overrun when reading inline data in f2fs

2018-06-22 Thread Xu, Wen
Hi all, A bug related with inline data read is found by fuzzing at https://bugzilla.kernel.org/show_bug.cgi?id=200219 Thanks, Wen -- Check out the vibrant tech community on one of the world's most engaging tech sites,

[f2fs-dev] Bug report: BUG() triggered in f2fs_truncate_inode_blocks() when un-mounting a mounted f2fs image after writing to it

2018-06-22 Thread Xu, Wen
Hi all, A bug related to inode processing is found by fuzzing at https://bugzilla.kernel.org/show_bug.cgi?id=200223 Thanks, Wen -- Check out the vibrant tech community on one of the world's most engaging tech sites,

[f2fs-dev] Bug report: BUG() triggered in clear_inode() when mounting and un-mounting a corrupted f2fs image

2018-06-22 Thread Xu, Wen
Hi all, There is bug related to node cleaning found by fuzzing at https://bugzilla.kernel.org/show_bug.cgi?id=200221 Thanks, Wen -- Check out the vibrant tech community on one of the world's most engaging tech sites,

[f2fs-dev] Bug report: NULL pointer dereference in f2fs_test_bit() when mounting a crafted f2fs image

2018-06-22 Thread Xu, Wen
Hi, A bug found by fuzzing at: https://bugzilla.kernel.org/show_bug.cgi?id=200181 Thanks, Wen -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org!

[f2fs-dev] Bug report: Divide zero in utilization when mount() a corrupted f2fs image

2018-06-22 Thread Xu, Wen
Hi, A bug found by fuzzing at https://bugzilla.kernel.org/show_bug.cgi?id=200171 Thanks, Wen -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot

[f2fs-dev] Bug report: BUG() in verify_block_addr() when writing to a corrupted f2fs image

2018-06-22 Thread Xu, Wen
Hi, A bug found by fuzzing at https://bugzilla.kernel.org/show_bug.cgi?id=200175 Thanks, Wen -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot

[f2fs-dev] Bug report: buffer overrun in build_sit_info() when mounting a crafted f2fs image

2018-06-22 Thread Xu, Wen
Hi, A bug found by fuzzing, and the details is at: https://bugzilla.kernel.org/show_bug.cgi?id=200167 Thanks, Wen -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org!

[f2fs-dev] Bug report: use-after-free in update_sit_entry() when operating on a corrupted f2fs image

2018-06-22 Thread Xu, Wen
Hi, A bug found by fuzzing at https://bugzilla.kernel.org/show_bug.cgi?id=200179 Thanks, Wen -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot

[f2fs-dev] Bug report: Divide zero in reset_curseg() when mounting a crafted f2fs image

2018-06-22 Thread Xu, Wen
Hi, A bug found by fuzzing at https://bugzilla.kernel.org/show_bug.cgi?id=200183 Thanks, Wen -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot

[f2fs-dev] Bug report: BUG() triggered in verify_block_addr() when mounting a corrupted f2fs image

2018-06-22 Thread Xu, Wen
Hi, A bug found by fuzzing: https://bugzilla.kernel.org/show_bug.cgi?id=200177 Thanks, Wen -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot

[f2fs-dev] Bug report: NULL pointer dereference in update_sit_entry() when un-mounting a corrupted f2fs image

2018-06-22 Thread Xu, Wen
Hi, A bug found by fuzzing at https://bugzilla.kernel.org/show_bug.cgi?id=200185 Thanks, Wen -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot