WARNING: CPU: 0 PID: 5675 at kernel/locking/rwsem.c:1350 __up_write kernel/locking/rwsem.c:1349 [inline] WARNING: CPU: 0 PID: 5675 at kernel/locking/rwsem.c:1350 up_write+0x524/0x6f0 kernel/locking/rwsem.c:1604 Modules linked in: CPU: 0 PID: 5675 Comm: syz.4.297 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __up_write kernel/locking/rwsem.c:1349 [inline] pc : up_write+0x524/0x6f0 kernel/locking/rwsem.c:1604 lr : __up_write kernel/locking/rwsem.c:1349 [inline] lr : up_write+0x524/0x6f0 kernel/locking/rwsem.c:1604 sp : ffff800020b47bc0 x29: ffff800020b47bd0 x28: ffff0000d5ccb300 x27: 0000000000000000 x26: dfff800000000000 x25: 1fffe0001e01b073 x24: ffff0000f00d8388 x23: 0000000000000000 x22: 0000000000000000 x21: ffff0000e9221b40 x20: ffff0000f00d8330 x19: ffff0000f00d8330 x18: 1fffe00036831b8e x17: 1fffe00036831b8e x16: ffff800011ab8a34 x15: ffff800014b5fa40 x14: 1ffff0000295806a x13: dfff800000000000 x12: 0000000000080000 x11: 0000000000036c5a x10: ffff80002802d000 x9 : 0db7b9b4b3139900 x8 : 0db7b9b4b3139900 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff80000a98269c x2 : ffff0001b418dd10 x1 : 0000000100000000 x0 : 00000000000000bd Call trace: __up_write kernel/locking/rwsem.c:1349 [inline] up_write+0x524/0x6f0 kernel/locking/rwsem.c:1604 inode_unlock include/linux/fs.h:794 [inline] done_path_create fs/namei.c:3886 [inline] do_mknodat+0x410/0x694 fs/namei.c:4009 __do_sys_mknodat fs/namei.c:4022 [inline] __se_sys_mknodat fs/namei.c:4019 [inline] __arm64_sys_mknodat+0xb0/0xcc fs/namei.c:4019 __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:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 418 hardirqs last enabled at (417): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1338 [inline] hardirqs last enabled at (417): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:4781 hardirqs last disabled at (418): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (112): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (110): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace 993bcb4c4ae8b8e5 ]---