------------[ cut here ]------------ DEBUG_RWSEMS_WARN_ON(!is_rwsem_reader_owned(sem)): count = 0x0, magic = 0xffff88804f538330, owner = 0x0, curr 0xffff88802a1e8000, list empty WARNING: CPU: 0 PID: 10408 at kernel/locking/rwsem.c:1345 __up_read+0x628/0x6b0 kernel/locking/rwsem.c:1345 Modules linked in: CPU: 0 PID: 10408 Comm: syz.3.1161 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:__up_read+0x628/0x6b0 kernel/locking/rwsem.c:1345 Code: 0f 44 d0 48 c7 c7 20 0b 8c 8a 48 c7 c6 c0 0b 8c 8a 48 89 da 48 8b 4c 24 08 4d 89 e0 4d 89 f1 41 52 e8 cc 4f ea ff 48 83 c4 08 <0f> 0b 4c 8b 3c 24 e9 40 fb ff ff 48 c7 c1 a8 3f 21 8e 80 e1 07 80 RSP: 0018:ffffc90003787780 EFLAGS: 00010292 RAX: da308d92955ac300 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc900102c0000 RSI: 0000000000008c70 RDI: 0000000000008c71 RBP: ffffc90003787828 R08: ffffc90003787407 R09: 1ffff920006f0e80 R10: dffffc0000000000 R11: fffff520006f0e81 R12: 0000000000000000 R13: 1ffff920006f0ef4 R14: ffff88802a1e8000 R15: ffff88804f538388 FS: 00007fd106aba6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f935bbc7000 CR3: 0000000076053000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inode_unlock_shared include/linux/fs.h:773 [inline] lookup_slow+0x5e/0x70 fs/namei.c:1716 walk_component fs/namei.c:2006 [inline] link_path_walk+0x976/0xea0 fs/namei.c:2333 path_openat+0x285/0x2f10 fs/namei.c:3787 do_filp_open+0x1ee/0x420 fs/namei.c:3818 do_sys_openat2+0x14b/0x4f0 fs/open.c:1320 do_sys_open fs/open.c:1336 [inline] __do_sys_openat fs/open.c:1352 [inline] __se_sys_openat fs/open.c:1347 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1347 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fd105b9e0d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fd106aba028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fd105e26180 RCX: 00007fd105b9e0d9 RDX: 0000000000000002 RSI: 00002000000001c0 RDI: ffffffffffffff9c RBP: 00007fd105c35024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd105e26218 R14: 00007fd105e26180 R15: 00007ffd8de26048