[ 10.281772][ T194] xdummy0: entered promiscuous mode [ 10.281825][ T194] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.281828][ T194] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 194, name: kworker/0:2 [ 10.281829][ T194] preempt_count: 1, expected: 0 [ 10.281830][ T194] RCU nest depth: 0, expected: 0 [ 10.281831][ T194] locks held by kworker/0:2/194: 8, last CPU#0: [ 10.281833][ T194] #0: ff11000001151b40 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 10.281847][ T194] #1: ffa0000001927d10 (netdev_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 10.281851][ T194] #2: ffffffffa211b740 (rtnl_mutex){+.+.}-{4:4}, at: netdev_work_proc+0x6c/0x690 [ 10.281856][ T194] #3: ff1100000e621e10 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: netdev_work_proc+0x137/0x690 [ 10.281860][ T194] #4: ffffffffa197ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.281864][ T194] #5: ffffffffa197de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.281868][ T194] #6: ffffffffa189d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.281872][ T194] #7: ffffffffa189d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.281876][ T194] irq event stamp: 66 [ 10.281877][ T194] hardirqs last enabled at (65): [] __down_trylock_console_sem+0x86/0xa0 [ 10.281880][ T194] hardirqs last disabled at (66): [] console_emit_next_record+0x3d4/0x4c0 [ 10.281882][ T194] softirqs last enabled at (60): [] netif_rx_mode_run+0x673/0xa10 [ 10.281885][ T194] softirqs last disabled at (46): [] netif_rx_mode_run+0x45d/0xa10 [ 10.281887][ T194] Preemption disabled at: [ 10.281888][ T194] [] vprintk_emit+0x31b/0x3e0 [ 10.281893][ T194] CPU: 0 UID: 0 PID: 194 Comm: kworker/0:2 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.281896][ T194] Tainted: [W]=WARN [ 10.281897][ T194] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.281899][ T194] Workqueue: events netdev_work_proc [ 10.281902][ T194] Call Trace: [ 10.281904][ T194] [ 10.281905][ T194] dump_stack_lvl+0x6f/0xa0 [ 10.281911][ T194] ? vprintk_emit+0x31b/0x3e0 [ 10.281913][ T194] __might_resched.cold+0x1fe/0x2c1 [ 10.281918][ T194] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.281922][ T194] ? __kmalloc_noprof+0xdb/0x760 [ 10.281926][ T194] __kmalloc_noprof+0x443/0x760 [ 10.281928][ T194] ? alloc_buf.isra.0+0x4b/0x260 [ 10.281935][ T194] ? do_raw_spin_unlock+0x59/0x250 [ 10.281938][ T194] alloc_buf.isra.0+0x4b/0x260 [ 10.281942][ T194] put_chars+0x1e1/0x2f0 [ 10.281944][ T194] ? check_prev_add+0x316/0xe90 [ 10.281946][ T194] ? __send_to_port+0x420/0x420 [ 10.281949][ T194] ? validate_chain+0x34a/0xc20 [ 10.281955][ T194] hvc_console_print+0x292/0x780 [ 10.281963][ T194] ? hvc_write+0x3a0/0x3a0 [ 10.281966][ T194] ? rcu_is_watching+0x16/0xd0 [ 10.281968][ T194] ? lock_acquire+0x13c/0x160 [ 10.281973][ T194] console_emit_next_record+0x22f/0x4c0 [ 10.281977][ T194] ? devkmsg_read+0x4b0/0x4b0 [ 10.281979][ T194] ? console_flush_one_record+0x106/0x710 [ 10.281982][ T194] ? rcu_is_watching+0x16/0xd0 [ 10.281984][ T194] ? lock_acquire+0x13c/0x160 [ 10.281988][ T194] console_flush_one_record+0x46f/0x710 [ 10.281992][ T194] ? console_emit_next_record+0x4c0/0x4c0 [ 10.281994][ T194] ? __lock_acquire+0x518/0xc20 [ 10.282001][ T194] console_unlock+0xee/0x1f0 [ 10.282004][ T194] ? console_flush_one_record+0x710/0x710 [ 10.282006][ T194] ? rcu_is_watching+0x16/0xd0 [ 10.282008][ T194] ? lock_acquire+0xe0/0x160 [ 10.282012][ T194] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.282013][ T194] ? vprintk_emit+0x320/0x3e0 [ 10.282016][ T194] vprintk_emit+0x37c/0x3e0 [ 10.282019][ T194] ? wake_up_klogd_work_func+0x90/0x90 [ 10.282025][ T194] _printk+0xc7/0x100 [ 10.282029][ T194] ? snapshot_read.cold+0x21/0x21 [ 10.282033][ T194] ? netdev_name+0x43/0x60 [ 10.282037][ T194] ? __netdev_printk+0x17f/0x1d0 [ 10.282041][ T194] netdev_info+0xe2/0x116 [ 10.282044][ T194] ? netdev_notice+0x120/0x120 [ 10.282045][ T194] ? __kasan_kmalloc+0x7b/0x90 [ 10.282050][ T194] ? __hw_addr_list_snapshot+0x3f6/0x7d0 [ 10.282051][ T194] ? __hw_addr_insert+0x1e4/0x2c0 [ 10.282053][ T194] ? find_held_lock+0x2b/0x80 [ 10.282059][ T194] __dev_set_promiscuity.cold+0x7a/0x104 [ 10.282062][ T194] netif_rx_mode_run+0x816/0xa10 [ 10.282067][ T194] ? netif_rx_mode_cancel_retry+0x50/0x50 [ 10.282071][ T194] ? ref_tracker_free+0x380/0x870 [ 10.282075][ T194] ? ref_tracker_alloc+0x430/0x430 [ 10.282077][ T194] ? netdev_work_proc+0x24c/0x690 [ 10.282080][ T194] ? ret_from_fork_asm+0x11/0x20 [ 10.282082][ T194] ? find_held_lock+0x2b/0x80 [ 10.282085][ T194] ? __lock_release.isra.0+0x69/0x1a0 [ 10.282088][ T194] ? mark_held_locks+0x40/0x70 [ 10.282092][ T194] netdev_work_proc+0x49b/0x690 [ 10.282095][ T194] ? netdev_work_sched+0x10/0x10 [ 10.282097][ T194] ? rcu_is_watching+0x16/0xd0 [ 10.282099][ T194] ? lock_acquire+0x13c/0x160 [ 10.282101][ T194] ? rcu_is_watching+0x16/0xd0 [ 10.282104][ T194] process_one_work+0xe3e/0x1560 [ 10.282112][ T194] ? __queue_delayed_work+0x470/0x470 [ 10.282115][ T194] ? lock_acquire.part.0+0xd4/0x280 [ 10.282123][ T194] worker_thread+0x4f1/0xd60 [ 10.282128][ T194] ? rescuer_thread+0x1340/0x1340 [ 10.282130][ T194] ? __kthread_parkme+0xbd/0x210 [ 10.282133][ T194] ? rescuer_thread+0x1340/0x1340 [ 10.282136][ T194] ? rescuer_thread+0x1340/0x1340 [ 10.282138][ T194] kthread+0x367/0x460 [ 10.282140][ T194] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.282144][ T194] ? kthread_affine_preferred+0x4c0/0x4c0 [ 10.282147][ T194] ret_from_fork+0x474/0x6b0 [ 10.282151][ T194] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 10.282155][ T194] ? __switch_to+0x5a3/0xe00 [ 10.282158][ T194] ? kthread_affine_preferred+0x4c0/0x4c0 [ 10.282161][ T194] ret_from_fork_asm+0x11/0x20 [ 10.282170][ T194] [ 10.354938][ T194] xdummy0: left promiscuous mode [ 10.410978][ T50] xdummy0: entered promiscuous mode [ 10.432119][ T24] xdummy0: left promiscuous mode [ 10.483483][ T194] xdummy0: entered promiscuous mode [ 10.495512][ T194] xdummy0: left promiscuous mode [ 10.735534][ T210] sed (210) used greatest stack depth: 24416 bytes left