[ 9.376299][ T10] dummy0: entered promiscuous mode [ 9.376354][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.376356][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 9.376358][ T10] preempt_count: 1, expected: 0 [ 9.376359][ T10] RCU nest depth: 0, expected: 0 [ 9.376360][ T10] locks held by kworker/0:1/10: 8, last CPU#0: [ 9.376361][ T10] #0: ff11000001151b40 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 9.376374][ T10] #1: ffa00000000a7d10 (netdev_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 9.376377][ T10] #2: ffffffffbc91b740 (rtnl_mutex){+.+.}-{4:4}, at: netdev_work_proc+0x6c/0x690 [ 9.376383][ T10] #3: ff11000009a24e10 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: netdev_work_proc+0x137/0x690 [ 9.376386][ T10] #4: ffffffffbc17ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.376391][ T10] #5: ffffffffbc17de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.376395][ T10] #6: ffffffffbc09d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.376398][ T10] #7: ffffffffbc09d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.376402][ T10] irq event stamp: 6782 [ 9.376403][ T10] hardirqs last enabled at (6781): [] __down_trylock_console_sem+0x86/0xa0 [ 9.376406][ T10] hardirqs last disabled at (6782): [] console_emit_next_record+0x3d4/0x4c0 [ 9.376408][ T10] softirqs last enabled at (6776): [] netif_rx_mode_run+0x673/0xa10 [ 9.376411][ T10] softirqs last disabled at (6762): [] netif_rx_mode_run+0x45d/0xa10 [ 9.376413][ T10] Preemption disabled at: [ 9.376414][ T10] [] vprintk_emit+0x31b/0x3e0 [ 9.376419][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.376422][ T10] Tainted: [W]=WARN [ 9.376423][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.376425][ T10] Workqueue: events netdev_work_proc [ 9.376428][ T10] Call Trace: [ 9.376429][ T10] [ 9.376430][ T10] dump_stack_lvl+0x6f/0xa0 [ 9.376436][ T10] ? vprintk_emit+0x31b/0x3e0 [ 9.376438][ T10] __might_resched.cold+0x1fe/0x2c1 [ 9.376442][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.376446][ T10] ? __kmalloc_noprof+0xdb/0x760 [ 9.376450][ T10] __kmalloc_noprof+0x443/0x760 [ 9.376452][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 9.376459][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 9.376462][ T10] alloc_buf.isra.0+0x4b/0x260 [ 9.376465][ T10] put_chars+0x1e1/0x2f0 [ 9.376467][ T10] ? check_prev_add+0x316/0xe90 [ 9.376470][ T10] ? __send_to_port+0x420/0x420 [ 9.376473][ T10] ? validate_chain+0x34a/0xc20 [ 9.376478][ T10] hvc_console_print+0x292/0x780 [ 9.376486][ T10] ? hvc_write+0x3a0/0x3a0 [ 9.376489][ T10] ? rcu_is_watching+0x16/0xd0 [ 9.376491][ T10] ? lock_acquire+0x13c/0x160 [ 9.376496][ T10] console_emit_next_record+0x22f/0x4c0 [ 9.376499][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 9.376501][ T10] ? console_flush_one_record+0x106/0x710 [ 9.376505][ T10] ? rcu_is_watching+0x16/0xd0 [ 9.376506][ T10] ? lock_acquire+0x13c/0x160 [ 9.376510][ T10] console_flush_one_record+0x46f/0x710 [ 9.376515][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 9.376517][ T10] ? __lock_acquire+0x518/0xc20 [ 9.376522][ T10] console_unlock+0xee/0x1f0 [ 9.376525][ T10] ? console_flush_one_record+0x710/0x710 [ 9.376527][ T10] ? rcu_is_watching+0x16/0xd0 [ 9.376528][ T10] ? lock_acquire+0xe0/0x160 [ 9.376532][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.376534][ T10] ? vprintk_emit+0x320/0x3e0 [ 9.376537][ T10] vprintk_emit+0x37c/0x3e0 [ 9.376540][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 9.376546][ T10] _printk+0xc7/0x100 [ 9.376549][ T10] ? snapshot_read.cold+0x21/0x21 [ 9.376554][ T10] ? netdev_name+0x43/0x60 [ 9.376557][ T10] ? __netdev_printk+0x17f/0x1d0 [ 9.376561][ T10] netdev_info+0xe2/0x116 [ 9.376564][ T10] ? netdev_notice+0x120/0x120 [ 9.376565][ T10] ? __kasan_kmalloc+0x7b/0x90 [ 9.376570][ T10] ? __hw_addr_list_snapshot+0x3f6/0x7d0 [ 9.376571][ T10] ? __hw_addr_insert+0x1e4/0x2c0 [ 9.376573][ T10] ? find_held_lock+0x2b/0x80 [ 9.376579][ T10] __dev_set_promiscuity.cold+0x7a/0x104 [ 9.376582][ T10] netif_rx_mode_run+0x816/0xa10 [ 9.376586][ T10] ? netif_rx_mode_cancel_retry+0x50/0x50 [ 9.376590][ T10] ? ref_tracker_free+0x380/0x870 [ 9.376594][ T10] ? ref_tracker_alloc+0x430/0x430 [ 9.376596][ T10] ? netdev_work_proc+0x24c/0x690 [ 9.376598][ T10] ? ret_from_fork_asm+0x11/0x20 [ 9.376601][ T10] ? find_held_lock+0x2b/0x80 [ 9.376604][ T10] ? __lock_release.isra.0+0x69/0x1a0 [ 9.376606][ T10] ? mark_held_locks+0x40/0x70 [ 9.376611][ T10] netdev_work_proc+0x49b/0x690 [ 9.376613][ T10] ? netdev_work_sched+0x10/0x10 [ 9.376615][ T10] ? rcu_is_watching+0x16/0xd0 [ 9.376617][ T10] ? lock_acquire+0x13c/0x160 [ 9.376619][ T10] ? rcu_is_watching+0x16/0xd0 [ 9.376622][ T10] process_one_work+0xe3e/0x1560 [ 9.376629][ T10] ? __queue_delayed_work+0x470/0x470 [ 9.376632][ T10] ? lock_acquire.part.0+0xd4/0x280 [ 9.376640][ T10] worker_thread+0x4f1/0xd60 [ 9.376644][ T10] ? rescuer_thread+0x1340/0x1340 [ 9.376646][ T10] ? __kthread_parkme+0xbd/0x210 [ 9.376649][ T10] ? rescuer_thread+0x1340/0x1340 [ 9.376652][ T10] ? rescuer_thread+0x1340/0x1340 [ 9.376654][ T10] kthread+0x367/0x460 [ 9.376656][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.376659][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 9.376662][ T10] ret_from_fork+0x474/0x6b0 [ 9.376666][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 9.376669][ T10] ? __switch_to+0x5a3/0xe00 [ 9.376673][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 9.376676][ T10] ret_from_fork_asm+0x11/0x20 [ 9.376684][ T10]