FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 sysfs: cannot create duplicate filename '/fs/gfs2/syz:syz' ------------[ cut here ]------------ WARNING: CPU: 0 PID: 12917 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: 12933 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 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0x10a/0x149 lib/fault-inject.c:149 should_fail_alloc_page mm/page_alloc.c:2898 [inline] prepare_alloc_pages mm/page_alloc.c:4165 [inline] __alloc_pages_nodemask+0x21e/0x2900 mm/page_alloc.c:4213 alloc_pages_vma+0xd2/0x6d0 mm/mempolicy.c:2071 shmem_alloc_page+0xe0/0x180 mm/shmem.c:1480 shmem_alloc_and_acct_page+0x126/0x620 mm/shmem.c:1505 shmem_getpage_gfp+0x302/0x2a40 mm/shmem.c:1782 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:0x7f3a87e78e7f RSP: 002b:00007f3a86438f10 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f3a87e78e7f RDX: 0000000000020000 RSI: 00007f3a7e019000 RDI: 0000000000000004 RBP: 00007f3a7e019000 R08: 0000000000000000 R09: 00000000000001dd R10: 0000000000020000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f3a86438fdc R14: 00007f3a86438fe0 R15: 00000000200002c2 CPU: 0 PID: 12917 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 panic+0x21d/0x451 kernel/panic.c:247 Huh VM_FAULT_OOM leaked out to the #PF handler. Retrying PF 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 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:ffff88805e147728 EFLAGS: 00010282 RAX: 000000000000003a RBX: ffff88805fba1650 RCX: 0000000000000000 RDX: 000000000000c328 RSI: ffffffff81444380 RDI: ffffed100bc28edb RBP: ffff88805ebe6880 R08: 000000000000003a R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880b13f3540 R13: ffff8880ac31ab00 R14: ffff88805fba1658 R15: ffff888053eb90d8 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:0x7fac860df62a RSP: 002b:00007fac8464ff88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000037f00 RCX: 00007fac860df62a RDX: 0000000020037f00 RSI: 0000000020037f40 RDI: 00007fac8464ffe0 RBP: 00007fac84650020 R08: 00007fac84650020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020037f00 R13: 0000000020037f40 R14: 00007fac8464ffe0 R15: 0000000020037f80 Kernel Offset: disabled Rebooting in 86400 seconds..