[ 9.055787][ T24] xdummy0: entered promiscuous mode [ 9.055846][ T24] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.055848][ T24] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 24, name: kworker/1:0 [ 9.055850][ T24] preempt_count: 1, expected: 0 [ 9.055851][ T24] RCU nest depth: 0, expected: 0 [ 9.055852][ T24] locks held by kworker/1:0/24: 8, last CPU#1: [ 9.055854][ T24] #0: ff11000001151b40 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 9.055866][ T24] #1: ffa00000001b7d10 (netdev_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 9.055870][ T24] #2: ffffffffaa11b740 (rtnl_mutex){+.+.}-{4:4}, at: netdev_work_proc+0x6c/0x690 [ 9.055875][ T24] #3: ff1100001027ce10 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: netdev_work_proc+0x137/0x690 [ 9.055879][ T24] #4: ffffffffa997ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.055883][ T24] #5: ffffffffa997de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.055887][ T24] #6: ffffffffa989d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.055890][ T24] #7: ffffffffa989d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.055894][ T24] irq event stamp: 1344 [ 9.055895][ T24] hardirqs last enabled at (1343): [] __down_trylock_console_sem+0x86/0xa0 [ 9.055898][ T24] hardirqs last disabled at (1344): [] console_emit_next_record+0x3d4/0x4c0 [ 9.055900][ T24] softirqs last enabled at (1338): [] netif_rx_mode_run+0x673/0xa10 [ 9.055903][ T24] softirqs last disabled at (1324): [] netif_rx_mode_run+0x45d/0xa10 [ 9.055905][ T24] Preemption disabled at: [ 9.055905][ T24] [] vprintk_emit+0x31b/0x3e0 [ 9.055910][ T24] CPU: 1 UID: 0 PID: 24 Comm: kworker/1:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.055913][ T24] Tainted: [W]=WARN [ 9.055914][ T24] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.055916][ T24] Workqueue: events netdev_work_proc [ 9.055919][ T24] Call Trace: [ 9.055920][ T24] [ 9.055922][ T24] dump_stack_lvl+0x6f/0xa0 [ 9.055927][ T24] ? vprintk_emit+0x31b/0x3e0 [ 9.055929][ T24] __might_resched.cold+0x1fe/0x2c1 [ 9.055933][ T24] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.055937][ T24] ? __kmalloc_noprof+0xdb/0x760 [ 9.055942][ T24] __kmalloc_noprof+0x443/0x760 [ 9.055944][ T24] ? alloc_buf.isra.0+0x4b/0x260 [ 9.055950][ T24] ? do_raw_spin_unlock+0x59/0x250 [ 9.055953][ T24] alloc_buf.isra.0+0x4b/0x260 [ 9.055957][ T24] put_chars+0x1e1/0x2f0 [ 9.055959][ T24] ? check_prev_add+0x316/0xe90 [ 9.055961][ T24] ? __send_to_port+0x420/0x420 [ 9.055964][ T24] ? validate_chain+0x34a/0xc20 [ 9.055969][ T24] hvc_console_print+0x292/0x780 [ 9.055977][ T24] ? hvc_write+0x3a0/0x3a0 [ 9.055979][ T24] ? rcu_is_watching+0x16/0xd0 [ 9.055982][ T24] ? lock_acquire+0x13c/0x160 [ 9.055986][ T24] console_emit_next_record+0x22f/0x4c0 [ 9.055990][ T24] ? devkmsg_read+0x4b0/0x4b0 [ 9.055992][ T24] ? console_flush_one_record+0x106/0x710 [ 9.055995][ T24] ? rcu_is_watching+0x16/0xd0 [ 9.055997][ T24] ? lock_acquire+0x13c/0x160 [ 9.056001][ T24] console_flush_one_record+0x46f/0x710 [ 9.056005][ T24] ? console_emit_next_record+0x4c0/0x4c0 [ 9.056007][ T24] ? __lock_acquire+0x518/0xc20 [ 9.056012][ T24] console_unlock+0xee/0x1f0 [ 9.056015][ T24] ? console_flush_one_record+0x710/0x710 [ 9.056017][ T24] ? rcu_is_watching+0x16/0xd0 [ 9.056019][ T24] ? lock_acquire+0xe0/0x160 [ 9.056022][ T24] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.056024][ T24] ? vprintk_emit+0x320/0x3e0 [ 9.056027][ T24] vprintk_emit+0x37c/0x3e0 [ 9.056030][ T24] ? wake_up_klogd_work_func+0x90/0x90 [ 9.056035][ T24] _printk+0xc7/0x100 [ 9.056039][ T24] ? snapshot_read.cold+0x21/0x21 [ 9.056043][ T24] ? netdev_name+0x43/0x60 [ 9.056051][ T24] ? __netdev_printk+0x17f/0x1d0 [ 9.056055][ T24] netdev_info+0xe2/0x116 [ 9.056057][ T24] ? netdev_notice+0x120/0x120 [ 9.056059][ T24] ? __kasan_kmalloc+0x7b/0x90 [ 9.056068][ T24] ? __hw_addr_list_snapshot+0x3f6/0x7d0 [ 9.056070][ T24] ? __hw_addr_insert+0x1e4/0x2c0 [ 9.056071][ T24] ? find_held_lock+0x2b/0x80 [ 9.056077][ T24] __dev_set_promiscuity.cold+0x7a/0x104 [ 9.056080][ T24] netif_rx_mode_run+0x816/0xa10 [ 9.056084][ T24] ? netif_rx_mode_cancel_retry+0x50/0x50 [ 9.056088][ T24] ? ref_tracker_free+0x380/0x870 [ 9.056092][ T24] ? ref_tracker_alloc+0x430/0x430 [ 9.056094][ T24] ? netdev_work_proc+0x24c/0x690 [ 9.056097][ T24] ? ret_from_fork_asm+0x11/0x20 [ 9.056099][ T24] ? find_held_lock+0x2b/0x80 [ 9.056102][ T24] ? __lock_release.isra.0+0x69/0x1a0 [ 9.056104][ T24] ? mark_held_locks+0x40/0x70 [ 9.056109][ T24] netdev_work_proc+0x49b/0x690 [ 9.056112][ T24] ? netdev_work_sched+0x10/0x10 [ 9.056114][ T24] ? rcu_is_watching+0x16/0xd0 [ 9.056116][ T24] ? lock_acquire+0x13c/0x160 [ 9.056118][ T24] ? rcu_is_watching+0x16/0xd0 [ 9.056121][ T24] process_one_work+0xe3e/0x1560 [ 9.056128][ T24] ? __queue_delayed_work+0x470/0x470 [ 9.056131][ T24] ? lock_acquire.part.0+0xd4/0x280 [ 9.056138][ T24] worker_thread+0x4f1/0xd60 [ 9.056145][ T24] ? rescuer_thread+0x1340/0x1340 [ 9.056148][ T24] kthread+0x367/0x460 [ 9.056150][ T24] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.056153][ T24] ? kthread_affine_preferred+0x4c0/0x4c0 [ 9.056156][ T24] ret_from_fork+0x474/0x6b0 [ 9.056161][ T24] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 9.056164][ T24] ? __switch_to+0x5a3/0xe00 [ 9.056167][ T24] ? kthread_affine_preferred+0x4c0/0x4c0 [ 9.056170][ T24] ret_from_fork_asm+0x11/0x20 [ 9.056178][ T24] [ 9.093368][ T10] xdummy0: left promiscuous mode [ 9.138967][ T24] xdummy0: entered promiscuous mode [ 9.159998][ T24] xdummy0: left promiscuous mode [ 9.226614][ T10] xdummy0: entered promiscuous mode [ 9.239316][ T10] xdummy0: left promiscuous mode