============================================ WARNING: possible recursive locking detected 6.4.0-rc4-syzkaller #0 Not tainted -------------------------------------------- syz-executor.0/11910 is trying to acquire lock: ffff8880770a14c8 (&new_timer->it_lock){-.-.}-{2:2}, at: itimer_delete kernel/time/posix-timers.c:1051 [inline] ffff8880770a14c8 (&new_timer->it_lock){-.-.}-{2:2}, at: exit_itimers+0x273/0x4b0 kernel/time/posix-timers.c:1103 but task is already holding lock: ffff8880770a14c8 (&new_timer->it_lock){-.-.}-{2:2}, at: __lock_timer+0x16e/0x3b0 kernel/time/posix-timers.c:628 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&new_timer->it_lock); lock(&new_timer->it_lock); *** DEADLOCK *** May be due to missing lock nesting notation 1 lock held by syz-executor.0/11910: #0: ffff8880770a14c8 (&new_timer->it_lock){-.-.}-{2:2}, at: __lock_timer+0x16e/0x3b0 kernel/time/posix-timers.c:628 stack backtrace: CPU: 0 PID: 11910 Comm: syz-executor.0 Not tainted 6.4.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x64/0xb0 lib/dump_stack.c:106 print_deadlock_bug kernel/locking/lockdep.c:3006 [inline] check_deadlock kernel/locking/lockdep.c:3049 [inline] validate_chain kernel/locking/lockdep.c:3834 [inline] __lock_acquire+0x13eb/0x5f30 kernel/locking/lockdep.c:5088 lock_acquire kernel/locking/lockdep.c:5705 [inline] lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5670 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3d/0x60 kernel/locking/spinlock.c:162 itimer_delete kernel/time/posix-timers.c:1051 [inline] exit_itimers+0x273/0x4b0 kernel/time/posix-timers.c:1103 do_exit+0x563/0x2480 kernel/exit.c:845 do_group_exit+0xb4/0x250 kernel/exit.c:1021 get_signal+0x1d36/0x1fa0 kernel/signal.c:2874 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2c4568c389 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2c46433218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f2c457ac058 RCX: 00007f2c4568c389 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f2c457ac058 RBP: 00007f2c457ac050 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2c457ac05c R13: 00007ffead68dc2f R14: 00007f2c46433300 R15: 0000000000022000