====================================== | [1373.347084][T21935] #0: ffffffffb4feeb48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) | [1373.347376][T21935] #1: ffff88800522ad80 (team->team_lock_key){+.+.}-{4:4}, at: team_add_slave (drivers/net/team/team_core.c:1988) | [ 1373.347683][T21935] | [ 1373.347683][T21935] stack backtrace: [ 1373.347892][T21935] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1373.347894][T21935] Call Trace: [ 1373.347896][T21935] [1373.347898][T21935] dump_stack_lvl (lib/dump_stack.c:123) [1373.347908][T21935] print_circular_bug (kernel/locking/lockdep.c:2079) [1373.347915][T21935] check_noncircular (kernel/locking/lockdep.c:2208) [1373.347919][T21935] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2184) [1373.347922][T21935] ? __pfx_validate_chain (kernel/locking/lockdep.c:3862) [1373.347926][T21935] ? 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) [1373.347928][T21935] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [1373.347932][T21935] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3530) [1373.347934][T21935] ? __lock_acquire (kernel/locking/lockdep.c:5228) [1373.347938][T21935] check_prev_add (kernel/locking/lockdep.c:3164) [1373.347943][T21935] validate_chain (kernel/locking/lockdep.c:3283 kernel/locking/lockdep.c:3906) [1373.347947][T21935] ? 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) [1373.347950][T21935] ? __pfx_validate_chain (kernel/locking/lockdep.c:3862) [1373.347953][T21935] ? 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) [1373.347955][T21935] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [1373.347958][T21935] ? mark_held_locks (kernel/locking/lockdep.c:4323) [1373.347962][T21935] __lock_acquire (kernel/locking/lockdep.c:5228) [1373.347967][T21935] lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [1373.347970][T21935] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [1373.347974][T21935] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [1373.347977][T21935] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 21)) [1373.347981][T21935] ? lock_acquire (kernel/locking/lockdep.c:5824) [1373.347983][T21935] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [1373.347986][T21935] __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:730) [1373.347989][T21935] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [1373.347991][T21935] ? __lock_release (kernel/locking/lockdep.c:5527) [1373.347994][T21935] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [1373.347997][T21935] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [1373.347999][T21935] ? 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) [1373.348001][T21935] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [1373.348008][T21935] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4349 kernel/locking/lockdep.c:4408) [1373.348013][T21935] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [1373.348015][T21935] __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [1373.348017][T21935] ? mark_held_locks (kernel/locking/lockdep.c:4323) [1373.348020][T21935] ? __pfx___dev_open (net/core/dev.c:1609) [1373.348023][T21935] ? trace_percpu_alloc_percpu (./include/trace/events/percpu.h:11 (discriminator 21)) [1373.348030][T21935] netif_open (net/core/dev.c:1666) [1373.348032][T21935] ? __pfx_netif_open (net/core/dev.c:1660) [1373.348036][T21935] dev_open (./include/linux/netdevice.h:2738 ./include/linux/netdevice.h:2755 net/core/dev_api.c:190) [1373.348041][T21935] team_port_add (drivers/net/team/team_core.c:1229) [1373.348046][T21935] ? __pfx_team_port_add (drivers/net/team/team_core.c:1145) [1373.348049][T21935] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [1373.348055][T21935] ? validate_chain (kernel/locking/lockdep.c:3799 kernel/locking/lockdep.c:3819 kernel/locking/lockdep.c:3874) [1373.348060][T21935] team_add_slave (drivers/net/team/team_core.c:1989) [1373.348064][T21935] do_set_master (net/core/rtnetlink.c:2939) [1373.348068][T21935] do_setlink.constprop.0 (net/core/rtnetlink.c:3144) [1373.348072][T21935] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:3012) [1373.348076][T21935] ? lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [1373.348079][T21935] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [1373.348082][T21935] ? rtnl_newlink (./include/linux/slab.h:901 net/core/rtnetlink.c:3948) [1373.348084][T21935] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [1373.348088][T21935] ? __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) [1373.348093][T21935] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:79) [1373.348097][T21935] ? lock_acquire (kernel/locking/lockdep.c:5824) [1373.348100][T21935] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [1373.348104][T21935] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:595 kernel/locking/mutex.c:730) [1373.348107][T21935] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [1373.348110][T21935] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [1373.348114][T21935] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [1373.348116][T21935] ? __pfx_validate_nla (lib/nlattr.c:396) [1373.348123][T21935] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [1373.348130][T21935] ? __rtnl_newlink (net/core/rtnetlink.c:3898) [1373.348135][T21935] rtnl_newlink (net/core/rtnetlink.c:350 net/core/rtnetlink.c:4049) [1373.348140][T21935] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [1373.348142][T21935] ? find_held_lock (kernel/locking/lockdep.c:5341) [1373.348148][T21935] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [1373.348151][T21935] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [1373.348155][T21935] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6936) [1373.348159][T21935] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [1373.348161][T21935] rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [1373.348165][T21935] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [1373.348168][T21935] ? 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) [1373.348170][T21935] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [1373.348174][T21935] ? __lock_acquire (kernel/locking/lockdep.c:5228) [1373.348178][T21935] netlink_rcv_skb (net/netlink/af_netlink.c:2544) [1373.348182][T21935] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [1373.348185][T21935] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2521) [1373.348192][T21935] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [1373.348196][T21935] ? 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) [1373.348199][T21935] netlink_unicast (net/netlink/af_netlink.c:1323 net/netlink/af_netlink.c:1349) [1373.348204][T21935] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1334) [1373.348207][T21935] ? find_held_lock (kernel/locking/lockdep.c:5341) [1373.348212][T21935] netlink_sendmsg (net/netlink/af_netlink.c:1893) [1373.348216][T21935] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1812) [1373.348222][T21935] ____sys_sendmsg (net/socket.c:718 net/socket.c:733 net/socket.c:2573) [1373.348227][T21935] ? __pfx_____sys_sendmsg (net/socket.c:2519) [1373.348229][T21935] ? __pfx_copy_msghdr_from_user (net/socket.c:2499) [1373.348236][T21935] ___sys_sendmsg (net/socket.c:2629) [1373.348240][T21935] ? __pfx____sys_sendmsg (net/socket.c:2616) [1373.348244][T21935] ? kasan_save_stack (mm/kasan/common.c:49) [1373.348250][T21935] ? kasan_save_stack (mm/kasan/common.c:48) [1373.348253][T21935] ? kasan_record_aux_stack (mm/kasan/generic.c:548) [1373.348257][T21935] ? __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) [1373.348263][T21935] ? __x64_sys_close (fs/open.c:1583 fs/open.c:1565 fs/open.c:1565) [1373.348268][T21935] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [1373.348270][T21935] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [1373.348273][T21935] ? __lock_acquire (kernel/locking/lockdep.c:5228) [1373.348276][T21935] ? lock_downgrade (./arch/x86/include/asm/current.h:49 kernel/locking/lockdep.c:122 kernel/locking/lockdep.c:5747) [1373.348280][T21935] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [1373.348284][T21935] ? find_held_lock (kernel/locking/lockdep.c:5341) [1373.348288][T21935] ? __lock_release (kernel/locking/lockdep.c:5527) [1373.348290][T21935] ? __virt_addr_valid (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:962 ./include/linux/mmzone.h:2077 arch/x86/mm/physaddr.c:65) [1373.348296][T21935] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [1373.348299][T21935] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [1373.348304][T21935] __sys_sendmsg (net/socket.c:2659) [1373.348307][T21935] ? __pfx___sys_sendmsg (net/socket.c:2644) [1373.348315][T21935] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [1373.348318][T21935] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 1373.348321][T21935] RIP: 0033:0x7fd40ff2b9a7 [ 1373.348326][T21935] 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) [ 1373.348329][T21935] RSP: 002b:00007fffb6662678 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 1373.348332][T21935] RAX: ffffffffffffffda RBX: 00007fffb6662da0 RCX: 00007fd40ff2b9a7 [ 1373.348334][T21935] RDX: 0000000000000000 RSI: 00007fffb66626e0 RDI: 0000000000000005 [ 1373.348336][T21935] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 1373.348338][T21935] R10: 000000003de3c910 R11: 0000000000000246 R12: 0000000000000004 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire