------------[ cut here ]------------ DEBUG_RWSEMS_WARN_ON(!is_rwsem_reader_owned(sem)): count = 0x0, magic = 0xffff0000e2be1950, owner = 0x0, curr 0xffff0000c0e1d1c0, list empty WARNING: CPU: 1 PID: 7795 at kernel/locking/rwsem.c:1323 __up_read+0x568/0x60c kernel/locking/rwsem.c:1323 Modules linked in: CPU: 1 PID: 7795 Comm: syz-executor Not tainted 5.15.178-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __up_read+0x568/0x60c kernel/locking/rwsem.c:1323 lr : __up_read+0x568/0x60c kernel/locking/rwsem.c:1323 sp : ffff8000200e77a0 x29: ffff8000200e7820 x28: 1ffff0000296e06c x27: ffff800014b70000 x26: dfff800000000000 x25: 0000000000000000 x24: ffff0000e2be19a8 x23: ffff0000c0e1d1c0 x22: ffff8000200e77c0 x21: 0000000000000000 x20: ffff0000e2be1950 x19: ffff0000e2be1950 x18: 0000000000000001 x17: 0000000000000000 x16: ffff800011b4e3fc x15: 00000000ffffffff x14: ffff0000c0e1d1c0 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : 209ae15bd2c52800 x8 : 209ae15bd2c52800 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000200e6f18 x4 : ffff800014c50660 x3 : ffff8000085568c0 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 000000000000008c Call trace: __up_read+0x568/0x60c kernel/locking/rwsem.c:1323 up_read+0x94/0xe8 kernel/locking/rwsem.c:1594 inode_unlock_shared include/linux/fs.h:804 [inline] lookup_slow+0x6c/0x84 fs/namei.c:1681 walk_component+0x394/0x4cc fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2455 filename_lookup+0x1c4/0x4c8 fs/namei.c:2484 user_path_at_empty+0x5c/0x1a4 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3352 [inline] __do_sys_mount fs/namespace.c:3563 [inline] __se_sys_mount fs/namespace.c:3540 [inline] __arm64_sys_mount+0x4dc/0x5e0 fs/namespace.c:3540 __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: 82 hardirqs last enabled at (81): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (82): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (8): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31 softirqs last disabled at (6): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18 ---[ end trace ea37f8007da45ebb ]--- ------------[ cut here ]------------ DEBUG_RWSEMS_WARN_ON(tmp < 0): count = 0xffffffffffffff00, magic = 0xffff0000e2be1950, owner = 0x0, curr 0xffff0000c0e1d1c0, list empty WARNING: CPU: 1 PID: 7795 at kernel/locking/rwsem.c:1328 __up_read+0x3d0/0x60c kernel/locking/rwsem.c:1328 Modules linked in: CPU: 1 PID: 7795 Comm: syz-executor Tainted: G W 5.15.178-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __up_read+0x3d0/0x60c kernel/locking/rwsem.c:1328 lr : __up_read+0x3d0/0x60c kernel/locking/rwsem.c:1328 sp : ffff8000200e77a0 x29: ffff8000200e7820 x28: 1ffff0000296e06c x27: ffff800014b70000 x26: dfff800000000000 x25: ffffffffffffff00 x24: ffff0000e2be19a8 x23: ffff0000e2be1950 x22: ffffffffffffff00 x21: 0000000000000000 x20: ffff0000c0e1d1c0 x19: ffff0000e2be1950 x18: 0000000000000002 x17: 0000000000000000 x16: ffff800011b4e3fc x15: 00000000ffffffff x14: ffff0000c0e1d1c0 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000001 x10: 0000000000000000 x9 : 209ae15bd2c52800 x8 : 209ae15bd2c52800 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000200e6f18 x4 : ffff800014c50660 x3 : ffff80000aa0f0fc x2 : ffff0001b4196d10 x1 : 0000000100000001 x0 : 0000000000000087 Call trace: __up_read+0x3d0/0x60c kernel/locking/rwsem.c:1328 up_read+0x94/0xe8 kernel/locking/rwsem.c:1594 inode_unlock_shared include/linux/fs.h:804 [inline] lookup_slow+0x6c/0x84 fs/namei.c:1681 walk_component+0x394/0x4cc fs/namei.c:1976 lookup_last fs/namei.c:2431 [inline] path_lookupat+0x13c/0x3d0 fs/namei.c:2455 filename_lookup+0x1c4/0x4c8 fs/namei.c:2484 user_path_at_empty+0x5c/0x1a4 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3352 [inline] __do_sys_mount fs/namespace.c:3563 [inline] __se_sys_mount fs/namespace.c:3540 [inline] __arm64_sys_mount+0x4dc/0x5e0 fs/namespace.c:3540 __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: 203 hardirqs last enabled at (203): [] __exit_to_kernel_mode arch/arm64/kernel/entry-common.c:81 [inline] hardirqs last enabled at (203): [] exit_to_kernel_mode+0x100/0x178 arch/arm64/kernel/entry-common.c:91 hardirqs last disabled at (202): [] preempt_schedule_irq+0xac/0x274 kernel/sched/core.c:6778 softirqs last enabled at (198): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (198): [] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586 softirqs last disabled at (85): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (85): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (85): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (85): [] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 ---[ end trace ea37f8007da45ebc ]---