====================================== | [ 745.190374][ T4473] #0: ffffffffa29eed88 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4043) | [ 745.190645][ T4473] #1: ffff88801a842d80 (team->team_lock_key){+.+.}-{4:4}, at: team_add_slave (drivers/net/team/team_core.c:1988) | [ 745.190913][ T4473] | [ 745.190913][ T4473] stack backtrace: [ 745.191105][ T4473] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 745.191108][ T4473] Call Trace: [ 745.191110][ T4473] [ 745.191112][ T4473] dump_stack_lvl (lib/dump_stack.c:123) [ 745.191119][ T4473] print_circular_bug (kernel/locking/lockdep.c:2079) [ 745.191125][ T4473] check_noncircular (kernel/locking/lockdep.c:2208) [ 745.191129][ T4473] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2184) [ 745.191133][ T4473] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 745.191139][ T4473] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3530) [ 745.191143][ T4473] check_prev_add (kernel/locking/lockdep.c:3164) [ 745.191158][ T4473] validate_chain (kernel/locking/lockdep.c:3283 kernel/locking/lockdep.c:3906) [ 745.191163][ T4473] ? stack_depot_save_flags (lib/stackdepot.c:672) [ 745.191169][ T4473] ? __pfx_validate_chain (kernel/locking/lockdep.c:3862) [ 745.191172][ T4473] ? 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) [ 745.191175][ T4473] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 745.191179][ T4473] __lock_acquire (kernel/locking/lockdep.c:5228) [ 745.191184][ T4473] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 745.191188][ T4473] lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 745.191191][ T4473] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:145 net/core/dev.c:1628) [ 745.191195][ T4473] ? validate_chain (kernel/locking/lockdep.c:3799 kernel/locking/lockdep.c:3819 kernel/locking/lockdep.c:3874) [ 745.191198][ T4473] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 745.191201][ T4473] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 21)) [ 745.191205][ T4473] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 745.191207][ T4473] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:145 net/core/dev.c:1628) [ 745.191210][ T4473] __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:730) [ 745.191213][ T4473] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:145 net/core/dev.c:1628) [ 745.191216][ T4473] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:145 net/core/dev.c:1628) [ 745.191219][ T4473] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 745.191225][ T4473] ? packet_notifier (net/packet/af_packet.c:4281) [ 745.191232][ T4473] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:145 net/core/dev.c:1628) [ 745.191235][ T4473] __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:145 net/core/dev.c:1628) [ 745.191237][ T4473] ? mark_held_locks (kernel/locking/lockdep.c:4323) [ 745.191240][ T4473] ? __pfx___dev_open (net/core/dev.c:1587) [ 745.191243][ T4473] ? trace_percpu_alloc_percpu (./include/trace/events/percpu.h:11 (discriminator 21)) [ 745.191249][ T4473] netif_open (net/core/dev.c:1644) [ 745.191252][ T4473] ? __pfx_netif_open (net/core/dev.c:1638) [ 745.191256][ T4473] dev_open (./include/linux/netdevice.h:2738 ./include/linux/netdevice.h:2755 net/core/dev_api.c:203) [ 745.191261][ T4473] team_port_add (drivers/net/team/team_core.c:1229) [ 745.191266][ T4473] ? __pfx_team_port_add (drivers/net/team/team_core.c:1145) [ 745.191270][ T4473] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 745.191275][ T4473] ? validate_chain (kernel/locking/lockdep.c:3799 kernel/locking/lockdep.c:3819 kernel/locking/lockdep.c:3874) [ 745.191280][ T4473] team_add_slave (drivers/net/team/team_core.c:1989) [ 745.191284][ T4473] do_set_master (net/core/rtnetlink.c:2939) [ 745.191289][ T4473] do_setlink.constprop.0 (net/core/rtnetlink.c:3140) [ 745.191294][ T4473] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:3012) [ 745.191298][ T4473] ? lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 745.191301][ T4473] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4043) [ 745.191305][ T4473] ? rtnl_newlink (./include/linux/slab.h:901 net/core/rtnetlink.c:3944) [ 745.191307][ T4473] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6934) [ 745.191310][ T4473] ? __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) [ 745.191314][ T4473] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:79) [ 745.191318][ T4473] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 745.191321][ T4473] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 745.191324][ T4473] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:595 kernel/locking/mutex.c:730) [ 745.191327][ T4473] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 745.191331][ T4473] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4043) [ 745.191334][ T4473] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 745.191337][ T4473] ? __pfx_validate_nla (lib/nlattr.c:396) [ 745.191342][ T4473] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 745.191348][ T4473] ? __rtnl_newlink (net/core/rtnetlink.c:3894) [ 745.191352][ T4473] rtnl_newlink (net/core/rtnetlink.c:350 net/core/rtnetlink.c:4045) [ 745.191357][ T4473] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3935) [ 745.191359][ T4473] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 745.191364][ T4473] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 745.191367][ T4473] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 745.191372][ T4473] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6932) [ 745.191375][ T4473] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3935) [ 745.191378][ T4473] rtnetlink_rcv_msg (net/core/rtnetlink.c:6934) [ 745.191382][ T4473] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6837) [ 745.191385][ T4473] ? 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) [ 745.191387][ T4473] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 745.191392][ T4473] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 745.191395][ T4473] netlink_rcv_skb (net/netlink/af_netlink.c:2544) [ 745.191399][ T4473] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6837) [ 745.191403][ T4473] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2521) [ 745.191410][ T4473] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 745.191414][ T4473] ? 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) [ 745.191418][ T4473] netlink_unicast (net/netlink/af_netlink.c:1323 net/netlink/af_netlink.c:1349) [ 745.191422][ T4473] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1334) [ 745.191425][ T4473] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 745.191431][ T4473] netlink_sendmsg (net/netlink/af_netlink.c:1893) [ 745.191435][ T4473] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1812) [ 745.191441][ T4473] ____sys_sendmsg (net/socket.c:718 net/socket.c:733 net/socket.c:2573) [ 745.191445][ T4473] ? __pfx_____sys_sendmsg (net/socket.c:2519) [ 745.191448][ T4473] ? __pfx_copy_msghdr_from_user (net/socket.c:2499) [ 745.191455][ T4473] ___sys_sendmsg (net/socket.c:2629) [ 745.191459][ T4473] ? __pfx____sys_sendmsg (net/socket.c:2616) [ 745.191463][ T4473] ? kasan_save_stack (mm/kasan/common.c:49) [ 745.191468][ T4473] ? kasan_save_stack (mm/kasan/common.c:48) [ 745.191470][ T4473] ? kasan_record_aux_stack (mm/kasan/generic.c:548) [ 745.191474][ T4473] ? __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:3067) [ 745.191477][ T4473] ? __x64_sys_close (fs/open.c:1583 fs/open.c:1565 fs/open.c:1565) [ 745.191481][ T4473] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 745.191483][ T4473] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 745.191486][ T4473] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 745.191489][ T4473] ? lock_downgrade (./arch/x86/include/asm/current.h:49 kernel/locking/lockdep.c:122 kernel/locking/lockdep.c:5747) [ 745.191492][ T4473] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 745.191496][ T4473] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 745.191500][ T4473] ? __lock_release (kernel/locking/lockdep.c:5527) [ 745.191503][ T4473] ? __virt_addr_valid (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:962 ./include/linux/mmzone.h:2077 arch/x86/mm/physaddr.c:65) [ 745.191508][ T4473] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 745.191510][ T4473] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 745.191515][ T4473] __sys_sendmsg (net/socket.c:2659) [ 745.191519][ T4473] ? __pfx___sys_sendmsg (net/socket.c:2644) [ 745.191527][ T4473] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 745.191530][ T4473] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 745.191533][ T4473] RIP: 0033:0x7fbd1ef539a7 [ 745.191537][ T4473] 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) [ 745.191540][ T4473] RSP: 002b:00007ffc3da42638 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 745.191544][ T4473] RAX: ffffffffffffffda RBX: 00007ffc3da42d60 RCX: 00007fbd1ef539a7 [ 745.191546][ T4473] RDX: 0000000000000000 RSI: 00007ffc3da426a0 RDI: 0000000000000005 [ 745.191548][ T4473] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 745.191550][ T4473] R10: 000000001a541910 R11: 0000000000000246 R12: 0000000000000004 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire