====================================== | [ 751.481842][ T4476] #0: ffffffffa7beed88 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4043) | [ 751.482115][ T4476] #1: ffff88801b552d80 (team->team_lock_key){+.+.}-{4:4}, at: team_add_slave (drivers/net/team/team_core.c:1988) | [ 751.482386][ T4476] | [ 751.482386][ T4476] stack backtrace: [ 751.482577][ T4476] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 751.482580][ T4476] Call Trace: [ 751.482582][ T4476] [ 751.482584][ T4476] dump_stack_lvl (lib/dump_stack.c:123) [ 751.482592][ T4476] print_circular_bug (kernel/locking/lockdep.c:2079) [ 751.482597][ T4476] check_noncircular (kernel/locking/lockdep.c:2208) [ 751.482601][ T4476] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2184) [ 751.482605][ T4476] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 751.482612][ T4476] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3530) [ 751.482616][ T4476] check_prev_add (kernel/locking/lockdep.c:3164) [ 751.482621][ T4476] validate_chain (kernel/locking/lockdep.c:3283 kernel/locking/lockdep.c:3906) [ 751.482625][ T4476] ? stack_depot_save_flags (lib/stackdepot.c:672) [ 751.482632][ T4476] ? __pfx_validate_chain (kernel/locking/lockdep.c:3862) [ 751.482635][ T4476] ? 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) [ 751.482638][ T4476] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 751.482642][ T4476] __lock_acquire (kernel/locking/lockdep.c:5228) [ 751.482647][ T4476] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 751.482650][ T4476] lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 751.482653][ T4476] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:145 net/core/dev.c:1628) [ 751.482657][ T4476] ? validate_chain (kernel/locking/lockdep.c:3799 kernel/locking/lockdep.c:3819 kernel/locking/lockdep.c:3874) [ 751.482659][ T4476] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 751.482663][ T4476] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 21)) [ 751.482667][ T4476] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 751.482669][ T4476] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:145 net/core/dev.c:1628) [ 751.482672][ T4476] __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:730) [ 751.482675][ T4476] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:145 net/core/dev.c:1628) [ 751.482678][ T4476] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:145 net/core/dev.c:1628) [ 751.482681][ T4476] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 751.482687][ T4476] ? packet_notifier (net/packet/af_packet.c:4282) [ 751.482694][ T4476] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:145 net/core/dev.c:1628) [ 751.482696][ T4476] __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:145 net/core/dev.c:1628) [ 751.482699][ T4476] ? mark_held_locks (kernel/locking/lockdep.c:4323) [ 751.482702][ T4476] ? __pfx___dev_open (net/core/dev.c:1587) [ 751.482705][ T4476] ? trace_percpu_alloc_percpu (./include/trace/events/percpu.h:11 (discriminator 21)) [ 751.482712][ T4476] netif_open (net/core/dev.c:1644) [ 751.482714][ T4476] ? __pfx_netif_open (net/core/dev.c:1638) [ 751.482719][ T4476] dev_open (./include/linux/netdevice.h:2738 ./include/linux/netdevice.h:2755 net/core/dev_api.c:203) [ 751.482722][ T4476] team_port_add (drivers/net/team/team_core.c:1229) [ 751.482727][ T4476] ? __pfx_team_port_add (drivers/net/team/team_core.c:1145) [ 751.482731][ T4476] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 751.482738][ T4476] ? validate_chain (kernel/locking/lockdep.c:3799 kernel/locking/lockdep.c:3819 kernel/locking/lockdep.c:3874) [ 751.482743][ T4476] team_add_slave (drivers/net/team/team_core.c:1989) [ 751.482747][ T4476] do_set_master (net/core/rtnetlink.c:2939) [ 751.482752][ T4476] do_setlink.constprop.0 (net/core/rtnetlink.c:3140) [ 751.482757][ T4476] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:3012) [ 751.482761][ T4476] ? lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 751.482764][ T4476] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4043) [ 751.482767][ T4476] ? rtnl_newlink (./include/linux/slab.h:901 net/core/rtnetlink.c:3944) [ 751.482769][ T4476] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6934) [ 751.482772][ T4476] ? __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) [ 751.482776][ T4476] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:79) [ 751.482780][ T4476] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 751.482783][ T4476] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 751.482787][ T4476] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:595 kernel/locking/mutex.c:730) [ 751.482790][ T4476] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 751.482793][ T4476] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4043) [ 751.482796][ T4476] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 751.482798][ T4476] ? __pfx_validate_nla (lib/nlattr.c:396) [ 751.482804][ T4476] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 751.482811][ T4476] ? __rtnl_newlink (net/core/rtnetlink.c:3894) [ 751.482815][ T4476] rtnl_newlink (net/core/rtnetlink.c:350 net/core/rtnetlink.c:4045) [ 751.482820][ T4476] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3935) [ 751.482823][ T4476] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 751.482828][ T4476] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 751.482830][ T4476] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 751.482835][ T4476] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6932) [ 751.482839][ T4476] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3935) [ 751.482842][ T4476] rtnetlink_rcv_msg (net/core/rtnetlink.c:6934) [ 751.482846][ T4476] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6837) [ 751.482849][ T4476] ? 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) [ 751.482851][ T4476] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 751.482855][ T4476] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 751.482859][ T4476] netlink_rcv_skb (net/netlink/af_netlink.c:2543) [ 751.482863][ T4476] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6837) [ 751.482867][ T4476] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2520) [ 751.482874][ T4476] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 751.482878][ T4476] ? 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) [ 751.482882][ T4476] netlink_unicast (net/netlink/af_netlink.c:1322 net/netlink/af_netlink.c:1348) [ 751.482887][ T4476] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1333) [ 751.482890][ T4476] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 751.482895][ T4476] netlink_sendmsg (net/netlink/af_netlink.c:1892) [ 751.482900][ T4476] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1811) [ 751.482906][ T4476] ____sys_sendmsg (net/socket.c:718 net/socket.c:733 net/socket.c:2573) [ 751.482910][ T4476] ? __pfx_____sys_sendmsg (net/socket.c:2519) [ 751.482913][ T4476] ? __pfx_copy_msghdr_from_user (net/socket.c:2499) [ 751.482920][ T4476] ___sys_sendmsg (net/socket.c:2629) [ 751.482925][ T4476] ? __pfx____sys_sendmsg (net/socket.c:2616) [ 751.482929][ T4476] ? kasan_save_stack (mm/kasan/common.c:49) [ 751.482934][ T4476] ? kasan_save_stack (mm/kasan/common.c:48) [ 751.482937][ T4476] ? kasan_record_aux_stack (mm/kasan/generic.c:548) [ 751.482940][ T4476] ? __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) [ 751.482944][ T4476] ? __x64_sys_close (fs/open.c:1583 fs/open.c:1565 fs/open.c:1565) [ 751.482948][ T4476] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 751.482950][ T4476] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 751.482953][ T4476] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 751.482956][ T4476] ? lock_downgrade (./arch/x86/include/asm/current.h:49 kernel/locking/lockdep.c:122 kernel/locking/lockdep.c:5747) [ 751.482960][ T4476] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 751.482964][ T4476] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 751.482968][ T4476] ? __lock_release (kernel/locking/lockdep.c:5527) [ 751.482971][ T4476] ? __virt_addr_valid (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:962 ./include/linux/mmzone.h:2077 arch/x86/mm/physaddr.c:65) [ 751.482977][ T4476] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 751.482980][ T4476] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 751.482984][ T4476] __sys_sendmsg (net/socket.c:2659) [ 751.482988][ T4476] ? __pfx___sys_sendmsg (net/socket.c:2644) [ 751.482996][ T4476] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 751.482999][ T4476] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 751.483002][ T4476] RIP: 0033:0x7f19f8a959a7 [ 751.483007][ T4476] 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) [ 751.483010][ T4476] RSP: 002b:00007ffdc66ebf98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 751.483014][ T4476] RAX: ffffffffffffffda RBX: 00007ffdc66ec6c0 RCX: 00007f19f8a959a7 [ 751.483016][ T4476] RDX: 0000000000000000 RSI: 00007ffdc66ec000 RDI: 0000000000000005 [ 751.483018][ T4476] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 751.483019][ T4476] R10: 000000002058d910 R11: 0000000000000246 R12: 0000000000000004 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire