====================================== | [ 155.746609][ T1168] #0: ffffffff8a9eeb48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) | [ 155.747035][ T1168] #1: ffff8880054f2d80 (team->team_lock_key){+.+.}-{4:4}, at: team_add_slave (drivers/net/team/team_core.c:1988) | [ 155.747472][ T1168] | [ 155.747472][ T1168] stack backtrace: [ 155.747771][ T1168] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 155.747773][ T1168] Call Trace: [ 155.747776][ T1168] [ 155.747778][ T1168] dump_stack_lvl (lib/dump_stack.c:123) [ 155.747787][ T1168] print_circular_bug (kernel/locking/lockdep.c:2079) [ 155.747795][ T1168] check_noncircular (kernel/locking/lockdep.c:2208) [ 155.747802][ T1168] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2184) [ 155.747809][ T1168] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 155.747819][ T1168] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3530) [ 155.747825][ T1168] check_prev_add (kernel/locking/lockdep.c:3164) [ 155.747834][ T1168] validate_chain (kernel/locking/lockdep.c:3283 kernel/locking/lockdep.c:3906) [ 155.747842][ T1168] ? stack_depot_save_flags (lib/stackdepot.c:672) [ 155.747849][ T1168] ? __pfx_validate_chain (kernel/locking/lockdep.c:3862) [ 155.747854][ T1168] ? 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) [ 155.747858][ T1168] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 155.747865][ T1168] __lock_acquire (kernel/locking/lockdep.c:5228) [ 155.747873][ T1168] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 155.747879][ T1168] lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 155.747884][ T1168] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 155.747890][ T1168] ? validate_chain (kernel/locking/lockdep.c:3799 kernel/locking/lockdep.c:3819 kernel/locking/lockdep.c:3874) [ 155.747895][ T1168] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 155.747901][ T1168] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 21)) [ 155.747907][ T1168] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 155.747911][ T1168] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 155.747917][ T1168] __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:730) [ 155.747922][ T1168] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 155.747927][ T1168] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 155.747931][ T1168] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 155.747938][ T1168] ? packet_notifier (net/packet/af_packet.c:4281) [ 155.747945][ T1168] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 155.747947][ T1168] __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 155.747949][ T1168] ? mark_held_locks (kernel/locking/lockdep.c:4323) [ 155.747952][ T1168] ? __pfx___dev_open (net/core/dev.c:1609) [ 155.747955][ T1168] ? trace_percpu_alloc_percpu (./include/trace/events/percpu.h:11 (discriminator 21)) [ 155.747961][ T1168] netif_open (net/core/dev.c:1666) [ 155.747964][ T1168] ? __pfx_netif_open (net/core/dev.c:1660) [ 155.747968][ T1168] dev_open (./include/linux/netdevice.h:2738 ./include/linux/netdevice.h:2755 net/core/dev_api.c:190) [ 155.747972][ T1168] team_port_add (drivers/net/team/team_core.c:1229) [ 155.747977][ T1168] ? __pfx_team_port_add (drivers/net/team/team_core.c:1145) [ 155.747981][ T1168] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 155.747986][ T1168] ? validate_chain (kernel/locking/lockdep.c:3799 kernel/locking/lockdep.c:3819 kernel/locking/lockdep.c:3874) [ 155.747990][ T1168] team_add_slave (drivers/net/team/team_core.c:1989) [ 155.747994][ T1168] do_set_master (net/core/rtnetlink.c:2939) [ 155.747999][ T1168] do_setlink.constprop.0 (net/core/rtnetlink.c:3144) [ 155.748003][ T1168] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:3012) [ 155.748007][ T1168] ? lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 155.748010][ T1168] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [ 155.748013][ T1168] ? rtnl_newlink (./include/linux/slab.h:901 net/core/rtnetlink.c:3948) [ 155.748016][ T1168] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [ 155.748019][ T1168] ? __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) [ 155.748022][ T1168] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:79) [ 155.748026][ T1168] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 155.748029][ T1168] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 155.748032][ T1168] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:595 kernel/locking/mutex.c:730) [ 155.748035][ T1168] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 155.748039][ T1168] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [ 155.748042][ T1168] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 155.748044][ T1168] ? __pfx_validate_nla (lib/nlattr.c:396) [ 155.748049][ T1168] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 155.748054][ T1168] ? __rtnl_newlink (net/core/rtnetlink.c:3898) [ 155.748059][ T1168] rtnl_newlink (net/core/rtnetlink.c:350 net/core/rtnetlink.c:4049) [ 155.748063][ T1168] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [ 155.748066][ T1168] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 155.748070][ T1168] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 155.748073][ T1168] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 155.748078][ T1168] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6936) [ 155.748081][ T1168] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [ 155.748084][ T1168] rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [ 155.748087][ T1168] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [ 155.748090][ T1168] ? 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) [ 155.748092][ T1168] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 155.748096][ T1168] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 155.748100][ T1168] netlink_rcv_skb (net/netlink/af_netlink.c:2544) [ 155.748104][ T1168] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [ 155.748107][ T1168] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2521) [ 155.748114][ T1168] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 155.748118][ T1168] ? 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) [ 155.748121][ T1168] netlink_unicast (net/netlink/af_netlink.c:1323 net/netlink/af_netlink.c:1349) [ 155.748125][ T1168] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1334) [ 155.748129][ T1168] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 155.748133][ T1168] netlink_sendmsg (net/netlink/af_netlink.c:1893) [ 155.748138][ T1168] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1812) [ 155.748144][ T1168] ____sys_sendmsg (net/socket.c:718 net/socket.c:733 net/socket.c:2573) [ 155.748147][ T1168] ? __pfx_____sys_sendmsg (net/socket.c:2519) [ 155.748150][ T1168] ? __pfx_copy_msghdr_from_user (net/socket.c:2499) [ 155.748157][ T1168] ___sys_sendmsg (net/socket.c:2629) [ 155.748161][ T1168] ? __pfx____sys_sendmsg (net/socket.c:2616) [ 155.748165][ T1168] ? kasan_save_stack (mm/kasan/common.c:49) [ 155.748169][ T1168] ? kasan_save_stack (mm/kasan/common.c:48) [ 155.748171][ T1168] ? kasan_record_aux_stack (mm/kasan/generic.c:548) [ 155.748174][ T1168] ? __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) [ 155.748178][ T1168] ? __x64_sys_close (fs/open.c:1583 fs/open.c:1565 fs/open.c:1565) [ 155.748181][ T1168] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 155.748183][ T1168] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 155.748186][ T1168] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 155.748189][ T1168] ? lock_downgrade (./arch/x86/include/asm/current.h:49 kernel/locking/lockdep.c:122 kernel/locking/lockdep.c:5747) [ 155.748193][ T1168] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 155.748196][ T1168] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 155.748200][ T1168] ? __lock_release (kernel/locking/lockdep.c:5527) [ 155.748203][ T1168] ? __virt_addr_valid (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:962 ./include/linux/mmzone.h:2077 arch/x86/mm/physaddr.c:65) [ 155.748208][ T1168] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 155.748211][ T1168] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 155.748215][ T1168] __sys_sendmsg (net/socket.c:2659) [ 155.748219][ T1168] ? __pfx___sys_sendmsg (net/socket.c:2644) [ 155.748226][ T1168] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 155.748229][ T1168] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 155.748232][ T1168] RIP: 0033:0x7f236d1399a7 [ 155.748236][ T1168] 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) [ 155.748239][ T1168] RSP: 002b:00007ffeef0e8be8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 155.748242][ T1168] RAX: ffffffffffffffda RBX: 00007ffeef0e9310 RCX: 00007f236d1399a7 [ 155.748245][ T1168] RDX: 0000000000000000 RSI: 00007ffeef0e8c50 RDI: 0000000000000005 [ 155.748246][ T1168] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 155.748248][ T1168] R10: 000000002e716910 R11: 0000000000000246 R12: 0000000000000004 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire