====================================== | [ 17.529165][ T347] #0: ffffffff9ede7a48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink (net/core/rtnetlink.c:337 net/core/rtnetlink.c:4020) | [ 17.529460][ T347] #1: ffff88800d59ad80 (team->team_lock_key#2){+.+.}-{4:4}, at: team_add_slave (drivers/net/team/team_core.c:1988) | [ 17.529753][ T347] | [ 17.529753][ T347] stack backtrace: [ 17.530261][ T347] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.530482][ T347] Call Trace: [ 17.530629][ T347] [ 17.530720][ T347] dump_stack_lvl (lib/dump_stack.c:123) [ 17.530920][ T347] print_circular_bug (kernel/locking/lockdep.c:2077) [ 17.531104][ T347] check_noncircular (kernel/locking/lockdep.c:2206) [ 17.531295][ T347] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2182) [ 17.531473][ T347] ? is_bpf_text_address (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 kernel/bpf/core.c:774) [ 17.531659][ T347] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3528) [ 17.531833][ T347] check_prev_add (kernel/locking/lockdep.c:3162) [ 17.532009][ T347] validate_chain (kernel/locking/lockdep.c:3281 kernel/locking/lockdep.c:3904) [ 17.532196][ T347] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 17.532371][ T347] ? 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.532542][ T347] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 17.532679][ T347] __lock_acquire (kernel/locking/lockdep.c:5226) [ 17.532856][ T347] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5851) [ 17.533039][ T347] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 17.533272][ T347] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 17.533449][ T347] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 37)) [ 17.533625][ T347] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 17.533798][ T347] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 17.534013][ T347] 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.534169][ T347] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 17.534396][ T347] ? __pfx_down_read (kernel/locking/rwsem.c:1522) [ 17.534572][ T347] blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 17.534760][ T347] __dev_open (./include/linux/notifier.h:207 net/core/dev.c:1467) [ 17.534938][ T347] ? trace_percpu_alloc_percpu (./include/trace/events/percpu.h:11 (discriminator 37)) [ 17.535198][ T347] ? __pfx___dev_open (net/core/dev.c:1445) [ 17.535435][ T347] ? pcpu_alloc_noprof (mm/percpu.c:1913) [ 17.535615][ T347] dev_open (net/core/dev.c:1513 net/core/dev.c:1506) [ 17.535755][ T347] ? __pfx_dev_open (net/core/dev.c:1507) [ 17.535934][ T347] team_port_add (drivers/net/team/team_core.c:1229) [ 17.536121][ T347] ? __pfx_team_port_add (drivers/net/team/team_core.c:1145) [ 17.536298][ T347] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 17.536473][ T347] ? __pfx_validate_linkmsg (net/core/rtnetlink.c:2646) [ 17.536655][ T347] team_add_slave (drivers/net/team/team_core.c:1989) [ 17.536830][ T347] do_setlink.constprop.0 (net/core/rtnetlink.c:3125) [ 17.537052][ T347] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:2999) [ 17.537314][ T347] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5851) [ 17.537533][ T347] ? rtnl_newlink (net/core/rtnetlink.c:337 net/core/rtnetlink.c:4020) [ 17.537758][ T347] ? rtnl_newlink (./include/linux/slab.h:901 net/core/rtnetlink.c:3921) [ 17.537938][ T347] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6911) [ 17.538119][ T347] ? __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.538297][ T347] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:79) [ 17.538522][ T347] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 17.538697][ T347] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 37)) [ 17.538873][ T347] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:595 kernel/locking/mutex.c:735) [ 17.539053][ T347] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 17.539251][ T347] ? rtnl_newlink (net/core/rtnetlink.c:337 net/core/rtnetlink.c:4020) [ 17.539425][ T347] ? __pfx___mutex_lock (kernel/locking/mutex.c:734) [ 17.539603][ T347] ? __rtnl_newlink (net/core/rtnetlink.c:3871) [ 17.539785][ T347] rtnl_newlink (net/core/rtnetlink.c:345 net/core/rtnetlink.c:4022) [ 17.539962][ T347] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3912) [ 17.540157][ T347] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 17.540336][ T347] ? __pfx___lock_release (kernel/locking/lockdep.c:5501) [ 17.540508][ T347] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 17.540684][ T347] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6909) [ 17.540856][ T347] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3912) [ 17.541026][ T347] rtnetlink_rcv_msg (net/core/rtnetlink.c:6911) [ 17.541209][ T347] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6814) [ 17.541379][ T347] ? 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.541555][ T347] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 17.541682][ T347] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 17.541859][ T347] netlink_rcv_skb (net/netlink/af_netlink.c:2543) [ 17.542026][ T347] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6814) [ 17.542196][ T347] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2520) [ 17.542381][ T347] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 17.542556][ T347] ? 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.542734][ T347] netlink_unicast (net/netlink/af_netlink.c:1322 net/netlink/af_netlink.c:1348) [ 17.542911][ T347] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1333) [ 17.543095][ T347] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 17.543301][ T347] netlink_sendmsg (net/netlink/af_netlink.c:1892) [ 17.543478][ T347] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1811) [ 17.543664][ T347] ____sys_sendmsg (net/socket.c:711 net/socket.c:726 net/socket.c:2594) [ 17.543843][ T347] ? __pfx_____sys_sendmsg (net/socket.c:2540) [ 17.544020][ T347] ? __pfx_copy_msghdr_from_user (net/socket.c:2520) [ 17.544289][ T347] ___sys_sendmsg (net/socket.c:2650) [ 17.544475][ T347] ? __pfx____sys_sendmsg (net/socket.c:2637) [ 17.544655][ T347] ? kasan_save_stack (mm/kasan/common.c:49) [ 17.544834][ T347] ? kasan_save_stack (mm/kasan/common.c:48) [ 17.545012][ T347] ? __kasan_record_aux_stack (mm/kasan/generic.c:544) [ 17.545187][ T347] ? __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.545407][ T347] ? __x64_sys_close (fs/open.c:1557 fs/open.c:1539 fs/open.c:1539) [ 17.545580][ T347] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 17.545751][ T347] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 17.545970][ T347] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 17.546150][ T347] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 17.546336][ T347] ? __lock_release (kernel/locking/lockdep.c:5525) [ 17.546514][ T347] ? __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.546695][ T347] ? __pfx___lock_release (kernel/locking/lockdep.c:5501) [ 17.546870][ T347] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 17.547046][ T347] __sys_sendmsg (net/socket.c:2680) [ 17.547218][ T347] ? __pfx___sys_sendmsg (net/socket.c:2665) [ 17.547393][ T347] ? __pfx_slab_free_after_rcu_debug (mm/slub.c:4643) [ 17.547634][ T347] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 17.547847][ T347] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 17.548067][ T347] RIP: 0033:0x7f2d823a99a7 [ 17.548283][ T347] 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.548978][ T347] RSP: 002b:00007fff08ac5d08 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 17.549287][ T347] RAX: ffffffffffffffda RBX: 00007fff08ac6430 RCX: 00007f2d823a99a7 [ 17.549605][ T347] RDX: 0000000000000000 RSI: 00007fff08ac5d70 RDI: 0000000000000005 [ 17.549866][ T347] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 17.550175][ T347] R10: 000000001cfc8910 R11: 0000000000000246 R12: 0000000000000004 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire