[ 11.226000][ T9] dummy0: entered promiscuous mode [ 11.226051][ T9] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.226053][ T9] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 9, name: kworker/0:0 [ 11.226055][ T9] preempt_count: 1, expected: 0 [ 11.226056][ T9] RCU nest depth: 0, expected: 0 [ 11.226057][ T9] locks held by kworker/0:0/9: 8, last CPU#0: [ 11.226059][ T9] #0: ff11000001151b40 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 11.226071][ T9] #1: ffa0000000097d10 (netdev_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 11.226075][ T9] #2: ffffffff9a11b740 (rtnl_mutex){+.+.}-{4:4}, at: netdev_work_proc+0x6c/0x690 [ 11.226081][ T9] #3: ff1100000559ce10 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: netdev_work_proc+0x137/0x690 [ 11.226084][ T9] #4: ffffffff9997ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.226089][ T9] #5: ffffffff9997de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.226093][ T9] #6: ffffffff9989d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.226096][ T9] #7: ffffffff9989d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.226100][ T9] irq event stamp: 12242 [ 11.226101][ T9] hardirqs last enabled at (12241): [] __down_trylock_console_sem+0x86/0xa0 [ 11.226104][ T9] hardirqs last disabled at (12242): [] console_emit_next_record+0x3d4/0x4c0 [ 11.226106][ T9] softirqs last enabled at (12236): [] netif_rx_mode_run+0x673/0xa10 [ 11.226109][ T9] softirqs last disabled at (12222): [] netif_rx_mode_run+0x45d/0xa10 [ 11.226111][ T9] Preemption disabled at: [ 11.226112][ T9] [] vprintk_emit+0x31b/0x3e0 [ 11.226117][ T9] CPU: 0 UID: 0 PID: 9 Comm: kworker/0:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.226121][ T9] Tainted: [W]=WARN [ 11.226122][ T9] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.226123][ T9] Workqueue: events netdev_work_proc [ 11.226127][ T9] Call Trace: [ 11.226128][ T9] [ 11.226130][ T9] dump_stack_lvl+0x6f/0xa0 [ 11.226136][ T9] ? vprintk_emit+0x31b/0x3e0 [ 11.226138][ T9] __might_resched.cold+0x1fe/0x2c1 [ 11.226142][ T9] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.226146][ T9] ? __kmalloc_noprof+0xdb/0x760 [ 11.226151][ T9] __kmalloc_noprof+0x443/0x760 [ 11.226153][ T9] ? alloc_buf.isra.0+0x4b/0x260 [ 11.226160][ T9] ? do_raw_spin_unlock+0x59/0x250 [ 11.226162][ T9] alloc_buf.isra.0+0x4b/0x260 [ 11.226166][ T9] put_chars+0x1e1/0x2f0 [ 11.226168][ T9] ? check_prev_add+0x316/0xe90 [ 11.226170][ T9] ? __send_to_port+0x420/0x420 [ 11.226173][ T9] ? validate_chain+0x34a/0xc20 [ 11.226178][ T9] hvc_console_print+0x292/0x780 [ 11.226186][ T9] ? hvc_write+0x3a0/0x3a0 [ 11.226189][ T9] ? rcu_is_watching+0x16/0xd0 [ 11.226192][ T9] ? lock_acquire+0x13c/0x160 [ 11.226196][ T9] console_emit_next_record+0x22f/0x4c0 [ 11.226200][ T9] ? devkmsg_read+0x4b0/0x4b0 [ 11.226202][ T9] ? console_flush_one_record+0x106/0x710 [ 11.226205][ T9] ? rcu_is_watching+0x16/0xd0 [ 11.226207][ T9] ? lock_acquire+0x13c/0x160 [ 11.226212][ T9] console_flush_one_record+0x46f/0x710 [ 11.226216][ T9] ? console_emit_next_record+0x4c0/0x4c0 [ 11.226218][ T9] ? __lock_acquire+0x518/0xc20 [ 11.226223][ T9] console_unlock+0xee/0x1f0 [ 11.226226][ T9] ? console_flush_one_record+0x710/0x710 [ 11.226228][ T9] ? rcu_is_watching+0x16/0xd0 [ 11.226230][ T9] ? lock_acquire+0xe0/0x160 [ 11.226233][ T9] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.226235][ T9] ? vprintk_emit+0x320/0x3e0 [ 11.226238][ T9] vprintk_emit+0x37c/0x3e0 [ 11.226241][ T9] ? wake_up_klogd_work_func+0x90/0x90 [ 11.226247][ T9] _printk+0xc7/0x100 [ 11.226250][ T9] ? snapshot_read.cold+0x21/0x21 [ 11.226255][ T9] ? netdev_name+0x43/0x60 [ 11.226259][ T9] ? __netdev_printk+0x17f/0x1d0 [ 11.226262][ T9] netdev_info+0xe2/0x116 [ 11.226265][ T9] ? netdev_notice+0x120/0x120 [ 11.226267][ T9] ? __kasan_kmalloc+0x7b/0x90 [ 11.226271][ T9] ? __hw_addr_list_snapshot+0x3f6/0x7d0 [ 11.226273][ T9] ? __hw_addr_insert+0x1e4/0x2c0 [ 11.226275][ T9] ? find_held_lock+0x2b/0x80 [ 11.226280][ T9] __dev_set_promiscuity.cold+0x7a/0x104 [ 11.226283][ T9] netif_rx_mode_run+0x816/0xa10 [ 11.226288][ T9] ? netif_rx_mode_cancel_retry+0x50/0x50 [ 11.226291][ T9] ? ref_tracker_free+0x380/0x870 [ 11.226296][ T9] ? ref_tracker_alloc+0x430/0x430 [ 11.226297][ T9] ? netdev_work_proc+0x24c/0x690 [ 11.226300][ T9] ? ret_from_fork_asm+0x11/0x20 [ 11.226303][ T9] ? find_held_lock+0x2b/0x80 [ 11.226305][ T9] ? __lock_release.isra.0+0x69/0x1a0 [ 11.226308][ T9] ? mark_held_locks+0x40/0x70 [ 11.226312][ T9] netdev_work_proc+0x49b/0x690 [ 11.226315][ T9] ? netdev_work_sched+0x10/0x10 [ 11.226317][ T9] ? rcu_is_watching+0x16/0xd0 [ 11.226319][ T9] ? lock_acquire+0x13c/0x160 [ 11.226320][ T9] ? rcu_is_watching+0x16/0xd0 [ 11.226324][ T9] process_one_work+0xe3e/0x1560 [ 11.226331][ T9] ? __queue_delayed_work+0x470/0x470 [ 11.226334][ T9] ? lock_acquire.part.0+0xd4/0x280 [ 11.226342][ T9] worker_thread+0x4f1/0xd60 [ 11.226349][ T9] ? rescuer_thread+0x1340/0x1340 [ 11.226351][ T9] kthread+0x367/0x460 [ 11.226353][ T9] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.226357][ T9] ? kthread_affine_preferred+0x4c0/0x4c0 [ 11.226360][ T9] ret_from_fork+0x474/0x6b0 [ 11.226364][ T9] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 11.226368][ T9] ? __switch_to+0x5a3/0xe00 [ 11.226371][ T9] ? kthread_affine_preferred+0x4c0/0x4c0 [ 11.226374][ T9] ret_from_fork_asm+0x11/0x20 [ 11.226382][ T9]