------------[ cut here ]------------ DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffff88806aa5d6f8, owner = 0x0, curr 0xffff888078dd0000, list empty WARNING: kernel/locking/rwsem.c:1380 at __up_write kernel/locking/rwsem.c:1380 [inline], CPU#1: syz-executor.0/6215 WARNING: kernel/locking/rwsem.c:1380 at up_write+0x1bf/0x4f0 kernel/locking/rwsem.c:1643, CPU#1: syz-executor.0/6215 Modules linked in: CPU: 1 UID: 0 PID: 6215 Comm: syz-executor.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 RIP: 0010:__up_write kernel/locking/rwsem.c:1380 [inline] RIP: 0010:up_write+0x1d1/0x4f0 kernel/locking/rwsem.c:1643 Code: 48 c1 ea 03 80 3c 02 00 0f 85 2e 03 00 00 48 8b 13 48 8d 3d 51 a3 f8 0e 41 56 4d 89 e9 4d 89 f8 4c 89 e1 48 c7 c6 80 be af 8b <67> 48 0f b9 3a e8 55 fb 0d 03 59 bf 01 00 00 00 e8 2a a3 f1 ff 48 RSP: 0018:ffffc90004a8fdb8 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88806aa5d6f8 RCX: ffff88806aa5d6f8 RDX: 0000000000000000 RSI: ffffffff8bafbe80 RDI: ffffffff90dcb690 RBP: ffff88806aa5d700 R08: 0000000000000000 R09: ffff888078dd0000 R10: ffff88806aa5d6ff R11: 0000000000000000 R12: ffff88806aa5d6f8 R13: ffff888078dd0000 R14: ffffffff8bafbc60 R15: 0000000000000000 FS: 00007fc0d79bb6c0(0000) GS:ffff88812444a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc0d79bafd0 CR3: 0000000079e37000 CR4: 00000000003526f0 Call Trace: inode_unlock include/linux/fs.h:1038 [inline] end_dirop fs/namei.c:2947 [inline] end_creating include/linux/namei.h:126 [inline] end_creating_path fs/namei.c:4962 [inline] filename_mkdirat+0x1d5/0x5e0 fs/namei.c:5271 __do_sys_mkdir fs/namei.c:5293 [inline] __se_sys_mkdir fs/namei.c:5290 [inline] __x64_sys_mkdir+0x6b/0x90 fs/namei.c:5290 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc0d6c6e3b9 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 d0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc0d79bb0b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007fc0d6dac050 RCX: 00007fc0d6c6e3b9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200001c0 RBP: 00007fc0d6ccf498 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc0d6dac050 R15: 00007ffe589c6108 ---------------- 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 2e 03 00 00 jne 0x33c e: 48 8b 13 mov (%rbx),%rdx 11: 48 8d 3d 51 a3 f8 0e lea 0xef8a351(%rip),%rdi # 0xef8a369 18: 41 56 push %r14 1a: 4d 89 e9 mov %r13,%r9 1d: 4d 89 f8 mov %r15,%r8 20: 4c 89 e1 mov %r12,%rcx 23: 48 c7 c6 80 be af 8b mov $0xffffffff8bafbe80,%rsi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: e8 55 fb 0d 03 call 0x30dfb89 34: 59 pop %rcx 35: bf 01 00 00 00 mov $0x1,%edi 3a: e8 2a a3 f1 ff call 0xfff1a369 3f: 48 rex.W