====================================== | [ 875.368182][ T4484] #0: ffffffff85beeb48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) | [ 875.368570][ T4484] #1: ffff888012f3ad80 (team->team_lock_key){+.+.}-{4:4}, at: team_add_slave (drivers/net/team/team_core.c:1988) | [ 875.368859][ T4484] | [ 875.368859][ T4484] stack backtrace: [ 875.369072][ T4484] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 875.369074][ T4484] Call Trace: [ 875.369076][ T4484] [ 875.369078][ T4484] dump_stack_lvl (lib/dump_stack.c:123) [ 875.369088][ T4484] print_circular_bug (kernel/locking/lockdep.c:2079) [ 875.369095][ T4484] check_noncircular (kernel/locking/lockdep.c:2208) [ 875.369099][ T4484] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2184) [ 875.369103][ T4484] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 875.369109][ T4484] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3530) [ 875.369113][ T4484] check_prev_add (kernel/locking/lockdep.c:3164) [ 875.369118][ T4484] validate_chain (kernel/locking/lockdep.c:3283 kernel/locking/lockdep.c:3906) [ 875.369123][ T4484] ? stack_depot_save_flags (lib/stackdepot.c:672) [ 875.369130][ T4484] ? __pfx_validate_chain (kernel/locking/lockdep.c:3862) [ 875.369133][ T4484] ? 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) [ 875.369135][ T4484] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 875.369139][ T4484] __lock_acquire (kernel/locking/lockdep.c:5228) [ 875.369144][ T4484] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 875.369148][ T4484] lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 875.369151][ T4484] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 875.369155][ T4484] ? validate_chain (kernel/locking/lockdep.c:3799 kernel/locking/lockdep.c:3819 kernel/locking/lockdep.c:3874) [ 875.369158][ T4484] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 875.369162][ T4484] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 21)) [ 875.369165][ T4484] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 875.369168][ T4484] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 875.369171][ T4484] __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:730) [ 875.369174][ T4484] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 875.369177][ T4484] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 875.369180][ T4484] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 875.369183][ T4484] ? 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) [ 875.369186][ T4484] ? rtnl_is_locked (net/core/rtnetlink.c:168) [ 875.369194][ T4484] ? mirred_device_event (net/sched/act_mirred.c:519) act_mirred [ 875.369205][ T4484] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 875.369207][ T4484] __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 875.369209][ T4484] ? mark_held_locks (kernel/locking/lockdep.c:4323) [ 875.369212][ T4484] ? __pfx___dev_open (net/core/dev.c:1609) [ 875.369215][ T4484] ? trace_percpu_alloc_percpu (./include/trace/events/percpu.h:11 (discriminator 21)) [ 875.369222][ T4484] netif_open (net/core/dev.c:1666) [ 875.369224][ T4484] ? __pfx_netif_open (net/core/dev.c:1660) [ 875.369229][ T4484] dev_open (./include/linux/netdevice.h:2738 ./include/linux/netdevice.h:2755 net/core/dev_api.c:190) [ 875.369234][ T4484] team_port_add (drivers/net/team/team_core.c:1229) [ 875.369239][ T4484] ? __pfx_team_port_add (drivers/net/team/team_core.c:1145) [ 875.369242][ T4484] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 875.369249][ T4484] ? validate_chain (kernel/locking/lockdep.c:3799 kernel/locking/lockdep.c:3819 kernel/locking/lockdep.c:3874) [ 875.369254][ T4484] team_add_slave (drivers/net/team/team_core.c:1989) [ 875.369258][ T4484] do_set_master (net/core/rtnetlink.c:2939) [ 875.369263][ T4484] do_setlink.constprop.0 (net/core/rtnetlink.c:3144) [ 875.369268][ T4484] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:3012) [ 875.369272][ T4484] ? lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 875.369275][ T4484] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [ 875.369278][ T4484] ? rtnl_newlink (./include/linux/slab.h:901 net/core/rtnetlink.c:3948) [ 875.369280][ T4484] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [ 875.369284][ T4484] ? __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) [ 875.369287][ T4484] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:79) [ 875.369291][ T4484] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 875.369294][ T4484] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 875.369298][ T4484] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:595 kernel/locking/mutex.c:730) [ 875.369301][ T4484] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 875.369304][ T4484] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [ 875.369308][ T4484] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 875.369310][ T4484] ? __pfx_validate_nla (lib/nlattr.c:396) [ 875.369315][ T4484] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 875.369322][ T4484] ? __rtnl_newlink (net/core/rtnetlink.c:3898) [ 875.369326][ T4484] rtnl_newlink (net/core/rtnetlink.c:350 net/core/rtnetlink.c:4049) [ 875.369331][ T4484] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [ 875.369334][ T4484] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 875.369339][ T4484] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 875.369342][ T4484] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 875.369347][ T4484] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6936) [ 875.369350][ T4484] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [ 875.369353][ T4484] rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [ 875.369357][ T4484] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [ 875.369360][ T4484] ? 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) [ 875.369362][ T4484] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 875.369366][ T4484] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 875.369371][ T4484] netlink_rcv_skb (net/netlink/af_netlink.c:2544) [ 875.369375][ T4484] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [ 875.369378][ T4484] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2521) [ 875.369386][ T4484] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 875.369390][ T4484] ? 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) [ 875.369393][ T4484] netlink_unicast (net/netlink/af_netlink.c:1323 net/netlink/af_netlink.c:1349) [ 875.369398][ T4484] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1334) [ 875.369401][ T4484] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 875.369406][ T4484] netlink_sendmsg (net/netlink/af_netlink.c:1893) [ 875.369410][ T4484] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1812) [ 875.369416][ T4484] ____sys_sendmsg (net/socket.c:718 net/socket.c:733 net/socket.c:2573) [ 875.369421][ T4484] ? __pfx_____sys_sendmsg (net/socket.c:2519) [ 875.369423][ T4484] ? __pfx_copy_msghdr_from_user (net/socket.c:2499) [ 875.369430][ T4484] ___sys_sendmsg (net/socket.c:2629) [ 875.369434][ T4484] ? __pfx____sys_sendmsg (net/socket.c:2616) [ 875.369439][ T4484] ? kasan_save_stack (mm/kasan/common.c:49) [ 875.369443][ T4484] ? kasan_save_stack (mm/kasan/common.c:48) [ 875.369446][ T4484] ? kasan_record_aux_stack (mm/kasan/generic.c:548) [ 875.369449][ T4484] ? __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) [ 875.369453][ T4484] ? __x64_sys_close (fs/open.c:1583 fs/open.c:1565 fs/open.c:1565) [ 875.369457][ T4484] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 875.369459][ T4484] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 875.369463][ T4484] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 875.369466][ T4484] ? lock_downgrade (./arch/x86/include/asm/current.h:49 kernel/locking/lockdep.c:122 kernel/locking/lockdep.c:5747) [ 875.369470][ T4484] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 875.369474][ T4484] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 875.369478][ T4484] ? __lock_release (kernel/locking/lockdep.c:5527) [ 875.369480][ T4484] ? __virt_addr_valid (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:962 ./include/linux/mmzone.h:2077 arch/x86/mm/physaddr.c:65) [ 875.369486][ T4484] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 875.369489][ T4484] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 875.369493][ T4484] __sys_sendmsg (net/socket.c:2659) [ 875.369497][ T4484] ? __pfx___sys_sendmsg (net/socket.c:2644) [ 875.369505][ T4484] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 875.369508][ T4484] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 875.369511][ T4484] RIP: 0033:0x7f7f6e2249a7 [ 875.369515][ T4484] 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) [ 875.369519][ T4484] RSP: 002b:00007fff9b360bf8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 875.369523][ T4484] RAX: ffffffffffffffda RBX: 00007fff9b361320 RCX: 00007f7f6e2249a7 [ 875.369525][ T4484] RDX: 0000000000000000 RSI: 00007fff9b360c60 RDI: 0000000000000005 [ 875.369527][ T4484] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 875.369529][ T4484] R10: 00000000076ef910 R11: 0000000000000246 R12: 0000000000000004 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire