------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 1 PID: 16630 at kernel/locking/mutex.c:582 __mutex_lock_common+0x4c4/0xca8 kernel/locking/mutex.c:582 Modules linked in: CPU: 1 PID: 16630 Comm: syz-executor.3 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __mutex_lock_common+0x4c4/0xca8 kernel/locking/mutex.c:582 lr : __mutex_lock_common+0x4c4/0xca8 kernel/locking/mutex.c:582 sp : ffff8000146835a0 x29: ffff800014683610 x28: ffff80000ee2b000 x27: 0000000000000000 x26: 0000000000000000 x25: ffff00010d98dc00 x24: 0000000000000002 x23: ffff800008d3f03c x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff000142a1aad8 x18: 000000000000ba7e x17: 000000000000b67e x16: 000000000000000c x15: 000000000000000c x14: 0000000000000005 x13: 000000000000000c x12: 0000000000000001 x11: ff808000081c0d5c x10: 0000000000000000 x9 : 189241dcd7a1d800 x8 : 189241dcd7a1d800 x7 : 4e5241575f534b43 x6 : ffff800008161d1c x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : ffff0000fdd99a80 x1 : 0000000100000000 x0 : 0000000000000028 Call trace: __mutex_lock_common+0x4c4/0xca8 kernel/locking/mutex.c:582 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 diAlloc+0xf0/0x98c fs/jfs/jfs_imap.c:1366 ialloc+0x5c/0x2fc fs/jfs/jfs_inode.c:56 jfs_create+0xf8/0x488 fs/jfs/namei.c:92 lookup_open fs/namei.c:3413 [inline] open_last_lookups fs/namei.c:3481 [inline] path_openat+0x804/0x11c4 fs/namei.c:3688 do_filp_open+0xdc/0x1b8 fs/namei.c:3718 file_open_name fs/open.c:1258 [inline] filp_open+0x104/0x144 fs/open.c:1278 do_coredump+0xd98/0x10a0 fs/coredump.c:697 get_signal+0x7c4/0xb40 kernel/signal.c:2843 do_signal+0x128/0x438 arch/arm64/kernel/signal.c:1071 do_notify_resume+0xc0/0x1f0 arch/arm64/kernel/signal.c:1124 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x150 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 irq event stamp: 12503 hardirqs last enabled at (12503): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:84 [inline] hardirqs last enabled at (12503): [] exit_to_kernel_mode+0xe8/0x118 arch/arm64/kernel/entry-common.c:94 hardirqs last disabled at (12502): [] preempt_schedule_irq+0x80/0x110 kernel/sched/core.c:6807 softirqs last enabled at (12254): [] _stext+0x2e4/0x37c softirqs last disabled at (12249): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 ---[ end trace 0000000000000000 ]--- ialloc: diAlloc returned -5!