====================================== | [ 10.248227][ T244] #0: ffffffff98a0b088 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4043) | [ 10.248581][ T244] #1: ffff888005f4ad80 (team->team_lock_key){+.+.}-{4:4}, at: team_add_slave (drivers/net/team/team_core.c:1988) | [ 10.248912][ T244] | [ 10.248912][ T244] stack backtrace: [ 10.249131][ T244] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.249134][ T244] Call Trace: [ 10.249137][ T244] [ 10.249140][ T244] dump_stack_lvl (lib/dump_stack.c:123) [ 10.249148][ T244] print_circular_bug (kernel/locking/lockdep.c:2079) [ 10.249154][ T244] check_noncircular (kernel/locking/lockdep.c:2208) [ 10.249158][ T244] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2184) [ 10.249162][ T244] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 10.249165][ T244] ? __pfx_validate_chain (kernel/locking/lockdep.c:3862) [ 10.249170][ T244] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3530) [ 10.249175][ T244] check_prev_add (kernel/locking/lockdep.c:3164) [ 10.249180][ T244] validate_chain (kernel/locking/lockdep.c:3283 kernel/locking/lockdep.c:3906) [ 10.249186][ T244] ? __pfx_validate_chain (kernel/locking/lockdep.c:3862) [ 10.249189][ 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) [ 10.249192][ T244] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 10.249197][ T244] __lock_acquire (kernel/locking/lockdep.c:5228) [ 10.249203][ T244] lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 10.249205][ T244] ? dev_set_mtu (./include/linux/netdevice.h:2712 ./include/linux/netdevice.h:2750 net/core/dev_api.c:248) [ 10.249210][ T244] ? do_set_master (net/core/rtnetlink.c:2939) [ 10.249213][ T244] ? do_setlink.constprop.0 (net/core/rtnetlink.c:3140) [ 10.249216][ T244] ? rtnl_newlink (net/core/rtnetlink.c:350 net/core/rtnetlink.c:4045) [ 10.249219][ T244] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 10.249222][ T244] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 21)) [ 10.249225][ T244] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 10.249227][ T244] ? dev_set_mtu (./include/linux/netdevice.h:2712 ./include/linux/netdevice.h:2750 net/core/dev_api.c:248) [ 10.249231][ T244] __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:730) [ 10.249234][ T244] ? dev_set_mtu (./include/linux/netdevice.h:2712 ./include/linux/netdevice.h:2750 net/core/dev_api.c:248) [ 10.249237][ T244] ? __create_object (mm/kmemleak.c:766) [ 10.249241][ T244] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 10.249243][ T244] ? dev_set_mtu (./include/linux/netdevice.h:2712 ./include/linux/netdevice.h:2750 net/core/dev_api.c:248) [ 10.249247][ T244] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 10.249250][ T244] ? mark_held_locks (kernel/locking/lockdep.c:4323) [ 10.249254][ T244] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4349 kernel/locking/lockdep.c:4408) [ 10.249258][ T244] ? kasan_save_track (./arch/x86/include/asm/current.h:49 mm/kasan/common.c:60 mm/kasan/common.c:69) [ 10.249263][ T244] ? dev_set_mtu (./include/linux/netdevice.h:2712 ./include/linux/netdevice.h:2750 net/core/dev_api.c:248) [ 10.249266][ T244] dev_set_mtu (./include/linux/netdevice.h:2712 ./include/linux/netdevice.h:2750 net/core/dev_api.c:248) [ 10.249270][ T244] team_port_add (drivers/net/team/team_core.c:1214) [ 10.249274][ 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) [ 10.249278][ T244] ? __pfx_team_port_add (drivers/net/team/team_core.c:1145) [ 10.249281][ T244] ? __pfx___mutex_unlock_slowpath (kernel/locking/mutex.c:885) [ 10.249287][ T244] team_add_slave (drivers/net/team/team_core.c:1989) [ 10.249291][ T244] do_set_master (net/core/rtnetlink.c:2939) [ 10.249295][ T244] do_setlink.constprop.0 (net/core/rtnetlink.c:3140) [ 10.249300][ T244] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:3012) [ 10.249304][ T244] ? lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 10.249306][ T244] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4043) [ 10.249310][ T244] ? rtnl_newlink (./include/linux/slab.h:901 net/core/rtnetlink.c:3944) [ 10.249312][ T244] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6934) [ 10.249316][ 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) [ 10.249321][ T244] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:79) [ 10.249325][ T244] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 10.249327][ T244] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 10.249331][ T244] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:595 kernel/locking/mutex.c:730) [ 10.249334][ T244] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 10.249337][ T244] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4043) [ 10.249340][ T244] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 10.249342][ T244] ? __pfx_validate_nla (lib/nlattr.c:396) [ 10.249347][ T244] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 10.249352][ T244] ? __rtnl_newlink (net/core/rtnetlink.c:3894) [ 10.249356][ T244] rtnl_newlink (net/core/rtnetlink.c:350 net/core/rtnetlink.c:4045) [ 10.249361][ T244] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3935) [ 10.249364][ T244] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 10.249368][ T244] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 10.249371][ T244] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 10.249375][ T244] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6932) [ 10.249379][ T244] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3935) [ 10.249382][ T244] rtnetlink_rcv_msg (net/core/rtnetlink.c:6934) [ 10.249386][ T244] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6837) [ 10.249389][ 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) [ 10.249392][ T244] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 10.249397][ T244] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 10.249401][ T244] netlink_rcv_skb (net/netlink/af_netlink.c:2544) [ 10.249405][ T244] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6837) [ 10.249409][ T244] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2521) [ 10.249416][ T244] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 10.249420][ 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) [ 10.249424][ T244] netlink_unicast (net/netlink/af_netlink.c:1323 net/netlink/af_netlink.c:1349) [ 10.249429][ T244] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1334) [ 10.249432][ T244] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 10.249436][ T244] netlink_sendmsg (net/netlink/af_netlink.c:1893) [ 10.249441][ T244] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1812) [ 10.249447][ T244] ____sys_sendmsg (net/socket.c:718 net/socket.c:733 net/socket.c:2573) [ 10.249452][ T244] ? __pfx_____sys_sendmsg (net/socket.c:2519) [ 10.249455][ T244] ? __pfx_copy_msghdr_from_user (net/socket.c:2499) [ 10.249461][ T244] ___sys_sendmsg (net/socket.c:2629) [ 10.249465][ T244] ? __pfx____sys_sendmsg (net/socket.c:2616) [ 10.249468][ T244] ? ___sys_recvmsg (net/socket.c:2825) [ 10.249471][ T244] ? __pfx____sys_recvmsg (net/socket.c:2825) [ 10.249475][ T244] ? do_user_addr_fault (./include/linux/rcupdate.h:337 ./include/linux/rcupdate.h:849 ./include/linux/mm.h:740 arch/x86/mm/fault.c:1339) [ 10.249480][ T244] ? do_user_addr_fault (./include/linux/rcupdate.h:337 ./include/linux/rcupdate.h:849 ./include/linux/mm.h:740 arch/x86/mm/fault.c:1339) [ 10.249484][ T244] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 10.249488][ T244] ? __lock_release (kernel/locking/lockdep.c:5527) [ 10.249492][ T244] __sys_sendmsg (net/socket.c:2659) [ 10.249494][ T244] ? __pfx___sys_sendmsg (net/socket.c:2644) [ 10.249499][ T244] ? do_user_addr_fault (./include/linux/rcupdate.h:882 ./include/linux/mm.h:742 arch/x86/mm/fault.c:1339) [ 10.249504][ T244] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 10.249507][ T244] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 10.249511][ T244] RIP: 0033:0x7f1cc1c569a7 [ 10.249515][ 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) [ 10.249518][ T244] RSP: 002b:00007ffd892ebe38 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 10.249521][ T244] RAX: ffffffffffffffda RBX: 0000000003630730 RCX: 00007f1cc1c569a7 [ 10.249524][ T244] RDX: 0000000000000000 RSI: 00007ffd892ebe70 RDI: 0000000000000005 [ 10.249525][ T244] RBP: 0000000003630640 R08: 0000000000000008 R09: 0000000000000000 [ 10.249527][ T244] R10: 0000000000008000 R11: 0000000000000246 R12: 000000000364b760 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire