------------[ cut here ]------------ DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffff0001181720b0, owner = 0x0, curr 0xffff0000cb9ad1c0, list empty WARNING: CPU: 0 PID: 7947 at kernel/locking/rwsem.c:1342 __up_write kernel/locking/rwsem.c:1341 [inline] WARNING: CPU: 0 PID: 7947 at kernel/locking/rwsem.c:1342 up_write+0x384/0x438 kernel/locking/rwsem.c:1594 Modules linked in: CPU: 0 PID: 7947 Comm: syz-executor.5 Not tainted 5.15.114-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __up_write kernel/locking/rwsem.c:1341 [inline] pc : up_write+0x384/0x438 kernel/locking/rwsem.c:1594 lr : __up_write kernel/locking/rwsem.c:1341 [inline] lr : up_write+0x384/0x438 kernel/locking/rwsem.c:1594 sp : ffff80001d067be0 x29: ffff80001d067bf0 x28: 1ffff00003a0cf8c x27: dfff800000000000 x26: dfff800000000000 x25: 1fffe0002302e423 x24: ffff000118172108 x23: 0000000000000000 x22: 0000000000000000 x21: ffff0000cb9ad1c0 x20: ffff0001181720b0 x19: ffff0001181720b0 x18: 1fffe000368ffd8e x17: 1fffe000368ffd8e x16: ffff8000119495b4 x15: ffff80001496f100 x14: 1ffff0000291a06a x13: ffffffffffffffff x12: 0000000000040000 x11: 000000000003b791 x10: ffff80001d9da000 x9 : ca1d81a80d7af200 x8 : ca1d81a80d7af200 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff80000a951d80 x2 : ffff0001b47fed10 x1 : 0000000100000000 x0 : 00000000000000bd Call trace: __up_write kernel/locking/rwsem.c:1341 [inline] up_write+0x384/0x438 kernel/locking/rwsem.c:1594 inode_unlock include/linux/fs.h:792 [inline] done_path_create fs/namei.c:3815 [inline] do_symlinkat+0x3b4/0x6b0 fs/namei.c:4390 __do_sys_symlinkat fs/namei.c:4404 [inline] __se_sys_symlinkat fs/namei.c:4401 [inline] __arm64_sys_symlinkat+0xa4/0xbc fs/namei.c:4401 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 676 hardirqs last enabled at (675): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1338 [inline] hardirqs last enabled at (675): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:4780 hardirqs last disabled at (676): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387 softirqs last enabled at (464): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (464): [] __do_softirq+0xb5c/0xe20 kernel/softirq.c:587 softirqs last disabled at (449): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (449): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (449): [] __irq_exit_rcu+0x28c/0x534 kernel/softirq.c:636 ---[ end trace dc5cee22c6d5f13f ]---