Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 sysfs: cannot create duplicate filename '/fs/gfs2/syz:syz' gfs2_lm_withdraw.cold+0x1d8/0x251 fs/gfs2/util.c:73 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 10884 at fs/sysfs/dir.c:30 sysfs_warn_dup.cold+0x17/0x26 fs/sysfs/dir.c:30 Kernel panic - not syncing: kernel: panic_on_warn set ... 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] init_journal fs/gfs2/ops_fstype.c:723 [inline] init_inodes+0x10d2/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:0x7fb07d6b462a RSP: 002b:00007fb07bc24f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000012544 RCX: 00007fb07d6b462a RDX: 0000000020000100 RSI: 0000000020012500 RDI: 00007fb07bc24fe0 RBP: 00007fb07bc25020 R08: 00007fb07bc25020 R09: 0000000000000819 R10: 0000000000000819 R11: 0000000000000202 R12: 0000000020000100 R13: 0000000020012500 R14: 00007fb07bc24fe0 R15: 0000000020000000 CPU: 1 PID: 10884 Comm: syz-executor.3 Not tainted 4.14.305-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 panic+0x21d/0x451 kernel/panic.c:247 check_panic_on_warn.cold+0x19/0x35 kernel/panic.c:171 __warn+0xdf/0x1e0 kernel/panic.c:603 report_bug+0x208/0x250 lib/bug.c:183 gfs2: fsid=syz:syz.0: can't acquire journal inode glock: -5 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:ffff88804c4ef728 EFLAGS: 00010282 RAX: 000000000000003a RBX: ffff88804a3cc710 RCX: 0000000000000000 RDX: 000000000002e5c6 RSI: ffffffff81444380 RDI: ffffed100989dedb RBP: ffff88808ca76c40 R08: 000000000000003a R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888238f96540 R13: ffff8880a5b3ba00 R14: ffff88804a3cc718 R15: ffff8880b47b88d8 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: fsid=syz:syz: Trying to join cluster "lock_nolock", "syz:syz" gfs2_sys_fs_add+0x184/0x3f0 fs/gfs2/sys.c:652 gfs2: fsid=syz:syz: Now mounting FS... gfs2: fsid=syz:syz.0: fatal: invalid metadata block bh = 16 (type: exp=4, found=1) function = gfs2_meta_indirect_buffer, file = fs/gfs2/meta_io.c, line = 419 fill_super+0x118b/0x2310 fs/gfs2/ops_fstype.c:1127 gfs2: fsid=syz:syz.0: about to withdraw this file system gfs2_mount+0x439/0x510 fs/gfs2/ops_fstype.c:1340 gfs2: fsid=syz:syz.0: withdrawn 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:0x7fe195b1c62a RSP: 002b:00007fe19408cf88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000012544 RCX: 00007fe195b1c62a RDX: 0000000020000100 RSI: 0000000020012500 RDI: 00007fe19408cfe0 RBP: 00007fe19408d020 R08: 00007fe19408d020 R09: 0000000000000819 R10: 0000000000000819 R11: 0000000000000202 R12: 0000000020000100 R13: 0000000020012500 R14: 00007fe19408cfe0 R15: 0000000020000000 CPU: 0 PID: 10901 Comm: syz-executor.4 Not tainted 4.14.305-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 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_metatype_check_ii+0x6a/0xb0 fs/gfs2/util.c:222 gfs2_metatype_check_i fs/gfs2/util.h:114 [inline] gfs2_meta_indirect_buffer+0x211/0x380 fs/gfs2/meta_io.c:419 gfs2_meta_inode_buffer fs/gfs2/meta_io.h:73 [inline] gfs2_inode_refresh+0x84/0xd40 fs/gfs2/glops.c:406 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_lookupi+0x299/0x560 fs/gfs2/inode.c:300 gfs2_lookup_simple+0x89/0xc0 fs/gfs2/inode.c:251 init_journal fs/gfs2/ops_fstype.c:676 [inline] init_inodes+0x242/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:0x7f4be5dc462a RSP: 002b:00007f4be4334f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000001256d RCX: 00007f4be5dc462a RDX: 0000000020000100 RSI: 0000000020012500 RDI: 00007f4be4334fe0 RBP: 00007f4be4335020 R08: 00007f4be4335020 R09: 0000000000000819 R10: 0000000000000819 R11: 0000000000000202 R12: 0000000020000100 R13: 0000000020012500 R14: 00007f4be4334fe0 R15: 0000000020000040 Kernel Offset: disabled Rebooting in 86400 seconds..