Re: BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0

2016-01-05 Thread Dave Chinner
On Tue, Jan 05, 2016 at 05:30:55PM +0100, Andrea Gelmini wrote: > On Mon, Jan 04, 2016 at 07:47:58AM +1100, Dave Chinner wrote: > > > I'm recompiling, to try it again. > > > Maybe, in the meanwhile, you can do something with my files. You can find > > > 'em here: > > >

Re: BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0

2016-01-05 Thread Andrea Gelmini
On Mon, Jan 04, 2016 at 07:47:58AM +1100, Dave Chinner wrote: > > I'm recompiling, to try it again. > > Maybe, in the meanwhile, you can do something with my files. You can find > > 'em here: > > http://mail.gelma.net/xfs_kasan > > Any update on this problem, Andrea? Here we are! Reproduced

Re: BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0

2016-01-05 Thread Andrea Gelmini
On Mon, Jan 04, 2016 at 07:47:58AM +1100, Dave Chinner wrote: > > I'm recompiling, to try it again. > > Maybe, in the meanwhile, you can do something with my files. You can find > > 'em here: > > http://mail.gelma.net/xfs_kasan > > Any update on this problem, Andrea? Here we are! Reproduced

Re: BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0

2016-01-05 Thread Dave Chinner
On Tue, Jan 05, 2016 at 05:30:55PM +0100, Andrea Gelmini wrote: > On Mon, Jan 04, 2016 at 07:47:58AM +1100, Dave Chinner wrote: > > > I'm recompiling, to try it again. > > > Maybe, in the meanwhile, you can do something with my files. You can find > > > 'em here: > > >

Re: BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0

2016-01-04 Thread Andrea Gelmini
On Mon, Jan 04, 2016 at 07:47:58AM +1100, Dave Chinner wrote: > > Maybe, in the meanwhile, you can do something with my files. You can find > > 'em here: > > http://mail.gelma.net/xfs_kasan > > Any update on this problem, Andrea? Hi Dave, and thanks a lot for your interest. So, to make

Re: BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0

2016-01-04 Thread Andrea Gelmini
On Mon, Jan 04, 2016 at 07:47:58AM +1100, Dave Chinner wrote: > > Maybe, in the meanwhile, you can do something with my files. You can find > > 'em here: > > http://mail.gelma.net/xfs_kasan > > Any update on this problem, Andrea? Hi Dave, and thanks a lot for your interest. So, to make

Re: BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0

2016-01-03 Thread Dave Chinner
On Tue, Dec 15, 2015 at 10:11:45AM +0100, Andrea Gelmini wrote: > On Tue, Dec 15, 2015 at 08:22:20AM +1100, Dave Chinner wrote: > > $ gdb vmlinux > > > > (gdb) l *(xfs_iflush_cluster+0x9d7) > > It's not working. Shame on me, I forgot to set "Compile the kernel with debug > info". > > I'm

Re: BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0

2016-01-03 Thread Dave Chinner
On Tue, Dec 15, 2015 at 10:11:45AM +0100, Andrea Gelmini wrote: > On Tue, Dec 15, 2015 at 08:22:20AM +1100, Dave Chinner wrote: > > $ gdb vmlinux > > > > (gdb) l *(xfs_iflush_cluster+0x9d7) > > It's not working. Shame on me, I forgot to set "Compile the kernel with debug > info". > > I'm

Re: BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0

2015-12-15 Thread Andrea Gelmini
On Tue, Dec 15, 2015 at 08:22:20AM +1100, Dave Chinner wrote: > $ gdb vmlinux > > (gdb) l *(xfs_iflush_cluster+0x9d7) It's not working. Shame on me, I forgot to set "Compile the kernel with debug info". I'm recompiling, to try it again. Maybe, in the meanwhile, you can do something with my

Re: BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0

2015-12-15 Thread Andrea Gelmini
On Tue, Dec 15, 2015 at 08:22:20AM +1100, Dave Chinner wrote: > $ gdb vmlinux > > (gdb) l *(xfs_iflush_cluster+0x9d7) It's not working. Shame on me, I forgot to set "Compile the kernel with debug info". I'm recompiling, to try it again. Maybe, in the meanwhile, you can do something with my

Re: BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0

2015-12-14 Thread Dave Chinner
On Mon, Dec 14, 2015 at 09:15:26PM +0100, Andrea Gelmini wrote: > On Tue, Dec 15, 2015 at 06:54:22AM +1100, Dave Chinner wrote: > > What line of code does this address correspond to in your kernel? > > > > xfs_iflush_cluster+0x9d7 > > gelma@glen:~/dev/kernel/v4.4.x$ git grep -Iin

Re: BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0

2015-12-14 Thread Andrea Gelmini
On Tue, Dec 15, 2015 at 06:54:22AM +1100, Dave Chinner wrote: > What line of code does this address correspond to in your kernel? > > xfs_iflush_cluster+0x9d7 gelma@glen:~/dev/kernel/v4.4.x$ git grep -Iin xfs_iflush_cluster fs/xfs/xfs_inode.c:3179:xfs_iflush_cluster(

Re: BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0

2015-12-14 Thread Dave Chinner
On Mon, Dec 14, 2015 at 07:00:48PM +0100, Andrea Gelmini wrote: > Hi everybody, >using dev kernel v4.4, I have this: > > [40240.371807] > == > [40240.371826] BUG: KASAN: use-after-free in xfs_iflush_c

BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0

2015-12-14 Thread Andrea Gelmini
Hi everybody, using dev kernel v4.4, I have this: [40240.371807] == [40240.371826] BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0 at addr 88001ed15428 [40240.371832] Read of size 4 by task xfsaild/dm-0/332

Re: BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0

2015-12-14 Thread Dave Chinner
On Mon, Dec 14, 2015 at 07:00:48PM +0100, Andrea Gelmini wrote: > Hi everybody, >using dev kernel v4.4, I have this: > > [40240.371807] > == > [40240.371826] BUG: KASAN: use-after-free in xfs_iflush_c

Re: BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0

2015-12-14 Thread Andrea Gelmini
On Tue, Dec 15, 2015 at 06:54:22AM +1100, Dave Chinner wrote: > What line of code does this address correspond to in your kernel? > > xfs_iflush_cluster+0x9d7 gelma@glen:~/dev/kernel/v4.4.x$ git grep -Iin xfs_iflush_cluster fs/xfs/xfs_inode.c:3179:xfs_iflush_cluster(

BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0

2015-12-14 Thread Andrea Gelmini
Hi everybody, using dev kernel v4.4, I have this: [40240.371807] == [40240.371826] BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0 at addr 88001ed15428 [40240.371832] Read of size 4 by task xfsaild/dm-0/332

Re: BUG: KASAN: use-after-free in xfs_iflush_cluster+0x9d7/0xaf0

2015-12-14 Thread Dave Chinner
On Mon, Dec 14, 2015 at 09:15:26PM +0100, Andrea Gelmini wrote: > On Tue, Dec 15, 2015 at 06:54:22AM +1100, Dave Chinner wrote: > > What line of code does this address correspond to in your kernel? > > > > xfs_iflush_cluster+0x9d7 > > gelma@glen:~/dev/kernel/v4.4.x$ git grep -Iin