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

2019-10-16 Thread Eric Biggers
On Thu, Oct 17, 2019 at 03:37:35AM +0100, Al Viro wrote: > On Wed, Oct 16, 2019 at 07:27:05PM -0700, Eric Biggers wrote: > > > How about the following? > > > > pr_warn("%s filesystem being %s at %s supports timestamps until %04ld > > (0x%llx)\n", > > sb->s_type->name, > >

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

2019-10-16 Thread Al Viro
On Wed, Oct 16, 2019 at 07:27:05PM -0700, Eric Biggers wrote: > How about the following? > > pr_warn("%s filesystem being %s at %s supports timestamps until %04ld > (0x%llx)\n", > sb->s_type->name, > is_mounted(mnt) ? "remounted" : "mounted", > mnt

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

2019-10-16 Thread Eric Biggers
On Thu, Oct 17, 2019 at 02:58:53AM +0100, Al Viro wrote: > On Wed, Oct 16, 2019 at 06:47:55PM -0700, Eric Biggers wrote: > > On Wed, Oct 16, 2019 at 06:42:11PM -0700, syzbot wrote: > > > == > > > BUG: KASAN: use-after-free in mnt_warn_

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

2019-10-16 Thread Al Viro
On Wed, Oct 16, 2019 at 06:47:55PM -0700, Eric Biggers wrote: > On Wed, Oct 16, 2019 at 06:42:11PM -0700, syzbot wrote: > > == > > BUG: KASAN: use-after-free in mnt_warn_timestamp_expiry+0x4a/0x250 > > fs/namespace.c:2471 > > Read of s

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

2019-10-16 Thread Eric Biggers
On Wed, Oct 16, 2019 at 06:42:11PM -0700, syzbot wrote: > == > BUG: KASAN: use-after-free in mnt_warn_timestamp_expiry+0x4a/0x250 > fs/namespace.c:2471 > Read of size 8 at addr 888099937328 by task syz-executor.1/18510 > Looks li

KASAN: use-after-free Read in mnt_warn_timestamp_expiry

2019-10-16 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:3b1f00ac Merge tag 'for_linus' of git://git.kernel.org/pub.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=137ae2bb60 kernel config: https://syzkaller.appspot.com/x/.config?x=f0a8b0a0736a2ac1 da