inode = 3 2073 function = gfs2_dinode_in, file = fs/gfs2/glops.c, line = 390 sysfs: cannot create duplicate filename '/fs/gfs2/syz:syz' ------------[ cut here ]------------ gfs2: fsid=syz:syz.0: about to withdraw this file system WARNING: CPU: 0 PID: 10241 at fs/sysfs/dir.c:30 sysfs_warn_dup.cold+0x17/0x26 fs/sysfs/dir.c:30 gfs2: fsid=syz:syz.0: withdrawn Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 10239 Comm: syz-executor.5 Not tainted 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 gfs2_lm_withdraw.cold+0x1d8/0x251 fs/gfs2/util.c:73 gfs2_consist_inode_i+0xca/0x110 fs/gfs2/util.c:161 gfs2_dinode_in fs/gfs2/glops.c:390 [inline] gfs2_inode_refresh+0xaca/0xd40 fs/gfs2/glops.c:410 inode_go_lock+0x1d5/0x410 fs/gfs2/glops.c:436 do_promote+0x39f/0xc60 fs/gfs2/glock.c:362 finish_xmote+0x3ad/0xc30 fs/gfs2/glock.c:522 do_xmote+0x453/0x580 fs/gfs2/glock.c:590 run_queue+0x1d3/0x4d0 fs/gfs2/glock.c:655 gfs2_glock_nq+0x830/0x1120 fs/gfs2/glock.c:1114 gfs2_glock_nq_init fs/gfs2/glock.h:228 [inline] gfs2_jindex_hold fs/gfs2/ops_fstype.c:573 [inline] init_journal fs/gfs2/ops_fstype.c:684 [inline] init_inodes+0x68a/0x18d0 fs/gfs2/ops_fstype.c:807 fill_super+0x1721/0x2310 fs/gfs2/ops_fstype.c:1177 gfs2_mount+0x439/0x510 fs/gfs2/ops_fstype.c:1340 mount_fs+0x92/0x2a0 fs/super.c:1237 vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046 vfs_kern_mount fs/namespace.c:1036 [inline] do_new_mount fs/namespace.c:2572 [inline] do_mount+0xe65/0x2a30 fs/namespace.c:2905 SYSC_mount fs/namespace.c:3121 [inline] SyS_mount+0xa8/0x120 fs/namespace.c:3098 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f6e28bb25da RSP: 002b:00007f6e27122f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000013459 RCX: 00007f6e28bb25da RDX: 0000000020013400 RSI: 0000000020013440 RDI: 00007f6e27122fe0 RBP: 00007f6e27123020 R08: 00007f6e27123020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020013400 R13: 0000000020013440 R14: 00007f6e27122fe0 R15: 0000000020000080 CPU: 0 PID: 10241 Comm: syz-executor.0 Not tainted 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 panic+0x1f9/0x42d kernel/panic.c:183 __warn.cold+0x20/0x44 kernel/panic.c:547 gfs2: fsid=syz:syz.0: can't read journal index: -5 report_bug+0x208/0x250 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:177 [inline] fixup_bug arch/x86/kernel/traps.c:172 [inline] do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:967 RIP: 0010:sysfs_warn_dup.cold+0x17/0x26 fs/sysfs/dir.c:30 RSP: 0018:ffff888046677728 EFLAGS: 00010282 RAX: 000000000000003a RBX: ffff888046eacc90 RCX: 0000000000000000 RDX: 0000000000013ba3 RSI: ffffffff814443b0 RDI: ffffed1008cceedb RBP: ffff88804689ac40 R08: 000000000000003a R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888238f9f1c0 R13: ffff8880ab259a00 R14: ffff888046eacc98 R15: ffff888046e68c58 sysfs_create_dir_ns+0x16f/0x1d0 fs/sysfs/dir.c:59 create_dir lib/kobject.c:71 [inline] kobject_add_internal+0x28b/0x930 lib/kobject.c:229 kobject_add_varg lib/kobject.c:364 [inline] kobject_init_and_add+0xde/0x120 lib/kobject.c:436 gfs2_sys_fs_add+0x184/0x3f0 fs/gfs2/sys.c:652 fill_super+0x118b/0x2310 fs/gfs2/ops_fstype.c:1127 gfs2_mount+0x439/0x510 fs/gfs2/ops_fstype.c:1340 mount_fs+0x92/0x2a0 fs/super.c:1237 vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046 vfs_kern_mount fs/namespace.c:1036 [inline] do_new_mount fs/namespace.c:2572 [inline] do_mount+0xe65/0x2a30 fs/namespace.c:2905 SYSC_mount fs/namespace.c:3121 [inline] SyS_mount+0xa8/0x120 fs/namespace.c:3098 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7f1d160875da RSP: 002b:00007f1d145f7f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000013459 RCX: 00007f1d160875da RDX: 0000000020013400 RSI: 0000000020013440 RDI: 00007f1d145f7fe0 RBP: 00007f1d145f8020 R08: 00007f1d145f8020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020013400 R13: 0000000020013440 R14: 00007f1d145f7fe0 R15: 0000000020000080 Kernel Offset: disabled Rebooting in 86400 seconds..