RBP: 00007f67c935e1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffcb9ba7cbf R14: 00007f67c935e300 R15: 0000000000022000 ===================================== WARNING: bad unlock balance detected! 6.17.0-rc7-next-20250922 #1 Not tainted ------------------------------------- syz-executor.3/13779 is trying to release lock (namespace_sem) at: [] namespace_unlock+0x487/0x910 but there are no more locks to release! other info that might help us debug this: no locks held by syz-executor.3/13779. stack backtrace: CPU: 1 UID: 0 PID: 13779 Comm: syz-executor.3 Not tainted 6.17.0-rc7-next-20250922 #1 PREEMPT(voluntary) Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Call Trace: dump_stack_lvl+0xca/0x120 print_unlock_imbalance_bug+0x118/0x130 lock_release+0x208/0x290 up_write+0x2a/0x520 namespace_unlock+0x487/0x910 copy_mnt_ns+0x910/0xab0 create_new_namespaces+0xd6/0xab0 copy_namespaces+0x45c/0x580 copy_process+0x26d4/0x7400 kernel_clone+0xea/0x7f0 __do_sys_clone3+0x1f2/0x270 do_syscall_64+0xbf/0x390 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f67cbde8b19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f67c935e188 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007f67cbefbf60 RCX: 00007f67cbde8b19 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00000000200001c0 RBP: 00007f67c935e1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffcb9ba7cbf R14: 00007f67c935e300 R15: 0000000000022000 ------------[ cut here ]------------ DEBUG_RWSEMS_WARN_ON((rwsem_owner(sem) != current) && !rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)): count = 0x0, magic = 0xffffffff85f177a0, owner = 0x0, curr 0xffff8880496a1b80, list empty WARNING: kernel/locking/rwsem.c:1380 at up_write+0x423/0x520, CPU#1: syz-executor.3/13779 Modules linked in: CPU: 1 UID: 0 PID: 13779 Comm: syz-executor.3 Not tainted 6.17.0-rc7-next-20250922 #1 PREEMPT(voluntary) Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:up_write+0x423/0x520 Code: 02 00 0f 85 dd 00 00 00 48 8b 55 00 53 4d 89 f1 4d 89 f8 4c 89 e9 48 c7 c6 60 28 e8 84 48 c7 c7 80 27 e8 84 e8 fe a8 e8 ff 90 <0f> 0b 90 90 59 e9 dc fc ff ff 48 89 df e8 3b 58 5f 00 e9 1a fc ff RSP: 0018:ffff8880165f7850 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffffffff84e826c0 RCX: ffffc9000e45b000 RDX: 0000000000040000 RSI: ffffffff8139e07e RDI: 0000000000000001 RBP: ffffffff85f177a0 R08: 0000000000000001 R09: ffffed1002cbeec5 R10: 0000000000000001 R11: 0000000000000001 R12: ffffffff85f177a8 R13: ffffffff85f177a0 R14: ffff8880496a1b80 R15: 0000000000000000 FS: 00007f67c935e700(0000) GS:ffff8880e54c2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f67c935df78 CR3: 0000000041415000 CR4: 0000000000350ef0 Call Trace: namespace_unlock+0x487/0x910 copy_mnt_ns+0x910/0xab0 create_new_namespaces+0xd6/0xab0 copy_namespaces+0x45c/0x580 copy_process+0x26d4/0x7400 kernel_clone+0xea/0x7f0 __do_sys_clone3+0x1f2/0x270 do_syscall_64+0xbf/0x390 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f67cbde8b19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f67c935e188 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007f67cbefbf60 RCX: 00007f67cbde8b19 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00000000200001c0 RBP: 00007f67c935e1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffcb9ba7cbf R14: 00007f67c935e300 R15: 0000000000022000 irq event stamp: 559 hardirqs last enabled at (559): [] __call_rcu_common.constprop.0+0x4c1/0x960 hardirqs last disabled at (558): [] __call_rcu_common.constprop.0+0x56e/0x960 softirqs last enabled at (550): [] handle_softirqs+0x50c/0x770 softirqs last disabled at (535): [] __irq_exit_rcu+0xc4/0x100 ---[ end trace 0000000000000000 ]--- FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 UID: 0 PID: 13797 Comm: syz-executor.7 Tainted: G W 6.17.0-rc7-next-20250922 #1 PREEMPT(voluntary) Tainted: [W]=WARN Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Call Trace: dump_stack_lvl+0xfa/0x120 should_fail_ex+0x4d7/0x5e0 should_failslab+0xc2/0x120 kmem_cache_alloc_noprof+0x72/0x680 jbd2__journal_start+0x193/0x6b0 __ext4_journal_start_sb+0x325/0x5d0 ext4_rename+0x160a/0x2bc0 ext4_rename2+0x255/0x310 vfs_rename+0x1160/0x1a70 do_renameat2+0x822/0xb80 __x64_sys_rename+0x7d/0xa0 do_syscall_64+0xbf/0x390 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe0ceb29b19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe0cc07e188 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007fe0cec3d020 RCX: 00007fe0ceb29b19 RDX: 0000000000000000 RSI: 00000000200004c0 RDI: 0000000020000480 RBP: 00007fe0cc07e1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffc90c2f5cf R14: 00007fe0cc07e300 R15: 0000000000022000