====================================== | [ 103.542918][ T879] #0: ffffffff93deeb48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) | [ 103.543222][ T879] #1: ffff88800e0fad80 (team->team_lock_key){+.+.}-{4:4}, at: team_add_slave (drivers/net/team/team_core.c:1988) | [ 103.543523][ T879] | [ 103.543523][ T879] stack backtrace: [ 103.543758][ T879] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 103.543761][ T879] Call Trace: [ 103.543763][ T879] [ 103.543766][ T879] dump_stack_lvl (lib/dump_stack.c:123) [ 103.543778][ T879] print_circular_bug (kernel/locking/lockdep.c:2079) [ 103.543789][ T879] check_noncircular (kernel/locking/lockdep.c:2208) [ 103.543797][ T879] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2184) [ 103.543802][ T879] ? __pfx_validate_chain (kernel/locking/lockdep.c:3862) [ 103.543808][ 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) [ 103.543813][ T879] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 103.543820][ T879] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3530) [ 103.543824][ T879] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 103.543830][ T879] check_prev_add (kernel/locking/lockdep.c:3164) [ 103.543835][ T879] validate_chain (kernel/locking/lockdep.c:3283 kernel/locking/lockdep.c:3906) [ 103.543839][ 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) [ 103.543842][ T879] ? __pfx_validate_chain (kernel/locking/lockdep.c:3862) [ 103.543845][ 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) [ 103.543847][ T879] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 103.543850][ T879] ? mark_held_locks (kernel/locking/lockdep.c:4323) [ 103.543854][ T879] __lock_acquire (kernel/locking/lockdep.c:5228) [ 103.543860][ T879] lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 103.543863][ T879] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 103.543868][ T879] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 103.543871][ T879] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 21)) [ 103.543874][ T879] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 103.543877][ T879] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 103.543880][ T879] __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:730) [ 103.543884][ T879] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 103.543886][ T879] ? __lock_release (kernel/locking/lockdep.c:5527) [ 103.543889][ T879] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 103.543892][ T879] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 103.543894][ 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) [ 103.543897][ T879] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 103.543903][ T879] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4349 kernel/locking/lockdep.c:4408) [ 103.543908][ T879] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 103.543911][ T879] __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 103.543913][ T879] ? mark_held_locks (kernel/locking/lockdep.c:4323) [ 103.543916][ T879] ? __pfx___dev_open (net/core/dev.c:1609) [ 103.543918][ T879] ? trace_percpu_alloc_percpu (./include/trace/events/percpu.h:11 (discriminator 21)) [ 103.543926][ T879] netif_open (net/core/dev.c:1666) [ 103.543929][ T879] ? __pfx_netif_open (net/core/dev.c:1660) [ 103.543933][ T879] dev_open (./include/linux/netdevice.h:2738 ./include/linux/netdevice.h:2755 net/core/dev_api.c:190) [ 103.543937][ T879] team_port_add (drivers/net/team/team_core.c:1229) [ 103.543943][ T879] ? __pfx_team_port_add (drivers/net/team/team_core.c:1145) [ 103.543947][ T879] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 103.543953][ T879] ? validate_chain (kernel/locking/lockdep.c:3799 kernel/locking/lockdep.c:3819 kernel/locking/lockdep.c:3874) [ 103.543958][ T879] team_add_slave (drivers/net/team/team_core.c:1989) [ 103.543962][ T879] do_set_master (net/core/rtnetlink.c:2939) [ 103.543967][ T879] do_setlink.constprop.0 (net/core/rtnetlink.c:3144) [ 103.543972][ T879] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:3012) [ 103.543976][ T879] ? lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 103.543979][ T879] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [ 103.543982][ T879] ? rtnl_newlink (./include/linux/slab.h:901 net/core/rtnetlink.c:3948) [ 103.543985][ T879] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [ 103.543988][ 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) [ 103.543994][ T879] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:79) [ 103.543998][ T879] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 103.544001][ T879] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 103.544005][ T879] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:595 kernel/locking/mutex.c:730) [ 103.544008][ T879] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 103.544012][ T879] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [ 103.544015][ T879] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 103.544019][ T879] ? __pfx_validate_nla (lib/nlattr.c:396) [ 103.544027][ T879] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 103.544035][ T879] ? __rtnl_newlink (net/core/rtnetlink.c:3898) [ 103.544040][ T879] rtnl_newlink (net/core/rtnetlink.c:350 net/core/rtnetlink.c:4049) [ 103.544045][ T879] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [ 103.544047][ T879] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 103.544053][ T879] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 103.544056][ T879] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 103.544061][ T879] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6936) [ 103.544064][ T879] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [ 103.544067][ T879] rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [ 103.544071][ T879] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [ 103.544074][ 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) [ 103.544077][ T879] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 103.544081][ T879] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 103.544085][ T879] netlink_rcv_skb (net/netlink/af_netlink.c:2544) [ 103.544090][ T879] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [ 103.544094][ T879] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2521) [ 103.544101][ T879] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 103.544105][ 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) [ 103.544109][ T879] netlink_unicast (net/netlink/af_netlink.c:1323 net/netlink/af_netlink.c:1349) [ 103.544113][ T879] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1334) [ 103.544116][ T879] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 103.544121][ T879] netlink_sendmsg (net/netlink/af_netlink.c:1893) [ 103.544126][ T879] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1812) [ 103.544132][ T879] ____sys_sendmsg (net/socket.c:718 net/socket.c:733 net/socket.c:2573) [ 103.544137][ T879] ? __pfx_____sys_sendmsg (net/socket.c:2519) [ 103.544139][ T879] ? __pfx_copy_msghdr_from_user (net/socket.c:2499) [ 103.544146][ T879] ___sys_sendmsg (net/socket.c:2629) [ 103.544151][ T879] ? __pfx____sys_sendmsg (net/socket.c:2616) [ 103.544155][ T879] ? kasan_save_stack (mm/kasan/common.c:49) [ 103.544160][ T879] ? kasan_save_stack (mm/kasan/common.c:48) [ 103.544163][ T879] ? kasan_record_aux_stack (mm/kasan/generic.c:548) [ 103.544167][ 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) [ 103.544172][ T879] ? __x64_sys_close (fs/open.c:1583 fs/open.c:1565 fs/open.c:1565) [ 103.544178][ T879] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 103.544181][ T879] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 103.544185][ T879] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 103.544188][ T879] ? lock_downgrade (./arch/x86/include/asm/current.h:49 kernel/locking/lockdep.c:122 kernel/locking/lockdep.c:5747) [ 103.544192][ T879] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 103.544196][ T879] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 103.544200][ T879] ? __lock_release (kernel/locking/lockdep.c:5527) [ 103.544203][ 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) [ 103.544208][ T879] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 103.544211][ T879] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 103.544216][ T879] __sys_sendmsg (net/socket.c:2659) [ 103.544221][ T879] ? __pfx___sys_sendmsg (net/socket.c:2644) [ 103.544233][ T879] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 103.544237][ T879] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 103.544240][ T879] RIP: 0033:0x7f47bda8d9a7 [ 103.544245][ 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) [ 103.544248][ T879] RSP: 002b:00007ffe39c13e38 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 103.544252][ T879] RAX: ffffffffffffffda RBX: 00007ffe39c14560 RCX: 00007f47bda8d9a7 [ 103.544254][ T879] RDX: 0000000000000000 RSI: 00007ffe39c13ea0 RDI: 0000000000000005 [ 103.544256][ T879] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 103.544258][ T879] R10: 0000000021218910 R11: 0000000000000246 R12: 0000000000000004 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire