====================================== | xx__-> [ 39.879591][ T305] ip (305) used greatest stack depth: 24080 bytes left | [ 53.203564][ T397] ip (397) used greatest stack depth: 23888 bytes left | [ 236.570270][ C0] BUG: spinlock bad magic on CPU#0, kworker/u16:1/75 | [ 236.570486][ C0] lock: noop_qdisc+0x240/0x300, .magic: 00000000, .owner: kworker/u16:1/75, .owner_cpu: 0 [ 236.570974][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 236.571285][ C0] Workqueue: netns cleanup_net [ 236.571439][ C0] Call Trace: [ 236.571553][ C0] [ 236.571639][ C0] dump_stack_lvl (lib/dump_stack.c:122) [ 236.571784][ C0] do_raw_spin_unlock (kernel/locking/spinlock_debug.c:100 kernel/locking/spinlock_debug.c:141) [ 236.571929][ C0] _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 236.572069][ C0] net_tx_action (./include/net/sch_generic.h:226 ./include/net/sch_generic.h:217 ./include/net/pkt_sched.h:128 ./include/net/pkt_sched.h:124 net/core/dev.c:5323) [ 236.572215][ C0] handle_softirqs (kernel/softirq.c:554) [ 236.572354][ C0] ? dev_deactivate_many (./include/linux/bottom_half.h:33 ./include/linux/netdevice.h:4448 net/sched/sch_generic.c:571 net/sched/sch_generic.c:1363) [ 236.572491][ C0] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 236.572597][ C0] [ 236.572668][ C0] [ 236.572736][ C0] __local_bh_enable_ip (kernel/softirq.c:382) [ 236.572879][ C0] dev_deactivate_many (net/sched/sch_generic.c:1356) [ 236.573018][ C0] __dev_close_many (net/core/dev.c:1547) [ 236.573162][ C0] ? __pfx___dev_close_many (net/core/dev.c:1522) [ 236.573302][ C0] dev_close_many (net/core/dev.c:1585) [ 236.573443][ C0] ? lock_acquire.part.0 (kernel/locking/lockdep.c:466 kernel/locking/lockdep.c:5761) [ 236.573582][ C0] ? default_device_exit_batch (net/core/dev.c:11876) [ 236.573730][ C0] ? __pfx_dev_close_many (net/core/dev.c:1575) [ 236.573867][ C0] ? __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:129) [ 236.574027][ C0] unregister_netdevice_many_notify (net/core/dev.c:11321) [ 236.574194][ C0] ? lock_acquire (kernel/locking/lockdep.c:5732) [ 236.574331][ C0] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 52)) [ 236.574468][ C0] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:618 kernel/locking/mutex.c:752) [ 236.574618][ C0] ? __pfx_unregister_netdevice_many_notify (net/core/dev.c:11288) [ 236.574794][ C0] ? mark_lock (kernel/locking/lockdep.c:4655 (discriminator 3)) [ 236.574910][ C0] ? 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.c:81 kernel/locking/mutex.c:91) [ 236.575051][ C0] ? rtnl_is_locked (net/core/rtnetlink.c:164) [ 236.575194][ C0] ? unregister_netdevice_queue (net/core/dev.c:11273) [ 236.575371][ C0] ? __pfx_unregister_netdevice_queue (net/core/dev.c:11272) [ 236.575547][ C0] ? __pfx_unregister_netdevice_queue (net/core/dev.c:11272) [ 236.575723][ C0] default_device_exit_batch (net/core/dev.c:11890) [ 236.575859][ C0] ? __pfx_default_device_exit_batch (net/core/dev.c:11865) [ 236.576033][ C0] ? 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.c:81 kernel/locking/mutex.c:91) [ 236.576173][ C0] ? nexthop_net_exit_batch_rtnl (net/ipv4/nexthop.c:585 net/ipv4/nexthop.c:2146 net/ipv4/nexthop.c:2654 net/ipv4/nexthop.c:4004) [ 236.576354][ C0] cleanup_net (net/core/net_namespace.c:625 (discriminator 3)) [ 236.576495][ C0] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5724) [ 236.576636][ C0] ? __pfx_cleanup_net (net/core/net_namespace.c:570) [ 236.576779][ C0] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 236.576925][ C0] ? process_one_work (kernel/workqueue.c:3207) [ 236.577069][ C0] ? lock_acquire (kernel/locking/lockdep.c:5732) [ 236.577212][ C0] ? process_one_work (kernel/workqueue.c:3207) [ 236.577353][ C0] process_one_work (kernel/workqueue.c:3231) [ 236.577499][ C0] ? __pfx___lock_release (kernel/locking/lockdep.c:5411) [ 236.577641][ C0] ? __pfx_process_one_work (kernel/workqueue.c:3133) [ 236.577784][ C0] ? assign_work (kernel/workqueue.c:1202) [ 236.577931][ C0] worker_thread (kernel/workqueue.c:3306 kernel/workqueue.c:3390) [ 236.578073][ C0] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4299 kernel/locking/lockdep.c:4358) [ 236.578246][ C0] ? __pfx_worker_thread (kernel/workqueue.c:3339) [ 236.578387][ C0] ? __pfx_worker_thread (kernel/workqueue.c:3339) [ 236.578531][ C0] kthread (kernel/kthread.c:389) [ 236.578642][ C0] ? __pfx_kthread (kernel/kthread.c:342) [ 236.578774][ C0] ret_from_fork (arch/x86/kernel/process.c:147) [ 236.578916][ C0] ? __pfx_kthread (kernel/kthread.c:342) Finger prints: do_raw_spin_unlock:_raw_spin_unlock:net_tx_action:handle_softirqs:do_softirq