------------[ cut here ]------------ DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffff88805120bb18, owner = 0x0, curr 0xffff88803594dd00, list not empty WARNING: kernel/locking/rwsem.c:1412 at __up_write kernel/locking/rwsem.c:1412 [inline], CPU#1: syz.0.178/6380 WARNING: kernel/locking/rwsem.c:1412 at up_write+0x20f/0x5c0 kernel/locking/rwsem.c:1688, CPU#1: syz.0.178/6380 Modules linked in: CPU: 1 UID: 0 PID: 6380 Comm: syz.0.178 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026 RIP: 0010:__up_write kernel/locking/rwsem.c:1412 [inline] RIP: 0010:up_write+0x226/0x5c0 kernel/locking/rwsem.c:1688 Code: 3c 02 00 0f 85 3e 03 00 00 48 8b 13 48 8d 3d 21 21 41 0f 41 56 65 4c 8b 0d ef 4a 7f 12 4d 89 f8 4c 89 e1 48 c7 c6 40 e9 cf 8b <67> 48 0f b9 3a e8 80 c3 33 03 59 bf 01 00 00 00 e8 85 81 f0 ff 48 RSP: 0018:ffffc90003c47dc0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88805120bb18 RCX: ffff88805120bb18 RDX: 0000000000000000 RSI: ffffffff8bcfe940 RDI: ffffffff91264640 RBP: ffff88805120bb20 R08: 0000000000000000 R09: ffff88803594dd00 R10: ffff88805120bb1f R11: 0000000000000001 R12: ffff88805120bb18 R13: ffffffff9122e580 R14: ffffffff8bcfe760 R15: 0000000000000000 FS: 00007f989b5076c0(0000) GS:ffff888123ed9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f071e8d5fe8 CR3: 00000000538a2000 CR4: 0000000000350ef0 Call Trace: inode_unlock include/linux/fs.h:1034 [inline] end_dirop fs/namei.c:2955 [inline] end_creating include/linux/namei.h:117 [inline] end_creating_path fs/namei.c:4995 [inline] filename_mkdirat+0x1d5/0x5e0 fs/namei.c:5314 __do_sys_mkdir fs/namei.c:5336 [inline] __se_sys_mkdir fs/namei.c:5333 [inline] __x64_sys_mkdir+0x6b/0x90 fs/namei.c:5333 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f989a59e019 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:00007f989b507028 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007f989a826090 RCX: 00007f989a59e019 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00002000000002c0 RBP: 00007f989a63500c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f989a826128 R14: 00007f989a826090 R15: 00007ffcedbec6e8 ---------------- Code disassembly (best guess): 0: 3c 02 cmp $0x2,%al 2: 00 0f add %cl,(%rdi) 4: 85 3e test %edi,(%rsi) 6: 03 00 add (%rax),%eax 8: 00 48 8b add %cl,-0x75(%rax) b: 13 48 8d adc -0x73(%rax),%ecx e: 3d 21 21 41 0f cmp $0xf412121,%eax 13: 41 56 push %r14 15: 65 4c 8b 0d ef 4a 7f mov %gs:0x127f4aef(%rip),%r9 # 0x127f4b0c 1c: 12 1d: 4d 89 f8 mov %r15,%r8 20: 4c 89 e1 mov %r12,%rcx 23: 48 c7 c6 40 e9 cf 8b mov $0xffffffff8bcfe940,%rsi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: e8 80 c3 33 03 call 0x333c3b4 34: 59 pop %rcx 35: bf 01 00 00 00 mov $0x1,%edi 3a: e8 85 81 f0 ff call 0xfff081c4 3f: 48 rex.W