[ 10.390209][ T68] xdummy0: entered promiscuous mode [ 10.390271][ T68] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.390273][ T68] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 68, name: kworker/2:2 [ 10.390275][ T68] preempt_count: 1, expected: 0 [ 10.390276][ T68] RCU nest depth: 0, expected: 0 [ 10.390277][ T68] locks held by kworker/2:2/68: 8, last CPU#2: [ 10.390279][ T68] #0: ff11000001151b40 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 10.390292][ T68] #1: ffa0000000497d10 (netdev_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 10.390296][ T68] #2: ffffffffa791b740 (rtnl_mutex){+.+.}-{4:4}, at: netdev_work_proc+0x6c/0x690 [ 10.390302][ T68] #3: ff11000001ee9e10 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: netdev_work_proc+0x137/0x690 [ 10.390306][ T68] #4: ffffffffa717ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.390310][ T68] #5: ffffffffa717de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.390315][ T68] #6: ffffffffa709d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.390319][ T68] #7: ffffffffa709d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.390323][ T68] irq event stamp: 8520 [ 10.390324][ T68] hardirqs last enabled at (8519): [] __down_trylock_console_sem+0x86/0xa0 [ 10.390327][ T68] hardirqs last disabled at (8520): [] console_emit_next_record+0x3d4/0x4c0 [ 10.390330][ T68] softirqs last enabled at (8514): [] netif_rx_mode_run+0x673/0xa10 [ 10.390332][ T68] softirqs last disabled at (8500): [] netif_rx_mode_run+0x45d/0xa10 [ 10.390335][ T68] Preemption disabled at: [ 10.390335][ T68] [] vprintk_emit+0x31b/0x3e0 [ 10.390341][ T68] CPU: 2 UID: 0 PID: 68 Comm: kworker/2:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.390344][ T68] Tainted: [W]=WARN [ 10.390345][ T68] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.390347][ T68] Workqueue: events netdev_work_proc [ 10.390350][ T68] Call Trace: [ 10.390352][ T68] [ 10.390353][ T68] dump_stack_lvl+0x6f/0xa0 [ 10.390360][ T68] ? vprintk_emit+0x31b/0x3e0 [ 10.390361][ T68] __might_resched.cold+0x1fe/0x2c1 [ 10.390366][ T68] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.390370][ T68] ? __kmalloc_noprof+0xdb/0x760 [ 10.390375][ T68] __kmalloc_noprof+0x443/0x760 [ 10.390377][ T68] ? alloc_buf.isra.0+0x4b/0x260 [ 10.390384][ T68] ? do_raw_spin_unlock+0x59/0x250 [ 10.390387][ T68] alloc_buf.isra.0+0x4b/0x260 [ 10.390391][ T68] put_chars+0x1e1/0x2f0 [ 10.390393][ T68] ? check_prev_add+0x316/0xe90 [ 10.390396][ T68] ? __send_to_port+0x420/0x420 [ 10.390399][ T68] ? validate_chain+0x34a/0xc20 [ 10.390404][ T68] hvc_console_print+0x292/0x780 [ 10.390413][ T68] ? hvc_write+0x3a0/0x3a0 [ 10.390417][ T68] ? rcu_is_watching+0x16/0xd0 [ 10.390420][ T68] ? lock_acquire+0x13c/0x160 [ 10.390424][ T68] console_emit_next_record+0x22f/0x4c0 [ 10.390428][ T68] ? devkmsg_read+0x4b0/0x4b0 [ 10.390430][ T68] ? console_flush_one_record+0x106/0x710 [ 10.390434][ T68] ? rcu_is_watching+0x16/0xd0 [ 10.390436][ T68] ? lock_acquire+0x13c/0x160 [ 10.390440][ T68] console_flush_one_record+0x46f/0x710 [ 10.390444][ T68] ? console_emit_next_record+0x4c0/0x4c0 [ 10.390447][ T68] ? __lock_acquire+0x518/0xc20 [ 10.390452][ T68] console_unlock+0xee/0x1f0 [ 10.390455][ T68] ? console_flush_one_record+0x710/0x710 [ 10.390457][ T68] ? rcu_is_watching+0x16/0xd0 [ 10.390459][ T68] ? lock_acquire+0xe0/0x160 [ 10.390463][ T68] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.390465][ T68] ? vprintk_emit+0x320/0x3e0 [ 10.390468][ T68] vprintk_emit+0x37c/0x3e0 [ 10.390472][ T68] ? wake_up_klogd_work_func+0x90/0x90 [ 10.390478][ T68] _printk+0xc7/0x100 [ 10.390481][ T68] ? snapshot_read.cold+0x21/0x21 [ 10.390486][ T68] ? netdev_name+0x43/0x60 [ 10.390490][ T68] ? __netdev_printk+0x17f/0x1d0 [ 10.390494][ T68] netdev_info+0xe2/0x116 [ 10.390497][ T68] ? netdev_notice+0x120/0x120 [ 10.390499][ T68] ? __kasan_kmalloc+0x7b/0x90 [ 10.390503][ T68] ? __hw_addr_list_snapshot+0x3f6/0x7d0 [ 10.390505][ T68] ? __hw_addr_insert+0x1e4/0x2c0 [ 10.390507][ T68] ? find_held_lock+0x2b/0x80 [ 10.390513][ T68] __dev_set_promiscuity.cold+0x7a/0x104 [ 10.390516][ T68] netif_rx_mode_run+0x816/0xa10 [ 10.390521][ T68] ? netif_rx_mode_cancel_retry+0x50/0x50 [ 10.390525][ T68] ? ref_tracker_free+0x380/0x870 [ 10.390529][ T68] ? ref_tracker_alloc+0x430/0x430 [ 10.390531][ T68] ? netdev_work_proc+0x24c/0x690 [ 10.390534][ T68] ? ret_from_fork_asm+0x11/0x20 [ 10.390537][ T68] ? find_held_lock+0x2b/0x80 [ 10.390540][ T68] ? __lock_release.isra.0+0x69/0x1a0 [ 10.390542][ T68] ? mark_held_locks+0x40/0x70 [ 10.390547][ T68] netdev_work_proc+0x49b/0x690 [ 10.390550][ T68] ? netdev_work_sched+0x10/0x10 [ 10.390552][ T68] ? rcu_is_watching+0x16/0xd0 [ 10.390554][ T68] ? lock_acquire+0x13c/0x160 [ 10.390556][ T68] ? rcu_is_watching+0x16/0xd0 [ 10.390559][ T68] process_one_work+0xe3e/0x1560 [ 10.390567][ T68] ? __queue_delayed_work+0x470/0x470 [ 10.390570][ T68] ? lock_acquire.part.0+0xd4/0x280 [ 10.390578][ T68] worker_thread+0x4f1/0xd60 [ 10.390583][ T68] ? rescuer_thread+0x1340/0x1340 [ 10.390585][ T68] ? __kthread_parkme+0xbd/0x210 [ 10.390588][ T68] ? rescuer_thread+0x1340/0x1340 [ 10.390591][ T68] ? rescuer_thread+0x1340/0x1340 [ 10.390593][ T68] kthread+0x367/0x460 [ 10.390596][ T68] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.390599][ T68] ? kthread_affine_preferred+0x4c0/0x4c0 [ 10.390602][ T68] ret_from_fork+0x474/0x6b0 [ 10.390607][ T68] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 10.390611][ T68] ? __switch_to+0x5a3/0xe00 [ 10.390614][ T68] ? kthread_affine_preferred+0x4c0/0x4c0 [ 10.390617][ T68] ret_from_fork_asm+0x11/0x20 [ 10.390626][ T68] [ 10.439028][ T50] xdummy0: left promiscuous mode [ 10.482048][ T68] xdummy0: entered promiscuous mode [ 10.500816][ T68] xdummy0: left promiscuous mode [ 10.541852][ T68] xdummy0: entered promiscuous mode [ 10.562803][ T68] xdummy0: left promiscuous mode