[f2fs-dev] [Bug 203211] Infinite error messages on mounting crafted image

2019-04-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203211 Chao Yu ([email protected]) changed: What|Removed |Added Status|NEW |ASSIGNED CC|

Re: [f2fs-dev] [PATCH v5] f2fs: fix to avoid accessing xattr across the boundary

2019-04-11 Thread Chao Yu
On 2019/4/11 16:26, Randall Huang wrote: > When we traverse xattr entries via __find_xattr(), > if the raw filesystem content is faked or any hardware failure occurs, > out-of-bound error can be detected by KASAN. > Fix the issue by introducing boundary check. > > [ 38.402878] c7 1827 BUG: KAS

Re: [f2fs-dev] [PATCH v2 1/2] vfs: use READ_ONCE() to access ->i_link

2019-04-11 Thread Eric Biggers
On Thu, Apr 11, 2019 at 03:25:15AM +0100, Al Viro wrote: > On Wed, Apr 10, 2019 at 04:15:48PM -0700, Eric Biggers wrote: > > On Wed, Apr 10, 2019 at 10:06:57PM +0100, Al Viro wrote: > > > On Wed, Apr 10, 2019 at 01:21:14PM -0700, Eric Biggers wrote: > > > > From: Eric Biggers > > > > > > > > Use

[f2fs-dev] [PATCH v5] f2fs: fix to avoid accessing xattr across the boundary

2019-04-11 Thread Randall Huang via Linux-f2fs-devel
When we traverse xattr entries via __find_xattr(), if the raw filesystem content is faked or any hardware failure occurs, out-of-bound error can be detected by KASAN. Fix the issue by introducing boundary check. [ 38.402878] c7 1827 BUG: KASAN: slab-out-of-bounds in f2fs_getxattr+0x518/0x68c