------------[ cut here ]------------ DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffff000116c25610, owner = 0x0, curr 0xffff0001159ab400, list empty WARNING: CPU: 1 PID: 8652 at kernel/locking/rwsem.c:1361 __up_write+0x224/0x24c kernel/locking/rwsem.c:1360 Modules linked in: CPU: 1 PID: 8652 Comm: syz-executor.4 Not tainted 6.2.0-rc4-syzkaller-16807-gedb2f0dc90f2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __up_write+0x224/0x24c kernel/locking/rwsem.c:1360 lr : __up_write+0x224/0x24c kernel/locking/rwsem.c:1360 sp : ffff800013d5bd20 x29: ffff800013d5bd20 x28: ffff0001159ab400 x27: 0000000000000000 x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000001 x23: ffff000116e033a8 x22: 00000000ffffff9c x21: ffff80000d52c000 x20: ffff000116c25610 x19: ffff000116c25610 x18: 0000000000000017 x17: ffff80000c16e8bc x16: ffff80000dd97118 x15: ffff0001159ab400 x14: 0000000000000000 x13: 00000000ffffffff x12: 0000000000040000 x11: 000000000003ffff x10: ffff80001e1a4000 x9 : 9030cff770d0df00 x8 : 9030cff770d0df00 x7 : ffff80000816eab4 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000 x2 : ffff0001fefdef08 x1 : 0000000100000000 x0 : 00000000000000bd Call trace: __up_write+0x224/0x24c kernel/locking/rwsem.c:1360 up_write+0x38/0x48 kernel/locking/rwsem.c:1615 inode_unlock include/linux/fs.h:761 [inline] done_path_create fs/namei.c:3857 [inline] do_symlinkat+0xe4/0x2b8 fs/namei.c:4433 __do_sys_symlinkat fs/namei.c:4447 [inline] __se_sys_symlinkat fs/namei.c:4444 [inline] __arm64_sys_symlinkat+0x58/0x70 fs/namei.c:4444 __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/0x104 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584 irq event stamp: 1128 hardirqs last enabled at (1127): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1370 [inline] hardirqs last enabled at (1127): [] finish_lock_switch+0x94/0xe8 kernel/sched/core.c:5052 hardirqs last disabled at (1128): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (1120): [] _stext+0x2e4/0x37c softirqs last disabled at (1097): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]---