------------[ cut here ]------------ DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffff88807587f178, owner = 0x0, curr 0xffff8880309c8000, list empty WARNING: kernel/locking/rwsem.c:1380 at __up_write kernel/locking/rwsem.c:1380 [inline], CPU#0: syz.2.5647/29382 WARNING: kernel/locking/rwsem.c:1380 at up_write+0x1c1/0x4e0 kernel/locking/rwsem.c:1643, CPU#0: syz.2.5647/29382 Modules linked in: CPU: 0 UID: 0 PID: 29382 Comm: syz.2.5647 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:__up_write kernel/locking/rwsem.c:1380 [inline] RIP: 0010:up_write+0x1d3/0x4e0 kernel/locking/rwsem.c:1643 Code: 48 c1 ea 03 80 3c 02 00 0f 85 ad 02 00 00 48 8b 13 48 8d 3d ef 01 f3 0e 41 55 4d 89 f1 4d 89 f8 4c 89 e1 48 c7 c6 80 cd 8d 8b <67> 48 0f b9 3a e8 f3 00 0f 03 5a bf 01 00 00 00 e8 38 8c f1 ff 48 RSP: 0018:ffffc900033c7ca0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88807587f178 RCX: ffff88807587f178 RDX: 0000000000000000 RSI: ffffffff8b8dcd80 RDI: ffffffff908c2e90 RBP: ffff88807587f180 R08: 0000000000000000 R09: ffff8880309c8000 R10: ffff88807587f17f R11: ffff8880309c8b30 R12: ffff88807587f178 R13: ffffffff8b8dca80 R14: ffff8880309c8000 R15: 0000000000000000 FS: 00007f15357406c0(0000) GS:ffff8881248f6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9ed5e00000 CR3: 0000000054898000 CR4: 0000000000350ef0 Call Trace: inode_unlock include/linux/fs.h:1037 [inline] chown_common+0x3f4/0x680 fs/open.c:790 do_fchownat+0x1a7/0x200 fs/open.c:819 __do_sys_lchown fs/open.c:844 [inline] __se_sys_lchown fs/open.c:842 [inline] __x64_sys_lchown+0x7e/0xc0 fs/open.c:842 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f153498f749 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:00007f1535740038 EFLAGS: 00000246 ORIG_RAX: 000000000000005e RAX: ffffffffffffffda RBX: 00007f1534be6090 RCX: 00007f153498f749 RDX: 0000000039323420 RSI: 00000000706d6174 RDI: 0000200000000000 RBP: 00007f1534a13f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f1534be6128 R14: 00007f1534be6090 R15: 00007ffd0881e328 ---------------- Code disassembly (best guess): 0: 48 c1 ea 03 shr $0x3,%rdx 4: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 8: 0f 85 ad 02 00 00 jne 0x2bb e: 48 8b 13 mov (%rbx),%rdx 11: 48 8d 3d ef 01 f3 0e lea 0xef301ef(%rip),%rdi # 0xef30207 18: 41 55 push %r13 1a: 4d 89 f1 mov %r14,%r9 1d: 4d 89 f8 mov %r15,%r8 20: 4c 89 e1 mov %r12,%rcx 23: 48 c7 c6 80 cd 8d 8b mov $0xffffffff8b8dcd80,%rsi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: e8 f3 00 0f 03 call 0x30f0127 34: 5a pop %rdx 35: bf 01 00 00 00 mov $0x1,%edi 3a: e8 38 8c f1 ff call 0xfff18c77 3f: 48 rex.W