====================================== | [ 124.056088][ T1457] #0: ffffffff937e7a48 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink (net/core/rtnetlink.c:337 net/core/rtnetlink.c:4020) | [ 124.056537][ T1457] #1: ffffffff937d6630 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) | [ 124.057049][ T1457] | [ 124.057049][ T1457] stack backtrace: [ 124.057733][ T1457] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 124.058042][ T1457] Call Trace: [ 124.058234][ T1457] [ 124.058379][ T1457] dump_stack_lvl (lib/dump_stack.c:123) [ 124.058646][ T1457] print_deadlock_bug (kernel/locking/lockdep.c:3040) [ 124.058898][ T1457] validate_chain (kernel/locking/lockdep.c:3894) [ 124.059153][ T1457] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 124.059408][ T1457] ? 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:228) [ 124.059658][ T1457] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 124.059852][ T1457] __lock_acquire (kernel/locking/lockdep.c:5226) [ 124.060108][ T1457] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5851) [ 124.060362][ T1457] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 124.060681][ T1457] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 124.060930][ T1457] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 37)) [ 124.061181][ T1457] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 124.061431][ T1457] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 124.061744][ T1457] down_read (./arch/x86/include/asm/preempt.h:79 kernel/locking/rwsem.c:1246 kernel/locking/rwsem.c:1261 kernel/locking/rwsem.c:1526) [ 124.061936][ T1457] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 124.062258][ T1457] ? __pfx_down_read (kernel/locking/rwsem.c:1522) [ 124.062514][ T1457] blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 124.062765][ T1457] netdev_update_features (net/core/dev.c:10314) [ 124.063017][ T1457] ? __pfx_netdev_update_features (net/core/dev.c:10311) [ 124.063330][ T1457] vlan_device_event (net/8021q/vlan.c:430 (discriminator 2)) 8021q [ 124.063651][ T1457] ? net_generic (./include/net/netns/generic.h:51) vxlan [ 124.063931][ T1457] ? __pfx_vlan_device_event (net/8021q/vlan.c:362) 8021q [ 124.064257][ T1457] ? __pfx_vxlan_netdevice_event (drivers/net/vxlan/vxlan_core.c:4737) vxlan [ 124.064590][ T1457] ? packet_notifier (net/packet/af_packet.c:4282) [ 124.064845][ T1457] notifier_call_chain (kernel/notifier.c:85 (discriminator 2)) [ 124.065098][ T1457] blocking_notifier_call_chain (kernel/notifier.c:381 kernel/notifier.c:368) [ 124.065351][ T1457] netdev_update_features (net/core/dev.c:10314) [ 124.065601][ T1457] ? __pfx_netdev_update_features (net/core/dev.c:10311) [ 124.065919][ T1457] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 124.066231][ T1457] ? br_del_if (net/bridge/br_if.c:748) bridge [ 124.066560][ T1457] br_del_if (net/bridge/br_if.c:753) bridge [ 124.066875][ T1457] ? rtnl_is_locked (net/core/rtnetlink.c:163) [ 124.067129][ T1457] do_set_master (net/core/rtnetlink.c:2912) [ 124.067381][ T1457] do_setlink.constprop.0 (net/core/rtnetlink.c:3125) [ 124.067638][ T1457] ? __pfx_do_setlink.constprop.0 (net/core/rtnetlink.c:2999) [ 124.067958][ T1457] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5851) [ 124.068208][ T1457] ? rtnl_newlink (net/core/rtnetlink.c:337 net/core/rtnetlink.c:4020) [ 124.068476][ T1457] ? rtnl_newlink (./include/linux/slab.h:901 net/core/rtnetlink.c:3921) [ 124.068724][ T1457] ? rtnetlink_rcv_msg (net/core/rtnetlink.c:6911) [ 124.068973][ T1457] ? __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) [ 124.069226][ T1457] ? __pfx___mutex_trylock_common (kernel/locking/mutex.c:79) [ 124.069540][ T1457] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 124.069795][ T1457] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 37)) [ 124.070044][ T1457] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:595 kernel/locking/mutex.c:735) [ 124.070295][ T1457] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 124.070549][ T1457] ? rtnl_newlink (net/core/rtnetlink.c:337 net/core/rtnetlink.c:4020) [ 124.070799][ T1457] ? __pfx___mutex_lock (kernel/locking/mutex.c:734) [ 124.071053][ T1457] ? __rtnl_newlink (net/core/rtnetlink.c:3871) [ 124.071308][ T1457] rtnl_newlink (net/core/rtnetlink.c:345 net/core/rtnetlink.c:4022) [ 124.071564][ T1457] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3912) [ 124.071821][ T1457] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 124.072073][ T1457] ? __pfx___lock_release (kernel/locking/lockdep.c:5501) [ 124.072323][ T1457] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 124.072585][ T1457] ? rtnetlink_rcv_msg (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/core/rtnetlink.c:6909) [ 124.072863][ T1457] ? __pfx_rtnl_newlink (net/core/rtnetlink.c:3912) [ 124.073119][ T1457] rtnetlink_rcv_msg (net/core/rtnetlink.c:6911) [ 124.073377][ T1457] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6814) [ 124.073640][ T1457] ? 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:228) [ 124.073891][ T1457] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 124.074088][ T1457] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 124.074344][ T1457] netlink_rcv_skb (net/netlink/af_netlink.c:2543) [ 124.074601][ T1457] ? __pfx_rtnetlink_rcv_msg (net/core/rtnetlink.c:6814) [ 124.074856][ T1457] ? __pfx_netlink_rcv_skb (net/netlink/af_netlink.c:2520) [ 124.075121][ T1457] ? netlink_deliver_tap (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 net/netlink/af_netlink.c:340) [ 124.075385][ T1457] ? 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) [ 124.075643][ T1457] netlink_unicast (net/netlink/af_netlink.c:1322 net/netlink/af_netlink.c:1348) [ 124.075898][ T1457] ? __pfx_netlink_unicast (net/netlink/af_netlink.c:1333) [ 124.076153][ T1457] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 124.076413][ T1457] netlink_sendmsg (net/netlink/af_netlink.c:1892) [ 124.076674][ T1457] ? __pfx_netlink_sendmsg (net/netlink/af_netlink.c:1811) [ 124.076895][ T1457] ____sys_sendmsg (net/socket.c:711 net/socket.c:726 net/socket.c:2594) [ 124.077109][ T1457] ? __pfx_____sys_sendmsg (net/socket.c:2540) [ 124.077277][ T1457] ? __pfx_copy_msghdr_from_user (net/socket.c:2520) [ 124.077481][ T1457] ___sys_sendmsg (net/socket.c:2650) [ 124.077639][ T1457] ? __pfx____sys_sendmsg (net/socket.c:2637) [ 124.077801][ T1457] ? kasan_save_stack (mm/kasan/common.c:49) [ 124.077962][ T1457] ? kasan_save_stack (mm/kasan/common.c:48) [ 124.078121][ T1457] ? __kasan_record_aux_stack (mm/kasan/generic.c:544) [ 124.078279][ T1457] ? __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:3087) [ 124.078493][ T1457] ? __x64_sys_close (fs/open.c:1557 fs/open.c:1539 fs/open.c:1539) [ 124.078653][ T1457] ? do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 124.078812][ T1457] ? entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 124.079011][ T1457] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 124.079172][ T1457] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 124.079333][ T1457] ? __lock_release (kernel/locking/lockdep.c:5525) [ 124.079491][ T1457] ? __virt_addr_valid (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:962 ./include/linux/mmzone.h:2058 arch/x86/mm/physaddr.c:65) [ 124.079656][ T1457] ? __pfx___lock_release (kernel/locking/lockdep.c:5501) [ 124.079817][ T1457] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 124.079978][ T1457] __sys_sendmsg (net/socket.c:2680) [ 124.080136][ T1457] ? __pfx___sys_sendmsg (net/socket.c:2665) [ 124.080296][ T1457] ? __pfx_slab_free_after_rcu_debug (mm/slub.c:4643) [ 124.080500][ T1457] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 124.080657][ T1457] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 124.080857][ T1457] RIP: 0033:0x7f8c460b19a7 [ 124.081023][ T1457] 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) [ 124.081580][ T1457] RSP: 002b:00007ffc1d0d9e48 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 124.081826][ T1457] RAX: ffffffffffffffda RBX: 00007ffc1d0da570 RCX: 00007f8c460b19a7 [ 124.082065][ T1457] RDX: 0000000000000000 RSI: 00007ffc1d0d9eb0 RDI: 0000000000000005 [ 124.082306][ T1457] RBP: 0000000000000003 R08: 0000000000000003 R09: 0000000000000078 [ 124.082547][ T1457] R10: 00007f8c45f6fef8 R11: 0000000000000246 R12: 0000000000000003 Finger prints: print_deadlock_bug:validate_chain:__lock_acquire:down_read:blocking_notifier_call_chain