------------[ cut here ]------------ DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffff0000f340c590, owner = 0x0, curr 0xffff0000cba451c0, list empty WARNING: CPU: 0 PID: 11794 at kernel/locking/rwsem.c:1350 __up_write kernel/locking/rwsem.c:1349 [inline] WARNING: CPU: 0 PID: 11794 at kernel/locking/rwsem.c:1350 up_write+0x4e8/0x644 kernel/locking/rwsem.c:1604 Modules linked in: CPU: 0 PID: 11794 Comm: syz-executor182 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 pstate: 62400005 (nZCv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : __up_write kernel/locking/rwsem.c:1349 [inline] pc : up_write+0x4e8/0x644 kernel/locking/rwsem.c:1604 lr : __up_write kernel/locking/rwsem.c:1349 [inline] lr : up_write+0x4e8/0x644 kernel/locking/rwsem.c:1604 sp : ffff80001f4c77c0 x29: ffff80001f4c77d0 x28: ffff0000e2f85608 x27: ffff80001f4c7ad8 x26: dfff800000000000 x25: 1fffe0001e6818bf x24: ffff0000f340c5e8 x23: 0000000000000000 x22: 0000000000000000 x21: ffff0000cba451c0 x20: ffff0000f340c590 x19: ffff0000f340c590 x18: 0000000000000001 x17: 0000000000000000 x16: ffff8000111ceed0 x15: 00000000ffffffff x14: 0000000000ff0100 x13: 0000000000023670 x12: 0000000000ff0100 x11: 0000000000000000 x10: 0000000000000000 x9 : c855b549b0064800 x8 : c855b549b0064800 x7 : 0000000000023670 x6 : 0000000000023610 x5 : ffff80001f4c70b8 x4 : ffff80001425e4b8 x3 : ffff8000085043fc x2 : 0000000000000001 x1 : 0000000100000000 x0 : 00000000000000bd Call trace: __up_write kernel/locking/rwsem.c:1349 [inline] up_write+0x4e8/0x644 kernel/locking/rwsem.c:1604 inode_unlock include/linux/fs.h:792 [inline] open_last_lookups fs/namei.c:3544 [inline] path_openat+0xe14/0x26e4 fs/namei.c:3747 do_filp_open+0x164/0x330 fs/namei.c:3777 do_sys_openat2+0x128/0x3d8 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __arm64_sys_openat+0x120/0x154 fs/open.c:1280 __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+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 250 hardirqs last enabled at (249): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (250): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (72): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (70): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace 87803c40d91412f9 ]---