====================================== | [845.365172][T11008] #0: ffffffffa79eeb48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) | [845.365451][T11008] #1: ffff88800b86ad80 (team->team_lock_key){+.+.}-{4:4}, at: team_add_slave (drivers/net/team/team_core.c:1988) | [ 845.365744][T11008] | [ 845.365744][T11008] stack backtrace: [ 845.365932][T11008] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 845.365935][T11008] Call Trace: [ 845.365937][T11008] [845.365939][T11008] dump_stack_lvl (lib/dump_stack.c:123) [845.365949][T11008] print_circular_bug (kernel/locking/lockdep.c:2079) [845.365954][T11008] check_noncircular (kernel/locking/lockdep.c:2208) [845.365958][T11008] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2184) [845.365962][T11008] ? find_held_lock (kernel/locking/lockdep.c:5341) [845.365968][T11008] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3530) [845.365972][T11008] check_prev_add (kernel/locking/lockdep.c:3164) [845.365977][T11008] validate_chain (kernel/locking/lockdep.c:3283 kernel/locking/lockdep.c:3906) [845.365982][T11008] ? stack_depot_save_flags (lib/stackdepot.c:672) [845.365989][T11008] ? __pfx_validate_chain (kernel/locking/lockdep.c:3862) [845.365993][T11008] ? 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) [845.365995][T11008] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [845.365999][T11008] __lock_acquire (kernel/locking/lockdep.c:5228) [845.366005][T11008] lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [845.366008][T11008] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [845.366012][T11008] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [845.366015][T11008] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 21)) [845.366019][T11008] ? lock_acquire (kernel/locking/lockdep.c:5824) [845.366021][T11008] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [845.366024][T11008] __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:730) [845.366027][T11008] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [845.366034][T11008] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [845.366037][T11008] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [845.366041][T11008] ? packet_notifier (net/packet/af_packet.c:4281) [845.366050][T11008] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [845.366052][T11008] __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [845.366054][T11008] ? mark_held_locks (kernel/locking/lockdep.c:4323) [845.366057][T11008] ? __pfx___dev_open (net/core/dev.c:1609) [845.366060][T11008] ? trace_percpu_alloc_percpu (./include/trace/events/percpu.h:11 (discriminator 21)) [845.366067][T11008] netif_open (net/core/dev.c:1666) [845.366070][T11008] ? __pfx_netif_open (net/core/dev.c:1660) [845.366074][T11008] dev_open (./include/linux/netdevice.h:2738 ./include/linux/netdevice.h:2755 net/core/dev_api.c:190) [845.366079][T11008] team_port_add (drivers/net/team/team_core.c:1229) [845.366084][T11008] ? __pfx_team_port_add (drivers/net/team/team_core.c:1145) [845.366088][T11008] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [845.366094][T11008] ? validate_chain (kernel/locking/lockdep.c:3799 kernel/locking/lockdep.c:3819 kernel/locking/lockdep.c:3874) [845.366099][T11008] team_add_slave (drivers/net/team/team_core.c:1989) [845.366103][T11008] do_set_master (net/core/rtnetlink.c:2939) [845.366108][T11008] do_setlink.constprop.0 (net/core/rtnetlink.c:3144) [845.366113][T11008] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:3012) [845.366117][T11008] ? lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [845.366120][T11008] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [845.366123][T11008] ? rtnl_newlink (./include/linux/slab.h:901 net/core/rtnetlink.c:3948) [845.366126][T11008] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [845.366129][T11008] ? __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) [845.366133][T11008] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:79) [845.366137][T11008] ? lock_acquire (kernel/locking/lockdep.c:5824) [845.366140][T11008] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [845.366143][T11008] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:595 kernel/locking/mutex.c:730) [845.366146][T11008] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [845.366150][T11008] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [845.366153][T11008] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [845.366155][T11008] ? __pfx_validate_nla (lib/nlattr.c:396) [845.366160][T11008] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [845.366167][T11008] ? __rtnl_newlink (net/core/rtnetlink.c:3898) [845.366172][T11008] rtnl_newlink (net/core/rtnetlink.c:350 net/core/rtnetlink.c:4049) [845.366176][T11008] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [845.366179][T11008] ? find_held_lock (kernel/locking/lockdep.c:5341) [845.366184][T11008] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [845.366187][T11008] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [845.366192][T11008] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6936) [845.366195][T11008] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [845.366198][T11008] rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [845.366202][T11008] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [845.366205][T11008] ? 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) [845.366207][T11008] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [845.366212][T11008] ? __lock_acquire (kernel/locking/lockdep.c:5228) [845.366215][T11008] netlink_rcv_skb (net/netlink/af_netlink.c:2544) [845.366220][T11008] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [845.366224][T11008] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2521) [845.366231][T11008] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [845.366235][T11008] ? 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) [845.366238][T11008] netlink_unicast (net/netlink/af_netlink.c:1323 net/netlink/af_netlink.c:1349) [845.366242][T11008] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1334) [845.366246][T11008] ? find_held_lock (kernel/locking/lockdep.c:5341) [845.366251][T11008] netlink_sendmsg (net/netlink/af_netlink.c:1893) [845.366255][T11008] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1812) [845.366261][T11008] ____sys_sendmsg (net/socket.c:718 net/socket.c:733 net/socket.c:2573) [845.366266][T11008] ? __pfx_____sys_sendmsg (net/socket.c:2519) [845.366268][T11008] ? __pfx_copy_msghdr_from_user (net/socket.c:2499) [845.366275][T11008] ___sys_sendmsg (net/socket.c:2629) [845.366279][T11008] ? __pfx____sys_sendmsg (net/socket.c:2616) [845.366284][T11008] ? kasan_save_stack (mm/kasan/common.c:49) [845.366288][T11008] ? kasan_save_stack (mm/kasan/common.c:48) [845.366291][T11008] ? kasan_record_aux_stack (mm/kasan/generic.c:548) [845.366295][T11008] ? __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) [845.366298][T11008] ? __x64_sys_close (fs/open.c:1583 fs/open.c:1565 fs/open.c:1565) [845.366302][T11008] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [845.366305][T11008] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [845.366308][T11008] ? __lock_acquire (kernel/locking/lockdep.c:5228) [845.366311][T11008] ? lock_downgrade (./arch/x86/include/asm/current.h:49 kernel/locking/lockdep.c:122 kernel/locking/lockdep.c:5747) [845.366315][T11008] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [845.366318][T11008] ? find_held_lock (kernel/locking/lockdep.c:5341) [845.366322][T11008] ? __lock_release (kernel/locking/lockdep.c:5527) [845.366325][T11008] ? __virt_addr_valid (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:962 ./include/linux/mmzone.h:2077 arch/x86/mm/physaddr.c:65) [845.366331][T11008] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [845.366333][T11008] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [845.366338][T11008] __sys_sendmsg (net/socket.c:2659) [845.366342][T11008] ? __pfx___sys_sendmsg (net/socket.c:2644) [845.366350][T11008] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [845.366353][T11008] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 845.366356][T11008] RIP: 0033:0x7fc2f2bf99a7 [ 845.366362][T11008] 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) [ 845.366365][T11008] RSP: 002b:00007ffe2b3a7918 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 845.366369][T11008] RAX: ffffffffffffffda RBX: 00007ffe2b3a8040 RCX: 00007fc2f2bf99a7 [ 845.366371][T11008] RDX: 0000000000000000 RSI: 00007ffe2b3a7980 RDI: 0000000000000005 [ 845.366373][T11008] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 845.366374][T11008] R10: 0000000003c20910 R11: 0000000000000246 R12: 0000000000000004 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire