[ 170.398878][ C3] BUG: spinlock bad magic on CPU#3, kworker/u16:1/72 [ 170.399081][ C3] lock: noop_qdisc+0x240/0x300, .magic: 00000000, .owner: kworker/u16:1/72, .owner_cpu: 3 [ 170.399341][ C3] CPU: 3 UID: 0 PID: 72 Comm: kworker/u16:1 Not tainted 6.10.0-virtme #1 [ 170.399532][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 170.399817][ C3] Workqueue: netns cleanup_net [ 170.399963][ C3] Call Trace: [ 170.400082][ C3] [ 170.400156][ C3] dump_stack_lvl+0xb0/0xd0 [ 170.400292][ C3] do_raw_spin_unlock+0x1ac/0x220 [ 170.400433][ C3] _raw_spin_unlock+0x23/0x40 [ 170.400561][ C3] net_tx_action+0x402/0x660 [ 170.400699][ C3] handle_softirqs+0x1f9/0x5c0 [ 170.400837][ C3] ? dev_deactivate_many+0x1e2/0x8d0 [ 170.400979][ C3] do_softirq+0x4d/0xa0 [ 170.401077][ C3] [ 170.401142][ C3] [ 170.401212][ C3] __local_bh_enable_ip+0xf6/0x120 [ 170.401349][ C3] dev_deactivate_many+0x1e7/0x8d0 [ 170.401480][ C3] __dev_close_many+0x12b/0x2d0 [ 170.401608][ C3] ? __pfx___dev_close_many+0x10/0x10 [ 170.401740][ C3] dev_close_many+0x202/0x650 [ 170.401868][ C3] ? lock_acquire.part.0+0xeb/0x330 [ 170.402000][ C3] ? default_device_exit_batch+0x81/0x2d0 [ 170.402136][ C3] ? __pfx_dev_close_many+0x10/0x10 [ 170.402256][ C3] ? __mutex_trylock_common+0xfa/0x260 [ 170.402384][ C3] unregister_netdevice_many_notify+0x8e5/0x1570 [ 170.402548][ C3] ? lock_acquire+0x32/0xc0 [ 170.402681][ C3] ? trace_contention_end+0xeb/0x150 [ 170.402822][ C3] ? __mutex_lock+0x170/0xac0 [ 170.402952][ C3] ? __pfx_unregister_netdevice_many_notify+0x10/0x10 [ 170.403127][ C3] ? mark_lock+0x38/0x3e0 [ 170.403223][ C3] ? mutex_is_locked+0x17/0x50 [ 170.403353][ C3] ? mutex_is_locked+0x17/0x50 [ 170.403478][ C3] ? rtnl_is_locked+0x15/0x20 [ 170.403605][ C3] ? unregister_netdevice_queue+0x70/0x410 [ 170.403769][ C3] ? __pfx_unregister_netdevice_queue+0x10/0x10 [ 170.403931][ C3] default_device_exit_batch+0x234/0x2d0 [ 170.404062][ C3] ? __pfx_default_device_exit_batch+0x10/0x10 [ 170.404223][ C3] ? mutex_is_locked+0x17/0x50 [ 170.404350][ C3] ? nexthop_net_exit_batch_rtnl+0x83/0x210 [ 170.404512][ C3] cleanup_net+0x4ef/0x9d0 [ 170.404645][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 170.404770][ C3] ? __pfx_cleanup_net+0x10/0x10 [ 170.404894][ C3] ? trace_lock_acquire+0x14d/0x1f0 [ 170.405020][ C3] ? process_one_work+0xdf1/0x1670 [ 170.405146][ C3] ? lock_acquire+0x32/0xc0 [ 170.405272][ C3] ? process_one_work+0xdf1/0x1670 [ 170.405404][ C3] process_one_work+0xe3b/0x1670 [ 170.405531][ C3] ? __pfx___lock_release+0x10/0x10 [ 170.405656][ C3] ? __pfx_process_one_work+0x10/0x10 [ 170.405784][ C3] ? assign_work+0x16c/0x240 [ 170.405913][ C3] worker_thread+0x587/0xce0 [ 170.406039][ C3] ? lockdep_hardirqs_on_prepare+0x275/0x410 [ 170.406208][ C3] ? __pfx_worker_thread+0x10/0x10 [ 170.406333][ C3] ? __pfx_worker_thread+0x10/0x10 [ 170.406457][ C3] kthread+0x28a/0x350 [ 170.406554][ C3] ? __pfx_kthread+0x10/0x10 [ 170.406680][ C3] ret_from_fork+0x31/0x70 [ 170.406807][ C3] ? __pfx_kthread+0x10/0x10 [ 170.406931][ C3] ret_from_fork_asm+0x1a/0x30 [ 170.407060][ C3]