================================ WARNING: inconsistent lock state 6.13.0-rc2-next-20241213 #1 Not tainted -------------------------------- inconsistent {HARDIRQ-ON-W} -> {IN-HARDIRQ-W} usage. syz-executor.7/16886 [HC1[1]:SC0[0]:HE0:SE1] takes: ffff88800bdeca18 (&sighand->siglock){?.+.}-{3:3}, at: __lock_task_sighand+0xd2/0x340 {HARDIRQ-ON-W} state was registered at: lockdep_hardirqs_on_prepare+0x12b/0x3f0 trace_hardirqs_on+0x36/0x40 _raw_spin_unlock_irq+0x23/0x40 mtree_erase+0x15c/0x1f0 free_pid+0x32/0x270 __change_pid+0x38e/0x580 release_task+0xf72/0x1600 wait_consider_task+0x2ef0/0x3c50 __do_wait+0x7af/0x8f0 do_wait+0x19a/0x530 kernel_wait+0xa0/0x160 call_usermodehelper_exec_work+0xf9/0x180 process_one_work+0x8ee/0x1a10 worker_thread+0x674/0xe70 kthread+0x3ab/0x720 ret_from_fork+0x48/0x80 ret_from_fork_asm+0x1a/0x30 irq event stamp: 178 hardirqs last enabled at (177): [] irqentry_exit+0x3b/0x90 hardirqs last disabled at (178): [] sysvec_apic_timer_interrupt+0xf/0x80 softirqs last enabled at (0): [] copy_process+0x1ec9/0x70e0 softirqs last disabled at (0): [<0000000000000000>] 0x0 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&sighand->siglock); lock(&sighand->siglock); *** DEADLOCK *** 3 locks held by syz-executor.7/16886: #0: ffff88802f2a8048 (&new_timer->it_lock){-...}-{3:3}, at: posix_timer_fn+0x27/0x60 #1: ffffffff85c16400 (rcu_read_lock){....}-{1:3}, at: posixtimer_send_sigqueue+0xa6/0x1130 #2: ffffffff85c16400 (rcu_read_lock){....}-{1:3}, at: __lock_task_sighand+0x34/0x340 stack backtrace: CPU: 0 UID: 0 PID: 16886 Comm: syz-executor.7 Not tainted 6.13.0-rc2-next-20241213 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Call Trace: dump_stack_lvl+0xca/0x120 print_usage_bug.part.0+0x371/0x4d0 mark_lock+0xb92/0xed0 __lock_acquire+0x1595/0x4360 lock_acquire.part.0+0xeb/0x320 _raw_spin_lock_irqsave+0x3a/0x60 __lock_task_sighand+0xd2/0x340 posixtimer_send_sigqueue+0x205/0x1130 posix_timer_fn+0x32/0x60 __hrtimer_run_queues+0x1ab/0xa80 hrtimer_interrupt+0x369/0x830 __sysvec_apic_timer_interrupt+0xc2/0x330 sysvec_apic_timer_interrupt+0x6b/0x80 asm_sysvec_apic_timer_interrupt+0x1a/0x20 RIP: 0010:_raw_spin_unlock_irqrestore+0x34/0x50 Code: c7 18 53 48 89 f3 48 8b 74 24 10 e8 f6 96 a8 fc 48 89 ef e8 5e 05 a9 fc 80 e7 02 74 06 e8 14 5f d2 fc fb 65 ff 0d 24 09 5c 7b <74> 07 5b 5d e9 b3 1e 00 00 0f 1f 44 00 00 5b 5d e9 a7 1e 00 00 0f RSP: 0018:ffff88804111fd50 EFLAGS: 00000286 RAX: 00000000000000af RBX: 0000000000000216 RCX: 1ffffffff0c7f089 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff84a79ddc RBP: ffff88802f2a8030 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff863fbe97 R11: 6b636f6c5f74693e R12: ffff88802f2a8000 R13: 0000000000000000 R14: ffffffff81623350 R15: ffff88804111fe58 do_timer_settime.part.0+0x1f6/0x2a0 __x64_sys_timer_settime+0x220/0x310 do_syscall_64+0xbf/0x1d0 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f86a0e95b19 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:00007f869e40b188 EFLAGS: 00000246 ORIG_RAX: 00000000000000df RAX: ffffffffffffffda RBX: 00007f86a0fa8f60 RCX: 00007f86a0e95b19 RDX: 00000000200005c0 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 00007f86a0eeff6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffed721814f R14: 00007f869e40b300 R15: 0000000000022000 loop1: detected capacity change from 0 to 136 ISO 9660 Extensions: Microsoft Joliet Level 3 ISOFS: unable to read i-node block ISOFS: root inode is unusable. Disabling Rock Ridge and switching to Joliet. ISOFS: changing to secondary root isofs_fill_super: get root inode failed loop1: detected capacity change from 0 to 136 ISO 9660 Extensions: Microsoft Joliet Level 3 ISOFS: unable to read i-node block ISOFS: root inode is unusable. Disabling Rock Ridge and switching to Joliet. ISOFS: changing to secondary root isofs_fill_super: get root inode failed loop1: detected capacity change from 0 to 136 ISO 9660 Extensions: Microsoft Joliet Level 3 ISOFS: unable to read i-node block ISOFS: root inode is unusable. Disabling Rock Ridge and switching to Joliet. ISOFS: changing to secondary root isofs_fill_super: get root inode failed loop1: detected capacity change from 0 to 136 ISO 9660 Extensions: Microsoft Joliet Level 3 ISOFS: unable to read i-node block ISOFS: root inode is unusable. Disabling Rock Ridge and switching to Joliet. ISOFS: changing to secondary root isofs_fill_super: get root inode failed loop1: detected capacity change from 0 to 136 ISO 9660 Extensions: Microsoft Joliet Level 3 ISOFS: unable to read i-node block ISOFS: root inode is unusable. Disabling Rock Ridge and switching to Joliet. ISOFS: changing to secondary root isofs_fill_super: get root inode failed EXT4-fs warning (device sda): verify_group_input:136: Cannot add at group 4127195135 (only 16 groups) UDPLite6: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list EXT4-fs warning (device sda): verify_group_input:136: Cannot add at group 4127195135 (only 16 groups) EXT4-fs warning (device sda): verify_group_input:136: Cannot add at group 4127195135 (only 16 groups) EXT4-fs warning (device sda): verify_group_input:136: Cannot add at group 4127195135 (only 16 groups) tmpfs: Bad value for 'mpol' tmpfs: Bad value for 'mpol' netlink: 'syz-executor.3': attribute type 16 has an invalid length. netlink: 'syz-executor.3': attribute type 16 has an invalid length. ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 18 53 48 sbb %dl,0x48(%rbx) 3: 89 f3 mov %esi,%ebx 5: 48 8b 74 24 10 mov 0x10(%rsp),%rsi a: e8 f6 96 a8 fc callq 0xfca89705 f: 48 89 ef mov %rbp,%rdi 12: e8 5e 05 a9 fc callq 0xfca90575 17: 80 e7 02 and $0x2,%bh 1a: 74 06 je 0x22 1c: e8 14 5f d2 fc callq 0xfcd25f35 21: fb sti 22: 65 ff 0d 24 09 5c 7b decl %gs:0x7b5c0924(%rip) # 0x7b5c094d * 29: 74 07 je 0x32 <-- trapping instruction 2b: 5b pop %rbx 2c: 5d pop %rbp 2d: e9 b3 1e 00 00 jmpq 0x1ee5 32: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 37: 5b pop %rbx 38: 5d pop %rbp 39: e9 a7 1e 00 00 jmpq 0x1ee5 3e: 0f .byte 0xf