====================================== | [ 17.781058][ T348] #0: ffffffff863e7a48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink (net/core/rtnetlink.c:328 net/core/rtnetlink.c:4011) | [ 17.781327][ T348] #1: ffff88800dedad80 (team->team_lock_key#2){+.+.}-{4:4}, at: team_add_slave (drivers/net/team/team_core.c:1988) | [ 17.781590][ T348] | [ 17.781590][ T348] stack backtrace: [ 17.782001][ T348] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.782185][ T348] Call Trace: [ 17.782299][ T348] [ 17.782377][ T348] dump_stack_lvl (lib/dump_stack.c:123) [ 17.782532][ T348] print_circular_bug (kernel/locking/lockdep.c:2077) [ 17.782691][ T348] check_noncircular (kernel/locking/lockdep.c:2206) [ 17.782840][ T348] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2182) [ 17.782993][ T348] ? is_bpf_text_address (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 kernel/bpf/core.c:774) [ 17.783149][ T348] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3528) [ 17.783296][ T348] check_prev_add (kernel/locking/lockdep.c:3162) [ 17.783443][ T348] validate_chain (kernel/locking/lockdep.c:3281 kernel/locking/lockdep.c:3904) [ 17.783595][ T348] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 17.783743][ T348] ? 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) [ 17.783891][ T348] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 17.784002][ T348] __lock_acquire (kernel/locking/lockdep.c:5226) [ 17.784158][ T348] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5851) [ 17.784305][ T348] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 17.784492][ T348] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 17.784679][ T348] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 37)) [ 17.784826][ T348] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 17.785016][ T348] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 17.785203][ T348] down_read (./arch/x86/include/asm/preempt.h:79 kernel/locking/rwsem.c:1246 kernel/locking/rwsem.c:1261 kernel/locking/rwsem.c:1526) [ 17.785323][ T348] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 17.785503][ T348] ? __pfx_down_read (kernel/locking/rwsem.c:1522) [ 17.785653][ T348] blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 17.785799][ T348] __dev_open (./include/linux/notifier.h:207 net/core/dev.c:1467) [ 17.785910][ T348] ? trace_percpu_alloc_percpu (./include/trace/events/percpu.h:11 (discriminator 37)) [ 17.786094][ T348] ? __pfx___dev_open (net/core/dev.c:1445) [ 17.786239][ T348] ? pcpu_alloc_noprof (mm/percpu.c:1913) [ 17.786395][ T348] dev_open (net/core/dev.c:1513 net/core/dev.c:1506) [ 17.786508][ T348] ? __pfx_dev_open (net/core/dev.c:1507) [ 17.786659][ T348] team_port_add (drivers/net/team/team_core.c:1229) [ 17.786807][ T348] ? __pfx_team_port_add (drivers/net/team/team_core.c:1145) [ 17.786955][ T348] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 17.787100][ T348] ? __pfx_validate_linkmsg (net/core/rtnetlink.c:2637) [ 17.787250][ T348] team_add_slave (drivers/net/team/team_core.c:1989) [ 17.787394][ T348] do_setlink.constprop.0 (net/core/rtnetlink.c:3116) [ 17.787545][ T348] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:2990) [ 17.787729][ T348] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5851) [ 17.787900][ T348] ? rtnl_newlink (net/core/rtnetlink.c:328 net/core/rtnetlink.c:4011) [ 17.788047][ T348] ? rtnl_newlink (./include/linux/slab.h:901 net/core/rtnetlink.c:3912) [ 17.788192][ T348] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6902) [ 17.788347][ T348] ? __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) [ 17.788500][ T348] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:79) [ 17.788682][ T348] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 17.788830][ T348] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 37)) [ 17.788980][ T348] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:595 kernel/locking/mutex.c:735) [ 17.789132][ T348] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 17.789310][ T348] ? rtnl_newlink (net/core/rtnetlink.c:328 net/core/rtnetlink.c:4011) [ 17.789456][ T348] ? __pfx___mutex_lock (kernel/locking/mutex.c:734) [ 17.789616][ T348] ? __rtnl_newlink (net/core/rtnetlink.c:3862) [ 17.789780][ T348] rtnl_newlink (net/core/rtnetlink.c:336 net/core/rtnetlink.c:4013) [ 17.789935][ T348] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3903) [ 17.790090][ T348] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 17.790257][ T348] ? __pfx___lock_release (kernel/locking/lockdep.c:5501) [ 17.790405][ T348] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 17.790558][ T348] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6900) [ 17.790707][ T348] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3903) [ 17.790869][ T348] rtnetlink_rcv_msg (net/core/rtnetlink.c:6902) [ 17.791013][ T348] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6805) [ 17.791157][ T348] ? 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) [ 17.791317][ T348] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 17.791440][ T348] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 17.791595][ T348] netlink_rcv_skb (net/netlink/af_netlink.c:2543) [ 17.791744][ T348] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6805) [ 17.791903][ T348] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2520) [ 17.792078][ T348] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 17.792241][ T348] ? 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) [ 17.792405][ T348] netlink_unicast (net/netlink/af_netlink.c:1322 net/netlink/af_netlink.c:1348) [ 17.792568][ T348] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1333) [ 17.792728][ T348] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 17.792903][ T348] netlink_sendmsg (net/netlink/af_netlink.c:1892) [ 17.793056][ T348] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1811) [ 17.793211][ T348] ____sys_sendmsg (net/socket.c:711 net/socket.c:726 net/socket.c:2594) [ 17.793358][ T348] ? __pfx_____sys_sendmsg (net/socket.c:2540) [ 17.793512][ T348] ? __pfx_copy_msghdr_from_user (net/socket.c:2520) [ 17.793708][ T348] ___sys_sendmsg (net/socket.c:2650) [ 17.793859][ T348] ? __pfx____sys_sendmsg (net/socket.c:2637) [ 17.794020][ T348] ? kasan_save_stack (mm/kasan/common.c:49) [ 17.794183][ T348] ? kasan_save_stack (mm/kasan/common.c:48) [ 17.794352][ T348] ? __kasan_record_aux_stack (mm/kasan/generic.c:544) [ 17.794516][ T348] ? __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.794721][ T348] ? __x64_sys_close (fs/open.c:1557 fs/open.c:1539 fs/open.c:1539) [ 17.794884][ T348] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 17.795040][ T348] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 17.795223][ T348] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 17.795381][ T348] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 17.795545][ T348] ? __lock_release (kernel/locking/lockdep.c:5525) [ 17.795700][ T348] ? __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.795862][ T348] ? __pfx___lock_release (kernel/locking/lockdep.c:5501) [ 17.796023][ T348] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 17.796186][ T348] __sys_sendmsg (net/socket.c:2680) [ 17.796349][ T348] ? __pfx___sys_sendmsg (net/socket.c:2665) [ 17.796503][ T348] ? __pfx_slab_free_after_rcu_debug (mm/slub.c:4643) [ 17.796716][ T348] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 17.796868][ T348] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 17.797047][ T348] RIP: 0033:0x7fd4b45899a7 [ 17.797205][ T348] 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.797746][ T348] RSP: 002b:00007ffc76d5dc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 17.797989][ T348] RAX: ffffffffffffffda RBX: 00007ffc76d5e3a0 RCX: 00007fd4b45899a7 [ 17.798230][ T348] RDX: 0000000000000000 RSI: 00007ffc76d5dce0 RDI: 0000000000000005 [ 17.798457][ T348] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 17.798678][ T348] R10: 000000001a7d4910 R11: 0000000000000246 R12: 0000000000000004 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire