====================================== | [ 31.551779][ T66] #3: ffffffff8c9f1088 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch (net/core/dev.c:12109) | [ 31.552115][ T66] #4: ffffffff8c9dfc30 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) | [ 31.552439][ T66] | [ 31.552439][ T66] stack backtrace: [ 31.552922][ T66] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.553124][ T66] Workqueue: netns cleanup_net [ 31.553332][ T66] Call Trace: [ 31.553460][ T66] [ 31.553547][ T66] dump_stack_lvl (lib/dump_stack.c:123) [ 31.553714][ T66] print_deadlock_bug (kernel/locking/lockdep.c:3040) [ 31.553881][ T66] validate_chain (kernel/locking/lockdep.c:3894) [ 31.554048][ T66] ? __pfx_validate_chain (kernel/locking/lockdep.c:3860) [ 31.554212][ T66] ? 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) [ 31.554373][ T66] ? mark_lock (kernel/locking/lockdep.c:4727 (discriminator 3)) [ 31.554498][ T66] __lock_acquire (kernel/locking/lockdep.c:5226) [ 31.554676][ T66] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5851) [ 31.554835][ T66] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 31.555032][ T66] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 31.555197][ T66] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 31.555366][ T66] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 37)) [ 31.555528][ T66] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 31.555689][ T66] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 31.555896][ T66] down_read (./arch/x86/include/asm/preempt.h:79 kernel/locking/rwsem.c:1246 kernel/locking/rwsem.c:1261 kernel/locking/rwsem.c:1526) [ 31.556020][ T66] ? blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 31.556222][ T66] ? __pfx_down_read (kernel/locking/rwsem.c:1522) [ 31.556389][ T66] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4339 kernel/locking/lockdep.c:4406) [ 31.556597][ T66] blocking_notifier_call_chain (kernel/notifier.c:380 kernel/notifier.c:368) [ 31.556761][ T66] __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)) [ 31.556926][ T66] ? __pfx___netdev_upper_dev_unlink (net/core/dev.c:8151) [ 31.557127][ T66] ? find_held_lock (kernel/locking/lockdep.c:5339) [ 31.557290][ T66] ? del_nbp (net/bridge/br_if.c:215 net/bridge/br_if.c:359) bridge [ 31.557504][ T66] ? 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) [ 31.557683][ T66] netdev_upper_dev_unlink (net/core/dev.c:8190) [ 31.557858][ T66] ? __pfx_netdev_upper_dev_unlink (net/core/dev.c:8190) [ 31.558057][ T66] ? mutex_spin_on_owner (kernel/locking/mutex.c:353) [ 31.558216][ T66] ? rtnl_is_locked (net/core/rtnetlink.c:163) [ 31.558380][ T66] del_nbp (net/bridge/br_if.c:365) bridge [ 31.558582][ T66] br_del_if (net/bridge/br_if.c:741) bridge [ 31.558780][ T66] br_device_event (net/bridge/br.c:141) bridge [ 31.558975][ T66] ? __pfx_br_device_event (net/bridge/br.c:29) bridge [ 31.559212][ T66] ? netconsole_netdev_event (drivers/net/netconsole.c:1082) [ 31.559382][ T66] ? packet_notifier (net/packet/af_packet.c:4282) [ 31.559547][ T66] notifier_call_chain (kernel/notifier.c:85 (discriminator 2)) [ 31.559733][ T66] blocking_notifier_call_chain (kernel/notifier.c:381 kernel/notifier.c:368) [ 31.559898][ T66] unregister_netdevice_many_notify (net/core/dev.c:11575) [ 31.560104][ T66] ? __pfx_unregister_netdevice_many_notify (net/core/dev.c:11516) [ 31.560305][ T66] ? default_device_exit_batch (net/core/dev.c:12109) [ 31.560472][ T66] ? rtnl_is_locked (net/core/rtnetlink.c:163) [ 31.560635][ T66] ? unregister_netdevice_queue (net/core/dev.c:11501) [ 31.560833][ T66] ? __pfx_unregister_netdevice_queue (net/core/dev.c:11500) [ 31.561032][ T66] ? __pfx_unregister_netdevice_queue (net/core/dev.c:11500) [ 31.561235][ T66] default_device_exit_batch (net/core/dev.c:12123) [ 31.561396][ T66] ? __pfx_default_device_exit_batch (net/core/dev.c:12098) [ 31.561601][ T66] ? 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) [ 31.561764][ T66] ? nexthop_net_exit_batch_rtnl (net/ipv4/nexthop.c:585 net/ipv4/nexthop.c:2158 net/ipv4/nexthop.c:2666 net/ipv4/nexthop.c:4010) [ 31.561966][ T66] cleanup_net (net/core/net_namespace.c:647 (discriminator 3)) [ 31.562125][ T66] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5814) [ 31.562285][ T66] ? __pfx_cleanup_net (net/core/net_namespace.c:592) [ 31.562445][ T66] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 37)) [ 31.562606][ T66] ? lock_acquire (kernel/locking/lockdep.c:5822) [ 31.562778][ T66] ? process_one_work (kernel/workqueue.c:3205) [ 31.562952][ T66] process_one_work (kernel/workqueue.c:3229) [ 31.563117][ T66] ? __pfx___lock_release (kernel/locking/lockdep.c:5501) [ 31.563279][ T66] ? __pfx_process_one_work (kernel/workqueue.c:3131) [ 31.563444][ T66] ? assign_work (kernel/workqueue.c:1200) [ 31.563608][ T66] worker_thread (kernel/workqueue.c:3304 kernel/workqueue.c:3391) [ 31.563769][ T66] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 31.563971][ T66] ? __pfx_worker_thread (kernel/workqueue.c:3337) [ 31.564136][ T66] ? __pfx_worker_thread (kernel/workqueue.c:3337) [ 31.564296][ T66] kthread (kernel/kthread.c:389) [ 31.564423][ T66] ? __pfx_kthread (kernel/kthread.c:342) [ 31.564596][ T66] ret_from_fork (arch/x86/kernel/process.c:147) [ 31.564759][ T66] ? __pfx_kthread (kernel/kthread.c:342) Finger prints: print_deadlock_bug:validate_chain:__lock_acquire:down_read:blocking_notifier_call_chain