Re: [f2fs-dev] [PATCH] f2fs: fix to do sanity check with inode.i_inline_xattr_size

2019-03-03 Thread Chao Yu
Hi Sahitya, On 2019/3/4 11:59, Sahitya Tummala wrote: > On Fri, Mar 01, 2019 at 03:38:05PM +0800, Chao Yu wrote: >> As Paul Bandha reported in bugzilla: >> >> https://bugzilla.kernel.org/show_bug.cgi?id=202709 >> >> When I run the poc on the mounted f2fs img I get a buffer overflow in >> read_inli

Re: [f2fs-dev] [PATCH] f2fs: fix to do sanity check with inode.i_inline_xattr_size

2019-03-03 Thread Sahitya Tummala
On Fri, Mar 01, 2019 at 03:38:05PM +0800, Chao Yu wrote: > As Paul Bandha reported in bugzilla: > > https://bugzilla.kernel.org/show_bug.cgi?id=202709 > > When I run the poc on the mounted f2fs img I get a buffer overflow in > read_inline_xattr due to there being no sanity check on the value of >

[PATCH] f2fs: fix to do sanity check with inode.i_inline_xattr_size

2019-02-28 Thread Chao Yu
As Paul Bandha reported in bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=202709 When I run the poc on the mounted f2fs img I get a buffer overflow in read_inline_xattr due to there being no sanity check on the value of i_inline_xattr_size. I created the img by just modifying the value of