====================================== | [ 100.132067][ T880] #0: ffffffff8a3eeb48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) | [ 100.132343][ T880] #1: ffff888010ab2d80 (team->team_lock_key){+.+.}-{4:4}, at: team_add_slave (drivers/net/team/team_core.c:1988) | [ 100.132623][ T880] | [ 100.132623][ T880] stack backtrace: [ 100.132816][ T880] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 100.132820][ T880] Call Trace: [ 100.132822][ T880] [ 100.132824][ T880] dump_stack_lvl (lib/dump_stack.c:123) [ 100.132836][ T880] print_circular_bug (kernel/locking/lockdep.c:2079) [ 100.132845][ T880] check_noncircular (kernel/locking/lockdep.c:2208) [ 100.132850][ T880] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 100.132858][ T880] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2184) [ 100.132863][ T880] ? stack_depot_save_flags (lib/stackdepot.c:672) [ 100.132871][ T880] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 100.132877][ T880] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3530) [ 100.132881][ T880] check_prev_add (kernel/locking/lockdep.c:3164) [ 100.132884][ T880] ? validate_chain (kernel/locking/lockdep.c:3799 kernel/locking/lockdep.c:3819 kernel/locking/lockdep.c:3874) [ 100.132888][ T880] validate_chain (kernel/locking/lockdep.c:3283 kernel/locking/lockdep.c:3906) [ 100.132892][ T880] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 100.132895][ T880] ? __pfx_validate_chain (kernel/locking/lockdep.c:3862) [ 100.132898][ T880] ? 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) [ 100.132901][ T880] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 100.132905][ T880] __lock_acquire (kernel/locking/lockdep.c:5228) [ 100.132911][ T880] lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 100.132914][ T880] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 100.132918][ T880] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 100.132922][ T880] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 21)) [ 100.132925][ T880] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 100.132928][ T880] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 100.132931][ T880] __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:730) [ 100.132934][ T880] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 100.132936][ T880] ? __lock_release (kernel/locking/lockdep.c:5527) [ 100.132939][ T880] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 100.132942][ T880] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 100.132944][ T880] ? 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) [ 100.132947][ T880] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 100.132953][ T880] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4349 kernel/locking/lockdep.c:4408) [ 100.132959][ T880] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 100.132961][ T880] __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 100.132963][ T880] ? mark_held_locks (kernel/locking/lockdep.c:4323) [ 100.132966][ T880] ? __pfx___dev_open (net/core/dev.c:1609) [ 100.132969][ T880] ? trace_percpu_alloc_percpu (./include/trace/events/percpu.h:11 (discriminator 21)) [ 100.132976][ T880] netif_open (net/core/dev.c:1666) [ 100.132979][ T880] ? __pfx_netif_open (net/core/dev.c:1660) [ 100.132983][ T880] dev_open (./include/linux/netdevice.h:2738 ./include/linux/netdevice.h:2755 net/core/dev_api.c:190) [ 100.132988][ T880] team_port_add (drivers/net/team/team_core.c:1229) [ 100.132993][ T880] ? __pfx_team_port_add (drivers/net/team/team_core.c:1145) [ 100.132996][ T880] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 100.133003][ T880] ? validate_chain (kernel/locking/lockdep.c:3799 kernel/locking/lockdep.c:3819 kernel/locking/lockdep.c:3874) [ 100.133008][ T880] team_add_slave (drivers/net/team/team_core.c:1989) [ 100.133012][ T880] do_set_master (net/core/rtnetlink.c:2939) [ 100.133016][ T880] do_setlink.constprop.0 (net/core/rtnetlink.c:3144) [ 100.133021][ T880] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:3012) [ 100.133025][ T880] ? lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 100.133028][ T880] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [ 100.133031][ T880] ? rtnl_newlink (./include/linux/slab.h:901 net/core/rtnetlink.c:3948) [ 100.133034][ T880] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [ 100.133037][ T880] ? __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) [ 100.133041][ T880] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:79) [ 100.133045][ T880] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 100.133049][ T880] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 100.133052][ T880] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:595 kernel/locking/mutex.c:730) [ 100.133056][ T880] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 100.133060][ T880] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [ 100.133064][ T880] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 100.133066][ T880] ? __pfx_validate_nla (lib/nlattr.c:396) [ 100.133071][ T880] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 100.133079][ T880] ? __rtnl_newlink (net/core/rtnetlink.c:3898) [ 100.133083][ T880] rtnl_newlink (net/core/rtnetlink.c:350 net/core/rtnetlink.c:4049) [ 100.133088][ T880] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [ 100.133090][ T880] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 100.133095][ T880] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 100.133098][ T880] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 100.133103][ T880] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6936) [ 100.133106][ T880] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [ 100.133109][ T880] rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [ 100.133113][ T880] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [ 100.133116][ T880] ? 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) [ 100.133118][ T880] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 100.133122][ T880] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 100.133126][ T880] netlink_rcv_skb (net/netlink/af_netlink.c:2544) [ 100.133131][ T880] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [ 100.133134][ T880] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2521) [ 100.133141][ T880] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 100.133145][ T880] ? 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) [ 100.133149][ T880] netlink_unicast (net/netlink/af_netlink.c:1323 net/netlink/af_netlink.c:1349) [ 100.133153][ T880] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1334) [ 100.133156][ T880] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 100.133161][ T880] netlink_sendmsg (net/netlink/af_netlink.c:1893) [ 100.133166][ T880] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1812) [ 100.133172][ T880] ____sys_sendmsg (net/socket.c:718 net/socket.c:733 net/socket.c:2573) [ 100.133176][ T880] ? __pfx_____sys_sendmsg (net/socket.c:2519) [ 100.133179][ T880] ? __pfx_copy_msghdr_from_user (net/socket.c:2499) [ 100.133186][ T880] ___sys_sendmsg (net/socket.c:2629) [ 100.133191][ T880] ? __pfx____sys_sendmsg (net/socket.c:2616) [ 100.133195][ T880] ? kasan_save_stack (mm/kasan/common.c:49) [ 100.133199][ T880] ? kasan_save_stack (mm/kasan/common.c:48) [ 100.133202][ T880] ? kasan_record_aux_stack (mm/kasan/generic.c:548) [ 100.133205][ T880] ? __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) [ 100.133210][ T880] ? __x64_sys_close (fs/open.c:1583 fs/open.c:1565 fs/open.c:1565) [ 100.133214][ T880] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 100.133216][ T880] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 100.133220][ T880] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 100.133223][ T880] ? lock_downgrade (./arch/x86/include/asm/current.h:49 kernel/locking/lockdep.c:122 kernel/locking/lockdep.c:5747) [ 100.133227][ T880] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 100.133231][ T880] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 100.133236][ T880] ? __lock_release (kernel/locking/lockdep.c:5527) [ 100.133238][ T880] ? __virt_addr_valid (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:962 ./include/linux/mmzone.h:2077 arch/x86/mm/physaddr.c:65) [ 100.133245][ T880] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 100.133248][ T880] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 100.133252][ T880] __sys_sendmsg (net/socket.c:2659) [ 100.133256][ T880] ? __pfx___sys_sendmsg (net/socket.c:2644) [ 100.133264][ T880] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 100.133267][ T880] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 100.133270][ T880] RIP: 0033:0x7fe984a5d9a7 [ 100.133277][ T880] 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) [ 100.133280][ T880] RSP: 002b:00007fff75c8fe78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 100.133284][ T880] RAX: ffffffffffffffda RBX: 00007fff75c905a0 RCX: 00007fe984a5d9a7 [ 100.133286][ T880] RDX: 0000000000000000 RSI: 00007fff75c8fee0 RDI: 0000000000000005 [ 100.133288][ T880] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 100.133290][ T880] R10: 00000000175ec910 R11: 0000000000000246 R12: 0000000000000004 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire