====================================== | [ 17.014855][ T349] #0: ffffffff985e7a48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink (net/core/rtnetlink.c:337 net/core/rtnetlink.c:4020) | [ 17.015160][ T349] #1: ffff88800da6ad80 (team->team_lock_key#2){+.+.}-{4:4}, at: team_add_slave (drivers/net/team/team_core.c:1988) | [ 17.015533][ T349] | [ 17.015533][ T349] stack backtrace: [ 17.015980][ T349] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.016192][ T349] Call Trace: [ 17.016318][ T349] [ 17.016403][ T349] dump_stack_lvl (lib/dump_stack.c:123) [ 17.016578][ T349] print_circular_bug (kernel/locking/lockdep.c:2077) [ 17.016743][ T349] check_noncircular (kernel/locking/lockdep.c:2206) [ 17.016912][ T349] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2182) [ 17.017079][ T349] ? is_bpf_text_address (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 kernel/bpf/core.c:774) [ 17.017258][ T349] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3528) [ 17.017423][ T349] check_prev_add (kernel/locking/lockdep.c:3162) [ 17.017590][ T349] validate_chain (kernel/locking/lockdep.c:3281 kernel/locking/lockdep.c:3904) [ 17.017754][ T349] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 17.017923][ T349] ? hlock_class (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:228) [ 17.018088][ T349] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 17.018224][ T349] __lock_acquire (kernel/locking/lockdep.c:5226) [ 17.018388][ T349] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5851) [ 17.018561][ T349] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 17.018765][ T349] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 17.018929][ T349] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 37)) [ 17.019096][ T349] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 17.019265][ T349] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 17.019475][ T349] down_read (./arch/x86/include/asm/preempt.h:79 kernel/locking/rwsem.c:1246 kernel/locking/rwsem.c:1261 kernel/locking/rwsem.c:1526) [ 17.019601][ T349] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 17.019803][ T349] ? __pfx_down_read (kernel/locking/rwsem.c:1522) [ 17.019968][ T349] blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 17.020144][ T349] __dev_open (./include/linux/notifier.h:207 net/core/dev.c:1467) [ 17.020301][ T349] ? trace_percpu_alloc_percpu (./include/trace/events/percpu.h:11 (discriminator 37)) [ 17.020506][ T349] ? __pfx___dev_open (net/core/dev.c:1445) [ 17.020668][ T349] ? pcpu_alloc_noprof (mm/percpu.c:1913) [ 17.020834][ T349] dev_open (net/core/dev.c:1513 net/core/dev.c:1506) [ 17.020967][ T349] ? __pfx_dev_open (net/core/dev.c:1507) [ 17.021142][ T349] team_port_add (drivers/net/team/team_core.c:1229) [ 17.021308][ T349] ? __pfx_team_port_add (drivers/net/team/team_core.c:1145) [ 17.021476][ T349] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 17.021641][ T349] ? __pfx_validate_linkmsg (net/core/rtnetlink.c:2646) [ 17.021806][ T349] team_add_slave (drivers/net/team/team_core.c:1989) [ 17.021970][ T349] do_setlink.constprop.0 (net/core/rtnetlink.c:3125) [ 17.022145][ T349] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:2999) [ 17.022351][ T349] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5851) [ 17.022515][ T349] ? rtnl_newlink (net/core/rtnetlink.c:337 net/core/rtnetlink.c:4020) [ 17.022683][ T349] ? rtnl_newlink (./include/linux/slab.h:901 net/core/rtnetlink.c:3921) [ 17.022845][ T349] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6911) [ 17.023007][ T349] ? __mutex_trylock_common (./arch/x86/include/asm/atomic64_64.h:101 ./include/linux/atomic/atomic-arch-fallback.h:4296 ./include/linux/atomic/atomic-long.h:1482 ./include/linux/atomic/atomic-instrumented.h:4458 kernel/locking/mutex.c:104) [ 17.023183][ T349] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:79) [ 17.023386][ T349] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 17.023555][ T349] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 37)) [ 17.023718][ T349] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:595 kernel/locking/mutex.c:735) [ 17.023885][ T349] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 17.024052][ T349] ? rtnl_newlink (net/core/rtnetlink.c:337 net/core/rtnetlink.c:4020) [ 17.024222][ T349] ? __pfx___mutex_lock (kernel/locking/mutex.c:734) [ 17.024386][ T349] ? __rtnl_newlink (net/core/rtnetlink.c:3871) [ 17.024551][ T349] rtnl_newlink (net/core/rtnetlink.c:345 net/core/rtnetlink.c:4022) [ 17.024716][ T349] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3912) [ 17.024879][ T349] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 17.025043][ T349] ? __pfx___lock_release (kernel/locking/lockdep.c:5501) [ 17.025219][ T349] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 17.025383][ T349] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6909) [ 17.025559][ T349] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3912) [ 17.025721][ T349] rtnetlink_rcv_msg (net/core/rtnetlink.c:6911) [ 17.025883][ T349] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6814) [ 17.026049][ T349] ? hlock_class (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:228) [ 17.026220][ T349] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 17.026351][ T349] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 17.026514][ T349] netlink_rcv_skb (net/netlink/af_netlink.c:2543) [ 17.026676][ T349] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6814) [ 17.026842][ T349] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2520) [ 17.027009][ T349] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 17.027191][ T349] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 ./include/net/netns/generic.h:48 net/netlink/af_netlink.c:333) [ 17.027362][ T349] netlink_unicast (net/netlink/af_netlink.c:1322 net/netlink/af_netlink.c:1348) [ 17.027534][ T349] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1333) [ 17.027695][ T349] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 17.027859][ T349] netlink_sendmsg (net/netlink/af_netlink.c:1892) [ 17.028025][ T349] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1811) [ 17.028202][ T349] ____sys_sendmsg (net/socket.c:711 net/socket.c:726 net/socket.c:2594) [ 17.028368][ T349] ? __pfx_____sys_sendmsg (net/socket.c:2540) [ 17.028529][ T349] ? __pfx_copy_msghdr_from_user (net/socket.c:2520) [ 17.028741][ T349] ___sys_sendmsg (net/socket.c:2650) [ 17.028909][ T349] ? __pfx____sys_sendmsg (net/socket.c:2637) [ 17.029073][ T349] ? kasan_save_stack (mm/kasan/common.c:49) [ 17.029249][ T349] ? kasan_save_stack (mm/kasan/common.c:48) [ 17.029412][ T349] ? __kasan_record_aux_stack (mm/kasan/generic.c:544) [ 17.029577][ T349] ? __call_rcu_common.constprop.0 (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:87 ./arch/x86/include/asm/irqflags.h:123 kernel/rcu/tree.c:3087) [ 17.029781][ T349] ? __x64_sys_close (fs/open.c:1557 fs/open.c:1539 fs/open.c:1539) [ 17.029951][ T349] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 17.030114][ T349] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 17.030332][ T349] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 17.030500][ T349] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 17.030666][ T349] ? __lock_release (kernel/locking/lockdep.c:5525) [ 17.030829][ T349] ? __virt_addr_valid (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:962 ./include/linux/mmzone.h:2058 arch/x86/mm/physaddr.c:65) [ 17.030994][ T349] ? __pfx___lock_release (kernel/locking/lockdep.c:5501) [ 17.031177][ T349] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 17.031350][ T349] __sys_sendmsg (net/socket.c:2680) [ 17.031515][ T349] ? __pfx___sys_sendmsg (net/socket.c:2665) [ 17.031680][ T349] ? __pfx_slab_free_after_rcu_debug (mm/slub.c:4643) [ 17.031889][ T349] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 17.032054][ T349] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 17.032268][ T349] RIP: 0033:0x7faf8a6e79a7 [ 17.032439][ T349] Code: 0a 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b9 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10 All code ======== 0: 0a 00 or (%rax),%al 2: f7 d8 neg %eax 4: 64 89 02 mov %eax,%fs:(%rdx) 7: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax e: eb b9 jmp 0xffffffffffffffc9 10: 0f 1f 00 nopl (%rax) 13: f3 0f 1e fa endbr64 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 10 jne 0x33 23: b8 2e 00 00 00 mov $0x2e,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 51 ja 0x83 32: c3 ret 33: 48 83 ec 28 sub $0x28,%rsp 37: 89 54 24 1c mov %edx,0x1c(%rsp) 3b: 48 89 74 24 10 mov %rsi,0x10(%rsp) Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 51 ja 0x59 8: c3 ret 9: 48 83 ec 28 sub $0x28,%rsp d: 89 54 24 1c mov %edx,0x1c(%rsp) 11: 48 89 74 24 10 mov %rsi,0x10(%rsp) [ 17.033020][ T349] RSP: 002b:00007ffdd84fa2f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 17.033267][ T349] RAX: ffffffffffffffda RBX: 00007ffdd84faa20 RCX: 00007faf8a6e79a7 [ 17.033517][ T349] RDX: 0000000000000000 RSI: 00007ffdd84fa360 RDI: 0000000000000005 [ 17.033760][ T349] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 17.034007][ T349] R10: 00000000062c7910 R11: 0000000000000246 R12: 0000000000000004 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire