====================================== | [ 378.671865][ T3289] #0: ffffffff86deeb48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) | [ 378.672156][ T3289] #1: ffff88800ba0ad80 (team->team_lock_key){+.+.}-{4:4}, at: team_add_slave (drivers/net/team/team_core.c:1988) | [ 378.672454][ T3289] | [ 378.672454][ T3289] stack backtrace: [ 378.672662][ T3289] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 378.672664][ T3289] Call Trace: [ 378.672666][ T3289] [ 378.672668][ T3289] dump_stack_lvl (lib/dump_stack.c:123) [ 378.672677][ T3289] print_circular_bug (kernel/locking/lockdep.c:2079) [ 378.672683][ T3289] check_noncircular (kernel/locking/lockdep.c:2208) [ 378.672687][ T3289] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2184) [ 378.672691][ T3289] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 378.672698][ T3289] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3530) [ 378.672702][ T3289] check_prev_add (kernel/locking/lockdep.c:3164) [ 378.672707][ T3289] validate_chain (kernel/locking/lockdep.c:3283 kernel/locking/lockdep.c:3906) [ 378.672711][ T3289] ? stack_depot_save_flags (lib/stackdepot.c:672) [ 378.672719][ T3289] ? __pfx_validate_chain (kernel/locking/lockdep.c:3862) [ 378.672722][ T3289] ? 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) [ 378.672725][ T3289] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 378.672729][ T3289] __lock_acquire (kernel/locking/lockdep.c:5228) [ 378.672734][ T3289] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 378.672737][ T3289] lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 378.672740][ T3289] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 378.672743][ T3289] ? validate_chain (kernel/locking/lockdep.c:3799 kernel/locking/lockdep.c:3819 kernel/locking/lockdep.c:3874) [ 378.672747][ T3289] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 378.672750][ T3289] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 21)) [ 378.672753][ T3289] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 378.672756][ T3289] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 378.672759][ T3289] __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:730) [ 378.672762][ T3289] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 378.672765][ T3289] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 378.672768][ T3289] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 378.672775][ T3289] ? mutex_is_locked (./arch/x86/include/asm/atomic64_64.h:15 ./include/linux/atomic/atomic-arch-fallback.h:2583 ./include/linux/atomic/atomic-long.h:38 ./include/linux/atomic/atomic-instrumented.h:3189 kernel/locking/mutex.h:47 kernel/locking/mutex.c:66) [ 378.672778][ T3289] ? rtnl_is_locked (net/core/rtnetlink.c:168) [ 378.672786][ T3289] ? mirred_device_event (net/sched/act_mirred.c:519) act_mirred [ 378.672796][ T3289] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 378.672798][ T3289] __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 378.672800][ T3289] ? mark_held_locks (kernel/locking/lockdep.c:4323) [ 378.672803][ T3289] ? __pfx___dev_open (net/core/dev.c:1609) [ 378.672806][ T3289] ? trace_percpu_alloc_percpu (./include/trace/events/percpu.h:11 (discriminator 21)) [ 378.672814][ T3289] netif_open (net/core/dev.c:1666) [ 378.672817][ T3289] ? __pfx_netif_open (net/core/dev.c:1660) [ 378.672822][ T3289] dev_open (./include/linux/netdevice.h:2738 ./include/linux/netdevice.h:2755 net/core/dev_api.c:190) [ 378.672826][ T3289] team_port_add (drivers/net/team/team_core.c:1229) [ 378.672831][ T3289] ? __pfx_team_port_add (drivers/net/team/team_core.c:1145) [ 378.672834][ T3289] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 378.672841][ T3289] ? validate_chain (kernel/locking/lockdep.c:3799 kernel/locking/lockdep.c:3819 kernel/locking/lockdep.c:3874) [ 378.672845][ T3289] team_add_slave (drivers/net/team/team_core.c:1989) [ 378.672849][ T3289] do_set_master (net/core/rtnetlink.c:2939) [ 378.672854][ T3289] do_setlink.constprop.0 (net/core/rtnetlink.c:3144) [ 378.672859][ T3289] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:3012) [ 378.672862][ T3289] ? lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 378.672865][ T3289] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [ 378.672868][ T3289] ? rtnl_newlink (./include/linux/slab.h:901 net/core/rtnetlink.c:3948) [ 378.672871][ T3289] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [ 378.672874][ T3289] ? __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) [ 378.672878][ T3289] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:79) [ 378.672881][ T3289] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 378.672885][ T3289] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 378.672888][ T3289] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:595 kernel/locking/mutex.c:730) [ 378.672892][ T3289] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 378.672895][ T3289] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [ 378.672899][ T3289] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 378.672901][ T3289] ? __pfx_validate_nla (lib/nlattr.c:396) [ 378.672907][ T3289] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 378.672913][ T3289] ? __rtnl_newlink (net/core/rtnetlink.c:3898) [ 378.672918][ T3289] rtnl_newlink (net/core/rtnetlink.c:350 net/core/rtnetlink.c:4049) [ 378.672922][ T3289] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [ 378.672925][ T3289] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 378.672930][ T3289] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 378.672933][ T3289] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 378.672938][ T3289] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6936) [ 378.672941][ T3289] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [ 378.672944][ T3289] rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [ 378.672948][ T3289] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [ 378.672951][ T3289] ? 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) [ 378.672953][ T3289] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 378.672957][ T3289] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 378.672961][ T3289] netlink_rcv_skb (net/netlink/af_netlink.c:2544) [ 378.672966][ T3289] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [ 378.672970][ T3289] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2521) [ 378.672977][ T3289] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 378.672981][ T3289] ? 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) [ 378.672985][ T3289] netlink_unicast (net/netlink/af_netlink.c:1323 net/netlink/af_netlink.c:1349) [ 378.672989][ T3289] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1334) [ 378.672993][ T3289] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 378.672998][ T3289] netlink_sendmsg (net/netlink/af_netlink.c:1893) [ 378.673003][ T3289] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1812) [ 378.673009][ T3289] ____sys_sendmsg (net/socket.c:718 net/socket.c:733 net/socket.c:2573) [ 378.673012][ T3289] ? __pfx_____sys_sendmsg (net/socket.c:2519) [ 378.673015][ T3289] ? __pfx_copy_msghdr_from_user (net/socket.c:2499) [ 378.673022][ T3289] ___sys_sendmsg (net/socket.c:2629) [ 378.673026][ T3289] ? __pfx____sys_sendmsg (net/socket.c:2616) [ 378.673031][ T3289] ? kasan_save_stack (mm/kasan/common.c:49) [ 378.673035][ T3289] ? kasan_save_stack (mm/kasan/common.c:48) [ 378.673038][ T3289] ? kasan_record_aux_stack (mm/kasan/generic.c:548) [ 378.673041][ T3289] ? __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) [ 378.673045][ T3289] ? __x64_sys_close (fs/open.c:1583 fs/open.c:1565 fs/open.c:1565) [ 378.673050][ T3289] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 378.673052][ T3289] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 378.673055][ T3289] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 378.673059][ T3289] ? lock_downgrade (./arch/x86/include/asm/current.h:49 kernel/locking/lockdep.c:122 kernel/locking/lockdep.c:5747) [ 378.673063][ T3289] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 378.673066][ T3289] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 378.673071][ T3289] ? __lock_release (kernel/locking/lockdep.c:5527) [ 378.673073][ T3289] ? __virt_addr_valid (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:962 ./include/linux/mmzone.h:2077 arch/x86/mm/physaddr.c:65) [ 378.673079][ T3289] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 378.673082][ T3289] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 378.673087][ T3289] __sys_sendmsg (net/socket.c:2659) [ 378.673090][ T3289] ? __pfx___sys_sendmsg (net/socket.c:2644) [ 378.673098][ T3289] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 378.673101][ T3289] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 378.673104][ T3289] RIP: 0033:0x7f67f14629a7 [ 378.673109][ T3289] 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) [ 378.673112][ T3289] RSP: 002b:00007fff9d118e98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 378.673116][ T3289] RAX: ffffffffffffffda RBX: 00007fff9d1195c0 RCX: 00007f67f14629a7 [ 378.673118][ T3289] RDX: 0000000000000000 RSI: 00007fff9d118f00 RDI: 0000000000000005 [ 378.673120][ T3289] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 378.673122][ T3289] R10: 0000000007422910 R11: 0000000000000246 R12: 0000000000000004 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire