------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: CPU: 0 PID: 13226 at kernel/locking/mutex.c:582 __mutex_lock_common+0x49c/0xc28 kernel/locking/mutex.c:582 Modules linked in: CPU: 0 PID: 13226 Comm: syz-executor.1 Not tainted 5.19.0-rc8-syzkaller-01618-g680fb5b009e8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/20/2022 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __mutex_lock_common+0x49c/0xc28 kernel/locking/mutex.c:582 lr : __mutex_lock_common+0x49c/0xc28 kernel/locking/mutex.c:582 sp : ffff80001fbb38e0 x29: ffff80001fbb3950 x28: ffff80000ee1d000 x27: ffff0000e62d23a8 x26: 0000000000000000 x25: 0000000000000001 x24: 0000000000000002 x23: ffff8000087b504c x22: 0000000000000000 x21: 0000000000000000 x20: 0000000000000000 x19: ffff0000c86ffa28 x18: 00000000000002b5 x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000012 x12: 0000000000040000 x11: 00000000000052d0 x10: ffff800017d47000 x9 : cdc1e00daa4dd700 x8 : cdc1e00daa4dd700 x7 : 4e5241575f534b43 x6 : ffff8000081937c0 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000100000000 x0 : 0000000000000028 Call trace: __mutex_lock_common+0x49c/0xc28 kernel/locking/mutex.c:582 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 reiserfs_write_lock+0x3c/0x64 fs/reiserfs/lock.c:27 reiserfs_lookup+0xa4/0x1c4 fs/reiserfs/namei.c:364 lookup_open fs/namei.c:3352 [inline] open_last_lookups fs/namei.c:3444 [inline] path_openat+0x6c0/0x1200 fs/namei.c:3650 do_filp_open+0xcc/0x1a4 fs/namei.c:3680 do_sys_openat2+0xb8/0x22c fs/open.c:1278 do_sys_open fs/open.c:1294 [inline] __do_sys_openat fs/open.c:1310 [inline] __se_sys_openat fs/open.c:1305 [inline] __arm64_sys_openat+0xb0/0xe0 fs/open.c:1305 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x154 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x14c arch/arm64/kernel/entry-common.c:624 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:642 el0t_64_sync+0x18c/0x190 irq event stamp: 1407 hardirqs last enabled at (1407): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (1407): [] _raw_spin_unlock_irqrestore+0x48/0x8c kernel/locking/spinlock.c:194 hardirqs last disabled at (1406): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline] hardirqs last disabled at (1406): [] _raw_spin_lock_irqsave+0xa4/0xb4 kernel/locking/spinlock.c:162 softirqs last enabled at (1390): [] _stext+0x2e4/0x37c softirqs last disabled at (1363): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (1363): [] invoke_softirq+0x70/0xbc kernel/softirq.c:452 ---[ end trace 0000000000000000 ]--- Unable to handle kernel execute from non-executable memory at virtual address ffff80000ef19d80 Mem abort info: ESR = 0x000000008600000e EC = 0x21: IABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x0e: level 2 permission fault swapper pgtable: 4k pages, 48-bit VAs, pgdp=00000001c58c1000 [ffff80000ef19d80] pgd=100000023ffff003, p4d=100000023ffff003, pud=100000023fffe003, pmd=00680001c7600701 Internal error: Oops: 8600000e [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 13226 Comm: syz-executor.1 Tainted: G W 5.19.0-rc8-syzkaller-01618-g680fb5b009e8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/20/2022 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : bfs_fill_super.__key+0x0/0x10 lr : get_third_component fs/reiserfs/namei.c:196 [inline] lr : reiserfs_find_entry+0x130/0x298 fs/reiserfs/namei.c:317 sp : ffff80001fbb3960 x29: ffff80001fbb3990 x28: 0000000000008000 x27: ffff0000e62d23a8 x26: ffff0000e61e1138 x25: ffff0000e6898000 x24: 0000000010000000 x23: ffff0000e61e11a8 x22: 0000000000000008 x21: ffff80001fbb39e0 x20: ffff80001fbb3a48 x19: ffff0000ee4807b8 x18: 00000000000002b5 x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000002 x13: 0000000000000002 x12: 0000000000040000 x11: 0000000000015943 x10: ffff800017d47000 x9 : ffff80000877c86c x8 : ffff80000ef19d80 x7 : 4e5241575f534b43 x6 : ffff8000087b504c x5 : 0000000000000000 x4 : ffff80001fbb39e0 x3 : ffff80001fbb3a48 x2 : 0000000000000008 x1 : 0000000000000008 x0 : ffff0000e61e11a8 Call trace: bfs_fill_super.__key+0x0/0x10 reiserfs_lookup+0xc4/0x1c4 fs/reiserfs/namei.c:368 lookup_open fs/namei.c:3352 [inline] open_last_lookups fs/namei.c:3444 [inline] path_openat+0x6c0/0x1200 fs/namei.c:3650 do_filp_open+0xcc/0x1a4 fs/namei.c:3680 do_sys_openat2+0xb8/0x22c fs/open.c:1278 do_sys_open fs/open.c:1294 [inline] __do_sys_openat fs/open.c:1310 [inline] __se_sys_openat fs/open.c:1305 [inline] __arm64_sys_openat+0xb0/0xe0 fs/open.c:1305 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x154 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x14c arch/arm64/kernel/entry-common.c:624 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:642 el0t_64_sync+0x18c/0x190 Code: 00000000 00000000 00000000 00000000 (00000000) ---[ end trace 0000000000000000 ]---