[ 9.423663][ T10] dummy0: entered promiscuous mode [ 9.423770][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.423772][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 9.423774][ T10] preempt_count: 1, expected: 0 [ 9.423774][ T10] RCU nest depth: 0, expected: 0 [ 9.423775][ T10] locks held by kworker/0:1/10: 8, last CPU#0: [ 9.423777][ T10] #0: ff11000001151b40 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 9.423790][ T10] #1: ffa00000000a7d10 (netdev_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 9.423793][ T10] #2: ffffffffa651b740 (rtnl_mutex){+.+.}-{4:4}, at: netdev_work_proc+0x6c/0x690 [ 9.423799][ T10] #3: ff11000006391e10 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: netdev_work_proc+0x137/0x690 [ 9.423802][ T10] #4: ffffffffa5d7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.423806][ T10] #5: ffffffffa5d7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.423810][ T10] #6: ffffffffa5c9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.423813][ T10] #7: ffffffffa5c9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.423817][ T10] irq event stamp: 15430 [ 9.423818][ T10] hardirqs last enabled at (15429): [] irqentry_exit+0x21c/0x790 [ 9.423822][ T10] hardirqs last disabled at (15430): [] console_emit_next_record+0x3d4/0x4c0 [ 9.423824][ T10] softirqs last enabled at (15422): [] netif_rx_mode_run+0x673/0xa10 [ 9.423827][ T10] softirqs last disabled at (15408): [] netif_rx_mode_run+0x45d/0xa10 [ 9.423829][ T10] Preemption disabled at: [ 9.423829][ T10] [] vprintk_emit+0x31b/0x3e0 [ 9.423834][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.423838][ T10] Tainted: [W]=WARN [ 9.423838][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.423840][ T10] Workqueue: events netdev_work_proc [ 9.423843][ T10] Call Trace: [ 9.423845][ T10] [ 9.423846][ T10] dump_stack_lvl+0x6f/0xa0 [ 9.423852][ T10] ? vprintk_emit+0x31b/0x3e0 [ 9.423854][ T10] __might_resched.cold+0x1fe/0x2c1 [ 9.423858][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.423862][ T10] ? __kmalloc_noprof+0xdb/0x760 [ 9.423866][ T10] __kmalloc_noprof+0x443/0x760 [ 9.423868][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 9.423875][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 9.423878][ T10] alloc_buf.isra.0+0x4b/0x260 [ 9.423882][ T10] put_chars+0x1e1/0x2f0 [ 9.423883][ T10] ? check_prev_add+0x316/0xe90 [ 9.423886][ T10] ? __send_to_port+0x420/0x420 [ 9.423889][ T10] ? validate_chain+0x34a/0xc20 [ 9.423894][ T10] hvc_console_print+0x292/0x780 [ 9.423902][ T10] ? hvc_write+0x3a0/0x3a0 [ 9.423905][ T10] ? rcu_is_watching+0x16/0xd0 [ 9.423907][ T10] ? lock_acquire+0x13c/0x160 [ 9.423911][ T10] console_emit_next_record+0x22f/0x4c0 [ 9.423915][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 9.423917][ T10] ? console_flush_one_record+0x106/0x710 [ 9.423921][ T10] ? rcu_is_watching+0x16/0xd0 [ 9.423922][ T10] ? lock_acquire+0x13c/0x160 [ 9.423926][ T10] console_flush_one_record+0x46f/0x710 [ 9.423931][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 9.423932][ T10] ? __lock_acquire+0x518/0xc20 [ 9.423934][ T10] ? write_ibpb+0xb/0x30 [ 9.423940][ T10] console_unlock+0xee/0x1f0 [ 9.423943][ T10] ? console_flush_one_record+0x710/0x710 [ 9.423945][ T10] ? rcu_is_watching+0x16/0xd0 [ 9.423947][ T10] ? lock_acquire+0xe0/0x160 [ 9.423951][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.423953][ T10] ? vprintk_emit+0x320/0x3e0 [ 9.423956][ T10] vprintk_emit+0x37c/0x3e0 [ 9.423959][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 9.423964][ T10] _printk+0xc7/0x100 [ 9.423968][ T10] ? snapshot_read.cold+0x21/0x21 [ 9.423972][ T10] ? netdev_name+0x43/0x60 [ 9.423976][ T10] ? __netdev_printk+0x17f/0x1d0 [ 9.423980][ T10] netdev_info+0xe2/0x116 [ 9.423982][ T10] ? netdev_notice+0x120/0x120 [ 9.423988][ T10] ? __kasan_kmalloc+0x7b/0x90 [ 9.423992][ T10] ? __hw_addr_list_snapshot+0x3f6/0x7d0 [ 9.423994][ T10] ? __hw_addr_insert+0x1e4/0x2c0 [ 9.423996][ T10] ? find_held_lock+0x2b/0x80 [ 9.424001][ T10] __dev_set_promiscuity.cold+0x7a/0x104 [ 9.424004][ T10] netif_rx_mode_run+0x816/0xa10 [ 9.424009][ T10] ? netif_rx_mode_cancel_retry+0x50/0x50 [ 9.424012][ T10] ? ref_tracker_free+0x380/0x870 [ 9.424016][ T10] ? ref_tracker_alloc+0x430/0x430 [ 9.424018][ T10] ? netdev_work_proc+0x24c/0x690 [ 9.424021][ T10] ? ret_from_fork_asm+0x11/0x20 [ 9.424023][ T10] ? find_held_lock+0x2b/0x80 [ 9.424026][ T10] ? __lock_release.isra.0+0x69/0x1a0 [ 9.424028][ T10] ? mark_held_locks+0x40/0x70 [ 9.424033][ T10] netdev_work_proc+0x49b/0x690 [ 9.424035][ T10] ? netdev_work_sched+0x10/0x10 [ 9.424037][ T10] ? rcu_is_watching+0x16/0xd0 [ 9.424039][ T10] ? lock_acquire+0x13c/0x160 [ 9.424040][ T10] ? rcu_is_watching+0x16/0xd0 [ 9.424044][ T10] process_one_work+0xe3e/0x1560 [ 9.424050][ T10] ? __queue_delayed_work+0x470/0x470 [ 9.424053][ T10] ? lock_acquire.part.0+0xd4/0x280 [ 9.424061][ T10] worker_thread+0x4f1/0xd60 [ 9.424065][ T10] ? rescuer_thread+0x1340/0x1340 [ 9.424067][ T10] ? __kthread_parkme+0xbd/0x210 [ 9.424070][ T10] ? rescuer_thread+0x1340/0x1340 [ 9.424073][ T10] ? rescuer_thread+0x1340/0x1340 [ 9.424075][ T10] kthread+0x367/0x460 [ 9.424078][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.424081][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 9.424084][ T10] ret_from_fork+0x474/0x6b0 [ 9.424088][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 9.424092][ T10] ? __switch_to+0x5a3/0xe00 [ 9.424095][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 9.424098][ T10] ret_from_fork_asm+0x11/0x20 [ 9.424106][ T10]