BUG: MAX_LOCKDEP_ENTRIES too low! turning off the locking correctness validator. CPU: 1 PID: 24797 Comm: syz-executor.0 Not tainted 5.18.0-rc4-syzkaller-00006-gd615b5416f8a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 alloc_list_entry kernel/locking/lockdep.c:1370 [inline] add_lock_to_list.constprop.0.cold+0x11/0x18 kernel/locking/lockdep.c:1391 check_prev_add kernel/locking/lockdep.c:3135 [inline] check_prevs_add kernel/locking/lockdep.c:3188 [inline] validate_chain kernel/locking/lockdep.c:3803 [inline] __lock_acquire+0x2f48/0x56c0 kernel/locking/lockdep.c:5029 lock_acquire kernel/locking/lockdep.c:5641 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5606 _raw_spin_lock_nested+0x30/0x40 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:554 raw_spin_rq_lock kernel/sched/sched.h:1297 [inline] rq_lock kernel/sched/sched.h:1595 [inline] __schedule+0x240/0x4cc0 kernel/sched/core.c:6302 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:6696 irqentry_exit+0x31/0x80 kernel/entry/common.c:428 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_acquire+0x1ef/0x510 kernel/locking/lockdep.c:5609 Code: d3 a4 7e 83 f8 01 0f 85 b4 02 00 00 9c 58 f6 c4 02 0f 85 9f 02 00 00 48 83 7c 24 08 00 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc90026cdeba0 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff92004d9bd76 RCX: 0000000000000001 RDX: 1ffff1100b0054fb RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 000000000037ffc8 R09: 0000000000000001 R10: fffffbfff203c5c3 R11: 1ffffffff1f3b4a0 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888026462138 R15: 0000000000000000 flush_workqueue+0x110/0x13a0 kernel/workqueue.c:2809 drain_workqueue+0x1a5/0x3c0 kernel/workqueue.c:2974 destroy_workqueue+0x71/0x800 kernel/workqueue.c:4411 alloc_workqueue+0xc17/0xf00 kernel/workqueue.c:4372 bond_init+0x1bd/0x9c0 drivers/net/bonding/bond_main.c:6166 register_netdevice+0x57d/0x15b0 net/core/dev.c:9891 bond_newlink drivers/net/bonding/bond_netlink.c:515 [inline] bond_newlink+0x47/0xa0 drivers/net/bonding/bond_netlink.c:505 __rtnl_newlink+0x107f/0x1760 net/core/rtnetlink.c:3483 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3531 rtnetlink_rcv_msg+0x413/0xb80 net/core/rtnetlink.c:5993 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2503 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x904/0xe00 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:725 ____sys_sendmsg+0x6e2/0x800 net/socket.c:2413 ___sys_sendmsg+0xf3/0x170 net/socket.c:2467 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2496 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7ff4512890e9 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff452311168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007ff45139bf60 RCX: 00007ff4512890e9 RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000003 RBP: 00007ff4512e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff4518cfb1f R14: 00007ff452311300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: d3 a4 7e 83 f8 01 0f shll %cl,0xf01f883(%rsi,%rdi,2) 7: 85 b4 02 00 00 9c 58 test %esi,0x589c0000(%rdx,%rax,1) e: f6 c4 02 test $0x2,%ah 11: 0f 85 9f 02 00 00 jne 0x2b6 17: 48 83 7c 24 08 00 cmpq $0x0,0x8(%rsp) 1d: 74 01 je 0x20 1f: fb sti 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 48 01 c3 add %rax,%rbx <-- trapping instruction 2d: 48 c7 03 00 00 00 00 movq $0x0,(%rbx) 34: 48 c7 43 08 00 00 00 movq $0x0,0x8(%rbx) 3b: 00 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 84 .byte 0x84 3f: 24 .byte 0x24