------------[ cut here ]------------ DEBUG_RWSEMS_WARN_ON(!is_rwsem_reader_owned(sem)): count = 0x0, magic = 0xffff0000cfcd17d0, owner = 0x0, curr 0xffff0000c60d6500, list empty WARNING: CPU: 0 PID: 4334 at kernel/locking/rwsem.c:1345 __up_read+0x274/0x2d8 kernel/locking/rwsem.c:1345 Modules linked in: CPU: 0 PID: 4334 Comm: syz-executor.0 Not tainted 6.1.70-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __up_read+0x274/0x2d8 kernel/locking/rwsem.c:1345 lr : __up_read+0x274/0x2d8 kernel/locking/rwsem.c:1345 sp : ffff800012803ae0 x29: ffff800012803ae0 x28: ffff0000c60d6500 x27: 0000000000000000 x26: 0000000000000800 x25: 0000000000000000 x24: ffff0000c60d6500 x23: 0000000000000000 x22: ffff80000cb5c000 x21: ffff800012803bf0 x20: 0000000000000000 x19: ffff0000cfcd17d0 x18: ffff80000b63d2bc x17: 0000000000000000 x16: 000000000000ba7e x15: 000000000000b67e x14: 0000000000d59932 x13: 00000000000002e6 x12: ffff80000dcc0000 x11: 0000000000ff0100 x10: 0000000000000000 x9 : 29095cd1b99d6300 x8 : 29095cd1b99d6300 x7 : 0000000000000000 x6 : ffff800008131cac x5 : 0000000000000000 x4 : 0000000000000080 x3 : 0000000000000000 x2 : 0000000000000000 x1 : ffff80000c372440 x0 : 0000000000000001 Call trace: __up_read+0x274/0x2d8 kernel/locking/rwsem.c:1345 up_read+0x38/0x48 kernel/locking/rwsem.c:1616 inode_unlock_shared include/linux/fs.h:771 [inline] lookup_slow+0x50/0x68 fs/namei.c:1704 walk_component+0x178/0x1b0 fs/namei.c:1994 lookup_last fs/namei.c:2451 [inline] path_lookupat+0xc4/0x208 fs/namei.c:2475 filename_lookup+0xf0/0x25c fs/namei.c:2504 user_path_at_empty+0x5c/0x14c fs/namei.c:2877 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3380 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __arm64_sys_mount+0x268/0x3a0 fs/namespace.c:3568 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x64/0x178 arch/arm64/kernel/syscall.c:52 el0_svc_common+0xb8/0x174 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x174 arch/arm64/kernel/syscall.c:206 el0_svc+0x34/0x110 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ DEBUG_RWSEMS_WARN_ON(tmp < 0): count = 0xffffffffffffff00, magic = 0xffff0000cfcd17d0, owner = 0x0, curr 0xffff0000c60d6500, list empty WARNING: CPU: 0 PID: 4334 at kernel/locking/rwsem.c:1350 __up_read+0x21c/0x2d8 kernel/locking/rwsem.c:1350 Modules linked in: CPU: 0 PID: 4334 Comm: syz-executor.0 Tainted: G W 6.1.70-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __up_read+0x21c/0x2d8 kernel/locking/rwsem.c:1350 lr : __up_read+0x21c/0x2d8 kernel/locking/rwsem.c:1350 sp : ffff800012803ae0 x29: ffff800012803ae0 x28: ffff0000c60d6500 x27: 0000000000000000 x26: 0000000000000800 x25: 0000000000000000 x24: ffff0000c60d6500 x23: ffffffffffffff00 x22: ffff80000cb5c000 x21: ffff0000cfcd17d8 x20: ffff0000c60d6500 x19: ffff0000cfcd17d0 x18: ffff80000b63d2bc x17: 0000000000000000 x16: 000000000000ba7e x15: 0000000000000000 x14: 000000000000000e x13: 205d343333345420 x12: 5b5d373637313034 x11: 0000000000ff0100 x10: 0000000000000000 x9 : 29095cd1b99d6300 x8 : 29095cd1b99d6300 x7 : 205b5d3736373130 x6 : ffff80000b5f88d4 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000000 x1 : 0000000100000001 x0 : 0000000000000000 Call trace: __up_read+0x21c/0x2d8 kernel/locking/rwsem.c:1350 up_read+0x38/0x48 kernel/locking/rwsem.c:1616 inode_unlock_shared include/linux/fs.h:771 [inline] lookup_slow+0x50/0x68 fs/namei.c:1704 walk_component+0x178/0x1b0 fs/namei.c:1994 lookup_last fs/namei.c:2451 [inline] path_lookupat+0xc4/0x208 fs/namei.c:2475 filename_lookup+0xf0/0x25c fs/namei.c:2504 user_path_at_empty+0x5c/0x14c fs/namei.c:2877 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3380 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __arm64_sys_mount+0x268/0x3a0 fs/namespace.c:3568 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x64/0x178 arch/arm64/kernel/syscall.c:52 el0_svc_common+0xb8/0x174 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x174 arch/arm64/kernel/syscall.c:206 el0_svc+0x34/0x110 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 ---[ end trace 0000000000000000 ]---