====================================== | [ 18.582651][ T350] #0: ffffffff8c1e7a48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink (net/core/rtnetlink.c:337 net/core/rtnetlink.c:4020) | [ 18.582948][ T350] #1: ffff88800e46ad80 (team->team_lock_key#2){+.+.}-{4:4}, at: team_add_slave (drivers/net/team/team_core.c:1988) | [ 18.583239][ T350] | [ 18.583239][ T350] stack backtrace: [ 18.583701][ T350] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.583908][ T350] Call Trace: [ 18.584037][ T350] [ 18.584127][ T350] dump_stack_lvl (lib/dump_stack.c:123) [ 18.584303][ T350] print_circular_bug (kernel/locking/lockdep.c:2077) [ 18.584457][ T350] check_noncircular (kernel/locking/lockdep.c:2206) [ 18.584630][ T350] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2182) [ 18.584801][ T350] ? is_bpf_text_address (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 kernel/bpf/core.c:774) [ 18.584985][ T350] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3528) [ 18.585169][ T350] check_prev_add (kernel/locking/lockdep.c:3162) [ 18.585334][ T350] validate_chain (kernel/locking/lockdep.c:3281 kernel/locking/lockdep.c:3904) [ 18.585509][ T350] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 18.585666][ T350] ? 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) [ 18.585816][ T350] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 18.585943][ T350] __lock_acquire (kernel/locking/lockdep.c:5226) [ 18.586096][ T350] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5851) [ 18.586256][ T350] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 18.586447][ T350] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 18.586598][ T350] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 37)) [ 18.586754][ T350] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 18.586907][ T350] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 18.587097][ T350] down_read (./arch/x86/include/asm/preempt.h:79 kernel/locking/rwsem.c:1246 kernel/locking/rwsem.c:1261 kernel/locking/rwsem.c:1526) [ 18.587209][ T350] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 18.587403][ T350] ? __pfx_down_read (kernel/locking/rwsem.c:1522) [ 18.587554][ T350] blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 18.587708][ T350] __dev_open (./include/linux/notifier.h:207 net/core/dev.c:1467) [ 18.587822][ T350] ? trace_percpu_alloc_percpu (./include/trace/events/percpu.h:11 (discriminator 37)) [ 18.588016][ T350] ? __pfx___dev_open (net/core/dev.c:1445) [ 18.588165][ T350] ? pcpu_alloc_noprof (mm/percpu.c:1913) [ 18.588317][ T350] dev_open (net/core/dev.c:1513 net/core/dev.c:1506) [ 18.588438][ T350] ? __pfx_dev_open (net/core/dev.c:1507) [ 18.588590][ T350] team_port_add (drivers/net/team/team_core.c:1229) [ 18.588742][ T350] ? __pfx_team_port_add (drivers/net/team/team_core.c:1145) [ 18.588892][ T350] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 18.589042][ T350] ? __pfx_validate_linkmsg (net/core/rtnetlink.c:2646) [ 18.589198][ T350] team_add_slave (drivers/net/team/team_core.c:1989) [ 18.589354][ T350] do_setlink.constprop.0 (net/core/rtnetlink.c:3125) [ 18.589514][ T350] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:2999) [ 18.589700][ T350] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5851) [ 18.589851][ T350] ? rtnl_newlink (net/core/rtnetlink.c:337 net/core/rtnetlink.c:4020) [ 18.590002][ T350] ? rtnl_newlink (./include/linux/slab.h:901 net/core/rtnetlink.c:3921) [ 18.590155][ T350] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6911) [ 18.590306][ T350] ? __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) [ 18.590459][ T350] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:79) [ 18.590650][ T350] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 18.590801][ T350] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 37)) [ 18.590953][ T350] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:595 kernel/locking/mutex.c:735) [ 18.591103][ T350] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 18.591255][ T350] ? rtnl_newlink (net/core/rtnetlink.c:337 net/core/rtnetlink.c:4020) [ 18.591407][ T350] ? __pfx___mutex_lock (kernel/locking/mutex.c:734) [ 18.591587][ T350] ? __rtnl_newlink (net/core/rtnetlink.c:3871) [ 18.591748][ T350] rtnl_newlink (net/core/rtnetlink.c:345 net/core/rtnetlink.c:4022) [ 18.591914][ T350] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3912) [ 18.592061][ T350] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 18.592213][ T350] ? __pfx___lock_release (kernel/locking/lockdep.c:5501) [ 18.592368][ T350] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 18.592521][ T350] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6909) [ 18.592669][ T350] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3912) [ 18.592825][ T350] rtnetlink_rcv_msg (net/core/rtnetlink.c:6911) [ 18.592977][ T350] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6814) [ 18.593125][ T350] ? 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) [ 18.593273][ T350] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 18.593388][ T350] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 18.593540][ T350] netlink_rcv_skb (net/netlink/af_netlink.c:2543) [ 18.593690][ T350] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6814) [ 18.593838][ T350] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2520) [ 18.593997][ T350] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 18.594155][ T350] ? 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) [ 18.594344][ T350] netlink_unicast (net/netlink/af_netlink.c:1322 net/netlink/af_netlink.c:1348) [ 18.594494][ T350] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1333) [ 18.594643][ T350] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 18.594804][ T350] netlink_sendmsg (net/netlink/af_netlink.c:1892) [ 18.594955][ T350] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1811) [ 18.595116][ T350] ____sys_sendmsg (net/socket.c:711 net/socket.c:726 net/socket.c:2594) [ 18.595267][ T350] ? __pfx_____sys_sendmsg (net/socket.c:2540) [ 18.595438][ T350] ? __pfx_copy_msghdr_from_user (net/socket.c:2520) [ 18.595631][ T350] ___sys_sendmsg (net/socket.c:2650) [ 18.595780][ T350] ? __pfx____sys_sendmsg (net/socket.c:2637) [ 18.595932][ T350] ? kasan_save_stack (mm/kasan/common.c:49) [ 18.596083][ T350] ? kasan_save_stack (mm/kasan/common.c:48) [ 18.596245][ T350] ? __kasan_record_aux_stack (mm/kasan/generic.c:544) [ 18.596397][ T350] ? __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) [ 18.596589][ T350] ? __x64_sys_close (fs/open.c:1557 fs/open.c:1539 fs/open.c:1539) [ 18.596745][ T350] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 18.596894][ T350] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 18.597076][ T350] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 18.597227][ T350] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 18.597388][ T350] ? __lock_release (kernel/locking/lockdep.c:5525) [ 18.597540][ T350] ? __virt_addr_valid (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:962 ./include/linux/mmzone.h:2058 arch/x86/mm/physaddr.c:65) [ 18.597693][ T350] ? __pfx___lock_release (kernel/locking/lockdep.c:5501) [ 18.597933][ T350] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 18.598082][ T350] __sys_sendmsg (net/socket.c:2680) [ 18.598231][ T350] ? __pfx___sys_sendmsg (net/socket.c:2665) [ 18.598384][ T350] ? __pfx_slab_free_after_rcu_debug (mm/slub.c:4643) [ 18.598686][ T350] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 18.598836][ T350] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 18.599019][ T350] RIP: 0033:0x7ff5c3fc79a7 [ 18.599267][ T350] 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) [ 18.599831][ T350] RSP: 002b:00007ffe29686bd8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 18.600147][ T350] RAX: ffffffffffffffda RBX: 00007ffe29687300 RCX: 00007ff5c3fc79a7 [ 18.600372][ T350] RDX: 0000000000000000 RSI: 00007ffe29686c40 RDI: 0000000000000005 [ 18.600735][ T350] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 18.600960][ T350] R10: 00000000207c7910 R11: 0000000000000246 R12: 0000000000000004 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire