Re: KASAN: use-after-free Read in xlog_alloc_log

2019-06-27 Thread Christoph Hellwig
On Thu, Jun 27, 2019 at 04:06:54AM -0700, Christoph Hellwig wrote: > It seems like this is the xlog_alloc_log error path. We didn't > really change anything in the circular ioclogs queue handling, so > maybe thish has been there before, but xfs_buf wasn't wired up to > kasan to catch it? > > Eith

Re: KASAN: use-after-free Read in xlog_alloc_log

2019-06-27 Thread Christoph Hellwig
It seems like this is the xlog_alloc_log error path. We didn't really change anything in the circular ioclogs queue handling, so maybe thish has been there before, but xfs_buf wasn't wired up to kasan to catch it? Either way I suspect the right thing to do is to replace the list with an array bas

KASAN: use-after-free Read in xlog_alloc_log

2019-06-26 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:1dd45f17 Add linux-next specific files for 20190626 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=172479e9a0 kernel config: https://syzkaller.appspot.com/x/.config?x=c1222640552e42a5 dashboard