[ 10.182505][ T52] xdummy0: entered promiscuous mode [ 10.182567][ T52] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.182569][ T52] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 52, name: kworker/3:1 [ 10.182571][ T52] preempt_count: 1, expected: 0 [ 10.182572][ T52] RCU nest depth: 0, expected: 0 [ 10.182573][ T52] locks held by kworker/3:1/52: 8, last CPU#3: [ 10.182575][ T52] #0: ff11000001151b40 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 10.182587][ T52] #1: ffa000000038fd10 (netdev_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 10.182591][ T52] #2: ffffffffb6f1b740 (rtnl_mutex){+.+.}-{4:4}, at: netdev_work_proc+0x6c/0x690 [ 10.182597][ T52] #3: ff11000005b54e10 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: netdev_work_proc+0x137/0x690 [ 10.182600][ T52] #4: ffffffffb677ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.182605][ T52] #5: ffffffffb677de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.182609][ T52] #6: ffffffffb669d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.182613][ T52] #7: ffffffffb669d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.182617][ T52] irq event stamp: 7142 [ 10.182618][ T52] hardirqs last enabled at (7141): [] __down_trylock_console_sem+0x86/0xa0 [ 10.182621][ T52] hardirqs last disabled at (7142): [] console_emit_next_record+0x3d4/0x4c0 [ 10.182623][ T52] softirqs last enabled at (7136): [] netif_rx_mode_run+0x673/0xa10 [ 10.182626][ T52] softirqs last disabled at (7122): [] netif_rx_mode_run+0x45d/0xa10 [ 10.182628][ T52] Preemption disabled at: [ 10.182629][ T52] [] vprintk_emit+0x31b/0x3e0 [ 10.182634][ T52] CPU: 3 UID: 0 PID: 52 Comm: kworker/3:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.182638][ T52] Tainted: [W]=WARN [ 10.182639][ T52] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.182640][ T52] Workqueue: events netdev_work_proc [ 10.182644][ T52] Call Trace: [ 10.182645][ T52] [ 10.182647][ T52] dump_stack_lvl+0x6f/0xa0 [ 10.182653][ T52] ? vprintk_emit+0x31b/0x3e0 [ 10.182655][ T52] __might_resched.cold+0x1fe/0x2c1 [ 10.182665][ T52] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.182669][ T52] ? __kmalloc_noprof+0xdb/0x760 [ 10.182674][ T52] __kmalloc_noprof+0x443/0x760 [ 10.182676][ T52] ? alloc_buf.isra.0+0x4b/0x260 [ 10.182683][ T52] ? do_raw_spin_unlock+0x59/0x250 [ 10.182686][ T52] alloc_buf.isra.0+0x4b/0x260 [ 10.182690][ T52] put_chars+0x1e1/0x2f0 [ 10.182691][ T52] ? check_prev_add+0x316/0xe90 [ 10.182694][ T52] ? __send_to_port+0x420/0x420 [ 10.182697][ T52] ? validate_chain+0x34a/0xc20 [ 10.182702][ T52] hvc_console_print+0x292/0x780 [ 10.182710][ T52] ? hvc_write+0x3a0/0x3a0 [ 10.182713][ T52] ? rcu_is_watching+0x16/0xd0 [ 10.182716][ T52] ? lock_acquire+0x13c/0x160 [ 10.182721][ T52] console_emit_next_record+0x22f/0x4c0 [ 10.182725][ T52] ? devkmsg_read+0x4b0/0x4b0 [ 10.182727][ T52] ? console_flush_one_record+0x106/0x710 [ 10.182730][ T52] ? rcu_is_watching+0x16/0xd0 [ 10.182732][ T52] ? lock_acquire+0x13c/0x160 [ 10.182736][ T52] console_flush_one_record+0x46f/0x710 [ 10.182741][ T52] ? console_emit_next_record+0x4c0/0x4c0 [ 10.182742][ T52] ? __lock_acquire+0x518/0xc20 [ 10.182748][ T52] console_unlock+0xee/0x1f0 [ 10.182751][ T52] ? console_flush_one_record+0x710/0x710 [ 10.182753][ T52] ? rcu_is_watching+0x16/0xd0 [ 10.182755][ T52] ? lock_acquire+0xe0/0x160 [ 10.182759][ T52] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.182761][ T52] ? vprintk_emit+0x320/0x3e0 [ 10.182764][ T52] vprintk_emit+0x37c/0x3e0 [ 10.182767][ T52] ? wake_up_klogd_work_func+0x90/0x90 [ 10.182772][ T52] _printk+0xc7/0x100 [ 10.182776][ T52] ? snapshot_read.cold+0x21/0x21 [ 10.182780][ T52] ? netdev_name+0x43/0x60 [ 10.182784][ T52] ? __netdev_printk+0x17f/0x1d0 [ 10.182788][ T52] netdev_info+0xe2/0x116 [ 10.182791][ T52] ? netdev_notice+0x120/0x120 [ 10.182792][ T52] ? __kasan_kmalloc+0x7b/0x90 [ 10.182797][ T52] ? __hw_addr_list_snapshot+0x3f6/0x7d0 [ 10.182798][ T52] ? __hw_addr_insert+0x1e4/0x2c0 [ 10.182800][ T52] ? find_held_lock+0x2b/0x80 [ 10.182806][ T52] __dev_set_promiscuity.cold+0x7a/0x104 [ 10.182809][ T52] netif_rx_mode_run+0x816/0xa10 [ 10.182814][ T52] ? netif_rx_mode_cancel_retry+0x50/0x50 [ 10.182817][ T52] ? ref_tracker_free+0x380/0x870 [ 10.182822][ T52] ? ref_tracker_alloc+0x430/0x430 [ 10.182823][ T52] ? netdev_work_proc+0x24c/0x690 [ 10.182826][ T52] ? ret_from_fork_asm+0x11/0x20 [ 10.182828][ T52] ? find_held_lock+0x2b/0x80 [ 10.182831][ T52] ? __lock_release.isra.0+0x69/0x1a0 [ 10.182834][ T52] ? mark_held_locks+0x40/0x70 [ 10.182839][ T52] netdev_work_proc+0x49b/0x690 [ 10.182842][ T52] ? netdev_work_sched+0x10/0x10 [ 10.182845][ T52] ? rcu_is_watching+0x16/0xd0 [ 10.182847][ T52] ? lock_acquire+0x13c/0x160 [ 10.182849][ T52] ? rcu_is_watching+0x16/0xd0 [ 10.182852][ T52] process_one_work+0xe3e/0x1560 [ 10.182859][ T52] ? __queue_delayed_work+0x470/0x470 [ 10.182862][ T52] ? lock_acquire.part.0+0xd4/0x280 [ 10.182870][ T52] worker_thread+0x4f1/0xd60 [ 10.182875][ T52] ? rescuer_thread+0x1340/0x1340 [ 10.182877][ T52] ? __kthread_parkme+0xbd/0x210 [ 10.182880][ T52] ? rescuer_thread+0x1340/0x1340 [ 10.182883][ T52] ? rescuer_thread+0x1340/0x1340 [ 10.182885][ T52] kthread+0x367/0x460 [ 10.182887][ T52] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.182890][ T52] ? kthread_affine_preferred+0x4c0/0x4c0 [ 10.182893][ T52] ret_from_fork+0x474/0x6b0 [ 10.182897][ T52] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 10.182901][ T52] ? __switch_to+0x5a3/0xe00 [ 10.182904][ T52] ? kthread_affine_preferred+0x4c0/0x4c0 [ 10.182907][ T52] ret_from_fork_asm+0x11/0x20 [ 10.182918][ T52] [ 10.231666][ T10] xdummy0: left promiscuous mode [ 10.282031][ T52] xdummy0: entered promiscuous mode [ 10.300065][ T52] xdummy0: left promiscuous mode [ 10.341633][ T52] xdummy0: entered promiscuous mode [ 10.362628][ T71] xdummy0: left promiscuous mode