[ 10.078907][ T24] xdummy0: entered promiscuous mode [ 10.078967][ T24] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.078969][ T24] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 24, name: kworker/1:0 [ 10.078971][ T24] preempt_count: 1, expected: 0 [ 10.078971][ T24] RCU nest depth: 0, expected: 0 [ 10.078973][ T24] locks held by kworker/1:0/24: 8, last CPU#1: [ 10.078975][ T24] #0: ff11000001151b40 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0xd9a/0x1560 [ 10.078986][ T24] #1: ffa00000001b7d10 (netdev_work){+.+.}-{0:0}, at: process_one_work+0xdfc/0x1560 [ 10.078990][ T24] #2: ffffffffb1f1b740 (rtnl_mutex){+.+.}-{4:4}, at: netdev_work_proc+0x6c/0x690 [ 10.078996][ T24] #3: ff1100000ac4ce10 (&dev_instance_lock_key#2){+.+.}-{4:4}, at: netdev_work_proc+0x137/0x690 [ 10.078999][ T24] #4: ffffffffb177ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.079003][ T24] #5: ffffffffb177de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.079008][ T24] #6: ffffffffb169d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.079011][ T24] #7: ffffffffb169d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.079015][ T24] irq event stamp: 2616 [ 10.079016][ T24] hardirqs last enabled at (2615): [] __down_trylock_console_sem+0x86/0xa0 [ 10.079019][ T24] hardirqs last disabled at (2616): [] console_emit_next_record+0x3d4/0x4c0 [ 10.079021][ T24] softirqs last enabled at (2610): [] netif_rx_mode_run+0x673/0xa10 [ 10.079024][ T24] softirqs last disabled at (2596): [] netif_rx_mode_run+0x45d/0xa10 [ 10.079027][ T24] Preemption disabled at: [ 10.079027][ T24] [] vprintk_emit+0x31b/0x3e0 [ 10.079032][ T24] CPU: 1 UID: 0 PID: 24 Comm: kworker/1:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.079036][ T24] Tainted: [W]=WARN [ 10.079036][ T24] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.079038][ T24] Workqueue: events netdev_work_proc [ 10.079041][ T24] Call Trace: [ 10.079043][ T24] [ 10.079044][ T24] dump_stack_lvl+0x6f/0xa0 [ 10.079050][ T24] ? vprintk_emit+0x31b/0x3e0 [ 10.079052][ T24] __might_resched.cold+0x1fe/0x2c1 [ 10.079056][ T24] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.079060][ T24] ? __kmalloc_noprof+0xdb/0x760 [ 10.079064][ T24] __kmalloc_noprof+0x443/0x760 [ 10.079066][ T24] ? alloc_buf.isra.0+0x4b/0x260 [ 10.079073][ T24] ? do_raw_spin_unlock+0x59/0x250 [ 10.079075][ T24] alloc_buf.isra.0+0x4b/0x260 [ 10.079079][ T24] put_chars+0x1e1/0x2f0 [ 10.079081][ T24] ? check_prev_add+0x316/0xe90 [ 10.079083][ T24] ? __send_to_port+0x420/0x420 [ 10.079086][ T24] ? validate_chain+0x34a/0xc20 [ 10.079091][ T24] hvc_console_print+0x292/0x780 [ 10.079099][ T24] ? hvc_write+0x3a0/0x3a0 [ 10.079102][ T24] ? rcu_is_watching+0x16/0xd0 [ 10.079105][ T24] ? lock_acquire+0x13c/0x160 [ 10.079109][ T24] console_emit_next_record+0x22f/0x4c0 [ 10.079113][ T24] ? devkmsg_read+0x4b0/0x4b0 [ 10.079115][ T24] ? console_flush_one_record+0x106/0x710 [ 10.079118][ T24] ? rcu_is_watching+0x16/0xd0 [ 10.079120][ T24] ? lock_acquire+0x13c/0x160 [ 10.079124][ T24] console_flush_one_record+0x46f/0x710 [ 10.079128][ T24] ? console_emit_next_record+0x4c0/0x4c0 [ 10.079130][ T24] ? __lock_acquire+0x518/0xc20 [ 10.079135][ T24] console_unlock+0xee/0x1f0 [ 10.079138][ T24] ? console_flush_one_record+0x710/0x710 [ 10.079140][ T24] ? rcu_is_watching+0x16/0xd0 [ 10.079142][ T24] ? lock_acquire+0xe0/0x160 [ 10.079146][ T24] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.079147][ T24] ? vprintk_emit+0x320/0x3e0 [ 10.079150][ T24] vprintk_emit+0x37c/0x3e0 [ 10.079153][ T24] ? wake_up_klogd_work_func+0x90/0x90 [ 10.079158][ T24] _printk+0xc7/0x100 [ 10.079162][ T24] ? snapshot_read.cold+0x21/0x21 [ 10.079166][ T24] ? netdev_name+0x43/0x60 [ 10.079170][ T24] ? __netdev_printk+0x17f/0x1d0 [ 10.079174][ T24] netdev_info+0xe2/0x116 [ 10.079177][ T24] ? netdev_notice+0x120/0x120 [ 10.079178][ T24] ? __kasan_kmalloc+0x7b/0x90 [ 10.079183][ T24] ? __hw_addr_list_snapshot+0x3f6/0x7d0 [ 10.079184][ T24] ? __hw_addr_insert+0x1e4/0x2c0 [ 10.079186][ T24] ? find_held_lock+0x2b/0x80 [ 10.079191][ T24] __dev_set_promiscuity.cold+0x7a/0x104 [ 10.079195][ T24] netif_rx_mode_run+0x816/0xa10 [ 10.079199][ T24] ? netif_rx_mode_cancel_retry+0x50/0x50 [ 10.079203][ T24] ? ref_tracker_free+0x380/0x870 [ 10.079207][ T24] ? ref_tracker_alloc+0x430/0x430 [ 10.079209][ T24] ? netdev_work_proc+0x24c/0x690 [ 10.079211][ T24] ? ret_from_fork_asm+0x11/0x20 [ 10.079214][ T24] ? find_held_lock+0x2b/0x80 [ 10.079217][ T24] ? __lock_release.isra.0+0x69/0x1a0 [ 10.079219][ T24] ? mark_held_locks+0x40/0x70 [ 10.079224][ T24] netdev_work_proc+0x49b/0x690 [ 10.079226][ T24] ? netdev_work_sched+0x10/0x10 [ 10.079228][ T24] ? rcu_is_watching+0x16/0xd0 [ 10.079230][ T24] ? lock_acquire+0x13c/0x160 [ 10.079232][ T24] ? rcu_is_watching+0x16/0xd0 [ 10.079235][ T24] process_one_work+0xe3e/0x1560 [ 10.079242][ T24] ? __queue_delayed_work+0x470/0x470 [ 10.079245][ T24] ? lock_acquire.part.0+0xd4/0x280 [ 10.079253][ T24] worker_thread+0x4f1/0xd60 [ 10.079261][ T24] ? rescuer_thread+0x1340/0x1340 [ 10.079263][ T24] kthread+0x367/0x460 [ 10.079266][ T24] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.079269][ T24] ? kthread_affine_preferred+0x4c0/0x4c0 [ 10.079272][ T24] ret_from_fork+0x474/0x6b0 [ 10.079276][ T24] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 10.079279][ T24] ? __switch_to+0x5a3/0xe00 [ 10.079283][ T24] ? kthread_affine_preferred+0x4c0/0x4c0 [ 10.079286][ T24] ret_from_fork_asm+0x11/0x20 [ 10.079294][ T24] [ 10.132659][ T65] xdummy0: left promiscuous mode [ 10.157674][ T191] tap (191) used greatest stack depth: 24752 bytes left [ 10.193427][ T34] xdummy0: entered promiscuous mode [ 10.206984][ T34] xdummy0: left promiscuous mode [ 10.249833][ T24] xdummy0: entered promiscuous mode [ 10.271313][ T34] xdummy0: left promiscuous mode