[ 10.725591][ T10] dummy0: entered promiscuous mode [ 10.725657][ T10] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.725659][ T10] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 [ 10.725661][ T10] preempt_count: 1, expected: 0 [ 10.725662][ T10] RCU nest depth: 0, expected: 0 [ 10.725663][ T10] locks held by kworker/0:1/10: 8, last CPU#0: [ 10.725665][ T10] #0: ff11000001151b40 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 10.725678][ T10] #1: ffa00000000a7d10 (netdev_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 10.725682][ T10] #2: ffffffff8e51b740 (rtnl_mutex){+.+.}-{4:4}, at: netdev_work_proc+0x6c/0x690 [ 10.725688][ T10] #3: ff1100000f6d4e10 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: netdev_work_proc+0x137/0x690 [ 10.725692][ T10] #4: ffffffff8dd7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.725696][ T10] #5: ffffffff8dd7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.725700][ T10] #6: ffffffff8dc9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.725712][ T10] #7: ffffffff8dc9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.725716][ T10] irq event stamp: 5560 [ 10.725717][ T10] hardirqs last enabled at (5559): [] __down_trylock_console_sem+0x86/0xa0 [ 10.725720][ T10] hardirqs last disabled at (5560): [] console_emit_next_record+0x3d4/0x4c0 [ 10.725722][ T10] softirqs last enabled at (5554): [] netif_rx_mode_run+0x673/0xa10 [ 10.725725][ T10] softirqs last disabled at (5540): [] netif_rx_mode_run+0x45d/0xa10 [ 10.725728][ T10] Preemption disabled at: [ 10.725728][ T10] [] vprintk_emit+0x31b/0x3e0 [ 10.725733][ T10] CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.725737][ T10] Tainted: [W]=WARN [ 10.725738][ T10] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.725740][ T10] Workqueue: events netdev_work_proc [ 10.725743][ T10] Call Trace: [ 10.725744][ T10] [ 10.725746][ T10] dump_stack_lvl+0x6f/0xa0 [ 10.725752][ T10] ? vprintk_emit+0x31b/0x3e0 [ 10.725754][ T10] __might_resched.cold+0x1fe/0x2c1 [ 10.725761][ T10] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.725766][ T10] ? __kmalloc_noprof+0xdb/0x760 [ 10.725772][ T10] __kmalloc_noprof+0x443/0x760 [ 10.725774][ T10] ? alloc_buf.isra.0+0x4b/0x260 [ 10.725781][ T10] ? do_raw_spin_unlock+0x59/0x250 [ 10.725784][ T10] alloc_buf.isra.0+0x4b/0x260 [ 10.725788][ T10] put_chars+0x1e1/0x2f0 [ 10.725789][ T10] ? check_prev_add+0x316/0xe90 [ 10.725792][ T10] ? __send_to_port+0x420/0x420 [ 10.725795][ T10] ? validate_chain+0x34a/0xc20 [ 10.725801][ T10] hvc_console_print+0x292/0x780 [ 10.725809][ T10] ? hvc_write+0x3a0/0x3a0 [ 10.725812][ T10] ? rcu_is_watching+0x16/0xd0 [ 10.725815][ T10] ? lock_acquire+0x13c/0x160 [ 10.725819][ T10] console_emit_next_record+0x22f/0x4c0 [ 10.725823][ T10] ? devkmsg_read+0x4b0/0x4b0 [ 10.725825][ T10] ? console_flush_one_record+0x106/0x710 [ 10.725829][ T10] ? rcu_is_watching+0x16/0xd0 [ 10.725830][ T10] ? lock_acquire+0x13c/0x160 [ 10.725835][ T10] console_flush_one_record+0x46f/0x710 [ 10.725839][ T10] ? console_emit_next_record+0x4c0/0x4c0 [ 10.725841][ T10] ? __lock_acquire+0x518/0xc20 [ 10.725847][ T10] console_unlock+0xee/0x1f0 [ 10.725850][ T10] ? console_flush_one_record+0x710/0x710 [ 10.725852][ T10] ? rcu_is_watching+0x16/0xd0 [ 10.725854][ T10] ? lock_acquire+0xe0/0x160 [ 10.725858][ T10] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.725860][ T10] ? vprintk_emit+0x320/0x3e0 [ 10.725863][ T10] vprintk_emit+0x37c/0x3e0 [ 10.725866][ T10] ? wake_up_klogd_work_func+0x90/0x90 [ 10.725872][ T10] _printk+0xc7/0x100 [ 10.725875][ T10] ? snapshot_read.cold+0x21/0x21 [ 10.725880][ T10] ? netdev_name+0x43/0x60 [ 10.725884][ T10] ? __netdev_printk+0x17f/0x1d0 [ 10.725888][ T10] netdev_info+0xe2/0x116 [ 10.725891][ T10] ? netdev_notice+0x120/0x120 [ 10.725893][ T10] ? __kasan_kmalloc+0x7b/0x90 [ 10.725897][ T10] ? __hw_addr_list_snapshot+0x3f6/0x7d0 [ 10.725899][ T10] ? __hw_addr_insert+0x1e4/0x2c0 [ 10.725901][ T10] ? find_held_lock+0x2b/0x80 [ 10.725908][ T10] __dev_set_promiscuity.cold+0x7a/0x104 [ 10.725911][ T10] netif_rx_mode_run+0x816/0xa10 [ 10.725916][ T10] ? netif_rx_mode_cancel_retry+0x50/0x50 [ 10.725920][ T10] ? ref_tracker_free+0x380/0x870 [ 10.725924][ T10] ? ref_tracker_alloc+0x430/0x430 [ 10.725926][ T10] ? netdev_work_proc+0x24c/0x690 [ 10.725929][ T10] ? ret_from_fork_asm+0x11/0x20 [ 10.725931][ T10] ? find_held_lock+0x2b/0x80 [ 10.725934][ T10] ? __lock_release.isra.0+0x69/0x1a0 [ 10.725937][ T10] ? mark_held_locks+0x40/0x70 [ 10.725942][ T10] netdev_work_proc+0x49b/0x690 [ 10.725945][ T10] ? netdev_work_sched+0x10/0x10 [ 10.725947][ T10] ? rcu_is_watching+0x16/0xd0 [ 10.725948][ T10] ? lock_acquire+0x13c/0x160 [ 10.725950][ T10] ? rcu_is_watching+0x16/0xd0 [ 10.725954][ T10] process_one_work+0xe3e/0x1560 [ 10.725961][ T10] ? __queue_delayed_work+0x470/0x470 [ 10.725964][ T10] ? lock_acquire.part.0+0xd4/0x280 [ 10.725972][ T10] worker_thread+0x4f1/0xd60 [ 10.725977][ T10] ? rescuer_thread+0x1340/0x1340 [ 10.725979][ T10] ? __kthread_parkme+0xbd/0x210 [ 10.725982][ T10] ? rescuer_thread+0x1340/0x1340 [ 10.725985][ T10] ? rescuer_thread+0x1340/0x1340 [ 10.725987][ T10] kthread+0x367/0x460 [ 10.725989][ T10] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.725993][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 10.725996][ T10] ret_from_fork+0x474/0x6b0 [ 10.726000][ T10] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 10.726004][ T10] ? __switch_to+0x5a3/0xe00 [ 10.726007][ T10] ? kthread_affine_preferred+0x4c0/0x4c0 [ 10.726010][ T10] ret_from_fork_asm+0x11/0x20 [ 10.726019][ T10]