[ 14.256837][ T199] virtio_net virtio2 enp0s1: tx size (16) cannot be smaller than 19 [ 14.256902][ T199] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.256904][ T199] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 199, name: python3 [ 14.256906][ T199] preempt_count: 1, expected: 0 [ 14.256907][ T199] RCU nest depth: 0, expected: 0 [ 14.256908][ T199] locks held by python3/199: 6, last CPU#1: [ 14.256910][ T199] #0: ffffffffb756f208 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 14.256923][ T199] #1: ffffffffb7512c80 (rtnl_mutex){+.+.}-{4:4}, at: ethnl_default_set_doit+0x37c/0xe00 [ 14.256928][ T199] #2: ffffffffb6d99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.256934][ T199] #3: ffffffffb6d99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.256938][ T199] #4: ffffffffb6c89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.256942][ T199] #5: ffffffffb6c89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 14.256946][ T199] irq event stamp: 372362 [ 14.256947][ T199] hardirqs last enabled at (372361): [] __down_trylock_console_sem+0x86/0xa0 [ 14.256950][ T199] hardirqs last disabled at (372362): [] console_emit_next_record+0x3f8/0x4f0 [ 14.256952][ T199] softirqs last enabled at (372316): [] __alloc_skb+0x4c5/0x5f0 [ 14.256955][ T199] softirqs last disabled at (372314): [] __alloc_skb+0x4c5/0x5f0 [ 14.256957][ T199] Preemption disabled at: [ 14.256958][ T199] [] vprintk_emit+0x31b/0x3e0 [ 14.256964][ T199] CPU: 1 UID: 0 PID: 199 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.256967][ T199] Tainted: [W]=WARN [ 14.256968][ T199] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.256970][ T199] Call Trace: [ 14.256972][ T199] [ 14.256973][ T199] dump_stack_lvl+0x6f/0xa0 [ 14.256980][ T199] ? vprintk_emit+0x31b/0x3e0 [ 14.256982][ T199] __might_resched.cold+0x1fe/0x2c1 [ 14.256987][ T199] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.256991][ T199] ? __kmalloc_noprof+0xdb/0x760 [ 14.256997][ T199] __kmalloc_noprof+0x443/0x760 [ 14.257000][ T199] ? alloc_buf.isra.0+0x4b/0x260 [ 14.257006][ T199] ? do_raw_spin_unlock+0x59/0x250 [ 14.257009][ T199] alloc_buf.isra.0+0x4b/0x260 [ 14.257021][ T199] put_chars+0x1e1/0x2f0 [ 14.257024][ T199] ? __send_to_port+0x420/0x420 [ 14.257029][ T199] ? validate_chain+0x34a/0xc20 [ 14.257033][ T199] hvc_console_print+0x292/0x780 [ 14.257037][ T199] ? mark_usage+0x61/0x170 [ 14.257039][ T199] ? __lock_acquire+0x518/0xc20 [ 14.257041][ T199] ? __lock_acquire+0x518/0xc20 [ 14.257045][ T199] ? hvc_write+0x3a0/0x3a0 [ 14.257047][ T199] ? console_emit_next_record+0x202/0x4f0 [ 14.257051][ T199] ? rcu_is_watching+0x16/0xd0 [ 14.257055][ T199] ? lock_acquire+0x13c/0x160 [ 14.257059][ T199] console_emit_next_record+0x252/0x4f0 [ 14.257063][ T199] ? devkmsg_read+0x4e0/0x4e0 [ 14.257068][ T199] ? rcu_is_watching+0x16/0xd0 [ 14.257070][ T199] ? lock_acquire+0x13c/0x160 [ 14.257074][ T199] console_flush_one_record+0x46f/0x710 [ 14.257078][ T199] ? console_emit_next_record+0x4f0/0x4f0 [ 14.257080][ T199] ? __lock_acquire+0x518/0xc20 [ 14.257086][ T199] console_unlock+0xee/0x1f0 [ 14.257089][ T199] ? console_flush_one_record+0x710/0x710 [ 14.257090][ T199] ? rcu_is_watching+0x16/0xd0 [ 14.257093][ T199] ? lock_acquire+0xa0/0x160 [ 14.257097][ T199] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.257098][ T199] ? vprintk_emit+0x320/0x3e0 [ 14.257102][ T199] vprintk_emit+0x37c/0x3e0 [ 14.257106][ T199] ? wake_up_klogd_work_func+0x90/0x90 [ 14.257109][ T199] ? mark_usage+0x61/0x170 [ 14.257110][ T199] ? __lock_acquire+0x518/0xc20 [ 14.257114][ T199] dev_vprintk_emit+0x27f/0x2c0 [ 14.257120][ T199] ? device_rename.cold+0xa/0xa [ 14.257124][ T199] ? is_bpf_text_address+0x68/0x110 [ 14.257130][ T199] dev_printk_emit+0xb9/0xee [ 14.257133][ T199] ? dev_vprintk_emit+0x2c0/0x2c0 [ 14.257141][ T199] __netdev_printk+0x160/0x1d0 [ 14.257147][ T199] netdev_err+0xe2/0x120 [ 14.257149][ T199] ? netdev_crit+0x120/0x120 [ 14.257152][ T199] ? kasan_save_stack+0x3d/0x50 [ 14.257155][ T199] ? kasan_save_stack+0x2f/0x50 [ 14.257158][ T199] ? kmemdup_noprof+0x25/0x40 [ 14.257161][ T199] ? ethnl_default_set_doit+0x443/0xe00 [ 14.257163][ T199] ? genl_family_rcv_msg_doit+0x206/0x300 [ 14.257165][ T199] ? genl_family_rcv_msg+0x3a4/0x640 [ 14.257167][ T199] ? genl_rcv_msg+0xbb/0x160 [ 14.257169][ T199] ? netlink_rcv_skb+0x14e/0x3a0 [ 14.257171][ T199] ? genl_rcv+0x28/0x40 [ 14.257172][ T199] ? netlink_unicast+0x486/0x750 [ 14.257175][ T199] ? __sys_sendto+0x2aa/0x400 [ 14.257177][ T199] ? __x64_sys_sendto+0xe4/0x1f0 [ 14.257180][ T199] virtnet_set_ringparam.cold+0xad/0x1d8 [ 14.257187][ T199] ? virtnet_get_ringparam+0x200/0x2f0 [ 14.257192][ T199] ? mutex_is_locked+0x1c/0x50 [ 14.257195][ T199] ? virtnet_xdp+0x4e0/0x4e0 [ 14.257197][ T199] ethnl_set_rings+0x803/0x1330 [ 14.257203][ T199] ? ethnl_set_rings_validate+0x1090/0x1090 [ 14.257204][ T199] ? find_held_lock+0x2b/0x80 [ 14.257210][ T199] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 14.257211][ T199] ? lockdep_hardirqs_on+0x91/0x130 [ 14.257215][ T199] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 14.257217][ T199] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 14.257222][ T199] ethnl_default_set_doit+0x4a6/0xe00 [ 14.257227][ T199] genl_family_rcv_msg_doit+0x206/0x300 [ 14.257231][ T199] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 14.257233][ T199] ? __lock_release.isra.0+0x69/0x1a0 [ 14.257238][ T199] ? rcu_is_watching+0x16/0xd0 [ 14.257241][ T199] ? cap_capable+0x1d7/0x3d0 [ 14.257247][ T199] genl_family_rcv_msg+0x3a4/0x640 [ 14.257251][ T199] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 14.257254][ T199] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.257256][ T199] ? ethnl_notify+0x3b0/0x3b0 [ 14.257259][ T199] ? __lock_acquire+0x518/0xc20 [ 14.257265][ T199] genl_rcv_msg+0xbb/0x160 [ 14.257268][ T199] netlink_rcv_skb+0x14e/0x3a0 [ 14.257270][ T199] ? genl_family_rcv_msg+0x640/0x640 [ 14.257274][ T199] ? netlink_ack+0xcd0/0xcd0 [ 14.257281][ T199] ? netlink_deliver_tap+0xc5/0x330 [ 14.257283][ T199] ? netlink_deliver_tap+0x13c/0x330 [ 14.257287][ T199] genl_rcv+0x28/0x40 [ 14.257289][ T199] netlink_unicast+0x486/0x750 [ 14.257294][ T199] ? netlink_attachskb+0x810/0x810 [ 14.257299][ T199] netlink_sendmsg+0x735/0xc60 [ 14.257304][ T199] ? netlink_unicast+0x750/0x750 [ 14.257308][ T199] ? ___sys_sendmsg+0x1d0/0x1d0 [ 14.257311][ T199] ? mksaveddirty_shift+0x30/0x30 [ 14.257316][ T199] __sys_sendto+0x2aa/0x400 [ 14.257318][ T199] ? __ia32_sys_getpeername+0xd0/0xd0 [ 14.257332][ T199] __x64_sys_sendto+0xe4/0x1f0 [ 14.257334][ T199] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 14.257337][ T199] ? lockdep_hardirqs_on+0x91/0x130 [ 14.257339][ T199] ? do_syscall_64+0xa6/0x530 [ 14.257341][ T199] do_syscall_64+0xff/0x530 [ 14.257343][ T199] ? exc_page_fault+0xee/0x100 [ 14.257346][ T199] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.257348][ T199] RIP: 0033:0x7fcd4b94654e [ 14.257353][ T199] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 14.257358][ T199] RSP: 002b:00007ffcaeea4000 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 14.257361][ T199] RAX: ffffffffffffffda RBX: 00007ffcaeea4110 RCX: 00007fcd4b94654e [ 14.257362][ T199] RDX: 0000000000000028 RSI: 00007fcd4ad85e50 RDI: 0000000000000006 [ 14.257363][ T199] RBP: 00007ffcaeea4010 R08: 0000000000000000 R09: 0000000000000000 [ 14.257364][ T199] R10: 0000000000000000 R11: 0000000000000202 R12: 00007fcd4aeefcb0 [ 14.257365][ T199] R13: 00007ffcaeea4110 R14: 00007fcd4b3e4140 R15: 00007ffcaeea4478 [ 14.257371][ T199] [ 14.332448][ T199] virtio_net virtio2 enp0s1: resize rx fail: rx queue index: 0 err: -22 [ 29.524228][ T199] python3 (199) used greatest stack depth: 23912 bytes left [ 29.524252][ T199] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.524255][ T199] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 199, name: python3 [ 29.524257][ T199] preempt_count: 2, expected: 0 [ 29.524258][ T199] RCU nest depth: 0, expected: 0 [ 29.524260][ T199] locks held by python3/199: 5, last CPU#2: [ 29.524262][ T199] #0: ffffffffb6c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 29.524276][ T199] #1: ffffffffb6d99dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 29.524285][ T199] #2: ffffffffb6d99e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 29.524290][ T199] #3: ffffffffb6c89760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 29.524297][ T199] #4: ffffffffb6c89660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 29.524303][ T199] irq event stamp: 733110 [ 29.524304][ T199] hardirqs last enabled at (733109): [] __down_trylock_console_sem+0x86/0xa0 [ 29.524308][ T199] hardirqs last disabled at (733110): [] console_emit_next_record+0x3f8/0x4f0 [ 29.524311][ T199] softirqs last enabled at (730394): [] handle_softirqs+0x67c/0x900 [ 29.524314][ T199] softirqs last disabled at (730383): [] __irq_exit_rcu+0x145/0x1c0 [ 29.524317][ T199] Preemption disabled at: [ 29.524318][ T199] [<0000000000000000>] 0x0 [ 29.524327][ T199] CPU: 2 UID: 0 PID: 199 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.524332][ T199] Tainted: [W]=WARN [ 29.524333][ T199] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.524335][ T199] Call Trace: [ 29.524337][ T199] [ 29.524339][ T199] dump_stack_lvl+0x6f/0xa0 [ 29.524348][ T199] __might_resched.cold+0x1fe/0x2c1 [ 29.524357][ T199] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.524363][ T199] ? __kmalloc_noprof+0xdb/0x760 [ 29.524370][ T199] __kmalloc_noprof+0x443/0x760 [ 29.524374][ T199] ? alloc_buf.isra.0+0x4b/0x260 [ 29.524384][ T199] ? do_raw_spin_unlock+0x59/0x250 [ 29.524387][ T199] alloc_buf.isra.0+0x4b/0x260 [ 29.524393][ T199] put_chars+0x1e1/0x2f0 [ 29.524398][ T199] ? __send_to_port+0x420/0x420 [ 29.524401][ T199] ? printk_get_next_message+0x2fe/0x7d0 [ 29.524407][ T199] ? rcu_read_lock_any_held+0x3c/0x90 [ 29.524411][ T199] ? validate_chain+0x38b/0xc20 [ 29.524418][ T199] hvc_console_print+0x292/0x780 [ 29.524423][ T199] ? __lock_acquire+0x518/0xc20 [ 29.524426][ T199] ? __lock_acquire+0x518/0xc20 [ 29.524433][ T199] ? hvc_write+0x3a0/0x3a0 [ 29.524439][ T199] ? rcu_is_watching+0x16/0xd0 [ 29.524444][ T199] ? lock_acquire+0x13c/0x160 [ 29.524451][ T199] console_emit_next_record+0x252/0x4f0 [ 29.524457][ T199] ? devkmsg_read+0x4e0/0x4e0 [ 29.524465][ T199] ? rcu_is_watching+0x16/0xd0 [ 29.524469][ T199] ? lock_acquire+0x13c/0x160 [ 29.524475][ T199] console_flush_one_record+0x46f/0x710 [ 29.524482][ T199] ? console_emit_next_record+0x4f0/0x4f0 [ 29.524485][ T199] ? __lock_acquire+0x518/0xc20 [ 29.524494][ T199] console_unlock+0xee/0x1f0 [ 29.524499][ T199] ? console_flush_one_record+0x710/0x710 [ 29.524501][ T199] ? rcu_is_watching+0x16/0xd0 [ 29.524505][ T199] ? lock_acquire+0xa0/0x160 [ 29.524511][ T199] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.524514][ T199] ? vprintk_emit+0x320/0x3e0 [ 29.524520][ T199] vprintk_emit+0x37c/0x3e0 [ 29.524526][ T199] ? wake_up_klogd_work_func+0x90/0x90 [ 29.524531][ T199] ? __lock_acquire+0x518/0xc20 [ 29.524538][ T199] _printk+0xc7/0x100 [ 29.524543][ T199] ? snapshot_read.cold+0x21/0x21 [ 29.524547][ T199] ? do_raw_spin_lock+0x131/0x280 [ 29.524551][ T199] ? __rwlock_init+0x150/0x150 [ 29.524558][ T199] ? do_raw_spin_lock+0x131/0x280 [ 29.524562][ T199] do_exit.cold+0x82/0x9c [ 29.524568][ T199] ? exit_notify+0x890/0x890 [ 29.524570][ T199] ? __lock_release.isra.0+0x69/0x1a0 [ 29.524574][ T199] ? rcu_is_watching+0x16/0xd0 [ 29.524581][ T199] do_group_exit+0xb8/0x370 [ 29.524586][ T199] __x64_sys_exit_group+0x3c/0x50 [ 29.524589][ T199] x64_sys_call+0x1567/0x1570 [ 29.524592][ T199] do_syscall_64+0xff/0x530 [ 29.524597][ T199] ? exc_page_fault+0xee/0x100 [ 29.524602][ T199] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 29.524605][ T199] RIP: 0033:0x7fcd4b9971b8 [ 29.524608][ T199] Code: Unable to access opcode bytes at 0x7fcd4b99718e. [ 29.524610][ T199] RSP: 002b:00007ffcaeea4e88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 29.524613][ T199] RAX: ffffffffffffffda RBX: 00007fcd4bac7f88 RCX: 00007fcd4b9971b8 [ 29.524615][ T199] RDX: 00007fcd4b7bf708 RSI: ffffffffffffff90 RDI: 0000000000000001 [ 29.524617][ T199] RBP: 00007ffcaeea4ee0 R08: 0000000000000000 R09: 0000000000000001 [ 29.524618][ T199] R10: 00007fcd4be813f5 R11: 0000000000000246 R12: 0000000000000002 [ 29.524620][ T199] R13: 0000000000000001 R14: 00007fcd4bac6680 R15: 00007fcd4bac7fa0 [ 29.524632][ T199]