[ 11.360142][ T66] dummy0: entered promiscuous mode [ 11.360233][ T66] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.360235][ T66] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 66, name: kworker/2:2 [ 11.360237][ T66] preempt_count: 1, expected: 0 [ 11.360237][ T66] RCU nest depth: 0, expected: 0 [ 11.360238][ T66] locks held by kworker/2:2/66: 8, last CPU#2: [ 11.360241][ T66] #0: ff11000001151b40 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 11.360253][ T66] #1: ffa0000000477d10 (netdev_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 11.360257][ T66] #2: ffffffffaf51b740 (rtnl_mutex){+.+.}-{4:4}, at: netdev_work_proc+0x6c/0x690 [ 11.360262][ T66] #3: ff11000010f8ce10 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: netdev_work_proc+0x137/0x690 [ 11.360266][ T66] #4: ffffffffaed7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.360270][ T66] #5: ffffffffaed7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.360274][ T66] #6: ffffffffaec9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.360278][ T66] #7: ffffffffaec9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.360282][ T66] irq event stamp: 11764 [ 11.360283][ T66] hardirqs last enabled at (11763): [] irqentry_exit+0x21c/0x790 [ 11.360287][ T66] hardirqs last disabled at (11764): [] console_emit_next_record+0x3d4/0x4c0 [ 11.360289][ T66] softirqs last enabled at (11756): [] netif_rx_mode_run+0x673/0xa10 [ 11.360292][ T66] softirqs last disabled at (11742): [] netif_rx_mode_run+0x45d/0xa10 [ 11.360294][ T66] Preemption disabled at: [ 11.360294][ T66] [] vprintk_emit+0x31b/0x3e0 [ 11.360299][ T66] CPU: 2 UID: 0 PID: 66 Comm: kworker/2:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.360303][ T66] Tainted: [W]=WARN [ 11.360304][ T66] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.360305][ T66] Workqueue: events netdev_work_proc [ 11.360308][ T66] Call Trace: [ 11.360310][ T66] [ 11.360312][ T66] dump_stack_lvl+0x6f/0xa0 [ 11.360318][ T66] ? vprintk_emit+0x31b/0x3e0 [ 11.360319][ T66] __might_resched.cold+0x1fe/0x2c1 [ 11.360323][ T66] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.360328][ T66] ? __kmalloc_noprof+0xdb/0x760 [ 11.360332][ T66] __kmalloc_noprof+0x443/0x760 [ 11.360334][ T66] ? alloc_buf.isra.0+0x4b/0x260 [ 11.360344][ T66] ? do_raw_spin_unlock+0x59/0x250 [ 11.360348][ T66] alloc_buf.isra.0+0x4b/0x260 [ 11.360352][ T66] put_chars+0x1e1/0x2f0 [ 11.360354][ T66] ? check_prev_add+0x316/0xe90 [ 11.360356][ T66] ? __send_to_port+0x420/0x420 [ 11.360359][ T66] ? validate_chain+0x34a/0xc20 [ 11.360364][ T66] hvc_console_print+0x292/0x780 [ 11.360372][ T66] ? hvc_write+0x3a0/0x3a0 [ 11.360375][ T66] ? rcu_is_watching+0x16/0xd0 [ 11.360378][ T66] ? lock_acquire+0x13c/0x160 [ 11.360382][ T66] console_emit_next_record+0x22f/0x4c0 [ 11.360386][ T66] ? devkmsg_read+0x4b0/0x4b0 [ 11.360388][ T66] ? console_flush_one_record+0x106/0x710 [ 11.360391][ T66] ? rcu_is_watching+0x16/0xd0 [ 11.360393][ T66] ? lock_acquire+0x13c/0x160 [ 11.360397][ T66] console_flush_one_record+0x46f/0x710 [ 11.360401][ T66] ? console_emit_next_record+0x4c0/0x4c0 [ 11.360403][ T66] ? __lock_acquire+0x518/0xc20 [ 11.360409][ T66] console_unlock+0xee/0x1f0 [ 11.360412][ T66] ? console_flush_one_record+0x710/0x710 [ 11.360414][ T66] ? rcu_is_watching+0x16/0xd0 [ 11.360416][ T66] ? lock_acquire+0xe0/0x160 [ 11.360419][ T66] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.360421][ T66] ? vprintk_emit+0x320/0x3e0 [ 11.360424][ T66] vprintk_emit+0x37c/0x3e0 [ 11.360427][ T66] ? wake_up_klogd_work_func+0x90/0x90 [ 11.360433][ T66] _printk+0xc7/0x100 [ 11.360436][ T66] ? snapshot_read.cold+0x21/0x21 [ 11.360441][ T66] ? netdev_name+0x43/0x60 [ 11.360445][ T66] ? __netdev_printk+0x17f/0x1d0 [ 11.360449][ T66] netdev_info+0xe2/0x116 [ 11.360451][ T66] ? netdev_notice+0x120/0x120 [ 11.360453][ T66] ? __kasan_kmalloc+0x7b/0x90 [ 11.360458][ T66] ? __hw_addr_list_snapshot+0x3f6/0x7d0 [ 11.360459][ T66] ? __hw_addr_insert+0x1e4/0x2c0 [ 11.360461][ T66] ? find_held_lock+0x2b/0x80 [ 11.360466][ T66] __dev_set_promiscuity.cold+0x7a/0x104 [ 11.360470][ T66] netif_rx_mode_run+0x816/0xa10 [ 11.360474][ T66] ? netif_rx_mode_cancel_retry+0x50/0x50 [ 11.360477][ T66] ? ref_tracker_free+0x380/0x870 [ 11.360482][ T66] ? ref_tracker_alloc+0x430/0x430 [ 11.360484][ T66] ? netdev_work_proc+0x24c/0x690 [ 11.360486][ T66] ? ret_from_fork_asm+0x11/0x20 [ 11.360489][ T66] ? find_held_lock+0x2b/0x80 [ 11.360492][ T66] ? __lock_release.isra.0+0x69/0x1a0 [ 11.360494][ T66] ? mark_held_locks+0x40/0x70 [ 11.360499][ T66] netdev_work_proc+0x49b/0x690 [ 11.360501][ T66] ? netdev_work_sched+0x10/0x10 [ 11.360503][ T66] ? rcu_is_watching+0x16/0xd0 [ 11.360505][ T66] ? lock_acquire+0x13c/0x160 [ 11.360507][ T66] ? rcu_is_watching+0x16/0xd0 [ 11.360510][ T66] process_one_work+0xe3e/0x1560 [ 11.360517][ T66] ? __queue_delayed_work+0x470/0x470 [ 11.360520][ T66] ? lock_acquire.part.0+0xd4/0x280 [ 11.360528][ T66] worker_thread+0x4f1/0xd60 [ 11.360532][ T66] ? rescuer_thread+0x1340/0x1340 [ 11.360535][ T66] ? __kthread_parkme+0xbd/0x210 [ 11.360537][ T66] ? rescuer_thread+0x1340/0x1340 [ 11.360540][ T66] ? rescuer_thread+0x1340/0x1340 [ 11.360542][ T66] kthread+0x367/0x460 [ 11.360545][ T66] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.360548][ T66] ? kthread_affine_preferred+0x4c0/0x4c0 [ 11.360551][ T66] ret_from_fork+0x474/0x6b0 [ 11.360555][ T66] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 11.360558][ T66] ? __switch_to+0x5a3/0xe00 [ 11.360562][ T66] ? kthread_affine_preferred+0x4c0/0x4c0 [ 11.360565][ T66] ret_from_fork_asm+0x11/0x20 [ 11.360573][ T66]