should_failslab+0xd6/0x130 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc mm/slab.c:3376 [inline] __do_kmalloc mm/slab.c:3718 [inline] __kmalloc+0x2c1/0x400 mm/slab.c:3729 kmalloc include/linux/slab.h:493 [inline] SYSC_memfd_create mm/shmem.c:3754 [inline] SyS_memfd_create+0xbc/0x3c0 mm/shmem.c:3724 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 13414 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 ... do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 RIP: 0033:0x7fa80a2ed0f9 RSP: 002b:00007fa80885ef38 EFLAGS: 00000202 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 000000000000559e RCX: 00007fa80a2ed0f9 RDX: 00007fa80885efdc RSI: 0000000000000000 RDI: 00007fa80a347e81 RBP: 000000000000559e R08: 00007fa80885ee20 R09: ffffffffffffffff R10: 0000000000000000 R11: 0000000000000202 R12: 00000000200055c0 R13: 00007fa80885efdc R14: 00007fa80885efe0 R15: 0000000020005680 CPU: 0 PID: 13414 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 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:ffff88805177f728 EFLAGS: 00010282 RAX: 000000000000003a RBX: ffff88805a7ec290 RCX: 0000000000000000 RDX: 000000000001e612 RSI: ffffffff81444380 RDI: ffffed100a2efedb RBP: ffff88805ac60980 R08: 000000000000003a R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8882393e4d20 R13: ffff8880a9504040 R14: ffff88805a7ec298 R15: ffff888098e80c58 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:0x7f7e6e26c62a RSP: 002b:00007f7e6c7dcf88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000003b273 RCX: 00007f7e6e26c62a RDX: 000000002003b280 RSI: 000000002003b2c0 RDI: 00007f7e6c7dcfe0 RBP: 00007f7e6c7dd020 R08: 00007f7e6c7dd020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000000002003b280 R13: 000000002003b2c0 R14: 00007f7e6c7dcfe0 R15: 000000002003b300 Kernel Offset: disabled Rebooting in 86400 seconds..