------------[ cut here ]------------ lockdep bfs error:-1 WARNING: CPU: 0 PID: 10186 at kernel/locking/lockdep.c:2077 print_bfs_bug+0x22/0x30 kernel/locking/lockdep.c:2077 Modules linked in: CPU: 0 PID: 10186 Comm: syz-executor346 Not tainted 6.3.0-syzkaller-07940-g6686317855c6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:print_bfs_bug+0x22/0x30 kernel/locking/lockdep.c:2077 Code: 84 00 00 00 00 00 66 90 55 89 fd 53 e8 c7 34 a9 02 89 c3 e8 60 fd ff ff 85 db 74 10 89 ee 48 c7 c7 20 68 4c 8a e8 3e bb e7 ff <0f> 0b 5b 5d c3 66 0f 1f 84 00 00 00 00 00 53 31 c9 31 d2 31 f6 48 RSP: 0018:ffffc9000e166950 EFLAGS: 00010086 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff888027179dc0 RSI: ffffffff814bef47 RDI: 0000000000000001 RBP: 00000000ffffffff R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88802717a9a0 R13: 0000000000000037 R14: ffffc9000e166a78 R15: 0000000000000000 FS: 0000555555d11300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ecbc217398 CR3: 000000002d781000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_irq_usage+0x56c/0x1a40 kernel/locking/lockdep.c:2845 check_prev_add kernel/locking/lockdep.c:3112 [inline] check_prevs_add kernel/locking/lockdep.c:3227 [inline] validate_chain kernel/locking/lockdep.c:3842 [inline] __lock_acquire+0x2f39/0x5df0 kernel/locking/lockdep.c:5074 lock_acquire kernel/locking/lockdep.c:5691 [inline] lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5656 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 mm_cid_put kernel/sched/sched.h:3270 [inline] mm_cid_put kernel/sched/sched.h:3265 [inline] switch_mm_cid kernel/sched/sched.h:3298 [inline] prepare_task_switch kernel/sched/core.c:5117 [inline] context_switch kernel/sched/core.c:5258 [inline] __schedule+0x26a3/0x5770 kernel/sched/core.c:6625 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:6937 irqentry_exit+0x35/0x80 kernel/entry/common.c:433 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:650 RIP: 0010:lock_acquire+0x1f5/0x520 kernel/locking/lockdep.c:5659 Code: 2b 9d 7e 83 f8 01 0f 85 b9 02 00 00 9c 58 f6 c4 02 0f 85 a4 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:ffffc9000e167078 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff92001c2ce11 RCX: 0000000000000001 RDX: 1ffff11004e2f510 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff91510c97 R10: fffffbfff22a2192 R11: 0000000000000fc3 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8c90aee0 R15: 0000000000000000 fs_reclaim_acquire mm/page_alloc.c:4734 [inline] fs_reclaim_acquire+0xda/0x160 mm/page_alloc.c:4725 might_alloc include/linux/sched/mm.h:271 [inline] slab_pre_alloc_hook mm/slab.h:669 [inline] slab_alloc_node mm/slub.c:3434 [inline] kmem_cache_alloc_node+0x42/0x3e0 mm/slub.c:3497 __alloc_skb+0x288/0x330 net/core/skbuff.c:644 alloc_skb include/linux/skbuff.h:1288 [inline] nlmsg_new include/net/netlink.h:1003 [inline] genlmsg_new include/net/genetlink.h:491 [inline] __send_and_alloc_skb drivers/net/team/team.c:2430 [inline] team_nl_send_options_get+0x100/0xeb0 drivers/net/team/team.c:2453 team_nl_send_event_options_get drivers/net/team/team.c:2870 [inline] team_nl_cmd_options_set+0x90b/0xc80 drivers/net/team/team.c:2673 genl_family_rcv_msg_doit.isra.0+0x1e6/0x2d0 net/netlink/genetlink.c:968 genl_family_rcv_msg net/netlink/genetlink.c:1048 [inline] genl_rcv_msg+0x4ff/0x7e0 net/netlink/genetlink.c:1065 netlink_rcv_skb+0x165/0x440 net/netlink/af_netlink.c:2546 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1076 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] netlink_unicast+0x547/0x7f0 net/netlink/af_netlink.c:1365 netlink_sendmsg+0x925/0xe30 net/netlink/af_netlink.c:1913 sock_sendmsg_nosec net/socket.c:724 [inline] sock_sendmsg+0xde/0x190 net/socket.c:747 ____sys_sendmsg+0x71c/0x900 net/socket.c:2503 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2557 __sys_sendmsg+0xf7/0x1c0 net/socket.c:2586 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0ecff2bb29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 14 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff37f8e608 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00000000000bec49 RCX: 00007f0ecff2bb29 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000000 R09: 00007fff37f8e7a8 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff37f8e61c R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 2b 9d 7e 83 f8 01 sub 0x1f8837e(%rbp),%ebx 6: 0f 85 b9 02 00 00 jne 0x2c5 c: 9c pushfq d: 58 pop %rax e: f6 c4 02 test $0x2,%ah 11: 0f 85 a4 02 00 00 jne 0x2bb 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