Re: [syzbot] [ext4?] WARNING in setattr_copy

From: Christian Brauner
Date: Mon Sep 18 2023 - 06:47:59 EST


On Fri, Sep 15, 2023 at 11:51:54PM -0700, syzbot wrote:
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: 3c13c772fc23 Add linux-next specific files for 20230912
> git tree: linux-next
> console+strace: https://syzkaller.appspot.com/x/log.txt?x=15b02b0c680000
> kernel config: https://syzkaller.appspot.com/x/.config?x=f7149cbda1664bc5
> dashboard link: https://syzkaller.appspot.com/bug?extid=450a6d7e0a2db0d8326a
> compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=155b32b4680000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12cf6028680000
>
> Downloadable assets:
> disk image: https://storage.googleapis.com/syzbot-assets/eb6fbc71f83a/disk-3c13c772.raw.xz
> vmlinux: https://storage.googleapis.com/syzbot-assets/2d671ade67d9/vmlinux-3c13c772.xz
> kernel image: https://storage.googleapis.com/syzbot-assets/b2b7190a3a61/bzImage-3c13c772.xz
>
> The issue was bisected to:
>
> commit d6f106662147d78e9a439608e8deac7d046ca0fa
> Author: Jeff Layton <jlayton@xxxxxxxxxx>
> Date: Wed Aug 30 18:28:43 2023 +0000
>
> fs: have setattr_copy handle multigrain timestamps appropriately
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1419f8d8680000
> final oops: https://syzkaller.appspot.com/x/report.txt?x=1619f8d8680000
> console output: https://syzkaller.appspot.com/x/log.txt?x=1219f8d8680000
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+450a6d7e0a2db0d8326a@xxxxxxxxxxxxxxxxxxxxxxxxx
> Fixes: d6f106662147 ("fs: have setattr_copy handle multigrain timestamps appropriately")

#syz test: git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git f8edd33686154b9165457c95e2ed5943e916781e