====================================== | [ 104.412173][ T879] #0: ffffffff91beeb48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) | [ 104.412457][ T879] #1: ffff888005042d80 (team->team_lock_key){+.+.}-{4:4}, at: team_add_slave (drivers/net/team/team_core.c:1988) | [ 104.412741][ T879] | [ 104.412741][ T879] stack backtrace: [ 104.412939][ T879] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 104.412941][ T879] Call Trace: [ 104.412943][ T879] [ 104.412945][ T879] dump_stack_lvl (lib/dump_stack.c:123) [ 104.412952][ T879] print_circular_bug (kernel/locking/lockdep.c:2079) [ 104.412956][ T879] check_noncircular (kernel/locking/lockdep.c:2208) [ 104.412959][ T879] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 104.412964][ T879] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2184) [ 104.412967][ T879] ? stack_depot_save_flags (lib/stackdepot.c:672) [ 104.412973][ T879] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 104.412977][ T879] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3530) [ 104.412981][ T879] check_prev_add (kernel/locking/lockdep.c:3164) [ 104.412985][ T879] ? validate_chain (kernel/locking/lockdep.c:3799 kernel/locking/lockdep.c:3819 kernel/locking/lockdep.c:3874) [ 104.412988][ T879] validate_chain (kernel/locking/lockdep.c:3283 kernel/locking/lockdep.c:3906) [ 104.412993][ T879] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 104.412996][ T879] ? __pfx_validate_chain (kernel/locking/lockdep.c:3862) [ 104.412998][ T879] ? 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:230) [ 104.413001][ T879] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 104.413005][ T879] __lock_acquire (kernel/locking/lockdep.c:5228) [ 104.413011][ T879] lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 104.413014][ T879] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 104.413017][ T879] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 104.413020][ T879] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 21)) [ 104.413024][ T879] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 104.413026][ T879] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 104.413030][ T879] __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:730) [ 104.413032][ T879] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 104.413034][ T879] ? __lock_release (kernel/locking/lockdep.c:5527) [ 104.413037][ T879] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 104.413040][ T879] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 104.413042][ T879] ? 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:230) [ 104.413044][ T879] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 104.413050][ T879] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4349 kernel/locking/lockdep.c:4408) [ 104.413056][ T879] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 104.413058][ T879] __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 104.413060][ T879] ? mark_held_locks (kernel/locking/lockdep.c:4323) [ 104.413063][ T879] ? __pfx___dev_open (net/core/dev.c:1609) [ 104.413065][ T879] ? trace_percpu_alloc_percpu (./include/trace/events/percpu.h:11 (discriminator 21)) [ 104.413071][ T879] netif_open (net/core/dev.c:1666) [ 104.413074][ T879] ? __pfx_netif_open (net/core/dev.c:1660) [ 104.413078][ T879] dev_open (./include/linux/netdevice.h:2738 ./include/linux/netdevice.h:2755 net/core/dev_api.c:190) [ 104.413082][ T879] team_port_add (drivers/net/team/team_core.c:1229) [ 104.413086][ T879] ? __pfx_team_port_add (drivers/net/team/team_core.c:1145) [ 104.413090][ T879] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 104.413095][ T879] ? validate_chain (kernel/locking/lockdep.c:3799 kernel/locking/lockdep.c:3819 kernel/locking/lockdep.c:3874) [ 104.413099][ T879] team_add_slave (drivers/net/team/team_core.c:1989) [ 104.413103][ T879] do_set_master (net/core/rtnetlink.c:2939) [ 104.413108][ T879] do_setlink.constprop.0 (net/core/rtnetlink.c:3144) [ 104.413112][ T879] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:3012) [ 104.413116][ T879] ? lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 104.413119][ T879] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [ 104.413122][ T879] ? rtnl_newlink (./include/linux/slab.h:901 net/core/rtnetlink.c:3948) [ 104.413124][ T879] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [ 104.413128][ T879] ? __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) [ 104.413132][ T879] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:79) [ 104.413135][ T879] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 104.413139][ T879] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 104.413143][ T879] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:595 kernel/locking/mutex.c:730) [ 104.413146][ T879] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 104.413150][ T879] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [ 104.413153][ T879] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 104.413155][ T879] ? __pfx_validate_nla (lib/nlattr.c:396) [ 104.413160][ T879] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 104.413165][ T879] ? __rtnl_newlink (net/core/rtnetlink.c:3898) [ 104.413170][ T879] rtnl_newlink (net/core/rtnetlink.c:350 net/core/rtnetlink.c:4049) [ 104.413175][ T879] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [ 104.413177][ T879] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 104.413182][ T879] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 104.413185][ T879] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 104.413190][ T879] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6936) [ 104.413193][ T879] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [ 104.413196][ T879] rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [ 104.413199][ T879] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [ 104.413202][ T879] ? 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:230) [ 104.413204][ T879] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 104.413209][ T879] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 104.413212][ T879] netlink_rcv_skb (net/netlink/af_netlink.c:2544) [ 104.413215][ T879] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [ 104.413219][ T879] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2521) [ 104.413226][ T879] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 104.413230][ T879] ? 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) [ 104.413234][ T879] netlink_unicast (net/netlink/af_netlink.c:1323 net/netlink/af_netlink.c:1349) [ 104.413238][ T879] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1334) [ 104.413241][ T879] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 104.413246][ T879] netlink_sendmsg (net/netlink/af_netlink.c:1893) [ 104.413250][ T879] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1812) [ 104.413256][ T879] ____sys_sendmsg (net/socket.c:718 net/socket.c:733 net/socket.c:2573) [ 104.413260][ T879] ? __pfx_____sys_sendmsg (net/socket.c:2519) [ 104.413262][ T879] ? __pfx_copy_msghdr_from_user (net/socket.c:2499) [ 104.413269][ T879] ___sys_sendmsg (net/socket.c:2629) [ 104.413273][ T879] ? __pfx____sys_sendmsg (net/socket.c:2616) [ 104.413277][ T879] ? kasan_save_stack (mm/kasan/common.c:49) [ 104.413282][ T879] ? kasan_save_stack (mm/kasan/common.c:48) [ 104.413284][ T879] ? kasan_record_aux_stack (mm/kasan/generic.c:548) [ 104.413288][ T879] ? __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:3067) [ 104.413292][ T879] ? __x64_sys_close (fs/open.c:1583 fs/open.c:1565 fs/open.c:1565) [ 104.413296][ T879] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 104.413298][ T879] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 104.413301][ T879] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 104.413304][ T879] ? lock_downgrade (./arch/x86/include/asm/current.h:49 kernel/locking/lockdep.c:122 kernel/locking/lockdep.c:5747) [ 104.413308][ T879] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 104.413312][ T879] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 104.413316][ T879] ? __lock_release (kernel/locking/lockdep.c:5527) [ 104.413319][ T879] ? __virt_addr_valid (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:962 ./include/linux/mmzone.h:2077 arch/x86/mm/physaddr.c:65) [ 104.413324][ T879] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 104.413327][ T879] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 104.413331][ T879] __sys_sendmsg (net/socket.c:2659) [ 104.413334][ T879] ? __pfx___sys_sendmsg (net/socket.c:2644) [ 104.413342][ T879] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 104.413345][ T879] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 104.413348][ T879] RIP: 0033:0x7f817b4a19a7 [ 104.413353][ T879] 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) [ 104.413356][ T879] RSP: 002b:00007fff75fd4798 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 104.413359][ T879] RAX: ffffffffffffffda RBX: 00007fff75fd4ec0 RCX: 00007f817b4a19a7 [ 104.413361][ T879] RDX: 0000000000000000 RSI: 00007fff75fd4800 RDI: 0000000000000005 [ 104.413363][ T879] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 104.413365][ T879] R10: 00000000173df910 R11: 0000000000000246 R12: 0000000000000004 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire