------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(1) WARNING: CPU: 1 PID: 8351 at kernel/locking/lockdep.c:232 hlock_class kernel/locking/lockdep.c:232 [inline] WARNING: CPU: 1 PID: 8351 at kernel/locking/lockdep.c:232 check_wait_context kernel/locking/lockdep.c:4826 [inline] WARNING: CPU: 1 PID: 8351 at kernel/locking/lockdep.c:232 __lock_acquire+0x58c/0x2050 kernel/locking/lockdep.c:5152 Modules linked in: CPU: 1 UID: 0 PID: 8351 Comm: syz.0.521 Not tainted 6.12.0-rc7-syzkaller-00187-gf868cd251776 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/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 b5 db ac 0e 00 75 23 90 48 c7 c7 60 c9 0a 8c 48 c7 c6 00 cc 0a 8c e8 0f 7d 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:ffffc9000361edf0 EFLAGS: 00010046 RAX: cd5ce92c022fd200 RBX: 0000000000001228 RCX: 0000000000040000 RDX: dffffc0000000000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000000000 R08: ffffffff8155e312 R09: 1ffff110170e519a R10: dffffc0000000000 R11: ffffed10170e519b R12: ffff888030f48000 R13: 0000000000001228 R14: 1ffff110061e9160 R15: ffff888030f48b00 FS: 00007f57e1df66c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f62fce517ff CR3: 000000001299c000 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:606 raw_spin_rq_lock kernel/sched/sched.h:1506 [inline] rq_lock kernel/sched/sched.h:1805 [inline] __schedule+0x35a/0x4c30 kernel/sched/core.c:6592 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7015 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:87 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:123 [inline] RIP: 0010:lock_is_held_type+0x67/0x190 kernel/locking/lockdep.c:5893 Code: f1 00 00 00 65 4c 8b 2c 25 c0 d7 03 00 41 83 bd dc 0a 00 00 00 0f 85 da 00 00 00 41 89 f6 49 89 ff 48 c7 04 24 00 00 00 00 9c <8f> 04 24 4c 8b 24 24 fa 48 c7 c7 a0 d7 0a 8c e8 65 1b 00 00 65 ff RSP: 0018:ffffc9000361f430 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00000000ffffffff RCX: ffff888030f48000 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff8e937e00 RBP: ffffc9000361f590 R08: ffffc9000361f667 R09: ffffc9000361f640 R10: dffffc0000000000 R11: fffff520006c3ecd R12: 0000000000000000 R13: ffff888030f48000 R14: 00000000ffffffff R15: ffffffff8e937e00 lock_is_held include/linux/lockdep.h:249 [inline] __might_resched+0xa5/0x780 kernel/sched/core.c:8618 __mutex_lock_common kernel/locking/mutex.c:585 [inline] __mutex_lock+0xc1/0xd70 kernel/locking/mutex.c:752 __unix_dgram_recvmsg+0x246/0x12f0 net/unix/af_unix.c:2432 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:0x7f57e397e719 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:00007f57e1df6038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f57e3b36058 RCX: 00007f57e397e719 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007f57e39f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f57e3b36058 R15: 00007fffd8295308 ---------------- Code disassembly (best guess): 0: f1 int1 1: 00 00 add %al,(%rax) 3: 00 65 4c add %ah,0x4c(%rbp) 6: 8b 2c 25 c0 d7 03 00 mov 0x3d7c0,%ebp d: 41 83 bd dc 0a 00 00 cmpl $0x0,0xadc(%r13) 14: 00 15: 0f 85 da 00 00 00 jne 0xf5 1b: 41 89 f6 mov %esi,%r14d 1e: 49 89 ff mov %rdi,%r15 21: 48 c7 04 24 00 00 00 movq $0x0,(%rsp) 28: 00 29: 9c pushf * 2a: 8f 04 24 pop (%rsp) <-- trapping instruction 2d: 4c 8b 24 24 mov (%rsp),%r12 31: fa cli 32: 48 c7 c7 a0 d7 0a 8c mov $0xffffffff8c0ad7a0,%rdi 39: e8 65 1b 00 00 call 0x1ba3 3e: 65 gs 3f: ff .byte 0xff