sysfs: cannot create duplicate filename '/fs/gfs2/syz:syz' ------------[ cut here ]------------ ubi0: attached mtd0 (name "mtdram test device", size 0 MiB) WARNING: CPU: 1 PID: 10010 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 ... CPU: 1 PID: 10010 Comm: syz-executor.5 Not tainted 4.14.307-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/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 ubi0: PEB size: 4096 bytes (4 KiB), LEB size: 3968 bytes check_panic_on_warn.cold+0x19/0x35 kernel/panic.c:171 __warn+0xdf/0x1e0 kernel/panic.c:603 ubi0: min./max. I/O unit sizes: 1/64, sub-page size 1 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 ubi0: VID header offset: 64 (aligned 64), data offset: 128 ubi0: good PEBs: 32, bad PEBs: 0, corrupted PEBs: 0 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:ffff88805acf7728 EFLAGS: 00010282 RAX: 000000000000003a RBX: ffff88805a834190 RCX: 0000000000000000 RDX: 000000000000c790 RSI: ffffffff814443b0 RDI: ffffed100b59eedb RBP: ffff88805af5c240 R08: 000000000000003a R09: 0000000000000000 ubi0: user volume: 0, internal volumes: 1, max. volumes count: 23 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8882393e0b60 R13: ffff8880aa8de700 R14: ffff88805a834198 R15: ffff88805ade0118 ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 3238848054 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 ubi0: available PEBs: 28, total reserved PEBs: 4, PEBs reserved for bad PEB handling: 0 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 ubi0: background thread "ubi_bgt0d" started, PID 10043 fill_super+0x118b/0x2310 fs/gfs2/ops_fstype.c:1127 ubi0: detaching mtd0 ubi0: mtd0 is detached ubi0: attaching mtd0 gfs2_mount+0x439/0x510 fs/gfs2/ops_fstype.c:1340 ubi0: scanning is finished 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:0x7fa84a6d662a RSP: 002b:00007fa848c46f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000012544 RCX: 00007fa84a6d662a RDX: 0000000020000100 RSI: 0000000020012500 RDI: 00007fa848c46fe0 RBP: 00007fa848c47020 R08: 00007fa848c47020 R09: 0000000000000819 R10: 0000000000000819 R11: 0000000000000202 R12: 0000000020000100 R13: 0000000020012500 R14: 00007fa848c46fe0 R15: 0000000020000140 Kernel Offset: disabled Rebooting in 86400 seconds..