DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x1, magic = 0xffff0001258071d0, owner = 0xffff0000c875bc00, curr 0xffff0000c8759e00, list empty WARNING: CPU: 1 PID: 23550 at kernel/locking/rwsem.c:1370 __up_write kernel/locking/rwsem.c:1369 [inline] WARNING: CPU: 1 PID: 23550 at kernel/locking/rwsem.c:1370 up_write+0x524/0x760 kernel/locking/rwsem.c:1632 Modules linked in: CPU: 1 PID: 23550 Comm: syz-executor.4 Tainted: G B 6.8.0-rc5-syzkaller-ge6ac7c55d3ec #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __up_write kernel/locking/rwsem.c:1369 [inline] pc : up_write+0x524/0x760 kernel/locking/rwsem.c:1632 lr : __up_write kernel/locking/rwsem.c:1369 [inline] lr : up_write+0x524/0x760 kernel/locking/rwsem.c:1632 sp : ffff8000ab597b80 x29: ffff8000ab597c00 x28: 1ffff000156b2f95 x27: 1fffe00024b00e47 x26: dfff800000000000 x25: 1fffe00024b00e3b x24: ffff000125807228 x23: 0000000000000001 x22: ffff0000c875bc00 x21: ffff0000c8759e00 x20: ffff0001258071d0 x19: ffff0001258071d0 x18: 1fffe00036804796 x17: ffff80008ec8d000 x16: ffff80008ad5a610 x15: 0000000000000001 x14: 1fffe00036806fe8 x13: 0000000000000000 x12: 0000000000000000 x11: ffff8000ab58ffff x10: 0000000000ff0100 x9 : 782f8dc670cb9a00 x8 : 782f8dc670cb9a00 x7 : 1fffe00036804797 x6 : ffff800080297af0 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : ffff0000c8759e00 x1 : 0000000000000000 x0 : ffff800080297b90 Call trace: __up_write kernel/locking/rwsem.c:1369 [inline] up_write+0x524/0x760 kernel/locking/rwsem.c:1632 inode_unlock include/linux/fs.h:807 [inline] done_path_create fs/namei.c:3942 [inline] do_mkdirat+0x298/0x574 fs/namei.c:4148 __do_sys_mkdirat fs/namei.c:4160 [inline] __se_sys_mkdirat fs/namei.c:4158 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4158 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 0 hardirqs last enabled at (0): [<0000000000000000>] 0x0 hardirqs last disabled at (0): [] copy_process+0x1318/0x3478 kernel/fork.c:2441 softirqs last enabled at (0): [] copy_process+0x1340/0x3478 kernel/fork.c:2442 softirqs last disabled at (0): [<0000000000000000>] 0x0 ---[ end trace 0000000000000000 ]---