DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffff888069bb0a90, owner = 0x0, curr 0xffff88801edd9d40, list empty
WARNING: CPU: 0 PID: 7866 at kernel/locking/rwsem.c:1370 up_write+0x4f4/0x580
Modules linked in:
CPU: 0 PID: 7866 Comm: syz-executor.3 Not tainted 6.3.0-rc4-syzkaller-00019-gc20bc9c6d8eb #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:up_write+0x4f4/0x580
Code: 48 c7 c7 60 83 ca 8a 48 c7 c6 a0 85 ca 8a 48 8b 54 24 28 48 8b 4c 24 18 4d 89 e0 4c 8b 4c 24 30 53 e8 a0 2b e9 ff 48 83 c4 08 <0f> 0b e9 75 fd ff ff 48 c7 c1 68 91 39 8e 80 e1 07 80 c1 03 38 c1
RSP: 0018:ffffc9000bb8fd40 EFLAGS: 00010292
RAX: 6c074784782f2100 RBX: ffffffff8aca8440 RCX: ffff88801edd9d40
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc9000bb8fe10 R08: ffffffff8152a294 R09: fffff52001771f61
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffff888069bb0a90 R14: 1ffff92001771fb0 R15: dffffc0000000000
FS:  00007f9f0a1d56c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fded10e3000 CR3: 0000000025e17000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 do_symlinkat+0x250/0x600
 __x64_sys_symlinkat+0x99/0xb0
 do_syscall_64+0x41/0xc0
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f9f0947c8d9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9f0a1d50c8 EFLAGS: 00000246 ORIG_RAX: 000000000000010a
RAX: ffffffffffffffda RBX: 00007f9f0959c050 RCX: 00007f9f0947c8d9
RDX: 0000000020000280 RSI: ffffffffffffff9c RDI: 00000000200004c0
RBP: 00007f9f094d8ad0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f9f0959c050 R15: 00007fff8edfca28
 </TASK>
