====================================== | [ 1379.235761][ T8698] #0: ffffffffb97eeb48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) | [ 1379.236022][ T8698] #1: ffff88800ea52d80 (team->team_lock_key){+.+.}-{4:4}, at: team_add_slave (drivers/net/team/team_core.c:1988) | [ 1379.236290][ T8698] | [ 1379.236290][ T8698] stack backtrace: [ 1379.236475][ T8698] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1379.236478][ T8698] Call Trace: [ 1379.236480][ T8698] [ 1379.236482][ T8698] dump_stack_lvl (lib/dump_stack.c:123) [ 1379.236491][ T8698] print_circular_bug (kernel/locking/lockdep.c:2079) [ 1379.236495][ T8698] check_noncircular (kernel/locking/lockdep.c:2208) [ 1379.236499][ T8698] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2184) [ 1379.236503][ T8698] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 1379.236510][ T8698] ? alloc_chain_hlocks (kernel/locking/lockdep.c:3530) [ 1379.236514][ T8698] check_prev_add (kernel/locking/lockdep.c:3164) [ 1379.236518][ T8698] validate_chain (kernel/locking/lockdep.c:3283 kernel/locking/lockdep.c:3906) [ 1379.236523][ T8698] ? stack_depot_save_flags (lib/stackdepot.c:672) [ 1379.236530][ T8698] ? __pfx_validate_chain (kernel/locking/lockdep.c:3862) [ 1379.236533][ T8698] ? 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) [ 1379.236535][ T8698] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 1379.236539][ T8698] __lock_acquire (kernel/locking/lockdep.c:5228) [ 1379.236545][ T8698] lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 1379.236548][ T8698] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 1379.236552][ T8698] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 1379.236555][ T8698] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 21)) [ 1379.236558][ T8698] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 1379.236561][ T8698] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 1379.236564][ T8698] __mutex_lock (kernel/locking/mutex.c:587 kernel/locking/mutex.c:730) [ 1379.236566][ T8698] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 1379.236573][ T8698] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 1379.236576][ T8698] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 1379.236579][ T8698] ? mutex_is_locked (./arch/x86/include/asm/atomic64_64.h:15 ./include/linux/atomic/atomic-arch-fallback.h:2583 ./include/linux/atomic/atomic-long.h:38 ./include/linux/atomic/atomic-instrumented.h:3189 kernel/locking/mutex.h:47 kernel/locking/mutex.c:66) [ 1379.236583][ T8698] ? rtnl_is_locked (net/core/rtnetlink.c:168) [ 1379.236589][ T8698] ? mirred_device_event (net/sched/act_mirred.c:519) act_mirred [ 1379.236597][ T8698] ? __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 1379.236599][ T8698] __dev_open (./include/linux/netdevice.h:2738 net/core/dev.h:144 net/core/dev.c:1650) [ 1379.236602][ T8698] ? mark_held_locks (kernel/locking/lockdep.c:4323) [ 1379.236604][ T8698] ? __pfx___dev_open (net/core/dev.c:1609) [ 1379.236607][ T8698] ? trace_percpu_alloc_percpu (./include/trace/events/percpu.h:11 (discriminator 21)) [ 1379.236614][ T8698] netif_open (net/core/dev.c:1666) [ 1379.236617][ T8698] ? __pfx_netif_open (net/core/dev.c:1660) [ 1379.236621][ T8698] dev_open (./include/linux/netdevice.h:2738 ./include/linux/netdevice.h:2755 net/core/dev_api.c:190) [ 1379.236625][ T8698] team_port_add (drivers/net/team/team_core.c:1229) [ 1379.236630][ T8698] ? __pfx_team_port_add (drivers/net/team/team_core.c:1145) [ 1379.236633][ T8698] ? rcu_read_lock_any_held (kernel/rcu/update.c:386 kernel/rcu/update.c:380) [ 1379.236639][ T8698] ? validate_chain (kernel/locking/lockdep.c:3799 kernel/locking/lockdep.c:3819 kernel/locking/lockdep.c:3874) [ 1379.236644][ T8698] team_add_slave (drivers/net/team/team_core.c:1989) [ 1379.236648][ T8698] do_set_master (net/core/rtnetlink.c:2939) [ 1379.236652][ T8698] do_setlink.constprop.0 (net/core/rtnetlink.c:3144) [ 1379.236657][ T8698] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:3012) [ 1379.236661][ T8698] ? lock_acquire.part.0 (kernel/locking/lockdep.c:469 kernel/locking/lockdep.c:5853) [ 1379.236664][ T8698] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [ 1379.236667][ T8698] ? rtnl_newlink (./include/linux/slab.h:901 net/core/rtnetlink.c:3948) [ 1379.236670][ T8698] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [ 1379.236673][ T8698] ? __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) [ 1379.236676][ T8698] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:79) [ 1379.236680][ T8698] ? lock_acquire (kernel/locking/lockdep.c:5824) [ 1379.236683][ T8698] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 21)) [ 1379.236687][ T8698] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:595 kernel/locking/mutex.c:730) [ 1379.236690][ T8698] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 1379.236693][ T8698] ? rtnl_newlink (net/core/rtnetlink.c:342 net/core/rtnetlink.c:4047) [ 1379.236696][ T8698] ? __pfx___mutex_lock (kernel/locking/mutex.c:729) [ 1379.236699][ T8698] ? __pfx_validate_nla (lib/nlattr.c:396) [ 1379.236704][ T8698] ? trace_cap_capable (./include/trace/events/capability.h:26 (discriminator 21)) [ 1379.236711][ T8698] ? __rtnl_newlink (net/core/rtnetlink.c:3898) [ 1379.236715][ T8698] rtnl_newlink (net/core/rtnetlink.c:350 net/core/rtnetlink.c:4049) [ 1379.236720][ T8698] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [ 1379.236722][ T8698] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 1379.236727][ T8698] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 1379.236730][ T8698] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 1379.236735][ T8698] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6936) [ 1379.236738][ T8698] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3939) [ 1379.236741][ T8698] rtnetlink_rcv_msg (net/core/rtnetlink.c:6938) [ 1379.236744][ T8698] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [ 1379.236747][ T8698] ? 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) [ 1379.236749][ T8698] ? mark_lock (kernel/locking/lockdep.c:4729 (discriminator 3)) [ 1379.236753][ T8698] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 1379.236757][ T8698] netlink_rcv_skb (net/netlink/af_netlink.c:2544) [ 1379.236760][ T8698] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6841) [ 1379.236764][ T8698] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2521) [ 1379.236771][ T8698] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 1379.236774][ T8698] ? 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) [ 1379.236778][ T8698] netlink_unicast (net/netlink/af_netlink.c:1323 net/netlink/af_netlink.c:1349) [ 1379.236782][ T8698] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1334) [ 1379.236785][ T8698] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 1379.236790][ T8698] netlink_sendmsg (net/netlink/af_netlink.c:1893) [ 1379.236794][ T8698] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1812) [ 1379.236801][ T8698] ____sys_sendmsg (net/socket.c:718 net/socket.c:733 net/socket.c:2573) [ 1379.236804][ T8698] ? __pfx_____sys_sendmsg (net/socket.c:2519) [ 1379.236807][ T8698] ? __pfx_copy_msghdr_from_user (net/socket.c:2499) [ 1379.236814][ T8698] ___sys_sendmsg (net/socket.c:2629) [ 1379.236818][ T8698] ? __pfx____sys_sendmsg (net/socket.c:2616) [ 1379.236822][ T8698] ? kasan_save_stack (mm/kasan/common.c:49) [ 1379.236826][ T8698] ? kasan_save_stack (mm/kasan/common.c:48) [ 1379.236829][ T8698] ? kasan_record_aux_stack (mm/kasan/generic.c:548) [ 1379.236832][ T8698] ? __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) [ 1379.236836][ T8698] ? __x64_sys_close (fs/open.c:1583 fs/open.c:1565 fs/open.c:1565) [ 1379.236840][ T8698] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 1379.236842][ T8698] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 1379.236845][ T8698] ? __lock_acquire (kernel/locking/lockdep.c:5228) [ 1379.236848][ T8698] ? lock_downgrade (./arch/x86/include/asm/current.h:49 kernel/locking/lockdep.c:122 kernel/locking/lockdep.c:5747) [ 1379.236852][ T8698] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 1379.236856][ T8698] ? find_held_lock (kernel/locking/lockdep.c:5341) [ 1379.236860][ T8698] ? __lock_release (kernel/locking/lockdep.c:5527) [ 1379.236862][ T8698] ? __virt_addr_valid (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:962 ./include/linux/mmzone.h:2077 arch/x86/mm/physaddr.c:65) [ 1379.236868][ T8698] ? __pfx___lock_release (kernel/locking/lockdep.c:5503) [ 1379.236871][ T8698] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5816) [ 1379.236875][ T8698] __sys_sendmsg (net/socket.c:2659) [ 1379.236879][ T8698] ? __pfx___sys_sendmsg (net/socket.c:2644) [ 1379.236886][ T8698] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 1379.236889][ T8698] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 1379.236892][ T8698] RIP: 0033:0x7f26868c69a7 [ 1379.236896][ T8698] 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) [ 1379.236899][ T8698] RSP: 002b:00007ffc40bfbf88 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 1379.236903][ T8698] RAX: ffffffffffffffda RBX: 00007ffc40bfc6b0 RCX: 00007f26868c69a7 [ 1379.236906][ T8698] RDX: 0000000000000000 RSI: 00007ffc40bfbff0 RDI: 0000000000000005 [ 1379.236908][ T8698] RBP: 0000000000000004 R08: 0000000000000003 R09: 0000000000000000 [ 1379.236909][ T8698] R10: 0000000038471910 R11: 0000000000000246 R12: 0000000000000004 Finger prints: print_circular_bug:check_noncircular:check_prev_add:validate_chain:__lock_acquire