[ 12.948328][ T200] virtio_net virtio2 enp0s1: tx size (16) cannot be smaller than 19 [ 12.948437][ T200] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.948440][ T200] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 200, name: python3 [ 12.948441][ T200] preempt_count: 1, expected: 0 [ 12.948442][ T200] RCU nest depth: 0, expected: 0 [ 12.948443][ T200] locks held by python3/200: 6, last CPU#2: [ 12.948445][ T200] #0: ffffffff9916f248 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 [ 12.948458][ T200] #1: ffffffff99112c80 (rtnl_mutex){+.+.}-{4:4}, at: ethnl_default_set_doit+0x37c/0xe00 [ 12.948463][ T200] #2: ffffffff98999dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.948469][ T200] #3: ffffffff98999e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.948473][ T200] #4: ffffffff98889760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.948477][ T200] #5: ffffffff98889660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 12.948481][ T200] irq event stamp: 364660 [ 12.948482][ T200] hardirqs last enabled at (364659): [] __down_trylock_console_sem+0x86/0xa0 [ 12.948485][ T200] hardirqs last disabled at (364660): [] console_emit_next_record+0x3f8/0x4f0 [ 12.948487][ T200] softirqs last enabled at (364056): [] handle_softirqs+0x67c/0x900 [ 12.948490][ T200] softirqs last disabled at (364049): [] __irq_exit_rcu+0x145/0x1c0 [ 12.948492][ T200] Preemption disabled at: [ 12.948493][ T200] [] vprintk_emit+0x31b/0x3e0 [ 12.948499][ T200] CPU: 2 UID: 0 PID: 200 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.948503][ T200] Tainted: [W]=WARN [ 12.948504][ T200] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.948506][ T200] Call Trace: [ 12.948507][ T200] [ 12.948509][ T200] dump_stack_lvl+0x6f/0xa0 [ 12.948515][ T200] ? vprintk_emit+0x31b/0x3e0 [ 12.948517][ T200] __might_resched.cold+0x1fe/0x2c1 [ 12.948522][ T200] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.948526][ T200] ? __kmalloc_noprof+0xdb/0x760 [ 12.948531][ T200] __kmalloc_noprof+0x443/0x760 [ 12.948534][ T200] ? alloc_buf.isra.0+0x4b/0x260 [ 12.948541][ T200] ? do_raw_spin_unlock+0x59/0x250 [ 12.948544][ T200] alloc_buf.isra.0+0x4b/0x260 [ 12.948547][ T200] put_chars+0x1e1/0x2f0 [ 12.948551][ T200] ? __send_to_port+0x420/0x420 [ 12.948556][ T200] ? validate_chain+0x34a/0xc20 [ 12.948560][ T200] hvc_console_print+0x292/0x780 [ 12.948563][ T200] ? mark_usage+0x61/0x170 [ 12.948565][ T200] ? __lock_acquire+0x518/0xc20 [ 12.948567][ T200] ? __lock_acquire+0x518/0xc20 [ 12.948571][ T200] ? hvc_write+0x3a0/0x3a0 [ 12.948574][ T200] ? console_emit_next_record+0x202/0x4f0 [ 12.948577][ T200] ? rcu_is_watching+0x16/0xd0 [ 12.948582][ T200] ? lock_acquire+0x13c/0x160 [ 12.948586][ T200] console_emit_next_record+0x252/0x4f0 [ 12.948590][ T200] ? devkmsg_read+0x4e0/0x4e0 [ 12.948594][ T200] ? rcu_is_watching+0x16/0xd0 [ 12.948597][ T200] ? lock_acquire+0x13c/0x160 [ 12.948601][ T200] console_flush_one_record+0x46f/0x710 [ 12.948605][ T200] ? console_emit_next_record+0x4f0/0x4f0 [ 12.948607][ T200] ? __lock_acquire+0x518/0xc20 [ 12.948612][ T200] console_unlock+0xee/0x1f0 [ 12.948615][ T200] ? console_flush_one_record+0x710/0x710 [ 12.948617][ T200] ? rcu_is_watching+0x16/0xd0 [ 12.948619][ T200] ? lock_acquire+0xa0/0x160 [ 12.948623][ T200] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.948625][ T200] ? vprintk_emit+0x320/0x3e0 [ 12.948628][ T200] vprintk_emit+0x37c/0x3e0 [ 12.948632][ T200] ? wake_up_klogd_work_func+0x90/0x90 [ 12.948635][ T200] ? mark_usage+0x61/0x170 [ 12.948637][ T200] ? __lock_acquire+0x518/0xc20 [ 12.948641][ T200] dev_vprintk_emit+0x27f/0x2c0 [ 12.948646][ T200] ? device_rename.cold+0xa/0xa [ 12.948653][ T200] ? is_bpf_text_address+0x68/0x110 [ 12.948660][ T200] dev_printk_emit+0xb9/0xee [ 12.948662][ T200] ? dev_vprintk_emit+0x2c0/0x2c0 [ 12.948670][ T200] __netdev_printk+0x160/0x1d0 [ 12.948677][ T200] netdev_err+0xe2/0x120 [ 12.948679][ T200] ? netdev_crit+0x120/0x120 [ 12.948682][ T200] ? kasan_save_stack+0x3d/0x50 [ 12.948685][ T200] ? kasan_save_stack+0x2f/0x50 [ 12.948687][ T200] ? kmemdup_noprof+0x25/0x40 [ 12.948690][ T200] ? ethnl_default_set_doit+0x443/0xe00 [ 12.948692][ T200] ? genl_family_rcv_msg_doit+0x206/0x300 [ 12.948694][ T200] ? genl_family_rcv_msg+0x3a4/0x640 [ 12.948696][ T200] ? genl_rcv_msg+0xbb/0x160 [ 12.948698][ T200] ? netlink_rcv_skb+0x14e/0x3a0 [ 12.948700][ T200] ? genl_rcv+0x28/0x40 [ 12.948702][ T200] ? netlink_unicast+0x486/0x750 [ 12.948704][ T200] ? __sys_sendto+0x2aa/0x400 [ 12.948707][ T200] ? __x64_sys_sendto+0xe4/0x1f0 [ 12.948710][ T200] virtnet_set_ringparam.cold+0xad/0x1d8 [ 12.948717][ T200] ? virtnet_get_ringparam+0x200/0x2f0 [ 12.948721][ T200] ? mutex_is_locked+0x1c/0x50 [ 12.948724][ T200] ? virtnet_xdp+0x4e0/0x4e0 [ 12.948727][ T200] ethnl_set_rings+0x803/0x1330 [ 12.948732][ T200] ? ethnl_set_rings_validate+0x1090/0x1090 [ 12.948734][ T200] ? find_held_lock+0x2b/0x80 [ 12.948739][ T200] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 12.948741][ T200] ? lockdep_hardirqs_on+0x91/0x130 [ 12.948745][ T200] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 12.948747][ T200] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 12.948752][ T200] ethnl_default_set_doit+0x4a6/0xe00 [ 12.948757][ T200] genl_family_rcv_msg_doit+0x206/0x300 [ 12.948760][ T200] ? genl_family_rcv_msg_attrs_parse.isra.0+0x330/0x330 [ 12.948763][ T200] ? __lock_release.isra.0+0x69/0x1a0 [ 12.948768][ T200] ? rcu_is_watching+0x16/0xd0 [ 12.948771][ T200] ? cap_capable+0x1d7/0x3d0 [ 12.948777][ T200] genl_family_rcv_msg+0x3a4/0x640 [ 12.948781][ T200] ? genl_family_rcv_msg_dumpit+0x340/0x340 [ 12.948784][ T200] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.948786][ T200] ? ethnl_notify+0x3b0/0x3b0 [ 12.948789][ T200] ? __lock_acquire+0x518/0xc20 [ 12.948798][ T200] genl_rcv_msg+0xbb/0x160 [ 12.948802][ T200] netlink_rcv_skb+0x14e/0x3a0 [ 12.948804][ T200] ? genl_family_rcv_msg+0x640/0x640 [ 12.948807][ T200] ? netlink_ack+0xcd0/0xcd0 [ 12.948815][ T200] ? netlink_deliver_tap+0xc5/0x330 [ 12.948817][ T200] ? netlink_deliver_tap+0x13c/0x330 [ 12.948821][ T200] genl_rcv+0x28/0x40 [ 12.948823][ T200] netlink_unicast+0x486/0x750 [ 12.948828][ T200] ? netlink_attachskb+0x810/0x810 [ 12.948834][ T200] netlink_sendmsg+0x735/0xc60 [ 12.948838][ T200] ? netlink_unicast+0x750/0x750 [ 12.948842][ T200] ? ___sys_sendmsg+0x1d0/0x1d0 [ 12.948847][ T200] __sys_sendto+0x2aa/0x400 [ 12.948849][ T200] ? __ia32_sys_getpeername+0xd0/0xd0 [ 12.948855][ T200] ? _raw_spin_unlock+0x2d/0x50 [ 12.948865][ T200] __x64_sys_sendto+0xe4/0x1f0 [ 12.948867][ T200] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.948870][ T200] ? lockdep_hardirqs_on+0x91/0x130 [ 12.948872][ T200] ? do_syscall_64+0xa6/0x530 [ 12.948874][ T200] do_syscall_64+0xff/0x530 [ 12.948876][ T200] ? irq_exit_rcu+0x1a/0x30 [ 12.948878][ T200] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.948881][ T200] RIP: 0033:0x7f907882054e [ 12.948885][ T200] 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 [ 12.948887][ T200] RSP: 002b:00007ffcdc940f30 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 12.948889][ T200] RAX: ffffffffffffffda RBX: 00007ffcdc941040 RCX: 00007f907882054e [ 12.948891][ T200] RDX: 0000000000000028 RSI: 00007f9077c69ea0 RDI: 0000000000000006 [ 12.948892][ T200] RBP: 00007ffcdc940f40 R08: 0000000000000000 R09: 0000000000000000 [ 12.948892][ T200] R10: 0000000000000000 R11: 0000000000000202 R12: 00007f9077dc7cb0 [ 12.948893][ T200] R13: 00007ffcdc941040 R14: 00007f90782be140 R15: 00007ffcdc9413a8 [ 12.948900][ T200] [ 13.064400][ T200] virtio_net virtio2 enp0s1: resize rx fail: rx queue index: 0 err: -22 [ 27.755946][ T200] python3 (200) used greatest stack depth: 23912 bytes left [ 27.755968][ T200] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 27.755970][ T200] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 200, name: python3 [ 27.755972][ T200] preempt_count: 2, expected: 0 [ 27.755973][ T200] RCU nest depth: 0, expected: 0 [ 27.755974][ T200] locks held by python3/200: 5, last CPU#1: [ 27.755976][ T200] #0: ffffffff988027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 27.755987][ T200] #1: ffffffff98999dc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 27.755993][ T200] #2: ffffffff98999e38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 27.755996][ T200] #3: ffffffff98889760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 27.756000][ T200] #4: ffffffff98889660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 27.756004][ T200] irq event stamp: 703252 [ 27.756005][ T200] hardirqs last enabled at (703251): [] __down_trylock_console_sem+0x86/0xa0 [ 27.756008][ T200] hardirqs last disabled at (703252): [] console_emit_next_record+0x3f8/0x4f0 [ 27.756010][ T200] softirqs last enabled at (703204): [] handle_softirqs+0x67c/0x900 [ 27.756012][ T200] softirqs last disabled at (701501): [] __irq_exit_rcu+0x145/0x1c0 [ 27.756014][ T200] Preemption disabled at: [ 27.756015][ T200] [<0000000000000000>] 0x0 [ 27.756022][ T200] CPU: 1 UID: 0 PID: 200 Comm: python3 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 27.756025][ T200] Tainted: [W]=WARN [ 27.756026][ T200] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 27.756028][ T200] Call Trace: [ 27.756029][ T200] [ 27.756031][ T200] dump_stack_lvl+0x6f/0xa0 [ 27.756037][ T200] __might_resched.cold+0x1fe/0x2c1 [ 27.756042][ T200] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 27.756046][ T200] ? __kmalloc_noprof+0xdb/0x760 [ 27.756051][ T200] __kmalloc_noprof+0x443/0x760 [ 27.756053][ T200] ? alloc_buf.isra.0+0x4b/0x260 [ 27.756060][ T200] ? do_raw_spin_unlock+0x59/0x250 [ 27.756063][ T200] alloc_buf.isra.0+0x4b/0x260 [ 27.756066][ T200] put_chars+0x1e1/0x2f0 [ 27.756070][ T200] ? __send_to_port+0x420/0x420 [ 27.756071][ T200] ? printk_get_next_message+0x2fe/0x7d0 [ 27.756075][ T200] ? rcu_read_lock_any_held+0x3c/0x90 [ 27.756078][ T200] ? validate_chain+0x38b/0xc20 [ 27.756082][ T200] hvc_console_print+0x292/0x780 [ 27.756086][ T200] ? __lock_acquire+0x518/0xc20 [ 27.756087][ T200] ? __lock_acquire+0x518/0xc20 [ 27.756091][ T200] ? hvc_write+0x3a0/0x3a0 [ 27.756095][ T200] ? rcu_is_watching+0x16/0xd0 [ 27.756098][ T200] ? lock_acquire+0x13c/0x160 [ 27.756102][ T200] console_emit_next_record+0x252/0x4f0 [ 27.756106][ T200] ? devkmsg_read+0x4e0/0x4e0 [ 27.756110][ T200] ? rcu_is_watching+0x16/0xd0 [ 27.756112][ T200] ? lock_acquire+0x13c/0x160 [ 27.756116][ T200] console_flush_one_record+0x46f/0x710 [ 27.756120][ T200] ? console_emit_next_record+0x4f0/0x4f0 [ 27.756122][ T200] ? __lock_acquire+0x518/0xc20 [ 27.756127][ T200] console_unlock+0xee/0x1f0 [ 27.756130][ T200] ? console_flush_one_record+0x710/0x710 [ 27.756132][ T200] ? rcu_is_watching+0x16/0xd0 [ 27.756134][ T200] ? lock_acquire+0xa0/0x160 [ 27.756138][ T200] ? __down_trylock_console_sem+0x5e/0xa0 [ 27.756139][ T200] ? vprintk_emit+0x320/0x3e0 [ 27.756143][ T200] vprintk_emit+0x37c/0x3e0 [ 27.756147][ T200] ? wake_up_klogd_work_func+0x90/0x90 [ 27.756150][ T200] ? __lock_acquire+0x518/0xc20 [ 27.756154][ T200] _printk+0xc7/0x100 [ 27.756157][ T200] ? snapshot_read.cold+0x21/0x21 [ 27.756160][ T200] ? do_raw_spin_lock+0x131/0x280 [ 27.756162][ T200] ? __rwlock_init+0x150/0x150 [ 27.756166][ T200] ? do_raw_spin_lock+0x131/0x280 [ 27.756168][ T200] do_exit.cold+0x82/0x9c [ 27.756172][ T200] ? exit_notify+0x890/0x890 [ 27.756174][ T200] ? __lock_release.isra.0+0x69/0x1a0 [ 27.756176][ T200] ? rcu_is_watching+0x16/0xd0 [ 27.756180][ T200] do_group_exit+0xb8/0x370 [ 27.756183][ T200] __x64_sys_exit_group+0x3c/0x50 [ 27.756185][ T200] x64_sys_call+0x1567/0x1570 [ 27.756187][ T200] do_syscall_64+0xff/0x530 [ 27.756191][ T200] ? exc_page_fault+0xee/0x100 [ 27.756194][ T200] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 27.756196][ T200] RIP: 0033:0x7f90788711b8 [ 27.756199][ T200] Code: Unable to access opcode bytes at 0x7f907887118e. [ 27.756200][ T200] RSP: 002b:00007ffcdc941db8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 27.756202][ T200] RAX: ffffffffffffffda RBX: 00007f90789a1f88 RCX: 00007f90788711b8 [ 27.756204][ T200] RDX: 00007f9078699708 RSI: ffffffffffffff90 RDI: 0000000000000001 [ 27.756205][ T200] RBP: 00007ffcdc941e10 R08: 0000000000000000 R09: 0000000000000001 [ 27.756205][ T200] R10: 00007f9078d5b3f5 R11: 0000000000000246 R12: 0000000000000002 [ 27.756206][ T200] R13: 0000000000000001 R14: 00007f90789a0680 R15: 00007f90789a1fa0 [ 27.756213][ T200]