====================================== | [ 11.538508][ T244] #0: ffffffffbbe0ae48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) | [ 11.538816][ T244] #1: ffff888005c1ad80 (team->team_lock_key){+.+.}-{4:4}, at: team_add_slave (drivers/net/team/team_core.c:1988) | [ 11.539126][ T244] | [ 11.539126][ T244] stack backtrace: [ 11.539347][ T244] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.539349][ T244] Call Trace: [ 11.539350][ T244] [ 11.539352][ T244] dump_stack_lvl (lib/dump_stack.c:123) [ 11.539359][ T244] print_circular_bug (kernel/locking/lockdep.c:2079) [ 11.539364][ T244] check_noncircular (kernel/locking/lockdep.c:2208) [ 11.539369][ T244] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2184) [ 11.539372][ T244] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 11.539376][ T244] ? __pfx_validate_chain (kernel/locking/lockdep.c:3862) [ 11.539381][ T244] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3530) [ 11.539385][ T244] check_prev_add (kernel/locking/lockdep.c:3164) [ 11.539390][ T244] validate_chain (kernel/locking/lockdep.c:3283 kernel/locking/lockdep.c:3906) [ 11.539396][ T244] ? __pfx_validate_chain (kernel/locking/lockdep.c:3862) [ 11.539399][ T244] ? 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) [ 11.539402][ T244] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 11.539407][ T244] __lock_acquire (kernel/locking/lockdep.c:5228) [ 11.539413][ T244] lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 11.539416][ T244] ? dev_set_mtu (./include/linux/netdevice.h:2712 ./include/linux/netdevice.h:2750 net/core/dev_api.c:235) [ 11.539420][ T244] ? do_set_master (net/core/rtnetlink.c:2939) [ 11.539422][ T244] ? do_setlink.constprop.0 (net/core/rtnetlink.c:3144) [ 11.539425][ T244] ? rtnl_newlink (net/core/rtnetlink.c:350 net/core/rtnetlink.c:4049) [ 11.539429][ T244] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 11.539431][ T244] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 21)) [ 11.539435][ T244] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 11.539437][ T244] ? dev_set_mtu (./include/linux/netdevice.h:2712 ./include/linux/netdevice.h:2750 net/core/dev_api.c:235) [ 11.539441][ T244] __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:730) [ 11.539445][ T244] ? dev_set_mtu (./include/linux/netdevice.h:2712 ./include/linux/netdevice.h:2750 net/core/dev_api.c:235) [ 11.539448][ T244] ? __create_object (mm/kmemleak.c:766) [ 11.539453][ T244] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 11.539455][ T244] ? dev_set_mtu (./include/linux/netdevice.h:2712 ./include/linux/netdevice.h:2750 net/core/dev_api.c:235) [ 11.539458][ T244] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 11.539462][ T244] ? mark_held_locks (kernel/locking/lockdep.c:4323) [ 11.539466][ T244] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4349 kernel/locking/lockdep.c:4408) [ 11.539471][ T244] ? kasan_save_track (./arch/x86/include/asm/current.h:49 mm/kasan/common.c:60 mm/kasan/common.c:69) [ 11.539475][ T244] ? dev_set_mtu (./include/linux/netdevice.h:2712 ./include/linux/netdevice.h:2750 net/core/dev_api.c:235) [ 11.539478][ T244] dev_set_mtu (./include/linux/netdevice.h:2712 ./include/linux/netdevice.h:2750 net/core/dev_api.c:235) [ 11.539482][ T244] team_port_add (drivers/net/team/team_core.c:1214) [ 11.539486][ T244] ? __mutex_unlock_slowpath (./arch/x86/include/asm/atomic64_64.h:101 ./include/linux/atomic/atomic-arch-fallback.h:4329 ./include/linux/atomic/atomic-long.h:1506 ./include/linux/atomic/atomic-instrumented.h:4481 kernel/locking/mutex.c:908) [ 11.539490][ T244] ? __pfx_team_port_add (drivers/net/team/team_core.c:1145) [ 11.539493][ T244] ? __pfx___mutex_unlock_slowpath (kernel/locking/mutex.c:885) [ 11.539498][ T244] team_add_slave (drivers/net/team/team_core.c:1989) [ 11.539502][ T244] do_set_master (net/core/rtnetlink.c:2939) [ 11.539507][ T244] do_setlink.constprop.0 (net/core/rtnetlink.c:3144) [ 11.539511][ T244] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:3012) [ 11.539515][ T244] ? lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 11.539518][ T244] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [ 11.539521][ T244] ? rtnl_newlink (./include/linux/slab.h:901 net/core/rtnetlink.c:3948) [ 11.539523][ T244] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [ 11.539527][ T244] ? __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) [ 11.539532][ T244] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:79) [ 11.539536][ T244] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 11.539539][ T244] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 11.539542][ T244] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:595 kernel/locking/mutex.c:730) [ 11.539546][ T244] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 11.539549][ T244] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [ 11.539552][ T244] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 11.539555][ T244] ? __pfx_validate_nla (lib/nlattr.c:396) [ 11.539561][ T244] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 11.539566][ T244] ? __rtnl_newlink (net/core/rtnetlink.c:3898) [ 11.539571][ T244] rtnl_newlink (net/core/rtnetlink.c:350 net/core/rtnetlink.c:4049) [ 11.539576][ T244] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [ 11.539578][ T244] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 11.539583][ T244] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 11.539585][ T244] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 11.539589][ T244] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6936) [ 11.539592][ T244] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [ 11.539596][ T244] rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [ 11.539600][ T244] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [ 11.539603][ T244] ? 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) [ 11.539605][ T244] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 11.539610][ T244] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 11.539614][ T244] netlink_rcv_skb (net/netlink/af_netlink.c:2544) [ 11.539618][ T244] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [ 11.539622][ T244] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2521) [ 11.539629][ T244] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 11.539632][ T244] ? 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) [ 11.539636][ T244] netlink_unicast (net/netlink/af_netlink.c:1323 net/netlink/af_netlink.c:1349) [ 11.539641][ T244] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1334) [ 11.539644][ T244] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 11.539648][ T244] netlink_sendmsg (net/netlink/af_netlink.c:1893) [ 11.539653][ T244] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1812) [ 11.539659][ T244] ____sys_sendmsg (net/socket.c:718 net/socket.c:733 net/socket.c:2573) [ 11.539663][ T244] ? __pfx_____sys_sendmsg (net/socket.c:2519) [ 11.539666][ T244] ? __pfx_copy_msghdr_from_user (net/socket.c:2499) [ 11.539672][ T244] ___sys_sendmsg (net/socket.c:2629) [ 11.539675][ T244] ? __pfx____sys_sendmsg (net/socket.c:2616) [ 11.539677][ T244] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 11.539682][ T244] ? ___sys_recvmsg (net/socket.c:2825) [ 11.539684][ T244] ? __pfx____sys_recvmsg (net/socket.c:2825) [ 11.539688][ T244] ? __lock_release (kernel/locking/lockdep.c:5527) [ 11.539690][ T244] ? __might_fault (mm/memory.c:6840 mm/memory.c:6833) [ 11.539696][ T244] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 11.539698][ T244] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 21)) [ 11.539700][ T244] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 11.539703][ T244] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 11.539706][ T244] ? trace_rseq_update (./include/trace/events/rseq.h:11 (discriminator 21)) [ 11.539711][ T244] __sys_sendmsg (net/socket.c:2659) [ 11.539714][ T244] ? __pfx___sys_sendmsg (net/socket.c:2644) [ 11.539718][ T244] ? do_user_addr_fault (./include/linux/rcupdate.h:882 ./include/linux/mm.h:742 arch/x86/mm/fault.c:1339) [ 11.539724][ T244] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 11.539727][ T244] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 11.539730][ T244] RIP: 0033:0x7f75a9eb89a7 [ 11.539735][ T244] 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) [ 11.539738][ T244] RSP: 002b:00007fff926fc618 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 11.539741][ T244] RAX: ffffffffffffffda RBX: 00000000011ca730 RCX: 00007f75a9eb89a7 [ 11.539743][ T244] RDX: 0000000000000000 RSI: 00007fff926fc650 RDI: 0000000000000005 [ 11.539745][ T244] RBP: 00000000011ca640 R08: 0000000000000008 R09: 0000000000000000 [ 11.539746][ T244] R10: 0000000000008000 R11: 0000000000000246 R12: 00000000011e5760 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire