====================================== | [ 16.514828][ T11] #3: ffffffff9f407e88 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch (net/core/dev.c:12103) | [ 16.515122][ T11] #4: ffffffff9f3f6a70 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) | [ 16.515420][ T11] | [ 16.515420][ T11] stack backtrace: [ 16.515854][ T11] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.516035][ T11] Workqueue: netns cleanup_net [ 16.516184][ T11] Call Trace: [ 16.516296][ T11] [ 16.516372][ T11] dump_stack_lvl (lib/dump_stack.c:123) [ 16.516526][ T11] print_deadlock_bug (kernel/locking/lockdep.c:3040) [ 16.516673][ T11] validate_chain (kernel/locking/lockdep.c:3894) [ 16.516820][ T11] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 16.516966][ T11] ? 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) [ 16.517109][ T11] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 16.517218][ T11] __lock_acquire (kernel/locking/lockdep.c:5226) [ 16.517364][ T11] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5851) [ 16.517506][ T11] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 16.517690][ T11] ? __lock_acquire (kernel/locking/lockdep.c:5226) [ 16.517842][ T11] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 16.517984][ T11] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 37)) [ 16.518134][ T11] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 16.518277][ T11] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 16.518457][ T11] down_read (./arch/x86/include/asm/preempt.h:79 kernel/locking/rwsem.c:1246 kernel/locking/rwsem.c:1261 kernel/locking/rwsem.c:1526) [ 16.518570][ T11] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 16.518757][ T11] ? __pfx_down_read (kernel/locking/rwsem.c:1522) [ 16.518902][ T11] ? __lock_release (kernel/locking/lockdep.c:5525) [ 16.519047][ T11] blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 16.519193][ T11] __netdev_upper_dev_unlink (net/core/dev.c:8000 (discriminator 11) net/core/dev.c:8017 (discriminator 11) net/core/dev.c:8167 (discriminator 11)) [ 16.519338][ T11] ? mark_held_locks (kernel/locking/lockdep.c:4321) [ 16.519485][ T11] ? __pfx___netdev_upper_dev_unlink (net/core/dev.c:8151) [ 16.519666][ T11] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 16.519848][ T11] ? __try_to_del_timer_sync (kernel/time/timer.c:1498) [ 16.519997][ T11] ? __pfx___try_to_del_timer_sync (kernel/time/timer.c:1498) [ 16.520175][ T11] ? mark_held_locks (kernel/locking/lockdep.c:4321) [ 16.520319][ T11] netdev_upper_dev_unlink (net/core/dev.c:8190) [ 16.520465][ T11] ? __pfx_netdev_upper_dev_unlink (net/core/dev.c:8190) [ 16.520644][ T11] ? 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) [ 16.520789][ T11] ? rtnl_is_locked (net/core/rtnetlink.c:164) [ 16.520938][ T11] ? netdev_master_upper_dev_get (net/core/dev.c:7230) [ 16.521119][ T11] vrf_device_event (drivers/net/vrf.c:1110 drivers/net/vrf.c:1119 drivers/net/vrf.c:1804) [ 16.521265][ T11] notifier_call_chain (kernel/notifier.c:85 (discriminator 2)) [ 16.521412][ T11] blocking_notifier_call_chain (kernel/notifier.c:381 kernel/notifier.c:368) [ 16.521557][ T11] unregister_netdevice_many_notify (net/core/dev.c:11571) [ 16.521738][ T11] ? unregister_netdevice_queue (net/core/dev.c:11497) [ 16.521918][ T11] ? __pfx_unregister_netdevice_many_notify (net/core/dev.c:11512) [ 16.522100][ T11] ? __pfx_unregister_netdevice_queue (net/core/dev.c:11496) [ 16.522280][ T11] ? rtnl_is_locked (net/core/rtnetlink.c:164) [ 16.522425][ T11] ? unregister_netdevice_queue (net/core/dev.c:11497) [ 16.522604][ T11] ? __pfx_unregister_netdevice_queue (net/core/dev.c:11496) [ 16.522783][ T11] ? vrf_dellink (drivers/net/vrf.c:1668) [ 16.522928][ T11] ? __pfx_unregister_netdevice_queue (net/core/dev.c:11496) [ 16.523115][ T11] default_device_exit_batch (net/core/dev.c:12117) [ 16.523259][ T11] ? __pfx_default_device_exit_batch (net/core/dev.c:12092) [ 16.523441][ T11] ? ops_exit_list (net/core/net_namespace.c:171 (discriminator 3)) [ 16.523593][ T11] cleanup_net (net/core/net_namespace.c:647 (discriminator 3)) [ 16.523736][ T11] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 16.523882][ T11] ? __pfx_cleanup_net (net/core/net_namespace.c:592) [ 16.524028][ T11] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 37)) [ 16.524177][ T11] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 16.524323][ T11] ? process_one_work (kernel/workqueue.c:3205) [ 16.524468][ T11] process_one_work (kernel/workqueue.c:3229) [ 16.524615][ T11] ? __pfx___lock_release (kernel/locking/lockdep.c:5501) [ 16.524761][ T11] ? __pfx_process_one_work (kernel/workqueue.c:3131) [ 16.524908][ T11] ? assign_work (kernel/workqueue.c:1200) [ 16.525056][ T11] worker_thread (kernel/workqueue.c:3304 kernel/workqueue.c:3391) [ 16.525203][ T11] ? __pfx_worker_thread (kernel/workqueue.c:3337) [ 16.525353][ T11] kthread (kernel/kthread.c:389) [ 16.525467][ T11] ? __pfx_kthread (kernel/kthread.c:342) [ 16.525611][ T11] ret_from_fork (arch/x86/kernel/process.c:147) [ 16.525762][ T11] ? __pfx_kthread (kernel/kthread.c:342) Finger prints: print_deadlock_bug:validate_chain:__lock_acquire:down_read:blocking_notifier_call_chain