------------[ cut here ]------------ DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffff0000f5ff2fa8, owner = 0x0, curr 0xffff0000d2ca0000, list empty WARNING: CPU: 1 PID: 10040 at kernel/locking/rwsem.c:1370 __up_write kernel/locking/rwsem.c:1369 [inline] WARNING: CPU: 1 PID: 10040 at kernel/locking/rwsem.c:1370 up_write+0x524/0x760 kernel/locking/rwsem.c:1632 Modules linked in: CPU: 1 UID: 0 PID: 10040 Comm: syz.2.718 Not tainted 6.11.0-rc4-syzkaller-gbe6d853c7631 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/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 : ffff8000a0d479e0 x29: ffff8000a0d47a70 x28: 0000000000001000 x27: 1fffe0001ebfe602 x26: dfff800000000000 x25: 1fffe0001ebfe5f6 x24: ffff0000f5ff3000 x23: 0000000000000000 x22: 0000000000000000 x21: ffff0000d2ca0000 x20: ffff0000f5ff2fa8 x19: ffff0000f5ff2fa8 x18: 0000000000000008 x17: 0000000000000000 x16: ffff800083018ec4 x15: 0000000000000001 x14: 1fffe0003679e852 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000040000 x10: 000000000000a559 x9 : 853bc4179781b500 x8 : 853bc4179781b500 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000a0d47138 x4 : ffff80008f5fb1e0 x3 : ffff800080603e88 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 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:804 [inline] unlock_mount+0x1d8/0x244 fs/namespace.c:2634 do_loopback+0x36c/0x3dc fs/namespace.c:2768 path_mount+0x4b0/0xe04 fs/namespace.c:3793 do_mount fs/namespace.c:3812 [inline] __do_sys_mount fs/namespace.c:4020 [inline] __se_sys_mount fs/namespace.c:3997 [inline] __arm64_sys_mount+0x45c/0x5a8 fs/namespace.c:3997 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 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: 292 hardirqs last enabled at (291): [] __up_console_sem kernel/printk/printk.c:341 [inline] hardirqs last enabled at (291): [] __console_unlock kernel/printk/printk.c:2801 [inline] hardirqs last enabled at (291): [] console_unlock+0x18c/0x3d4 kernel/printk/printk.c:3120 hardirqs last disabled at (292): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (48): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (46): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---