------------[ cut here ]------------ DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffff888059767178, owner = 0x0, curr 0xffff888027d58000, list empty WARNING: kernel/locking/rwsem.c:1380 at __up_write kernel/locking/rwsem.c:1380 [inline], CPU#1: syz.7.7399/2984 WARNING: kernel/locking/rwsem.c:1380 at up_write+0x1c1/0x4e0 kernel/locking/rwsem.c:1643, CPU#1: syz.7.7399/2984 Modules linked in: CPU: 1 UID: 0 PID: 2984 Comm: syz.7.7399 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:ffffc9000debfa98 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff888059767178 RCX: ffff888059767178 RDX: 0000000000000000 RSI: ffffffff8b8dcd80 RDI: ffffffff908c2e90 RBP: ffff888059767180 R08: 0000000000000000 R09: ffff888027d58000 R10: ffff88805976717f R11: 0000000000000001 R12: ffff888059767178 R13: ffffffff8b8dca80 R14: ffff888027d58000 R15: 0000000000000000 FS: 00007f807b66f6c0(0000) GS:ffff8881249f6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f807b66ef98 CR3: 0000000082d25000 CR4: 0000000000350ef0 Call Trace: inode_unlock include/linux/fs.h:1037 [inline] vfs_setxattr+0x14f/0x350 fs/xattr.c:323 do_setxattr+0x145/0x180 fs/xattr.c:636 filename_setxattr+0x16b/0x1d0 fs/xattr.c:665 path_setxattrat+0x1de/0x2a0 fs/xattr.c:713 __do_sys_setxattr fs/xattr.c:747 [inline] __se_sys_setxattr fs/xattr.c:743 [inline] __x64_sys_setxattr+0xc6/0x140 fs/xattr.c:743 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:0x7f807a78f749 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:00007f807b66f038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f807a9e6090 RCX: 00007f807a78f749 RDX: 0000000000000000 RSI: 0000200000000040 RDI: 0000200000000140 RBP: 00007f807a813f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f807a9e6128 R14: 00007f807a9e6090 R15: 00007fff562794b8 ---------------- 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