------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(1) WARNING: CPU: 1 PID: 9422 at kernel/locking/lockdep.c:232 hlock_class kernel/locking/lockdep.c:232 [inline] WARNING: CPU: 1 PID: 9422 at kernel/locking/lockdep.c:232 check_wait_context kernel/locking/lockdep.c:4826 [inline] WARNING: CPU: 1 PID: 9422 at kernel/locking/lockdep.c:232 __lock_acquire+0x58c/0x2050 kernel/locking/lockdep.c:5152 Modules linked in: CPU: 1 UID: 0 PID: 9422 Comm: syz.0.441 Not tainted 6.12.0-rc3-syzkaller-00007-g6485cf5ea253 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:hlock_class kernel/locking/lockdep.c:232 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4826 [inline] RIP: 0010:__lock_acquire+0x58c/0x2050 kernel/locking/lockdep.c:5152 Code: 00 00 83 3d 25 c7 ac 0e 00 75 23 90 48 c7 c7 60 c9 0a 8c 48 c7 c6 00 cc 0a 8c e8 3f 7f e5 ff 48 ba 00 00 00 00 00 fc ff df 90 <0f> 0b 90 90 90 31 db 48 81 c3 c4 00 00 00 48 89 d8 48 c1 e8 03 0f RSP: 0018:ffffc90000a18210 EFLAGS: 00010046 RAX: a563310a3601c900 RBX: 0000000000001d68 RCX: ffff88802efe9e00 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000005 R08: ffffffff8155e402 R09: 1ffff110170e519a R10: dffffc0000000000 R11: ffffed10170e519b R12: ffff88802efe9e00 R13: 0000000000001d68 R14: 1ffff11005dfd525 R15: ffff88802efea928 FS: 00007f40117e26c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f40117c1d58 CR3: 0000000056308000 CR4: 0000000000350ef0 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825 _raw_spin_lock_nested+0x31/0x40 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:601 raw_spin_rq_lock kernel/sched/sched.h:1505 [inline] rq_lock kernel/sched/sched.h:1804 [inline] sched_tick+0x72/0x610 kernel/sched/core.c:5592 update_process_times+0x202/0x230 kernel/time/timer.c:2524 tick_sched_handle kernel/time/tick-sched.c:276 [inline] tick_nohz_handler+0x37c/0x500 kernel/time/tick-sched.c:297 __run_hrtimer kernel/time/hrtimer.c:1691 [inline] __hrtimer_run_queues+0x553/0xd50 kernel/time/hrtimer.c:1755 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1817 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1026 [inline] __sysvec_apic_timer_interrupt+0x112/0x3f0 arch/x86/kernel/apic/apic.c:1043 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline] sysvec_apic_timer_interrupt+0x52/0xc0 arch/x86/kernel/apic/apic.c:1037 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 6e 23 2f f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 33 c9 93 f5 65 8b 05 44 63 34 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc90000a18900 EFLAGS: 00000206 RAX: a563310a3601c900 RBX: 1ffff92000143124 RCX: ffffffff8170ce6a RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: 0000000000000001 RBP: ffffc90000a18990 R08: ffffffff942c88af R09: 1ffffffff2859115 R10: dffffc0000000000 R11: fffffbfff2859116 R12: dffffc0000000000 R13: 1ffff92000143120 R14: ffffc90000a18920 R15: 0000000000000246 dummy_timer+0x4486/0x45a0 __run_hrtimer kernel/time/hrtimer.c:1691 [inline] __hrtimer_run_queues+0x59d/0xd50 kernel/time/hrtimer.c:1755 hrtimer_run_softirq+0x19a/0x2c0 kernel/time/hrtimer.c:1772 handle_softirqs+0x2c7/0x980 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1037 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 6e 23 2f f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 33 c9 93 f5 65 8b 05 44 63 34 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc900041a7540 EFLAGS: 00000206 RAX: a563310a3601c900 RBX: 1ffff92000834eac RCX: ffffffff8170ce6a RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: 0000000000000001 RBP: ffffc900041a75d0 R08: ffffffff942c88af R09: 1ffffffff2859115 R10: dffffc0000000000 R11: fffffbfff2859116 R12: dffffc0000000000 R13: 1ffff92000834ea8 R14: ffffc900041a7560 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __skb_try_recv_datagram+0x1cb/0x6a0 net/core/datagram.c:266 __unix_dgram_recvmsg+0x3ba/0x12f0 net/unix/af_unix.c:2435 sock_recvmsg_nosec+0x190/0x1d0 net/socket.c:1051 ____sys_recvmsg+0x3cd/0x480 net/socket.c:2824 ___sys_recvmsg net/socket.c:2868 [inline] do_recvmmsg+0x45e/0xad0 net/socket.c:2962 __sys_recvmmsg net/socket.c:3041 [inline] __do_sys_recvmmsg net/socket.c:3064 [inline] __se_sys_recvmmsg net/socket.c:3057 [inline] __x64_sys_recvmmsg+0x199/0x250 net/socket.c:3057 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f401097dff9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f40117e2038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f4010b36058 RCX: 00007f401097dff9 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000006 RBP: 00007f40109f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4010b36058 R15: 00007ffe71b4ad28 ---------------- Code disassembly (best guess): 0: 9c pushf 1: 8f 44 24 20 pop 0x20(%rsp) 5: 42 80 3c 23 00 cmpb $0x0,(%rbx,%r12,1) a: 74 08 je 0x14 c: 4c 89 f7 mov %r14,%rdi f: e8 6e 23 2f f6 call 0xf62f2382 14: f6 44 24 21 02 testb $0x2,0x21(%rsp) 19: 75 52 jne 0x6d 1b: 41 f7 c7 00 02 00 00 test $0x200,%r15d 22: 74 01 je 0x25 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 33 c9 93 f5 call 0xf593c962 <-- trapping instruction 2f: 65 8b 05 44 63 34 74 mov %gs:0x74346344(%rip),%eax # 0x7434637a 36: 85 c0 test %eax,%eax 38: 74 43 je 0x7d 3a: 48 rex.W 3b: c7 .byte 0xc7 3c: 04 24 add $0x24,%al 3e: 0e (bad) 3f: 36 ss