====================================== | [831.805497][T11009] #0: ffffffffb35eeb48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) | [831.805785][T11009] #1: ffff88801052ad80 (team->team_lock_key){+.+.}-{4:4}, at: team_add_slave (drivers/net/team/team_core.c:1988) | [ 831.806067][T11009] | [ 831.806067][T11009] stack backtrace: [ 831.806261][T11009] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 831.806264][T11009] Call Trace: [ 831.806265][T11009] [831.806267][T11009] dump_stack_lvl (lib/dump_stack.c:123) [831.806275][T11009] print_circular_bug (kernel/locking/lockdep.c:2079) [831.806280][T11009] check_noncircular (kernel/locking/lockdep.c:2208) [831.806283][T11009] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2184) [831.806287][T11009] ? find_held_lock (kernel/locking/lockdep.c:5341) [831.806293][T11009] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3530) [831.806296][T11009] check_prev_add (kernel/locking/lockdep.c:3164) [831.806301][T11009] validate_chain (kernel/locking/lockdep.c:3283 kernel/locking/lockdep.c:3906) [831.806305][T11009] ? stack_depot_save_flags (lib/stackdepot.c:672) [831.806311][T11009] ? __pfx_validate_chain (kernel/locking/lockdep.c:3862) [831.806314][T11009] ? 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) [831.806317][T11009] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [831.806321][T11009] __lock_acquire (kernel/locking/lockdep.c:5228) [831.806327][T11009] lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [831.806330][T11009] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [831.806333][T11009] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [831.806337][T11009] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 21)) [831.806340][T11009] ? lock_acquire (kernel/locking/lockdep.c:5824) [831.806343][T11009] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [831.806346][T11009] __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:730) [831.806348][T11009] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [831.806354][T11009] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [831.806356][T11009] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [831.806361][T11009] ? packet_notifier (net/packet/af_packet.c:4281) [831.806368][T11009] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [831.806370][T11009] __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [831.806372][T11009] ? mark_held_locks (kernel/locking/lockdep.c:4323) [831.806375][T11009] ? __pfx___dev_open (net/core/dev.c:1609) [831.806378][T11009] ? trace_percpu_alloc_percpu (./include/trace/events/percpu.h:11 (discriminator 21)) [831.806384][T11009] netif_open (net/core/dev.c:1666) [831.806387][T11009] ? __pfx_netif_open (net/core/dev.c:1660) [831.806391][T11009] dev_open (./include/linux/netdevice.h:2738 ./include/linux/netdevice.h:2755 net/core/dev_api.c:190) [831.806395][T11009] team_port_add (drivers/net/team/team_core.c:1229) [831.806400][T11009] ? __pfx_team_port_add (drivers/net/team/team_core.c:1145) [831.806403][T11009] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [831.806408][T11009] ? validate_chain (kernel/locking/lockdep.c:3799 kernel/locking/lockdep.c:3819 kernel/locking/lockdep.c:3874) [831.806413][T11009] team_add_slave (drivers/net/team/team_core.c:1989) [831.806417][T11009] do_set_master (net/core/rtnetlink.c:2939) [831.806421][T11009] do_setlink.constprop.0 (net/core/rtnetlink.c:3144) [831.806429][T11009] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:3012) [831.806434][T11009] ? lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [831.806439][T11009] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [831.806444][T11009] ? rtnl_newlink (./include/linux/slab.h:901 net/core/rtnetlink.c:3948) [831.806446][T11009] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [831.806449][T11009] ? __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) [831.806453][T11009] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:79) [831.806457][T11009] ? lock_acquire (kernel/locking/lockdep.c:5824) [831.806460][T11009] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [831.806464][T11009] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:595 kernel/locking/mutex.c:730) [831.806466][T11009] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [831.806470][T11009] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [831.806473][T11009] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [831.806475][T11009] ? __pfx_validate_nla (lib/nlattr.c:396) [831.806480][T11009] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [831.806486][T11009] ? __rtnl_newlink (net/core/rtnetlink.c:3898) [831.806490][T11009] rtnl_newlink (net/core/rtnetlink.c:350 net/core/rtnetlink.c:4049) [831.806494][T11009] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [831.806497][T11009] ? find_held_lock (kernel/locking/lockdep.c:5341) [831.806502][T11009] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [831.806504][T11009] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [831.806509][T11009] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6936) [831.806512][T11009] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [831.806515][T11009] rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [831.806519][T11009] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [831.806522][T11009] ? 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) [831.806524][T11009] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [831.806528][T11009] ? __lock_acquire (kernel/locking/lockdep.c:5228) [831.806532][T11009] netlink_rcv_skb (net/netlink/af_netlink.c:2544) [831.806535][T11009] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [831.806539][T11009] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2521) [831.806546][T11009] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [831.806549][T11009] ? 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) [831.806553][T11009] netlink_unicast (net/netlink/af_netlink.c:1323 net/netlink/af_netlink.c:1349) [831.806557][T11009] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1334) [831.806560][T11009] ? find_held_lock (kernel/locking/lockdep.c:5341) [831.806565][T11009] netlink_sendmsg (net/netlink/af_netlink.c:1893) [831.806570][T11009] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1812) [831.806575][T11009] ____sys_sendmsg (net/socket.c:718 net/socket.c:733 net/socket.c:2573) [831.806579][T11009] ? __pfx_____sys_sendmsg (net/socket.c:2519) [831.806582][T11009] ? __pfx_copy_msghdr_from_user (net/socket.c:2499) [831.806589][T11009] ___sys_sendmsg (net/socket.c:2629) [831.806593][T11009] ? __pfx____sys_sendmsg (net/socket.c:2616) [831.806597][T11009] ? kasan_save_stack (mm/kasan/common.c:49) [831.806601][T11009] ? kasan_save_stack (mm/kasan/common.c:48) [831.806603][T11009] ? kasan_record_aux_stack (mm/kasan/generic.c:548) [831.806606][T11009] ? __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) [831.806610][T11009] ? __x64_sys_close (fs/open.c:1583 fs/open.c:1565 fs/open.c:1565) [831.806614][T11009] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [831.806616][T11009] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [831.806619][T11009] ? __lock_acquire (kernel/locking/lockdep.c:5228) [831.806622][T11009] ? lock_downgrade (./arch/x86/include/asm/current.h:49 kernel/locking/lockdep.c:122 kernel/locking/lockdep.c:5747) [831.806626][T11009] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [831.806630][T11009] ? find_held_lock (kernel/locking/lockdep.c:5341) [831.806634][T11009] ? __lock_release (kernel/locking/lockdep.c:5527) [831.806636][T11009] ? __virt_addr_valid (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:962 ./include/linux/mmzone.h:2077 arch/x86/mm/physaddr.c:65) [831.806641][T11009] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [831.806644][T11009] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [831.806648][T11009] __sys_sendmsg (net/socket.c:2659) [831.806651][T11009] ? __pfx___sys_sendmsg (net/socket.c:2644) [831.806659][T11009] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [831.806662][T11009] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 831.806665][T11009] RIP: 0033:0x7feb764999a7 [ 831.806669][T11009] 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) [ 831.806672][T11009] RSP: 002b:00007fffab41cb68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 831.806676][T11009] RAX: ffffffffffffffda RBX: 00007fffab41d290 RCX: 00007feb764999a7 [ 831.806678][T11009] RDX: 0000000000000000 RSI: 00007fffab41cbd0 RDI: 0000000000000005 [ 831.806679][T11009] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 831.806681][T11009] R10: 0000000003067910 R11: 0000000000000246 R12: 0000000000000004 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire