------------[ cut here ]------------ shmem_alloc_and_acct_page+0x126/0x620 mm/shmem.c:1505 WARNING: CPU: 0 PID: 13545 at fs/sysfs/dir.c:30 sysfs_warn_dup.cold+0x17/0x26 fs/sysfs/dir.c:30 shmem_getpage_gfp+0x302/0x2a40 mm/shmem.c:1782 Kernel panic - not syncing: panic_on_warn set ... shmem_getpage mm/shmem.c:131 [inline] shmem_write_begin+0xeb/0x190 mm/shmem.c:2431 generic_perform_write+0x1d5/0x430 mm/filemap.c:3055 __generic_file_write_iter+0x227/0x590 mm/filemap.c:3180 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208 call_write_iter include/linux/fs.h:1780 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x44c/0x630 fs/read_write.c:482 vfs_write+0x17f/0x4d0 fs/read_write.c:544 SYSC_write fs/read_write.c:590 [inline] SyS_write+0xf2/0x210 fs/read_write.c:582 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7fa87173de4f RSP: 002b:00007fa86fcfdf10 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fa87173de4f RDX: 0000000000010000 RSI: 00007fa8678de000 RDI: 0000000000000004 RBP: 00007fa8678de000 R08: 0000000000000000 R09: 0000000000000171 R10: 0000000000010000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007fa86fcfdfdc R14: 00007fa86fcfdfe0 R15: 0000000020000242 CPU: 0 PID: 13545 Comm: syz-executor.4 Not tainted 4.14.304-syzkaller #0 gfs2: fsid=syz:syz.0: jid=0: Looking at journal... Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 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 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:ffff88805641f728 EFLAGS: 00010282 RAX: 000000000000003a RBX: ffff888098709050 RCX: 0000000000000000 RDX: 0000000000013d69 RSI: ffffffff81444260 RDI: ffffed100ac83edb RBP: ffff888097076240 R08: 000000000000003a R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888238fd4b60 gfs2: fsid=syz:syz.0: jid=0: Done R13: ffff8880af15ddc0 R14: ffff888098709058 R15: ffff8880b4b2d018 gfs2: fsid=syz:syz.0: first mount done, others may mount 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:0x7f8239dd25fa RSP: 002b:00007f8238342f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 sysfs: cannot create duplicate filename '/fs/gfs2/syz:syz' RAX: ffffffffffffffda RBX: 0000000000049236 RCX: 00007f8239dd25fa RDX: 0000000020049240 RSI: 0000000020049280 RDI: 00007f8238342fe0 RBP: 00007f8238343020 R08: 00007f8238343020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020049240 R13: 0000000020049280 R14: 00007f8238342fe0 R15: 00000000200492c0 Kernel Offset: disabled Rebooting in 86400 seconds..