[ 13.779311][ T345] ip (345) used greatest stack depth: 24232 bytes left [ 13.779326][ T345] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.779328][ T345] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 345, name: ip [ 13.779330][ T345] preempt_count: 2, expected: 0 [ 13.779331][ T345] RCU nest depth: 0, expected: 0 [ 13.779331][ T345] locks held by ip/345: 5, last CPU#2: [ 13.779333][ T345] #0: ffffffffb28167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 13.779344][ T345] #1: ffffffffb297ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.779349][ T345] #2: ffffffffb297de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.779353][ T345] #3: ffffffffb289d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.779357][ T345] #4: ffffffffb289d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.779361][ T345] irq event stamp: 22742 [ 13.779362][ T345] hardirqs last enabled at (22741): [] __down_trylock_console_sem+0x86/0xa0 [ 13.779365][ T345] hardirqs last disabled at (22742): [] console_emit_next_record+0x3d4/0x4c0 [ 13.779367][ T345] softirqs last enabled at (21556): [] handle_softirqs+0x67c/0x900 [ 13.779369][ T345] softirqs last disabled at (21085): [] __irq_exit_rcu+0x145/0x1c0 [ 13.779372][ T345] Preemption disabled at: [ 13.779372][ T345] [<0000000000000000>] 0x0 [ 13.779379][ T345] CPU: 2 UID: 0 PID: 345 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.779382][ T345] Tainted: [W]=WARN [ 13.779383][ T345] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.779384][ T345] Call Trace: [ 13.779386][ T345] [ 13.779388][ T345] dump_stack_lvl+0x6f/0xa0 [ 13.779394][ T345] __might_resched.cold+0x1fe/0x2c1 [ 13.779399][ T345] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.779403][ T345] ? __kmalloc_noprof+0xdb/0x760 [ 13.779407][ T345] __kmalloc_noprof+0x443/0x760 [ 13.779409][ T345] ? alloc_buf.isra.0+0x4b/0x260 [ 13.779416][ T345] ? do_raw_spin_unlock+0x59/0x250 [ 13.779419][ T345] alloc_buf.isra.0+0x4b/0x260 [ 13.779422][ T345] put_chars+0x1e1/0x2f0 [ 13.779425][ T345] ? __send_to_port+0x420/0x420 [ 13.779426][ T345] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.779429][ T345] ? validate_chain+0x38b/0xc20 [ 13.779435][ T345] hvc_console_print+0x292/0x780 [ 13.779443][ T345] ? hvc_write+0x3a0/0x3a0 [ 13.779446][ T345] ? rcu_is_watching+0x16/0xd0 [ 13.779448][ T345] ? lock_acquire+0x13c/0x160 [ 13.779452][ T345] console_emit_next_record+0x22f/0x4c0 [ 13.779456][ T345] ? devkmsg_read+0x4b0/0x4b0 [ 13.779457][ T345] ? console_flush_one_record+0x106/0x710 [ 13.779461][ T345] ? rcu_is_watching+0x16/0xd0 [ 13.779462][ T345] ? lock_acquire+0x13c/0x160 [ 13.779466][ T345] console_flush_one_record+0x46f/0x710 [ 13.779471][ T345] ? console_emit_next_record+0x4c0/0x4c0 [ 13.779472][ T345] ? __lock_acquire+0x518/0xc20 [ 13.779478][ T345] console_unlock+0xee/0x1f0 [ 13.779482][ T345] ? console_flush_one_record+0x710/0x710 [ 13.779484][ T345] ? rcu_is_watching+0x16/0xd0 [ 13.779486][ T345] ? lock_acquire+0xe0/0x160 [ 13.779490][ T345] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.779491][ T345] ? vprintk_emit+0x320/0x3e0 [ 13.779494][ T345] vprintk_emit+0x37c/0x3e0 [ 13.779497][ T345] ? wake_up_klogd_work_func+0x90/0x90 [ 13.779500][ T345] ? __lock_acquire+0x518/0xc20 [ 13.779504][ T345] _printk+0xc7/0x100 [ 13.779508][ T345] ? snapshot_read.cold+0x21/0x21 [ 13.779510][ T345] ? do_raw_spin_lock+0x131/0x280 [ 13.779513][ T345] ? __rwlock_init+0x150/0x150 [ 13.779517][ T345] ? do_raw_spin_lock+0x131/0x280 [ 13.779520][ T345] do_exit.cold+0x82/0x9c [ 13.779523][ T345] ? exit_notify+0x890/0x890 [ 13.779525][ T345] ? __lock_release.isra.0+0x69/0x1a0 [ 13.779528][ T345] ? rcu_is_watching+0x16/0xd0 [ 13.779531][ T345] do_group_exit+0xb8/0x370 [ 13.779534][ T345] __x64_sys_exit_group+0x3c/0x50 [ 13.779536][ T345] x64_sys_call+0x1567/0x1570 [ 13.779538][ T345] do_syscall_64+0xff/0x530 [ 13.779542][ T345] ? exc_page_fault+0xee/0x100 [ 13.779545][ T345] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.779547][ T345] RIP: 0033:0x7f01f3d411b8 [ 13.779549][ T345] Code: Unable to access opcode bytes at 0x7f01f3d4118e. [ 13.779550][ T345] RSP: 002b:00007ffd3c166088 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 13.779553][ T345] RAX: ffffffffffffffda RBX: 00007f01f3e71f88 RCX: 00007f01f3d411b8 [ 13.779554][ T345] RDX: 00007f01f3a8bfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 13.779555][ T345] RBP: 00007ffd3c1660e0 R08: 0000000000000000 R09: 0000000000000050 [ 13.779556][ T345] R10: 00007ffd3c165ea0 R11: 0000000000000246 R12: 0000000000000001 [ 13.779557][ T345] R13: 0000000000000000 R14: 00007f01f3e70680 R15: 00007f01f3e71fa0 [ 13.779564][ T345] [ 14.768554][ C0] IPv4: Oversized IP packet from 172.17.0.2 [ 14.768587][ C0] [ 14.768588][ C0] ======================================================== [ 14.768589][ C0] WARNING: possible irq lock inversion dependency detected [ 14.768591][ C0] 7.2.0-virtme #1 Tainted: G W [ 14.768592][ C0] -------------------------------------------------------- [ 14.768592][ C0] psock_snd/374 just changed the state of lock: [ 14.768594][ C0] ffffffffb289d760 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 14.768606][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 14.768607][ C0] (fs_reclaim){+.+.}-{0:0} [ 14.768609][ C0] [ 14.768609][ C0] [ 14.768609][ C0] and interrupts could create inverse lock ordering between them. [ 14.768609][ C0] [ 14.768609][ C0] [ 14.768609][ C0] other info that might help us debug this: [ 14.768610][ C0] Possible interrupt unsafe locking scenario: [ 14.768610][ C0] [ 14.768611][ C0] CPU0 CPU1 [ 14.768611][ C0] ---- ---- [ 14.768611][ C0] lock(fs_reclaim); [ 14.768613][ C0] local_irq_disable(); [ 14.768613][ C0] lock(console_owner); [ 14.768614][ C0] lock(fs_reclaim); [ 14.768615][ C0] [ 14.768615][ C0] lock(console_owner); [ 14.768616][ C0] [ 14.768616][ C0] *** DEADLOCK *** [ 14.768616][ C0] [ 14.768616][ C0] locks held by psock_snd/374: 5, last CPU#0: [ 14.768617][ C0] #0: ffffffffb2994c00 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 14.768624][ C0] #1: ffffffffb2994c00 (rcu_read_lock){....}-{1:3}, at: ip_defrag+0xcd/0x7a0 [ 14.768628][ C0] #2: ff1100000ae403e8 (&q->lock){+.-.}-{3:3}, at: ip_defrag+0x2c4/0x7a0 [ 14.768630][ C0] #3: ffffffffb297ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 14.768633][ C0] #4: ffffffffb297de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 14.768636][ C0] [ 14.768636][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 14.768640][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 14.768642][ C0] HARDIRQ-ON-W at: [ 14.768644][ C0] __lock_acquire+0x388/0xc20 [ 14.768647][ C0] lock_acquire.part.0+0xd4/0x280 [ 14.768649][ C0] fs_reclaim_acquire+0xd5/0x120 [ 14.768652][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 14.768654][ C0] kthread_create_worker_on_node+0xea/0x210 [ 14.768656][ C0] workqueue_init+0x2a/0x680 [ 14.768660][ C0] kernel_init_freeable+0x2fe/0x630 [ 14.768663][ C0] kernel_init+0x21/0x150 [ 14.768666][ C0] ret_from_fork+0x474/0x6b0 [ 14.768670][ C0] ret_from_fork_asm+0x11/0x20 [ 14.768673][ C0] SOFTIRQ-ON-W at: [ 14.768674][ C0] __lock_acquire+0x388/0xc20 [ 14.768675][ C0] lock_acquire.part.0+0xd4/0x280 [ 14.768677][ C0] fs_reclaim_acquire+0xd5/0x120 [ 14.768678][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 14.768679][ C0] kthread_create_worker_on_node+0xea/0x210 [ 14.768681][ C0] workqueue_init+0x2a/0x680 [ 14.768682][ C0] kernel_init_freeable+0x2fe/0x630 [ 14.768684][ C0] kernel_init+0x21/0x150 [ 14.768685][ C0] ret_from_fork+0x474/0x6b0 [ 14.768686][ C0] ret_from_fork_asm+0x11/0x20 [ 14.768687][ C0] INITIAL USE at: [ 14.768688][ C0] __lock_acquire+0x388/0xc20 [ 14.768690][ C0] lock_acquire.part.0+0xd4/0x280 [ 14.768691][ C0] fs_reclaim_acquire+0xd5/0x120 [ 14.768692][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 14.768693][ C0] kthread_create_worker_on_node+0xea/0x210 [ 14.768695][ C0] workqueue_init+0x2a/0x680 [ 14.768696][ C0] kernel_init_freeable+0x2fe/0x630 [ 14.768698][ C0] kernel_init+0x21/0x150 [ 14.768699][ C0] ret_from_fork+0x474/0x6b0 [ 14.768700][ C0] ret_from_fork_asm+0x11/0x20 [ 14.768702][ C0] } [ 14.768702][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 14.768706][ C0] ... acquired at: [ 14.768707][ C0] __lock_acquire+0x518/0xc20 [ 14.768708][ C0] lock_acquire.part.0+0xd4/0x280 [ 14.768709][ C0] fs_reclaim_acquire+0xd5/0x120 [ 14.768711][ C0] __kmalloc_noprof+0xd3/0x760 [ 14.768711][ C0] alloc_buf.isra.0+0x4b/0x260 [ 14.768715][ C0] put_chars+0x1e1/0x2f0 [ 14.768716][ C0] hvc_console_print+0x292/0x780 [ 14.768719][ C0] console_emit_next_record+0x22f/0x4c0 [ 14.768721][ C0] console_flush_one_record+0x46f/0x710 [ 14.768722][ C0] console_unlock+0xee/0x1f0 [ 14.768724][ C0] vprintk_emit+0x37c/0x3e0 [ 14.768725][ C0] _printk+0xc7/0x100 [ 14.768728][ C0] i8042_pnp_init+0xf7/0x3c0 [ 14.768731][ C0] i8042_platform_init+0x3f9/0x460 [ 14.768732][ C0] i8042_init+0x45/0x130 [ 14.768733][ C0] do_one_initcall+0x124/0x4f0 [ 14.768735][ C0] kernel_init_freeable+0x596/0x630 [ 14.768736][ C0] kernel_init+0x21/0x150 [ 14.768737][ C0] ret_from_fork+0x474/0x6b0 [ 14.768739][ C0] ret_from_fork_asm+0x11/0x20 [ 14.768740][ C0] [ 14.768740][ C0] -> (console_owner){..-.}-{0:0} { [ 14.768742][ C0] IN-SOFTIRQ-W at: [ 14.768743][ C0] __lock_acquire+0x388/0xc20 [ 14.768744][ C0] lock_acquire.part.0+0xd4/0x280 [ 14.768745][ C0] console_lock_spinning_enable+0x5c/0x60 [ 14.768747][ C0] console_emit_next_record+0x1d1/0x4c0 [ 14.768749][ C0] console_flush_one_record+0x46f/0x710 [ 14.768750][ C0] console_unlock+0xee/0x1f0 [ 14.768752][ C0] vprintk_emit+0x37c/0x3e0 [ 14.768753][ C0] _printk+0xc7/0x100 [ 14.768754][ C0] ip_frag_reasm.constprop.0.cold+0x10/0x15 [ 14.768756][ C0] ip_frag_queue+0xeb5/0x1830 [ 14.768757][ C0] ip_defrag+0x2d4/0x7a0 [ 14.768758][ C0] ip_local_deliver+0x171/0x4c0 [ 14.768759][ C0] ip_rcv+0xdc/0x3d0 [ 14.768760][ C0] __netif_receive_skb_core.constprop.0+0x13b5/0x2bb0 [ 14.768762][ C0] __netif_receive_skb_one_core+0xa2/0x180 [ 14.768763][ C0] process_backlog+0x431/0x14c0 [ 14.768765][ C0] __napi_poll+0xa7/0x3b0 [ 14.768766][ C0] net_rx_action+0x513/0xf50 [ 14.768768][ C0] handle_softirqs+0x1d3/0x900 [ 14.768770][ C0] do_softirq+0xac/0xe0 [ 14.768772][ C0] __local_bh_enable_ip+0x118/0x150 [ 14.768773][ C0] __dev_queue_xmit+0x989/0x1b90 [ 14.768774][ C0] packet_snd+0xee8/0x1840 [ 14.768777][ C0] __sock_sendmsg+0xce/0x190 [ 14.768779][ C0] __sys_sendto+0x260/0x320 [ 14.768781][ C0] __x64_sys_sendto+0xe4/0x1f0 [ 14.768782][ C0] do_syscall_64+0xff/0x530 [ 14.768785][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.768786][ C0] INITIAL USE at: [ 14.768787][ C0] } [ 14.768788][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 14.768790][ C0] ... acquired at: [ 14.768791][ C0] mark_lock+0x1d7/0xa00 [ 14.768792][ C0] mark_usage+0x42/0x170 [ 14.768793][ C0] __lock_acquire+0x388/0xc20 [ 14.768795][ C0] lock_acquire.part.0+0xd4/0x280 [ 14.768796][ C0] console_lock_spinning_enable+0x5c/0x60 [ 14.768797][ C0] console_emit_next_record+0x1d1/0x4c0 [ 14.768799][ C0] console_flush_one_record+0x46f/0x710 [ 14.768800][ C0] console_unlock+0xee/0x1f0 [ 14.768802][ C0] vprintk_emit+0x37c/0x3e0 [ 14.768803][ C0] _printk+0xc7/0x100 [ 14.768804][ C0] ip_frag_reasm.constprop.0.cold+0x10/0x15 [ 14.768805][ C0] ip_frag_queue+0xeb5/0x1830 [ 14.768806][ C0] ip_defrag+0x2d4/0x7a0 [ 14.768807][ C0] ip_local_deliver+0x171/0x4c0 [ 14.768807][ C0] ip_rcv+0xdc/0x3d0 [ 14.768808][ C0] __netif_receive_skb_core.constprop.0+0x13b5/0x2bb0 [ 14.768810][ C0] __netif_receive_skb_one_core+0xa2/0x180 [ 14.768811][ C0] process_backlog+0x431/0x14c0 [ 14.768813][ C0] __napi_poll+0xa7/0x3b0 [ 14.768814][ C0] net_rx_action+0x513/0xf50 [ 14.768815][ C0] handle_softirqs+0x1d3/0x900 [ 14.768817][ C0] do_softirq+0xac/0xe0 [ 14.768818][ C0] __local_bh_enable_ip+0x118/0x150 [ 14.768819][ C0] __dev_queue_xmit+0x989/0x1b90 [ 14.768820][ C0] packet_snd+0xee8/0x1840 [ 14.768822][ C0] __sock_sendmsg+0xce/0x190 [ 14.768823][ C0] __sys_sendto+0x260/0x320 [ 14.768824][ C0] __x64_sys_sendto+0xe4/0x1f0 [ 14.768825][ C0] do_syscall_64+0xff/0x530 [ 14.768827][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.768828][ C0] [ 14.768828][ C0] [ 14.768828][ C0] stack backtrace: [ 14.768830][ C0] CPU: 0 UID: 0 PID: 374 Comm: psock_snd Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.768834][ C0] Tainted: [W]=WARN [ 14.768834][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.768836][ C0] Call Trace: [ 14.768837][ C0] [ 14.768838][ C0] dump_stack_lvl+0x6f/0xa0 [ 14.768843][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 14.768845][ C0] mark_lock_irq+0x989/0x9c0 [ 14.768848][ C0] mark_lock+0x1d7/0xa00 [ 14.768850][ C0] mark_usage+0x42/0x170 [ 14.768851][ C0] __lock_acquire+0x388/0xc20 [ 14.768853][ C0] lock_acquire.part.0+0xd4/0x280 [ 14.768855][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 14.768857][ C0] ? rcu_is_watching+0x16/0xd0 [ 14.768859][ C0] ? lock_acquire+0x13c/0x160 [ 14.768861][ C0] console_lock_spinning_enable+0x5c/0x60 [ 14.768863][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 14.768865][ C0] console_emit_next_record+0x1d1/0x4c0 [ 14.768867][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 14.768868][ C0] ? console_flush_one_record+0x106/0x710 [ 14.768870][ C0] ? rcu_is_watching+0x16/0xd0 [ 14.768871][ C0] ? lock_acquire+0x13c/0x160 [ 14.768873][ C0] console_flush_one_record+0x46f/0x710 [ 14.768875][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 14.768877][ C0] ? __lock_acquire+0x518/0xc20 [ 14.768879][ C0] console_unlock+0xee/0x1f0 [ 14.768881][ C0] ? console_flush_one_record+0x710/0x710 [ 14.768883][ C0] ? rcu_is_watching+0x16/0xd0 [ 14.768884][ C0] ? lock_acquire+0xe0/0x160 [ 14.768886][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.768888][ C0] ? vprintk_emit+0x320/0x3e0 [ 14.768889][ C0] vprintk_emit+0x37c/0x3e0 [ 14.768890][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 14.768892][ C0] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 14.768895][ C0] _printk+0xc7/0x100 [ 14.768896][ C0] ? snapshot_read.cold+0x21/0x21 [ 14.768898][ C0] ? ___ratelimit+0x4e7/0xa00 [ 14.768901][ C0] ? idr_get_free+0x830/0x830 [ 14.768903][ C0] ip_frag_reasm.constprop.0.cold+0x10/0x15 [ 14.768904][ C0] ip_frag_queue+0xeb5/0x1830 [ 14.768907][ C0] ip_defrag+0x2d4/0x7a0 [ 14.768908][ C0] ? ip4_obj_hashfn+0x280/0x280 [ 14.768909][ C0] ? ip_route_input_noref+0x137/0x250 [ 14.768912][ C0] ? ip_route_input_slow+0x2420/0x2420 [ 14.768914][ C0] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 14.768915][ C0] ? rcu_is_watching+0x16/0xd0 [ 14.768917][ C0] ip_local_deliver+0x171/0x4c0 [ 14.768918][ C0] ? ip_local_deliver_finish+0x610/0x610 [ 14.768919][ C0] ? ip_rcv_finish_core+0x6ed/0x14c0 [ 14.768920][ C0] ? __asan_memset+0x27/0x50 [ 14.768924][ C0] ip_rcv+0xdc/0x3d0 [ 14.768926][ C0] ? ip_local_deliver+0x4c0/0x4c0 [ 14.768927][ C0] ? rcu_do_batch+0x2b6/0x1000 [ 14.768928][ C0] ? is_bpf_text_address+0x72/0x110 [ 14.768931][ C0] ? x86_64_start_kernel+0x12b/0x130 [ 14.768933][ C0] ? sched_balance_find_src_group+0x3cb/0x760 [ 14.768936][ C0] __netif_receive_skb_core.constprop.0+0x13b5/0x2bb0 [ 14.768938][ C0] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.768940][ C0] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.768942][ C0] ? validate_chain+0x38b/0xc20 [ 14.768944][ C0] ? kthread_is_per_cpu+0x7b/0xe0 [ 14.768946][ C0] ? mark_usage+0x61/0x170 [ 14.768948][ C0] ? __lock_acquire+0x518/0xc20 [ 14.768950][ C0] ? do_xdp_generic+0x4a0/0x4a0 [ 14.768951][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 14.768953][ C0] ? find_held_lock+0x2b/0x80 [ 14.768955][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 14.768956][ C0] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.768958][ C0] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.768959][ C0] ? validate_chain+0x38b/0xc20 [ 14.768961][ C0] ? sock_def_readable+0x156/0x480 [ 14.768962][ C0] ? mark_usage+0x61/0x170 [ 14.768964][ C0] ? __lock_acquire+0x518/0xc20 [ 14.768966][ C0] ? process_backlog+0x3f1/0x14c0 [ 14.768967][ C0] __netif_receive_skb_one_core+0xa2/0x180 [ 14.768969][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 14.768971][ C0] ? process_backlog+0x3f1/0x14c0 [ 14.768972][ C0] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 14.768974][ C0] ? rcu_is_watching+0x16/0xd0 [ 14.768976][ C0] process_backlog+0x431/0x14c0 [ 14.768978][ C0] __napi_poll+0xa7/0x3b0 [ 14.768980][ C0] net_rx_action+0x513/0xf50 [ 14.768983][ C0] ? __lock_acquire+0x518/0xc20 [ 14.768984][ C0] ? __napi_poll+0x3b0/0x3b0 [ 14.768988][ C0] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 14.768991][ C0] ? rcu_is_watching+0x16/0xd0 [ 14.768992][ C0] handle_softirqs+0x1d3/0x900 [ 14.768994][ C0] ? _local_bh_enable+0xc0/0xc0 [ 14.768996][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 14.768998][ C0] ? rcu_is_watching+0x16/0xd0 [ 14.768999][ C0] ? __dev_queue_xmit+0x974/0x1b90 [ 14.769001][ C0] do_softirq+0xac/0xe0 [ 14.769002][ C0] [ 14.769003][ C0] [ 14.769003][ C0] __local_bh_enable_ip+0x118/0x150 [ 14.769005][ C0] __dev_queue_xmit+0x989/0x1b90 [ 14.769007][ C0] ? _copy_from_iter+0x1bb/0x1810 [ 14.769010][ C0] ? _copy_from_iter_flushcache+0x1970/0x1970 [ 14.769012][ C0] ? _copy_from_iter_flushcache+0x1970/0x1970 [ 14.769013][ C0] ? __might_fault+0x97/0x140 [ 14.769015][ C0] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 14.769017][ C0] ? __virtio_net_hdr_to_skb.constprop.0+0x327/0x1440 [ 14.769020][ C0] ? alloc_pg_vec.isra.0+0x540/0x540 [ 14.769021][ C0] ? packet_rcv_spkt+0x5a0/0x5a0 [ 14.769023][ C0] packet_snd+0xee8/0x1840 [ 14.769025][ C0] ? kasan_addr_to_slab+0x41/0x50 [ 14.769027][ C0] ? tpacket_snd+0x1990/0x1990 [ 14.769029][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 14.769030][ C0] ? __might_fault+0x97/0x140 [ 14.769031][ C0] ? find_held_lock+0x2b/0x80 [ 14.769033][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 14.769035][ C0] __sock_sendmsg+0xce/0x190 [ 14.769036][ C0] ? fdget+0x4f/0x1e0 [ 14.769039][ C0] __sys_sendto+0x260/0x320 [ 14.769041][ C0] ? __ia32_sys_getpeername+0xd0/0xd0 [ 14.769044][ C0] ? fput_close_sync+0xde/0x1b0 [ 14.769047][ C0] ? alloc_file_clone+0xe0/0xe0 [ 14.769049][ C0] __x64_sys_sendto+0xe4/0x1f0 [ 14.769051][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 14.769053][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 14.769055][ C0] ? do_syscall_64+0xa6/0x530 [ 14.769056][ C0] do_syscall_64+0xff/0x530 [ 14.769058][ C0] ? exc_page_fault+0xee/0x100 [ 14.769060][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.769061][ C0] RIP: 0033:0x7fc87987954e [ 14.769064][ C0] 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.769065][ C0] RSP: 002b:00007fffae8f5820 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 14.769068][ C0] RAX: ffffffffffffffda RBX: 0000000000010018 RCX: 00007fc87987954e [ 14.769069][ C0] RDX: 0000000000010018 RSI: 0000000000415120 RDI: 0000000000000007 [ 14.769070][ C0] RBP: 00007fffae8f5830 R08: 00007fffae8f5890 R09: 0000000000000014 [ 14.769071][ C0] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000007 [ 14.769071][ C0] R13: 0000000000000006 R14: 00007fc879a4a000 R15: 0000000000404e00 [ 14.769074][ C0] [ 14.778628][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 14.778629][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 374, name: psock_snd [ 14.778631][ C0] preempt_count: 103, expected: 0 [ 14.778632][ C0] RCU nest depth: 2, expected: 0 [ 14.778632][ C0] INFO: lockdep is turned off. [ 14.778633][ C0] irq event stamp: 30397 [ 14.778634][ C0] hardirqs last enabled at (30396): [] __down_trylock_console_sem+0x86/0xa0 [ 14.778638][ C0] hardirqs last disabled at (30397): [] console_emit_next_record+0x3d4/0x4c0 [ 14.778640][ C0] softirqs last enabled at (30034): [] __dev_queue_xmit+0x974/0x1b90 [ 14.778642][ C0] softirqs last disabled at (30035): [] do_softirq+0xac/0xe0 [ 14.778644][ C0] Preemption disabled at: [ 14.778645][ C0] [] __dev_queue_xmit+0x20c/0x1b90 [ 14.778648][ C0] CPU: 0 UID: 0 PID: 374 Comm: psock_snd Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 14.778650][ C0] Tainted: [W]=WARN [ 14.778651][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.778652][ C0] Call Trace: [ 14.778653][ C0] [ 14.778653][ C0] dump_stack_lvl+0x6f/0xa0 [ 14.778657][ C0] ? __dev_queue_xmit+0x20c/0x1b90 [ 14.778659][ C0] __might_resched.cold+0x1fe/0x2c1 [ 14.778662][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 14.778664][ C0] ? do_raw_spin_lock+0x131/0x280 [ 14.778667][ C0] ? rcu_is_watching+0x16/0xd0 [ 14.778668][ C0] __kmalloc_noprof+0x443/0x760 [ 14.778670][ C0] ? __rwlock_init+0x150/0x150 [ 14.778671][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 14.778675][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 14.778676][ C0] alloc_buf.isra.0+0x4b/0x260 [ 14.778678][ C0] put_chars+0x1e1/0x2f0 [ 14.778680][ C0] ? __send_to_port+0x420/0x420 [ 14.778681][ C0] ? printk_get_next_message+0x240/0x650 [ 14.778683][ C0] hvc_console_print+0x292/0x780 [ 14.778686][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 14.778688][ C0] ? hvc_write+0x3a0/0x3a0 [ 14.778690][ C0] ? __rwlock_init+0x150/0x150 [ 14.778691][ C0] ? rcu_is_watching+0x16/0xd0 [ 14.778693][ C0] ? lock_acquire+0x13c/0x160 [ 14.778695][ C0] console_emit_next_record+0x22f/0x4c0 [ 14.778697][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 14.778699][ C0] ? console_flush_one_record+0x106/0x710 [ 14.778701][ C0] ? rcu_is_watching+0x16/0xd0 [ 14.778702][ C0] ? lock_acquire+0x13c/0x160 [ 14.778703][ C0] ? console_flush_one_record+0x111/0x710 [ 14.778705][ C0] console_flush_one_record+0x46f/0x710 [ 14.778707][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 14.778709][ C0] ? __lock_acquire+0x518/0xc20 [ 14.778711][ C0] console_unlock+0xee/0x1f0 [ 14.778713][ C0] ? console_flush_one_record+0x710/0x710 [ 14.778715][ C0] ? rcu_is_watching+0x16/0xd0 [ 14.778716][ C0] ? lock_acquire+0xe0/0x160 [ 14.778718][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 14.778719][ C0] ? vprintk_emit+0x320/0x3e0 [ 14.778721][ C0] vprintk_emit+0x37c/0x3e0 [ 14.778722][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 14.778723][ C0] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 14.778726][ C0] _printk+0xc7/0x100 [ 14.778728][ C0] ? snapshot_read.cold+0x21/0x21 [ 14.778729][ C0] ? ___ratelimit+0x4e7/0xa00 [ 14.778732][ C0] ? idr_get_free+0x830/0x830 [ 14.778734][ C0] ip_frag_reasm.constprop.0.cold+0x10/0x15 [ 14.778736][ C0] ip_frag_queue+0xeb5/0x1830 [ 14.778738][ C0] ip_defrag+0x2d4/0x7a0 [ 14.778740][ C0] ? ip4_obj_hashfn+0x280/0x280 [ 14.778741][ C0] ? ip_route_input_noref+0x137/0x250 [ 14.778743][ C0] ? ip_route_input_slow+0x2420/0x2420 [ 14.778745][ C0] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 14.778746][ C0] ? rcu_is_watching+0x16/0xd0 [ 14.778748][ C0] ip_local_deliver+0x171/0x4c0 [ 14.778749][ C0] ? ip_local_deliver_finish+0x610/0x610 [ 14.778750][ C0] ? ip_rcv_finish_core+0x6ed/0x14c0 [ 14.778751][ C0] ? __asan_memset+0x27/0x50 [ 14.778754][ C0] ip_rcv+0xdc/0x3d0 [ 14.778755][ C0] ? ip_local_deliver+0x4c0/0x4c0 [ 14.778756][ C0] ? rcu_do_batch+0x2b6/0x1000 [ 14.778758][ C0] ? is_bpf_text_address+0x72/0x110 [ 14.778760][ C0] ? x86_64_start_kernel+0x12b/0x130 [ 14.778763][ C0] ? sched_balance_find_src_group+0x3cb/0x760 [ 14.778764][ C0] __netif_receive_skb_core.constprop.0+0x13b5/0x2bb0 [ 14.778766][ C0] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.778768][ C0] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.778770][ C0] ? validate_chain+0x38b/0xc20 [ 14.778771][ C0] ? kthread_is_per_cpu+0x7b/0xe0 [ 14.778773][ C0] ? mark_usage+0x61/0x170 [ 14.778775][ C0] ? __lock_acquire+0x518/0xc20 [ 14.778776][ C0] ? do_xdp_generic+0x4a0/0x4a0 [ 14.778778][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 14.778780][ C0] ? find_held_lock+0x2b/0x80 [ 14.778781][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 14.778783][ C0] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 14.778784][ C0] ? rcu_read_lock_any_held+0x3c/0x90 [ 14.778786][ C0] ? validate_chain+0x38b/0xc20 [ 14.778787][ C0] ? sock_def_readable+0x156/0x480 [ 14.778789][ C0] ? mark_usage+0x61/0x170 [ 14.778790][ C0] ? __lock_acquire+0x518/0xc20 [ 14.778792][ C0] ? process_backlog+0x3f1/0x14c0 [ 14.778794][ C0] __netif_receive_skb_one_core+0xa2/0x180 [ 14.778796][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 14.778797][ C0] ? process_backlog+0x3f1/0x14c0 [ 14.778799][ C0] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 14.778801][ C0] ? rcu_is_watching+0x16/0xd0 [ 14.778802][ C0] process_backlog+0x431/0x14c0 [ 14.778805][ C0] __napi_poll+0xa7/0x3b0 [ 14.778807][ C0] net_rx_action+0x513/0xf50 [ 14.778809][ C0] ? __lock_acquire+0x518/0xc20 [ 14.778811][ C0] ? __napi_poll+0x3b0/0x3b0 [ 14.778814][ C0] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 14.778816][ C0] ? rcu_is_watching+0x16/0xd0 [ 14.778818][ C0] handle_softirqs+0x1d3/0x900 [ 14.778820][ C0] ? _local_bh_enable+0xc0/0xc0 [ 14.778821][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 14.778823][ C0] ? rcu_is_watching+0x16/0xd0 [ 14.778824][ C0] ? __dev_queue_xmit+0x974/0x1b90 [ 14.778826][ C0] do_softirq+0xac/0xe0 [ 14.778827][ C0] [ 14.778828][ C0] [ 14.778828][ C0] __local_bh_enable_ip+0x118/0x150 [ 14.778830][ C0] __dev_queue_xmit+0x989/0x1b90 [ 14.778832][ C0] ? _copy_from_iter+0x1bb/0x1810 [ 14.778833][ C0] ? _copy_from_iter_flushcache+0x1970/0x1970 [ 14.778835][ C0] ? _copy_from_iter_flushcache+0x1970/0x1970 [ 14.778836][ C0] ? __might_fault+0x97/0x140 [ 14.778838][ C0] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 14.778840][ C0] ? __virtio_net_hdr_to_skb.constprop.0+0x327/0x1440 [ 14.778842][ C0] ? alloc_pg_vec.isra.0+0x540/0x540 [ 14.778843][ C0] ? packet_rcv_spkt+0x5a0/0x5a0 [ 14.778845][ C0] packet_snd+0xee8/0x1840 [ 14.778847][ C0] ? kasan_addr_to_slab+0x41/0x50 [ 14.778849][ C0] ? tpacket_snd+0x1990/0x1990 [ 14.778850][ C0] ? lock_acquire.part.0+0xd4/0x280 [ 14.778852][ C0] ? __might_fault+0x97/0x140 [ 14.778853][ C0] ? find_held_lock+0x2b/0x80 [ 14.778854][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 14.778857][ C0] __sock_sendmsg+0xce/0x190 [ 14.778859][ C0] ? fdget+0x4f/0x1e0 [ 14.778861][ C0] __sys_sendto+0x260/0x320 [ 14.778863][ C0] ? __ia32_sys_getpeername+0xd0/0xd0 [ 14.778866][ C0] ? fput_close_sync+0xde/0x1b0 [ 14.778868][ C0] ? alloc_file_clone+0xe0/0xe0 [ 14.778870][ C0] __x64_sys_sendto+0xe4/0x1f0 [ 14.778872][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 14.778873][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 14.778875][ C0] ? do_syscall_64+0xa6/0x530 [ 14.778877][ C0] do_syscall_64+0xff/0x530 [ 14.778878][ C0] ? exc_page_fault+0xee/0x100 [ 14.778880][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 14.778881][ C0] RIP: 0033:0x7fc87987954e [ 14.778882][ C0] 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.778884][ C0] RSP: 002b:00007fffae8f5820 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 14.778885][ C0] RAX: ffffffffffffffda RBX: 0000000000010018 RCX: 00007fc87987954e [ 14.778886][ C0] RDX: 0000000000010018 RSI: 0000000000415120 RDI: 0000000000000007 [ 14.778887][ C0] RBP: 00007fffae8f5830 R08: 00007fffae8f5890 R09: 0000000000000014 [ 14.778888][ C0] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000007 [ 14.778888][ C0] R13: 0000000000000006 R14: 00007fc879a4a000 R15: 0000000000404e00 [ 14.778890][ C0]