====================================== | [ 16.987340][ T347] #0: ffffffff863e7a48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink (net/core/rtnetlink.c:328 net/core/rtnetlink.c:4011) | [ 16.987630][ T347] #1: ffff88800d25ad80 (team->team_lock_key#2){+.+.}-{4:4}, at: team_add_slave (drivers/net/team/team_core.c:1988) | [ 16.987920][ T347] | [ 16.987920][ T347] stack backtrace: [ 16.988386][ T347] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.988587][ T347] Call Trace: [ 16.988720][ T347] [ 16.988824][ T347] dump_stack_lvl (lib/dump_stack.c:123) [ 16.988994][ T347] print_circular_bug (kernel/locking/lockdep.c:2077) [ 16.989158][ T347] check_noncircular (kernel/locking/lockdep.c:2206) [ 16.989325][ T347] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2182) [ 16.989498][ T347] ? is_bpf_text_address (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 kernel/bpf/core.c:774) [ 16.989664][ T347] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3528) [ 16.989828][ T347] check_prev_add (kernel/locking/lockdep.c:3162) [ 16.989991][ T347] validate_chain (kernel/locking/lockdep.c:3281 kernel/locking/lockdep.c:3904) [ 16.990152][ T347] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 16.990318][ T347] ? 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:228) [ 16.990483][ T347] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 16.990607][ T347] __lock_acquire (kernel/locking/lockdep.c:5226) [ 16.990771][ T347] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5851) [ 16.990933][ T347] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 16.991138][ T347] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 16.991300][ T347] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 37)) [ 16.991463][ T347] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 16.991629][ T347] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 16.991831][ T347] down_read (./arch/x86/include/asm/preempt.h:79 kernel/locking/rwsem.c:1246 kernel/locking/rwsem.c:1261 kernel/locking/rwsem.c:1526) [ 16.991954][ T347] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 16.992156][ T347] ? __pfx_down_read (kernel/locking/rwsem.c:1522) [ 16.992318][ T347] blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 16.992479][ T347] __dev_open (./include/linux/notifier.h:207 net/core/dev.c:1467) [ 16.992603][ T347] ? trace_percpu_alloc_percpu (./include/trace/events/percpu.h:11 (discriminator 37)) [ 16.992840][ T347] ? __pfx___dev_open (net/core/dev.c:1445) [ 16.993004][ T347] ? pcpu_alloc_noprof (mm/percpu.c:1913) [ 16.993171][ T347] dev_open (net/core/dev.c:1513 net/core/dev.c:1506) [ 16.993295][ T347] ? __pfx_dev_open (net/core/dev.c:1507) [ 16.993459][ T347] team_port_add (drivers/net/team/team_core.c:1229) [ 16.993623][ T347] ? __pfx_team_port_add (drivers/net/team/team_core.c:1145) [ 16.993784][ T347] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 16.993945][ T347] ? __pfx_validate_linkmsg (net/core/rtnetlink.c:2637) [ 16.994112][ T347] team_add_slave (drivers/net/team/team_core.c:1989) [ 16.994274][ T347] do_setlink.constprop.0 (net/core/rtnetlink.c:3116) [ 16.994436][ T347] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:2990) [ 16.994635][ T347] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5851) [ 16.994798][ T347] ? rtnl_newlink (net/core/rtnetlink.c:328 net/core/rtnetlink.c:4011) [ 16.994960][ T347] ? rtnl_newlink (./include/linux/slab.h:901 net/core/rtnetlink.c:3912) [ 16.995119][ T347] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6902) [ 16.995285][ T347] ? __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) [ 16.995448][ T347] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:79) [ 16.995650][ T347] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 16.995811][ T347] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 37)) [ 16.995972][ T347] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:595 kernel/locking/mutex.c:735) [ 16.996134][ T347] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 16.996301][ T347] ? rtnl_newlink (net/core/rtnetlink.c:328 net/core/rtnetlink.c:4011) [ 16.996462][ T347] ? __pfx___mutex_lock (kernel/locking/mutex.c:734) [ 16.996625][ T347] ? __rtnl_newlink (net/core/rtnetlink.c:3862) [ 16.996790][ T347] rtnl_newlink (net/core/rtnetlink.c:336 net/core/rtnetlink.c:4013) [ 16.996954][ T347] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3903) [ 16.997119][ T347] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 16.997285][ T347] ? __pfx___lock_release (kernel/locking/lockdep.c:5501) [ 16.997451][ T347] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 16.997618][ T347] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6900) [ 16.997811][ T347] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3903) [ 16.997972][ T347] rtnetlink_rcv_msg (net/core/rtnetlink.c:6902) [ 16.998150][ T347] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6805) [ 16.998328][ T347] ? 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:228) [ 16.998514][ T347] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 16.998638][ T347] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 16.998799][ T347] netlink_rcv_skb (net/netlink/af_netlink.c:2543) [ 16.998966][ T347] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6805) [ 16.999128][ T347] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2520) [ 16.999292][ T347] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 16.999455][ T347] ? 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) [ 16.999622][ T347] netlink_unicast (net/netlink/af_netlink.c:1322 net/netlink/af_netlink.c:1348) [ 16.999786][ T347] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1333) [ 16.999952][ T347] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 17.000119][ T347] netlink_sendmsg (net/netlink/af_netlink.c:1892) [ 17.000280][ T347] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1811) [ 17.000443][ T347] ____sys_sendmsg (net/socket.c:711 net/socket.c:726 net/socket.c:2594) [ 17.000607][ T347] ? __pfx_____sys_sendmsg (net/socket.c:2540) [ 17.000768][ T347] ? __pfx_copy_msghdr_from_user (net/socket.c:2520) [ 17.000975][ T347] ___sys_sendmsg (net/socket.c:2650) [ 17.001138][ T347] ? __pfx____sys_sendmsg (net/socket.c:2637) [ 17.001304][ T347] ? kasan_save_stack (mm/kasan/common.c:49) [ 17.001469][ T347] ? kasan_save_stack (mm/kasan/common.c:48) [ 17.001634][ T347] ? __kasan_record_aux_stack (mm/kasan/generic.c:544) [ 17.001799][ T347] ? __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:3087) [ 17.002005][ T347] ? __x64_sys_close (fs/open.c:1557 fs/open.c:1539 fs/open.c:1539) [ 17.002171][ T347] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 17.002333][ T347] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 17.002546][ T347] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 17.002710][ T347] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 17.002901][ T347] ? __lock_release (kernel/locking/lockdep.c:5525) [ 17.003062][ T347] ? __virt_addr_valid (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:962 ./include/linux/mmzone.h:2058 arch/x86/mm/physaddr.c:65) [ 17.003228][ T347] ? __pfx___lock_release (kernel/locking/lockdep.c:5501) [ 17.003390][ T347] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 17.003560][ T347] __sys_sendmsg (net/socket.c:2680) [ 17.003753][ T347] ? __pfx___sys_sendmsg (net/socket.c:2665) [ 17.003927][ T347] ? __pfx_slab_free_after_rcu_debug (mm/slub.c:4643) [ 17.004139][ T347] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 17.004305][ T347] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 17.004505][ T347] RIP: 0033:0x7f17af9519a7 [ 17.004677][ T347] 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) [ 17.005247][ T347] RSP: 002b:00007ffc98021b68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 17.005489][ T347] RAX: ffffffffffffffda RBX: 00007ffc98022290 RCX: 00007f17af9519a7 [ 17.005735][ T347] RDX: 0000000000000000 RSI: 00007ffc98021bd0 RDI: 0000000000000005 [ 17.005985][ T347] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 17.006230][ T347] R10: 00000000006c0910 R11: 0000000000000246 R12: 0000000000000004 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire