[ 9.625498][ T57] dummy0: entered promiscuous mode [ 9.625560][ T57] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.625563][ T57] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 57, name: kworker/3:1 [ 9.625564][ T57] preempt_count: 1, expected: 0 [ 9.625565][ T57] RCU nest depth: 0, expected: 0 [ 9.625566][ T57] locks held by kworker/3:1/57: 8, last CPU#3: [ 9.625568][ T57] #0: ff11000001151b40 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 9.625580][ T57] #1: ffa00000003dfd10 (netdev_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 9.625584][ T57] #2: ffffffff98b1b740 (rtnl_mutex){+.+.}-{4:4}, at: netdev_work_proc+0x6c/0x690 [ 9.625590][ T57] #3: ff1100000632ce10 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: netdev_work_proc+0x137/0x690 [ 9.625593][ T57] #4: ffffffff9837ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.625598][ T57] #5: ffffffff9837de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.625602][ T57] #6: ffffffff9829d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.625605][ T57] #7: ffffffff9829d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.625609][ T57] irq event stamp: 12654 [ 9.625610][ T57] hardirqs last enabled at (12653): [] __down_trylock_console_sem+0x86/0xa0 [ 9.625614][ T57] hardirqs last disabled at (12654): [] console_emit_next_record+0x3d4/0x4c0 [ 9.625616][ T57] softirqs last enabled at (12648): [] netif_rx_mode_run+0x673/0xa10 [ 9.625619][ T57] softirqs last disabled at (12634): [] netif_rx_mode_run+0x45d/0xa10 [ 9.625621][ T57] Preemption disabled at: [ 9.625622][ T57] [] vprintk_emit+0x31b/0x3e0 [ 9.625626][ T57] CPU: 3 UID: 0 PID: 57 Comm: kworker/3:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.625630][ T57] Tainted: [W]=WARN [ 9.625631][ T57] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.625632][ T57] Workqueue: events netdev_work_proc [ 9.625635][ T57] Call Trace: [ 9.625637][ T57] [ 9.625638][ T57] dump_stack_lvl+0x6f/0xa0 [ 9.625645][ T57] ? vprintk_emit+0x31b/0x3e0 [ 9.625646][ T57] __might_resched.cold+0x1fe/0x2c1 [ 9.625651][ T57] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.625655][ T57] ? __kmalloc_noprof+0xdb/0x760 [ 9.625659][ T57] __kmalloc_noprof+0x443/0x760 [ 9.625661][ T57] ? alloc_buf.isra.0+0x4b/0x260 [ 9.625668][ T57] ? do_raw_spin_unlock+0x59/0x250 [ 9.625670][ T57] alloc_buf.isra.0+0x4b/0x260 [ 9.625674][ T57] put_chars+0x1e1/0x2f0 [ 9.625675][ T57] ? check_prev_add+0x316/0xe90 [ 9.625678][ T57] ? __send_to_port+0x420/0x420 [ 9.625681][ T57] ? validate_chain+0x34a/0xc20 [ 9.625686][ T57] hvc_console_print+0x292/0x780 [ 9.625694][ T57] ? hvc_write+0x3a0/0x3a0 [ 9.625697][ T57] ? rcu_is_watching+0x16/0xd0 [ 9.625700][ T57] ? lock_acquire+0x13c/0x160 [ 9.625704][ T57] console_emit_next_record+0x22f/0x4c0 [ 9.625708][ T57] ? devkmsg_read+0x4b0/0x4b0 [ 9.625710][ T57] ? console_flush_one_record+0x106/0x710 [ 9.625713][ T57] ? rcu_is_watching+0x16/0xd0 [ 9.625715][ T57] ? lock_acquire+0x13c/0x160 [ 9.625719][ T57] console_flush_one_record+0x46f/0x710 [ 9.625724][ T57] ? console_emit_next_record+0x4c0/0x4c0 [ 9.625726][ T57] ? __lock_acquire+0x518/0xc20 [ 9.625731][ T57] console_unlock+0xee/0x1f0 [ 9.625738][ T57] ? console_flush_one_record+0x710/0x710 [ 9.625740][ T57] ? rcu_is_watching+0x16/0xd0 [ 9.625742][ T57] ? lock_acquire+0xe0/0x160 [ 9.625746][ T57] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.625747][ T57] ? vprintk_emit+0x320/0x3e0 [ 9.625750][ T57] vprintk_emit+0x37c/0x3e0 [ 9.625753][ T57] ? wake_up_klogd_work_func+0x90/0x90 [ 9.625759][ T57] _printk+0xc7/0x100 [ 9.625762][ T57] ? snapshot_read.cold+0x21/0x21 [ 9.625767][ T57] ? netdev_name+0x43/0x60 [ 9.625771][ T57] ? __netdev_printk+0x17f/0x1d0 [ 9.625775][ T57] netdev_info+0xe2/0x116 [ 9.625777][ T57] ? netdev_notice+0x120/0x120 [ 9.625779][ T57] ? __kasan_kmalloc+0x7b/0x90 [ 9.625784][ T57] ? __hw_addr_list_snapshot+0x3f6/0x7d0 [ 9.625785][ T57] ? __hw_addr_insert+0x1e4/0x2c0 [ 9.625787][ T57] ? find_held_lock+0x2b/0x80 [ 9.625792][ T57] __dev_set_promiscuity.cold+0x7a/0x104 [ 9.625796][ T57] netif_rx_mode_run+0x816/0xa10 [ 9.625800][ T57] ? netif_rx_mode_cancel_retry+0x50/0x50 [ 9.625804][ T57] ? ref_tracker_free+0x380/0x870 [ 9.625809][ T57] ? ref_tracker_alloc+0x430/0x430 [ 9.625810][ T57] ? netdev_work_proc+0x24c/0x690 [ 9.625813][ T57] ? ret_from_fork_asm+0x11/0x20 [ 9.625815][ T57] ? find_held_lock+0x2b/0x80 [ 9.625818][ T57] ? __lock_release.isra.0+0x69/0x1a0 [ 9.625821][ T57] ? mark_held_locks+0x40/0x70 [ 9.625826][ T57] netdev_work_proc+0x49b/0x690 [ 9.625828][ T57] ? netdev_work_sched+0x10/0x10 [ 9.625830][ T57] ? rcu_is_watching+0x16/0xd0 [ 9.625832][ T57] ? lock_acquire+0x13c/0x160 [ 9.625834][ T57] ? rcu_is_watching+0x16/0xd0 [ 9.625837][ T57] process_one_work+0xe3e/0x1560 [ 9.625844][ T57] ? __queue_delayed_work+0x470/0x470 [ 9.625847][ T57] ? lock_acquire.part.0+0xd4/0x280 [ 9.625856][ T57] worker_thread+0x4f1/0xd60 [ 9.625860][ T57] ? rescuer_thread+0x1340/0x1340 [ 9.625862][ T57] ? __kthread_parkme+0xbd/0x210 [ 9.625865][ T57] ? rescuer_thread+0x1340/0x1340 [ 9.625868][ T57] ? rescuer_thread+0x1340/0x1340 [ 9.625870][ T57] kthread+0x367/0x460 [ 9.625872][ T57] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.625875][ T57] ? kthread_affine_preferred+0x4c0/0x4c0 [ 9.625878][ T57] ret_from_fork+0x474/0x6b0 [ 9.625883][ T57] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 9.625886][ T57] ? __switch_to+0x5a3/0xe00 [ 9.625890][ T57] ? kthread_affine_preferred+0x4c0/0x4c0 [ 9.625893][ T57] ret_from_fork_asm+0x11/0x20 [ 9.625901][ T57]