[ 9.314688][ T67] dummy0: entered promiscuous mode [ 9.314739][ T67] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.314741][ T67] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 67, name: kworker/2:2 [ 9.314742][ T67] preempt_count: 1, expected: 0 [ 9.314743][ T67] RCU nest depth: 0, expected: 0 [ 9.314744][ T67] locks held by kworker/2:2/67: 8, last CPU#2: [ 9.314746][ T67] #0: ff11000001151b40 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 9.314759][ T67] #1: ffa0000000487d10 (netdev_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 9.314762][ T67] #2: ffffffffa4b1b740 (rtnl_mutex){+.+.}-{4:4}, at: netdev_work_proc+0x6c/0x690 [ 9.314768][ T67] #3: ff110000105a9e10 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: netdev_work_proc+0x137/0x690 [ 9.314771][ T67] #4: ffffffffa437ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.314775][ T67] #5: ffffffffa437de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.314779][ T67] #6: ffffffffa429d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.314782][ T67] #7: ffffffffa429d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.314786][ T67] irq event stamp: 2560 [ 9.314787][ T67] hardirqs last enabled at (2559): [] __down_trylock_console_sem+0x86/0xa0 [ 9.314790][ T67] hardirqs last disabled at (2560): [] console_emit_next_record+0x3d4/0x4c0 [ 9.314792][ T67] softirqs last enabled at (2554): [] netif_rx_mode_run+0x673/0xa10 [ 9.314795][ T67] softirqs last disabled at (2536): [] netif_rx_mode_run+0x45d/0xa10 [ 9.314802][ T67] Preemption disabled at: [ 9.314803][ T67] [] vprintk_emit+0x31b/0x3e0 [ 9.314808][ T67] CPU: 2 UID: 0 PID: 67 Comm: kworker/2:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.314811][ T67] Tainted: [W]=WARN [ 9.314813][ T67] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.314814][ T67] Workqueue: events netdev_work_proc [ 9.314817][ T67] Call Trace: [ 9.314819][ T67] [ 9.314820][ T67] dump_stack_lvl+0x6f/0xa0 [ 9.314826][ T67] ? vprintk_emit+0x31b/0x3e0 [ 9.314827][ T67] __might_resched.cold+0x1fe/0x2c1 [ 9.314832][ T67] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.314836][ T67] ? __kmalloc_noprof+0xdb/0x760 [ 9.314841][ T67] __kmalloc_noprof+0x443/0x760 [ 9.314842][ T67] ? alloc_buf.isra.0+0x4b/0x260 [ 9.314849][ T67] ? do_raw_spin_unlock+0x59/0x250 [ 9.314852][ T67] alloc_buf.isra.0+0x4b/0x260 [ 9.314855][ T67] put_chars+0x1e1/0x2f0 [ 9.314857][ T67] ? check_prev_add+0x316/0xe90 [ 9.314860][ T67] ? __send_to_port+0x420/0x420 [ 9.314863][ T67] ? validate_chain+0x34a/0xc20 [ 9.314867][ T67] hvc_console_print+0x292/0x780 [ 9.314875][ T67] ? hvc_write+0x3a0/0x3a0 [ 9.314878][ T67] ? rcu_is_watching+0x16/0xd0 [ 9.314881][ T67] ? lock_acquire+0x13c/0x160 [ 9.314885][ T67] console_emit_next_record+0x22f/0x4c0 [ 9.314889][ T67] ? devkmsg_read+0x4b0/0x4b0 [ 9.314890][ T67] ? console_flush_one_record+0x106/0x710 [ 9.314894][ T67] ? rcu_is_watching+0x16/0xd0 [ 9.314895][ T67] ? lock_acquire+0x13c/0x160 [ 9.314899][ T67] console_flush_one_record+0x46f/0x710 [ 9.314904][ T67] ? console_emit_next_record+0x4c0/0x4c0 [ 9.314906][ T67] ? __lock_acquire+0x518/0xc20 [ 9.314911][ T67] console_unlock+0xee/0x1f0 [ 9.314914][ T67] ? console_flush_one_record+0x710/0x710 [ 9.314916][ T67] ? rcu_is_watching+0x16/0xd0 [ 9.314917][ T67] ? lock_acquire+0xe0/0x160 [ 9.314921][ T67] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.314923][ T67] ? vprintk_emit+0x320/0x3e0 [ 9.314925][ T67] vprintk_emit+0x37c/0x3e0 [ 9.314929][ T67] ? wake_up_klogd_work_func+0x90/0x90 [ 9.314934][ T67] _printk+0xc7/0x100 [ 9.314938][ T67] ? snapshot_read.cold+0x21/0x21 [ 9.314942][ T67] ? netdev_name+0x43/0x60 [ 9.314946][ T67] ? __netdev_printk+0x17f/0x1d0 [ 9.314950][ T67] netdev_info+0xe2/0x116 [ 9.314952][ T67] ? netdev_notice+0x120/0x120 [ 9.314954][ T67] ? __kasan_kmalloc+0x7b/0x90 [ 9.314958][ T67] ? __hw_addr_list_snapshot+0x3f6/0x7d0 [ 9.314960][ T67] ? __hw_addr_insert+0x1e4/0x2c0 [ 9.314962][ T67] ? find_held_lock+0x2b/0x80 [ 9.314967][ T67] __dev_set_promiscuity.cold+0x7a/0x104 [ 9.314970][ T67] netif_rx_mode_run+0x816/0xa10 [ 9.314975][ T67] ? netif_rx_mode_cancel_retry+0x50/0x50 [ 9.314978][ T67] ? ref_tracker_free+0x380/0x870 [ 9.314982][ T67] ? ref_tracker_alloc+0x430/0x430 [ 9.314984][ T67] ? netdev_work_proc+0x24c/0x690 [ 9.314986][ T67] ? ret_from_fork_asm+0x11/0x20 [ 9.314989][ T67] ? find_held_lock+0x2b/0x80 [ 9.314992][ T67] ? __lock_release.isra.0+0x69/0x1a0 [ 9.314994][ T67] ? mark_held_locks+0x40/0x70 [ 9.314999][ T67] netdev_work_proc+0x49b/0x690 [ 9.315001][ T67] ? netdev_work_sched+0x10/0x10 [ 9.315003][ T67] ? rcu_is_watching+0x16/0xd0 [ 9.315005][ T67] ? lock_acquire+0x13c/0x160 [ 9.315007][ T67] ? rcu_is_watching+0x16/0xd0 [ 9.315010][ T67] process_one_work+0xe3e/0x1560 [ 9.315017][ T67] ? __queue_delayed_work+0x470/0x470 [ 9.315020][ T67] ? lock_acquire.part.0+0xd4/0x280 [ 9.315027][ T67] worker_thread+0x4f1/0xd60 [ 9.315032][ T67] ? rescuer_thread+0x1340/0x1340 [ 9.315034][ T67] ? __kthread_parkme+0xbd/0x210 [ 9.315037][ T67] ? rescuer_thread+0x1340/0x1340 [ 9.315040][ T67] ? rescuer_thread+0x1340/0x1340 [ 9.315042][ T67] kthread+0x367/0x460 [ 9.315044][ T67] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.315047][ T67] ? kthread_affine_preferred+0x4c0/0x4c0 [ 9.315050][ T67] ret_from_fork+0x474/0x6b0 [ 9.315055][ T67] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 9.315058][ T67] ? __switch_to+0x5a3/0xe00 [ 9.315061][ T67] ? kthread_affine_preferred+0x4c0/0x4c0 [ 9.315064][ T67] ret_from_fork_asm+0x11/0x20 [ 9.315072][ T67]