------------[ cut here ]------------ DEBUG_RWSEMS_WARN_ON(!is_rwsem_reader_owned(sem)): count = 0x0, magic = 0xffff888059d91950, owner = 0x0, curr 0xffff88802a1c8000, list empty WARNING: CPU: 1 PID: 11210 at kernel/locking/rwsem.c:1323 __up_read+0x5e1/0x660 kernel/locking/rwsem.c:1323 Modules linked in: CPU: 1 PID: 11210 Comm: syz.4.2227 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:__up_read+0x5e1/0x660 kernel/locking/rwsem.c:1323 Code: 0f 44 d0 48 c7 c7 e0 0f 0b 8a 48 c7 c6 80 10 0b 8a 4c 89 ea 48 8b 4c 24 08 4d 89 e0 4d 89 f1 41 52 e8 e3 54 43 08 48 83 c4 08 <0f> 0b e9 85 fb ff ff 48 c7 c1 c8 d0 69 8d 80 e1 07 80 c1 03 38 c1 RSP: 0018:ffffc9000d0c7a80 EFLAGS: 00010292 RAX: ffab8c844b73c800 RBX: ffff888059d91950 RCX: ffff88802a1c8000 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc9000d0c7b30 R08: dffffc0000000000 R09: ffffed10172267b0 R10: ffffed10172267b0 R11: 1ffff110172267af R12: 0000000000000000 R13: 0000000000000000 R14: ffff88802a1c8000 R15: ffff888059d919a8 FS: 00007fa8ec0d16c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd50063c000 CR3: 000000007d70e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inode_unlock_shared include/linux/fs.h:802 [inline] lookup_slow+0x5e/0x70 fs/namei.c:1689 walk_component+0x319/0x460 fs/namei.c:1984 lookup_last fs/namei.c:2439 [inline] path_lookupat+0x169/0x440 fs/namei.c:2463 filename_lookup+0x1e2/0x4f0 fs/namei.c:2492 user_path_at_empty+0x40/0x190 fs/namei.c:2891 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3374 [inline] __do_sys_mount fs/namespace.c:3585 [inline] __se_sys_mount+0x297/0x3c0 fs/namespace.c:3562 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fa8eca83749 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa8ec0d1038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fa8eccda090 RCX: 00007fa8eca83749 RDX: 0000000000000000 RSI: 0000200000000000 RDI: 0000000000000000 RBP: 00007fa8ecb07f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000800 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa8eccda128 R14: 00007fa8eccda090 R15: 00007ffd240ca4e8