sysfs: cannot create duplicate filename '/fs/gfs2/syz:syz' gfs2: fsid=syz:syz: Trying to join cluster "lock_dlm", "syz:syz" sysfs: cannot create duplicate filename '/fs/gfs2/syz:syz' ------------[ cut here ]------------ sysfs: cannot create duplicate filename '/fs/gfs2/syz:syz' WARNING: CPU: 0 PID: 7996 at fs/sysfs/dir.c:30 sysfs_warn_dup.cold+0x17/0x26 fs/sysfs/dir.c:30 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 7996 Comm: syz-executor180 Not tainted 4.14.302-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 sysfs: cannot create duplicate filename '/fs/gfs2/syz:syz' 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 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 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7995 at fs/sysfs/dir.c:30 sysfs_warn_dup.cold+0x17/0x26 fs/sysfs/dir.c:30 Modules linked in: invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:967 RIP: 0010:sysfs_warn_dup.cold+0x17/0x26 fs/sysfs/dir.c:30 CPU: 1 PID: 7995 Comm: syz-executor180 Not tainted 4.14.302-syzkaller #0 RSP: 0018:ffff8880b335f728 EFLAGS: 00010282 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RAX: 000000000000003a RBX: ffff8880b1b95b50 RCX: 0000000000000000 task: ffff888095af44c0 task.stack: ffff888096190000 RDX: 0000000000000000 RSI: ffffffff878bd020 RDI: ffffed101666bedb RIP: 0010:sysfs_warn_dup.cold+0x17/0x26 fs/sysfs/dir.c:30 RBP: ffff8880b2f36980 R08: 000000000000003a R09: 0000000000000000 RSP: 0018:ffff888096197728 EFLAGS: 00010282 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88823888d380 R13: ffff8880a66c5280 R14: ffff8880b1b95b58 R15: ffff8880a3b158d8 RAX: 000000000000003a RBX: ffff8880a3b158d0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff878bd020 RDI: ffffed1012c32edb sysfs_create_dir_ns+0x16f/0x1d0 fs/sysfs/dir.c:59 RBP: ffff8880b17eab40 R08: 000000000000003a R09: 0000000000000000 create_dir lib/kobject.c:71 [inline] kobject_add_internal+0x28b/0x930 lib/kobject.c:229 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88823888d380 kobject_add_varg lib/kobject.c:364 [inline] kobject_init_and_add+0xde/0x120 lib/kobject.c:436 R13: ffff8880a1836300 R14: ffff8880a3b158d8 R15: ffff8880a3b11898 FS: 0000555555700300(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 gfs2_sys_fs_add+0x184/0x3f0 fs/gfs2/sys.c:652 CR2: 000056099441e8b8 CR3: 00000000a22ae000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sysfs_create_dir_ns+0x16f/0x1d0 fs/sysfs/dir.c:59 fill_super+0x118b/0x2310 fs/gfs2/ops_fstype.c:1127 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 gfs2_mount+0x439/0x510 fs/gfs2/ops_fstype.c:1340 fill_super+0x118b/0x2310 fs/gfs2/ops_fstype.c:1127 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 gfs2_mount+0x439/0x510 fs/gfs2/ops_fstype.c:1340 SYSC_mount fs/namespace.c:3121 [inline] SyS_mount+0xa8/0x120 fs/namespace.c:3098 mount_fs+0x92/0x2a0 fs/super.c:1237 vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 vfs_kern_mount fs/namespace.c:1036 [inline] do_new_mount fs/namespace.c:2572 [inline] do_mount+0xe65/0x2a30 fs/namespace.c:2905 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7fdcfcd186da RSP: 002b:00007ffe6477b248 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fdcfcd186da RDX: 0000000020013400 RSI: 0000000020013440 RDI: 00007ffe6477b260 RBP: 00007ffe6477b260 R08: 00007ffe6477b2a0 R09: 0000000000000002 R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000004 SYSC_mount fs/namespace.c:3121 [inline] SyS_mount+0xa8/0x120 fs/namespace.c:3098 R13: 00005555557002c0 R14: 0000000000000000 R15: 00007ffe6477b2a0 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7fdcfcd186da RSP: 002b:00007ffe6477b248 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fdcfcd186da RDX: 0000000020013400 RSI: 0000000020013440 RDI: 00007ffe6477b260 RBP: 00007ffe6477b260 R08: 00007ffe6477b2a0 R09: 0000000000000002 R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000004 R13: 00005555557002c0 R14: 0000000000000000 R15: 00007ffe6477b2a0 Code: bd ea ff ff ff e9 8f c2 9f fa 4c 89 ff e8 74 de 7a fa eb da e8 6d 1d 51 fa 4c 89 ea 48 89 ee 48 c7 c7 80 c4 95 87 e8 e5 fb fe ff <0f> 0b 48 89 ef 5d 41 5c 41 5d e9 4c b4 7a fa e8 47 1d 51 fa 4d ---[ end trace 11aae1ce5b691428 ]--- Kernel Offset: disabled Rebooting in 86400 seconds..