[ 11.009974][ T174] sctp: Hash tables configured (bind 32/56) [ 11.009994][ T174] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.009996][ T174] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 174, name: modprobe [ 11.009998][ T174] preempt_count: 1, expected: 0 [ 11.009999][ T174] RCU nest depth: 0, expected: 0 [ 11.010000][ T174] locks held by modprobe/174: 4, last CPU#0: [ 11.010002][ T174] #0: ffffffff8ef6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.010014][ T174] #1: ffffffff8ef6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.010018][ T174] #2: ffffffff8ee89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.010021][ T174] #3: ffffffff8ee89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.010025][ T174] irq event stamp: 104114 [ 11.010026][ T174] hardirqs last enabled at (104113): [] __down_trylock_console_sem+0x86/0xa0 [ 11.010029][ T174] hardirqs last disabled at (104114): [] console_emit_next_record+0x3d4/0x4c0 [ 11.010031][ T174] softirqs last enabled at (96162): [] handle_softirqs+0x67c/0x900 [ 11.010034][ T174] softirqs last disabled at (96155): [] __irq_exit_rcu+0x145/0x1c0 [ 11.010037][ T174] Preemption disabled at: [ 11.010038][ T174] [] vprintk_emit+0x31b/0x3e0 [ 11.010043][ T174] CPU: 0 UID: 0 PID: 174 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.010047][ T174] Tainted: [W]=WARN [ 11.010048][ T174] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.010049][ T174] Call Trace: [ 11.010051][ T174] [ 11.010052][ T174] dump_stack_lvl+0x6f/0xa0 [ 11.010057][ T174] ? vprintk_emit+0x31b/0x3e0 [ 11.010059][ T174] __might_resched.cold+0x1fe/0x2c1 [ 11.010064][ T174] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.010067][ T174] ? __kmalloc_noprof+0xdb/0x760 [ 11.010072][ T174] __kmalloc_noprof+0x443/0x760 [ 11.010075][ T174] ? alloc_buf.isra.0+0x4b/0x260 [ 11.010081][ T174] ? do_raw_spin_unlock+0x59/0x250 [ 11.010084][ T174] alloc_buf.isra.0+0x4b/0x260 [ 11.010088][ T174] put_chars+0x1e1/0x2f0 [ 11.010091][ T174] ? __send_to_port+0x420/0x420 [ 11.010092][ T174] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.010097][ T174] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.010099][ T174] ? validate_chain+0x38b/0xc20 [ 11.010104][ T174] hvc_console_print+0x292/0x780 [ 11.010108][ T174] ? __lock_acquire+0x518/0xc20 [ 11.010113][ T174] ? hvc_write+0x3a0/0x3a0 [ 11.010116][ T174] ? rcu_is_watching+0x16/0xd0 [ 11.010121][ T174] console_emit_next_record+0x22f/0x4c0 [ 11.010124][ T174] ? devkmsg_read+0x4b0/0x4b0 [ 11.010126][ T174] ? console_flush_one_record+0x106/0x710 [ 11.010128][ T174] ? rcu_is_watching+0x16/0xd0 [ 11.010130][ T174] ? lock_acquire+0x13c/0x160 [ 11.010134][ T174] console_flush_one_record+0x46f/0x710 [ 11.010138][ T174] ? console_emit_next_record+0x4c0/0x4c0 [ 11.010139][ T174] ? __lock_acquire+0x518/0xc20 [ 11.010145][ T174] console_unlock+0xee/0x1f0 [ 11.010147][ T174] ? console_flush_one_record+0x710/0x710 [ 11.010149][ T174] ? rcu_is_watching+0x16/0xd0 [ 11.010151][ T174] ? lock_acquire+0x60/0x160 [ 11.010155][ T174] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.010157][ T174] ? vprintk_emit+0x320/0x3e0 [ 11.010159][ T174] vprintk_emit+0x37c/0x3e0 [ 11.010163][ T174] ? wake_up_klogd_work_func+0x90/0x90 [ 11.010164][ T174] ? lockdep_hardirqs_on+0x91/0x130 [ 11.010170][ T174] ? lookup_object_or_alloc.part.0+0x580/0x580 [ 11.010176][ T174] _printk+0xc7/0x100 [ 11.010180][ T174] ? snapshot_read.cold+0x21/0x21 [ 11.010183][ T174] ? lockdep_init_map_type+0x5d/0x250 [ 11.010186][ T174] ? __rhashtable_init_noprof+0x451/0x7f0 [ 11.010191][ T174] sctp_init+0x43b/0x600 [sctp] [ 11.010207][ T174] ? sctp_exit+0x270/0x270 [sctp] [ 11.010214][ T174] do_one_initcall+0x124/0x4f0 [ 11.010218][ T174] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 11.010223][ T174] ? do_init_module+0xae/0x8a0 [ 11.010225][ T174] ? kasan_unpoison+0x44/0x70 [ 11.010230][ T174] do_init_module+0x2ad/0x8a0 [ 11.010233][ T174] ? lockdep_hardirqs_on+0x91/0x130 [ 11.010236][ T174] ? free_module+0x470/0x470 [ 11.010238][ T174] ? kfree+0x123/0x590 [ 11.010243][ T174] load_module+0x154b/0x1d60 [ 11.010250][ T174] ? layout_and_allocate.isra.0+0x680/0x680 [ 11.010254][ T174] ? backing_file_read_iter+0x541/0x790 [ 11.010260][ T174] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.010264][ T174] init_module_from_file+0x11f/0x1a0 [ 11.010266][ T174] ? __ia32_sys_init_module+0xc0/0xc0 [ 11.010274][ T174] ? __rwlock_init+0x150/0x150 [ 11.010278][ T174] ? do_raw_spin_unlock+0x59/0x250 [ 11.010281][ T174] idempotent_init_module+0x37b/0x7c0 [ 11.010284][ T174] ? init_module_from_file+0x1a0/0x1a0 [ 11.010290][ T174] ? rcu_is_watching+0x16/0xd0 [ 11.010292][ T174] ? cap_capable+0x1d7/0x3d0 [ 11.010297][ T174] __x64_sys_finit_module+0xdf/0x190 [ 11.010299][ T174] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.010303][ T174] do_syscall_64+0x10e/0x570 [ 11.010304][ T174] ? exc_page_fault+0xee/0x100 [ 11.010307][ T174] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.010310][ T174] RIP: 0033:0x7f67fb23537d [ 11.010314][ T174] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4b aa 0f 00 f7 d8 64 89 01 48 [ 11.010316][ T174] RSP: 002b:00007ffe473fe5d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 11.010318][ T174] RAX: ffffffffffffffda RBX: 000055c3961fe9c0 RCX: 00007f67fb23537d [ 11.010319][ T174] RDX: 0000000000000000 RSI: 000055c393d42ffd RDI: 0000000000000007 [ 11.010320][ T174] RBP: 00007ffe473fe670 R08: 0000000000000000 R09: 0000000000000000 [ 11.010321][ T174] R10: 0000000000000000 R11: 0000000000000246 R12: 000055c393d42ffd [ 11.010322][ T174] R13: 000055c3961feae0 R14: 0000000000040000 R15: 0000000000000000 [ 11.010329][ T174] [ 11.340222][ T185] ip (185) used greatest stack depth: 23928 bytes left [ 32.257868][ C2] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 32.257905][ C2] [ 32.257907][ C2] ======================================================== [ 32.257908][ C2] WARNING: possible irq lock inversion dependency detected [ 32.257910][ C2] 7.2.0-virtme #1 Tainted: G W [ 32.257911][ C2] -------------------------------------------------------- [ 32.257912][ C2] connect_close/341 just changed the state of lock: [ 32.257913][ C2] ffffffff8ee89de0 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 32.257924][ C2] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 32.257926][ C2] (fs_reclaim){+.+.}-{0:0} [ 32.257927][ C2] [ 32.257927][ C2] [ 32.257927][ C2] and interrupts could create inverse lock ordering between them. [ 32.257927][ C2] [ 32.257928][ C2] [ 32.257928][ C2] other info that might help us debug this: [ 32.257928][ C2] Possible interrupt unsafe locking scenario: [ 32.257928][ C2] [ 32.257929][ C2] CPU0 CPU1 [ 32.257930][ C2] ---- ---- [ 32.257930][ C2] lock(fs_reclaim); [ 32.257931][ C2] local_irq_disable(); [ 32.257931][ C2] lock(console_owner); [ 32.257932][ C2] lock(fs_reclaim); [ 32.257933][ C2] [ 32.257934][ C2] lock(console_owner); [ 32.257934][ C2] [ 32.257934][ C2] *** DEADLOCK *** [ 32.257934][ C2] [ 32.257935][ C2] locks held by connect_close/341: 9, last CPU#2: [ 32.257936][ C2] #0: ff11000010d46110 (sk_lock-AF_INET){+.+.}-{0:0}, at: inet_stream_connect+0x44/0xb0 [ 32.257942][ C2] #1: ffffffff8ef81280 (rcu_read_lock){....}-{1:3}, at: __ip_queue_xmit+0x63/0x1650 [ 32.257947][ C2] #2: ffffffff8ef81280 (rcu_read_lock){....}-{1:3}, at: ip_output+0xa9/0x660 [ 32.257950][ C2] #3: ffffffff8ef81280 (rcu_read_lock){....}-{1:3}, at: ip_finish_output2+0x25c/0x1bc0 [ 32.257953][ C2] #4: ffffffff8ef81280 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 32.257957][ C2] #5: ffffffff8ef81280 (rcu_read_lock){....}-{1:3}, at: ip_local_deliver_finish+0x2ba/0x610 [ 32.257960][ C2] #6: ffffffff8ef81280 (rcu_read_lock){....}-{1:3}, at: tcp_rcv_listen_state_process+0x108/0x380 [ 32.257965][ C2] #7: ffffffff8ef6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 32.257967][ C2] #8: ffffffff8ef6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 32.257970][ C2] [ 32.257970][ C2] the shortest dependencies between 2nd lock and 1st lock: [ 32.257975][ C2] -> (fs_reclaim){+.+.}-{0:0} { [ 32.257977][ C2] HARDIRQ-ON-W at: [ 32.257979][ C2] __lock_acquire+0x388/0xc20 [ 32.257982][ C2] lock_acquire.part.0+0xd4/0x280 [ 32.257984][ C2] fs_reclaim_acquire+0xd5/0x120 [ 32.257991][ C2] __kmalloc_cache_noprof+0x6e/0x620 [ 32.257993][ C2] kthread_create_worker_on_node+0xea/0x210 [ 32.257996][ C2] workqueue_init+0x2a/0x680 [ 32.258000][ C2] kernel_init_freeable+0x2fe/0x630 [ 32.258003][ C2] kernel_init+0x21/0x150 [ 32.258005][ C2] ret_from_fork+0x4a4/0x720 [ 32.258009][ C2] ret_from_fork_asm+0x11/0x20 [ 32.258012][ C2] SOFTIRQ-ON-W at: [ 32.258012][ C2] __lock_acquire+0x388/0xc20 [ 32.258014][ C2] lock_acquire.part.0+0xd4/0x280 [ 32.258016][ C2] fs_reclaim_acquire+0xd5/0x120 [ 32.258017][ C2] __kmalloc_cache_noprof+0x6e/0x620 [ 32.258018][ C2] kthread_create_worker_on_node+0xea/0x210 [ 32.258020][ C2] workqueue_init+0x2a/0x680 [ 32.258021][ C2] kernel_init_freeable+0x2fe/0x630 [ 32.258023][ C2] kernel_init+0x21/0x150 [ 32.258024][ C2] ret_from_fork+0x4a4/0x720 [ 32.258025][ C2] ret_from_fork_asm+0x11/0x20 [ 32.258027][ C2] INITIAL USE at: [ 32.258028][ C2] __lock_acquire+0x388/0xc20 [ 32.258029][ C2] lock_acquire.part.0+0xd4/0x280 [ 32.258031][ C2] fs_reclaim_acquire+0xd5/0x120 [ 32.258032][ C2] __kmalloc_cache_noprof+0x6e/0x620 [ 32.258034][ C2] kthread_create_worker_on_node+0xea/0x210 [ 32.258037][ C2] workqueue_init+0x2a/0x680 [ 32.258038][ C2] kernel_init_freeable+0x2fe/0x630 [ 32.258040][ C2] kernel_init+0x21/0x150 [ 32.258041][ C2] ret_from_fork+0x4a4/0x720 [ 32.258042][ C2] ret_from_fork_asm+0x11/0x20 [ 32.258044][ C2] } [ 32.258044][ C2] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 32.258049][ C2] ... acquired at: [ 32.258050][ C2] __lock_acquire+0x518/0xc20 [ 32.258051][ C2] lock_acquire.part.0+0xd4/0x280 [ 32.258053][ C2] fs_reclaim_acquire+0xd5/0x120 [ 32.258054][ C2] __kmalloc_noprof+0xd3/0x760 [ 32.258055][ C2] alloc_buf.isra.0+0x4b/0x260 [ 32.258058][ C2] put_chars+0x1e1/0x2f0 [ 32.258060][ C2] hvc_console_print+0x292/0x780 [ 32.258062][ C2] console_emit_next_record+0x22f/0x4c0 [ 32.258063][ C2] console_flush_one_record+0x46f/0x710 [ 32.258064][ C2] console_unlock+0xee/0x1f0 [ 32.258065][ C2] vprintk_emit+0x37c/0x3e0 [ 32.258066][ C2] dev_vprintk_emit+0x27f/0x2c0 [ 32.258070][ C2] dev_printk_emit+0xb9/0xee [ 32.258071][ C2] _dev_info+0xe2/0x116 [ 32.258073][ C2] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 32.258076][ C2] cmos_do_probe+0x73b/0x98a [ 32.258077][ C2] platform_probe+0xfe/0x1f0 [ 32.258080][ C2] call_driver_probe+0x61/0x1c0 [ 32.258082][ C2] really_probe+0x199/0x760 [ 32.258084][ C2] __driver_probe_device+0x24f/0x440 [ 32.258085][ C2] driver_probe_device+0x4a/0xf0 [ 32.258087][ C2] __driver_attach+0x1b8/0x540 [ 32.258088][ C2] bus_for_each_dev+0x130/0x1e0 [ 32.258090][ C2] bus_add_driver+0x2c8/0x530 [ 32.258091][ C2] driver_register+0x1a3/0x390 [ 32.258093][ C2] __platform_driver_probe+0x13f/0x270 [ 32.258094][ C2] cmos_init+0x31/0x40 [ 32.258097][ C2] do_one_initcall+0x124/0x4f0 [ 32.258098][ C2] kernel_init_freeable+0x596/0x630 [ 32.258099][ C2] kernel_init+0x21/0x150 [ 32.258100][ C2] ret_from_fork+0x4a4/0x720 [ 32.258102][ C2] ret_from_fork_asm+0x11/0x20 [ 32.258103][ C2] [ 32.258104][ C2] -> (console_owner){..-.}-{0:0} { [ 32.258105][ C2] IN-SOFTIRQ-W at: [ 32.258106][ C2] __lock_acquire+0x388/0xc20 [ 32.258110][ C2] lock_acquire.part.0+0xd4/0x280 [ 32.258112][ C2] console_lock_spinning_enable+0x5c/0x60 [ 32.258113][ C2] console_emit_next_record+0x1d1/0x4c0 [ 32.258114][ C2] console_flush_one_record+0x46f/0x710 [ 32.258115][ C2] console_unlock+0xee/0x1f0 [ 32.258116][ C2] vprintk_emit+0x37c/0x3e0 [ 32.258117][ C2] _printk+0xc7/0x100 [ 32.258120][ C2] tcp_syn_flood_action.cold+0xb4/0xe5 [ 32.258123][ C2] tcp_conn_request+0x13ff/0x2c00 [ 32.258124][ C2] tcp_rcv_listen_state_process+0x1ab/0x380 [ 32.258126][ C2] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 32.258128][ C2] tcp_v4_rcv+0x2881/0x2ef0 [ 32.258129][ C2] ip_protocol_deliver_rcu+0x82/0x350 [ 32.258130][ C2] ip_local_deliver_finish+0x36f/0x610 [ 32.258131][ C2] ip_local_deliver+0x184/0x4c0 [ 32.258132][ C2] ip_rcv+0xdc/0x3d0 [ 32.258133][ C2] __netif_receive_skb_one_core+0xfc/0x180 [ 32.258135][ C2] process_backlog+0x431/0x14c0 [ 32.258136][ C2] __napi_poll+0xa7/0x3b0 [ 32.258138][ C2] net_rx_action+0x513/0xf50 [ 32.258139][ C2] handle_softirqs+0x1d3/0x900 [ 32.258142][ C2] do_softirq+0xac/0xe0 [ 32.258143][ C2] __local_bh_enable_ip+0x118/0x150 [ 32.258144][ C2] __dev_queue_xmit+0x979/0x1b80 [ 32.258146][ C2] ip_finish_output2+0xd9b/0x1bc0 [ 32.258147][ C2] ip_output+0x1ca/0x660 [ 32.258148][ C2] __ip_queue_xmit+0x774/0x1650 [ 32.258150][ C2] __tcp_transmit_skb+0x1ad9/0x3a70 [ 32.258151][ C2] tcp_connect+0xec4/0x1880 [ 32.258153][ C2] tcp_v4_connect+0x12bd/0x1960 [ 32.258154][ C2] __inet_stream_connect+0x2ed/0xd00 [ 32.258156][ C2] inet_stream_connect+0x59/0xb0 [ 32.258157][ C2] __sys_connect+0x1c1/0x2c0 [ 32.258160][ C2] __x64_sys_connect+0x72/0xd0 [ 32.258161][ C2] do_syscall_64+0x10e/0x570 [ 32.258163][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.258165][ C2] INITIAL USE at: [ 32.258166][ C2] } [ 32.258166][ C2] ... key at: [] console_owner_dep_map+0x0/0x60 [ 32.258169][ C2] ... acquired at: [ 32.258170][ C2] mark_lock+0x1d7/0xa00 [ 32.258171][ C2] mark_usage+0x42/0x170 [ 32.258173][ C2] __lock_acquire+0x388/0xc20 [ 32.258175][ C2] lock_acquire.part.0+0xd4/0x280 [ 32.258176][ C2] console_lock_spinning_enable+0x5c/0x60 [ 32.258177][ C2] console_emit_next_record+0x1d1/0x4c0 [ 32.258178][ C2] console_flush_one_record+0x46f/0x710 [ 32.258179][ C2] console_unlock+0xee/0x1f0 [ 32.258180][ C2] vprintk_emit+0x37c/0x3e0 [ 32.258181][ C2] _printk+0xc7/0x100 [ 32.258182][ C2] tcp_syn_flood_action.cold+0xb4/0xe5 [ 32.258184][ C2] tcp_conn_request+0x13ff/0x2c00 [ 32.258185][ C2] tcp_rcv_listen_state_process+0x1ab/0x380 [ 32.258187][ C2] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 32.258188][ C2] tcp_v4_rcv+0x2881/0x2ef0 [ 32.258189][ C2] ip_protocol_deliver_rcu+0x82/0x350 [ 32.258190][ C2] ip_local_deliver_finish+0x36f/0x610 [ 32.258191][ C2] ip_local_deliver+0x184/0x4c0 [ 32.258192][ C2] ip_rcv+0xdc/0x3d0 [ 32.258193][ C2] __netif_receive_skb_one_core+0xfc/0x180 [ 32.258195][ C2] process_backlog+0x431/0x14c0 [ 32.258196][ C2] __napi_poll+0xa7/0x3b0 [ 32.258198][ C2] net_rx_action+0x513/0xf50 [ 32.258199][ C2] handle_softirqs+0x1d3/0x900 [ 32.258200][ C2] do_softirq+0xac/0xe0 [ 32.258202][ C2] __local_bh_enable_ip+0x118/0x150 [ 32.258203][ C2] __dev_queue_xmit+0x979/0x1b80 [ 32.258204][ C2] ip_finish_output2+0xd9b/0x1bc0 [ 32.258206][ C2] ip_output+0x1ca/0x660 [ 32.258207][ C2] __ip_queue_xmit+0x774/0x1650 [ 32.258208][ C2] __tcp_transmit_skb+0x1ad9/0x3a70 [ 32.258210][ C2] tcp_connect+0xec4/0x1880 [ 32.258211][ C2] tcp_v4_connect+0x12bd/0x1960 [ 32.258212][ C2] __inet_stream_connect+0x2ed/0xd00 [ 32.258214][ C2] inet_stream_connect+0x59/0xb0 [ 32.258215][ C2] __sys_connect+0x1c1/0x2c0 [ 32.258217][ C2] __x64_sys_connect+0x72/0xd0 [ 32.258218][ C2] do_syscall_64+0x10e/0x570 [ 32.258219][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.258220][ C2] [ 32.258220][ C2] [ 32.258220][ C2] stack backtrace: [ 32.258223][ C2] CPU: 2 UID: 0 PID: 341 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.258226][ C2] Tainted: [W]=WARN [ 32.258227][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.258229][ C2] Call Trace: [ 32.258230][ C2] [ 32.258232][ C2] dump_stack_lvl+0x6f/0xa0 [ 32.258235][ C2] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 32.258237][ C2] mark_lock_irq+0x989/0x9c0 [ 32.258240][ C2] mark_lock+0x1d7/0xa00 [ 32.258242][ C2] mark_usage+0x42/0x170 [ 32.258244][ C2] __lock_acquire+0x388/0xc20 [ 32.258247][ C2] lock_acquire.part.0+0xd4/0x280 [ 32.258249][ C2] ? console_lock_spinning_enable+0x40/0x60 [ 32.258250][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.258253][ C2] ? lock_acquire+0x13c/0x160 [ 32.258255][ C2] console_lock_spinning_enable+0x5c/0x60 [ 32.258256][ C2] ? console_lock_spinning_enable+0x40/0x60 [ 32.258257][ C2] console_emit_next_record+0x1d1/0x4c0 [ 32.258259][ C2] ? devkmsg_read+0x4b0/0x4b0 [ 32.258260][ C2] ? console_flush_one_record+0x106/0x710 [ 32.258262][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.258263][ C2] ? lock_acquire+0x13c/0x160 [ 32.258265][ C2] console_flush_one_record+0x46f/0x710 [ 32.258267][ C2] ? console_emit_next_record+0x4c0/0x4c0 [ 32.258268][ C2] ? __lock_acquire+0x518/0xc20 [ 32.258270][ C2] console_unlock+0xee/0x1f0 [ 32.258272][ C2] ? console_flush_one_record+0x710/0x710 [ 32.258273][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.258274][ C2] ? lock_acquire+0x60/0x160 [ 32.258276][ C2] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.258279][ C2] ? vprintk_emit+0x320/0x3e0 [ 32.258280][ C2] vprintk_emit+0x37c/0x3e0 [ 32.258282][ C2] ? wake_up_klogd_work_func+0x90/0x90 [ 32.258283][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 32.258285][ C2] _printk+0xc7/0x100 [ 32.258287][ C2] ? snapshot_read.cold+0x21/0x21 [ 32.258289][ C2] ? ___ratelimit+0x4e7/0xa00 [ 32.258291][ C2] ? idr_get_free+0x830/0x830 [ 32.258293][ C2] tcp_syn_flood_action.cold+0xb4/0xe5 [ 32.258296][ C2] tcp_conn_request+0x13ff/0x2c00 [ 32.258298][ C2] ? reuseport_select_sock+0x19e/0x3c0 [ 32.258301][ C2] ? reuseport_select_sock+0xe1/0x3c0 [ 32.258303][ C2] ? __lock_acquire+0x518/0xc20 [ 32.258304][ C2] ? tcp_get_syncookie_mss+0x300/0x300 [ 32.258306][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 32.258308][ C2] ? __lock_acquire+0x518/0xc20 [ 32.258310][ C2] ? save_trace+0x1f7/0x280 [ 32.258313][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.258314][ C2] ? lock_acquire+0x13c/0x160 [ 32.258316][ C2] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 32.258318][ C2] tcp_rcv_listen_state_process+0x1ab/0x380 [ 32.258320][ C2] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 32.258321][ C2] ? tcp_v4_fill_cb+0x33/0x430 [ 32.258323][ C2] tcp_v4_rcv+0x2881/0x2ef0 [ 32.258325][ C2] ? mark_usage+0x61/0x170 [ 32.258327][ C2] ? tcp_add_backlog+0x1e30/0x1e30 [ 32.258329][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 32.258330][ C2] ? ip_local_deliver_finish+0x2ba/0x610 [ 32.258332][ C2] ip_protocol_deliver_rcu+0x82/0x350 [ 32.258334][ C2] ? process_backlog+0x3f1/0x14c0 [ 32.258336][ C2] ip_local_deliver_finish+0x36f/0x610 [ 32.258337][ C2] ip_local_deliver+0x184/0x4c0 [ 32.258339][ C2] ? ip_local_deliver_finish+0x610/0x610 [ 32.258340][ C2] ? ip_protocol_deliver_rcu+0x350/0x350 [ 32.258342][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 32.258344][ C2] ? process_backlog+0x3f1/0x14c0 [ 32.258345][ C2] ip_rcv+0xdc/0x3d0 [ 32.258347][ C2] ? ip_local_deliver+0x4c0/0x4c0 [ 32.258348][ C2] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 32.258350][ C2] ? __lock_acquire+0x518/0xc20 [ 32.258352][ C2] ? process_backlog+0x3f1/0x14c0 [ 32.258353][ C2] __netif_receive_skb_one_core+0xfc/0x180 [ 32.258355][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 32.258357][ C2] ? process_backlog+0x3f1/0x14c0 [ 32.258358][ C2] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 32.258360][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.258362][ C2] process_backlog+0x431/0x14c0 [ 32.258365][ C2] __napi_poll+0xa7/0x3b0 [ 32.258367][ C2] net_rx_action+0x513/0xf50 [ 32.258369][ C2] ? __napi_poll+0x3b0/0x3b0 [ 32.258371][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.258372][ C2] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 32.258375][ C2] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 32.258378][ C2] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 32.258381][ C2] ? mark_held_locks+0x40/0x70 [ 32.258383][ C2] handle_softirqs+0x1d3/0x900 [ 32.258385][ C2] ? _local_bh_enable+0xc0/0xc0 [ 32.258386][ C2] ? do_raw_spin_unlock+0x59/0x250 [ 32.258389][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.258390][ C2] ? __dev_queue_xmit+0x964/0x1b80 [ 32.258392][ C2] do_softirq+0xac/0xe0 [ 32.258393][ C2] [ 32.258394][ C2] [ 32.258394][ C2] __local_bh_enable_ip+0x118/0x150 [ 32.258396][ C2] __dev_queue_xmit+0x979/0x1b80 [ 32.258399][ C2] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 32.258401][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 32.258402][ C2] ? find_held_lock+0x2b/0x80 [ 32.258404][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 32.258406][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.258407][ C2] ? mark_held_locks+0x40/0x70 [ 32.258409][ C2] ? __asan_memcpy+0x3c/0x60 [ 32.258411][ C2] ? neigh_hh_output+0x152/0x4c0 [ 32.258413][ C2] ip_finish_output2+0xd9b/0x1bc0 [ 32.258415][ C2] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 32.258417][ C2] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 32.258419][ C2] ip_output+0x1ca/0x660 [ 32.258421][ C2] ? ip_finish_output+0x460/0x460 [ 32.258422][ C2] ? find_held_lock+0x2b/0x80 [ 32.258424][ C2] ? __ip_finish_output+0x720/0x720 [ 32.258426][ C2] ? ip4_dst_hoplimit+0x15b/0x320 [ 32.258428][ C2] __ip_queue_xmit+0x774/0x1650 [ 32.258430][ C2] __tcp_transmit_skb+0x1ad9/0x3a70 [ 32.258432][ C2] ? tcp_call_bpf+0x201/0x2e0 [ 32.258434][ C2] ? tcp_clone_payload+0x10b0/0x10b0 [ 32.258436][ C2] ? __tcp_select_window+0xf20/0xf20 [ 32.258438][ C2] ? lockdep_hardirqs_on+0x91/0x130 [ 32.258441][ C2] ? ktime_get+0x18e/0x2d0 [ 32.258442][ C2] ? kvm_clock_get_cycles+0x19/0x30 [ 32.258444][ C2] ? ktime_get+0x1dd/0x2d0 [ 32.258446][ C2] tcp_connect+0xec4/0x1880 [ 32.258449][ C2] tcp_v4_connect+0x12bd/0x1960 [ 32.258451][ C2] ? established_get_first+0x6b0/0x6b0 [ 32.258453][ C2] ? do_raw_spin_lock+0x131/0x280 [ 32.258455][ C2] ? find_held_lock+0x2b/0x80 [ 32.258457][ C2] __inet_stream_connect+0x2ed/0xd00 [ 32.258459][ C2] ? lockdep_hardirqs_on+0x91/0x130 [ 32.258461][ C2] inet_stream_connect+0x59/0xb0 [ 32.258463][ C2] __sys_connect+0x1c1/0x2c0 [ 32.258464][ C2] ? do_fcntl+0x36f/0xc50 [ 32.258467][ C2] ? __sys_connect_file+0x250/0x250 [ 32.258470][ C2] ? fdget_raw+0x4f/0x190 [ 32.258473][ C2] __x64_sys_connect+0x72/0xd0 [ 32.258474][ C2] ? lockdep_hardirqs_on+0x91/0x130 [ 32.258476][ C2] ? do_syscall_64+0xa6/0x570 [ 32.258477][ C2] do_syscall_64+0x10e/0x570 [ 32.258479][ C2] ? exc_page_fault+0xee/0x100 [ 32.258481][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.258482][ C2] RIP: 0033:0x7f8ead56154e [ 32.258486][ C2] 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 [ 32.258487][ C2] RSP: 002b:00007fff41747b50 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 32.258490][ C2] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8ead56154e [ 32.258491][ C2] RDX: 0000000000000010 RSI: 00007fff41747be0 RDI: 0000000000000005 [ 32.258492][ C2] RBP: 00007fff41747b60 R08: 0000000000000000 R09: 0000000000000000 [ 32.258493][ C2] R10: 0000000000000000 R11: 0000000000000202 R12: 00007fff41747d58 [ 32.258494][ C2] R13: 0000000000000005 R14: 00007f8ead732000 R15: 0000000000402e00 [ 32.258496][ C2] [ 32.258500][ C2] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.258501][ C2] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 341, name: connect_close [ 32.258502][ C2] preempt_count: 302, expected: 0 [ 32.258503][ C2] RCU nest depth: 6, expected: 0 [ 32.258504][ C2] INFO: lockdep is turned off. [ 32.258505][ C2] irq event stamp: 378859 [ 32.258505][ C2] hardirqs last enabled at (378858): [] __down_trylock_console_sem+0x86/0xa0 [ 32.258508][ C2] hardirqs last disabled at (378859): [] console_emit_next_record+0x3d4/0x4c0 [ 32.258509][ C2] softirqs last enabled at (378842): [] __dev_queue_xmit+0x964/0x1b80 [ 32.258511][ C2] softirqs last disabled at (378843): [] do_softirq+0xac/0xe0 [ 32.258513][ C2] Preemption disabled at: [ 32.258513][ C2] [] __dev_queue_xmit+0x204/0x1b80 [ 32.258516][ C2] CPU: 2 UID: 0 PID: 341 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.258518][ C2] Tainted: [W]=WARN [ 32.258519][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.258519][ C2] Call Trace: [ 32.258520][ C2] [ 32.258520][ C2] dump_stack_lvl+0x6f/0xa0 [ 32.258522][ C2] ? __dev_queue_xmit+0x204/0x1b80 [ 32.258523][ C2] __might_resched.cold+0x1fe/0x2c1 [ 32.258526][ C2] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.258528][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.258530][ C2] __kmalloc_noprof+0x443/0x760 [ 32.258532][ C2] ? __rwlock_init+0x150/0x150 [ 32.258533][ C2] ? alloc_buf.isra.0+0x4b/0x260 [ 32.258536][ C2] ? do_raw_spin_unlock+0x59/0x250 [ 32.258537][ C2] alloc_buf.isra.0+0x4b/0x260 [ 32.258539][ C2] put_chars+0x1e1/0x2f0 [ 32.258541][ C2] ? __send_to_port+0x420/0x420 [ 32.258544][ C2] hvc_console_print+0x292/0x780 [ 32.258546][ C2] ? mark_usage+0x42/0x170 [ 32.258548][ C2] ? __lock_acquire+0x388/0xc20 [ 32.258550][ C2] ? hvc_write+0x3a0/0x3a0 [ 32.258551][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 32.258553][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.258554][ C2] ? lock_acquire+0x13c/0x160 [ 32.258556][ C2] console_emit_next_record+0x22f/0x4c0 [ 32.258558][ C2] ? devkmsg_read+0x4b0/0x4b0 [ 32.258559][ C2] ? console_flush_one_record+0x106/0x710 [ 32.258560][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.258562][ C2] ? lock_acquire+0x13c/0x160 [ 32.258564][ C2] console_flush_one_record+0x46f/0x710 [ 32.258565][ C2] ? console_emit_next_record+0x4c0/0x4c0 [ 32.258566][ C2] ? __lock_acquire+0x518/0xc20 [ 32.258569][ C2] console_unlock+0xee/0x1f0 [ 32.258570][ C2] ? console_flush_one_record+0x710/0x710 [ 32.258571][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.258572][ C2] ? lock_acquire+0x60/0x160 [ 32.258575][ C2] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.258576][ C2] ? vprintk_emit+0x320/0x3e0 [ 32.258578][ C2] vprintk_emit+0x37c/0x3e0 [ 32.258579][ C2] ? wake_up_klogd_work_func+0x90/0x90 [ 32.258581][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 32.258583][ C2] _printk+0xc7/0x100 [ 32.258584][ C2] ? snapshot_read.cold+0x21/0x21 [ 32.258586][ C2] ? ___ratelimit+0x4e7/0xa00 [ 32.258588][ C2] ? idr_get_free+0x830/0x830 [ 32.258590][ C2] tcp_syn_flood_action.cold+0xb4/0xe5 [ 32.258592][ C2] tcp_conn_request+0x13ff/0x2c00 [ 32.258594][ C2] ? reuseport_select_sock+0x19e/0x3c0 [ 32.258596][ C2] ? reuseport_select_sock+0xe1/0x3c0 [ 32.258598][ C2] ? __lock_acquire+0x518/0xc20 [ 32.258600][ C2] ? tcp_get_syncookie_mss+0x300/0x300 [ 32.258602][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 32.258604][ C2] ? __lock_acquire+0x518/0xc20 [ 32.258605][ C2] ? save_trace+0x1f7/0x280 [ 32.258608][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.258609][ C2] ? lock_acquire+0x13c/0x160 [ 32.258611][ C2] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 32.258612][ C2] tcp_rcv_listen_state_process+0x1ab/0x380 [ 32.258614][ C2] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 32.258616][ C2] ? tcp_v4_fill_cb+0x33/0x430 [ 32.258617][ C2] tcp_v4_rcv+0x2881/0x2ef0 [ 32.258619][ C2] ? mark_usage+0x61/0x170 [ 32.258621][ C2] ? tcp_add_backlog+0x1e30/0x1e30 [ 32.258623][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 32.258625][ C2] ? ip_local_deliver_finish+0x2ba/0x610 [ 32.258626][ C2] ip_protocol_deliver_rcu+0x82/0x350 [ 32.258628][ C2] ? process_backlog+0x3f1/0x14c0 [ 32.258630][ C2] ip_local_deliver_finish+0x36f/0x610 [ 32.258631][ C2] ip_local_deliver+0x184/0x4c0 [ 32.258633][ C2] ? ip_local_deliver_finish+0x610/0x610 [ 32.258634][ C2] ? ip_protocol_deliver_rcu+0x350/0x350 [ 32.258636][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 32.258638][ C2] ? process_backlog+0x3f1/0x14c0 [ 32.258639][ C2] ip_rcv+0xdc/0x3d0 [ 32.258641][ C2] ? ip_local_deliver+0x4c0/0x4c0 [ 32.258642][ C2] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 32.258644][ C2] ? __lock_acquire+0x518/0xc20 [ 32.258646][ C2] ? process_backlog+0x3f1/0x14c0 [ 32.258647][ C2] __netif_receive_skb_one_core+0xfc/0x180 [ 32.258649][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 32.258651][ C2] ? process_backlog+0x3f1/0x14c0 [ 32.258652][ C2] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 32.258654][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.258656][ C2] process_backlog+0x431/0x14c0 [ 32.258658][ C2] __napi_poll+0xa7/0x3b0 [ 32.258660][ C2] net_rx_action+0x513/0xf50 [ 32.258663][ C2] ? __napi_poll+0x3b0/0x3b0 [ 32.258665][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.258666][ C2] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 32.258667][ C2] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 32.258670][ C2] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 32.258672][ C2] ? mark_held_locks+0x40/0x70 [ 32.258674][ C2] handle_softirqs+0x1d3/0x900 [ 32.258676][ C2] ? _local_bh_enable+0xc0/0xc0 [ 32.258678][ C2] ? do_raw_spin_unlock+0x59/0x250 [ 32.258680][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.258681][ C2] ? __dev_queue_xmit+0x964/0x1b80 [ 32.258683][ C2] do_softirq+0xac/0xe0 [ 32.258684][ C2] [ 32.258685][ C2] [ 32.258685][ C2] __local_bh_enable_ip+0x118/0x150 [ 32.258687][ C2] __dev_queue_xmit+0x979/0x1b80 [ 32.258690][ C2] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 32.258691][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 32.258693][ C2] ? find_held_lock+0x2b/0x80 [ 32.258695][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 32.258696][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.258698][ C2] ? mark_held_locks+0x40/0x70 [ 32.258699][ C2] ? __asan_memcpy+0x3c/0x60 [ 32.258701][ C2] ? neigh_hh_output+0x152/0x4c0 [ 32.258703][ C2] ip_finish_output2+0xd9b/0x1bc0 [ 32.258704][ C2] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 32.258706][ C2] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 32.258708][ C2] ip_output+0x1ca/0x660 [ 32.258710][ C2] ? ip_finish_output+0x460/0x460 [ 32.258711][ C2] ? find_held_lock+0x2b/0x80 [ 32.258713][ C2] ? __ip_finish_output+0x720/0x720 [ 32.258715][ C2] ? ip4_dst_hoplimit+0x15b/0x320 [ 32.258717][ C2] __ip_queue_xmit+0x774/0x1650 [ 32.258719][ C2] __tcp_transmit_skb+0x1ad9/0x3a70 [ 32.258721][ C2] ? tcp_call_bpf+0x201/0x2e0 [ 32.258723][ C2] ? tcp_clone_payload+0x10b0/0x10b0 [ 32.258725][ C2] ? __tcp_select_window+0xf20/0xf20 [ 32.258727][ C2] ? lockdep_hardirqs_on+0x91/0x130 [ 32.258729][ C2] ? ktime_get+0x18e/0x2d0 [ 32.258730][ C2] ? kvm_clock_get_cycles+0x19/0x30 [ 32.258732][ C2] ? ktime_get+0x1dd/0x2d0 [ 32.258734][ C2] tcp_connect+0xec4/0x1880 [ 32.258736][ C2] tcp_v4_connect+0x12bd/0x1960 [ 32.258738][ C2] ? established_get_first+0x6b0/0x6b0 [ 32.258740][ C2] ? do_raw_spin_lock+0x131/0x280 [ 32.258742][ C2] ? find_held_lock+0x2b/0x80 [ 32.258744][ C2] __inet_stream_connect+0x2ed/0xd00 [ 32.258746][ C2] ? lockdep_hardirqs_on+0x91/0x130 [ 32.258748][ C2] inet_stream_connect+0x59/0xb0 [ 32.258750][ C2] __sys_connect+0x1c1/0x2c0 [ 32.258751][ C2] ? do_fcntl+0x36f/0xc50 [ 32.258753][ C2] ? __sys_connect_file+0x250/0x250 [ 32.258756][ C2] ? fdget_raw+0x4f/0x190 [ 32.258757][ C2] __x64_sys_connect+0x72/0xd0 [ 32.258759][ C2] ? lockdep_hardirqs_on+0x91/0x130 [ 32.258761][ C2] ? do_syscall_64+0xa6/0x570 [ 32.258762][ C2] do_syscall_64+0x10e/0x570 [ 32.258763][ C2] ? exc_page_fault+0xee/0x100 [ 32.258765][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.258767][ C2] RIP: 0033:0x7f8ead56154e [ 32.258768][ C2] 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 [ 32.258769][ C2] RSP: 002b:00007fff41747b50 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 32.258770][ C2] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8ead56154e [ 32.258771][ C2] RDX: 0000000000000010 RSI: 00007fff41747be0 RDI: 0000000000000005 [ 32.258771][ C2] RBP: 00007fff41747b60 R08: 0000000000000000 R09: 0000000000000000 [ 32.258772][ C2] R10: 0000000000000000 R11: 0000000000000202 R12: 00007fff41747d58 [ 32.258773][ C2] R13: 0000000000000005 R14: 00007f8ead732000 R15: 0000000000402e00 [ 32.258775][ C2] [ 32.398860][ C2] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 32.505493][ C2] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 32.609389][ C2] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 33.033778][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 33.185866][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 33.649989][ C3] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 33.650017][ C3] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 33.650020][ C3] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 341, name: connect_close [ 33.650022][ C3] preempt_count: 302, expected: 0 [ 33.650024][ C3] RCU nest depth: 6, expected: 0 [ 33.650025][ C3] INFO: lockdep is turned off. [ 33.650026][ C3] irq event stamp: 378859 [ 33.650028][ C3] hardirqs last enabled at (378858): [] __down_trylock_console_sem+0x86/0xa0 [ 33.650038][ C3] hardirqs last disabled at (378859): [] console_emit_next_record+0x3d4/0x4c0 [ 33.650041][ C3] softirqs last enabled at (378842): [] __dev_queue_xmit+0x964/0x1b80 [ 33.650047][ C3] softirqs last disabled at (378843): [] do_softirq+0xac/0xe0 [ 33.650051][ C3] Preemption disabled at: [ 33.650052][ C3] [] __dev_queue_xmit+0x204/0x1b80 [ 33.650060][ C3] CPU: 3 UID: 0 PID: 341 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 33.650064][ C3] Tainted: [W]=WARN [ 33.650065][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 33.650068][ C3] Call Trace: [ 33.650070][ C3] [ 33.650072][ C3] dump_stack_lvl+0x6f/0xa0 [ 33.650077][ C3] ? __dev_queue_xmit+0x204/0x1b80 [ 33.650080][ C3] __might_resched.cold+0x1fe/0x2c1 [ 33.650085][ C3] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 33.650088][ C3] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 33.650091][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650095][ C3] __kmalloc_noprof+0x443/0x760 [ 33.650099][ C3] ? __rwlock_init+0x150/0x150 [ 33.650103][ C3] ? alloc_buf.isra.0+0x4b/0x260 [ 33.650108][ C3] ? do_raw_spin_unlock+0x59/0x250 [ 33.650111][ C3] alloc_buf.isra.0+0x4b/0x260 [ 33.650114][ C3] put_chars+0x1e1/0x2f0 [ 33.650117][ C3] ? prb_final_commit+0x50/0x50 [ 33.650119][ C3] ? __send_to_port+0x420/0x420 [ 33.650122][ C3] ? printk_get_next_message+0x240/0x650 [ 33.650126][ C3] hvc_console_print+0x292/0x780 [ 33.650132][ C3] ? hvc_write+0x3a0/0x3a0 [ 33.650134][ C3] ? do_raw_spin_lock+0x131/0x280 [ 33.650137][ C3] ? vsnprintf+0x668/0x1700 [ 33.650141][ C3] ? __rwlock_init+0x150/0x150 [ 33.650144][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650146][ C3] ? lock_acquire+0x13c/0x160 [ 33.650150][ C3] console_emit_next_record+0x22f/0x4c0 [ 33.650153][ C3] ? devkmsg_read+0x4b0/0x4b0 [ 33.650155][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650157][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650159][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650161][ C3] ? lock_acquire+0x13c/0x160 [ 33.650164][ C3] ? console_flush_one_record+0x111/0x710 [ 33.650166][ C3] console_flush_one_record+0x46f/0x710 [ 33.650169][ C3] ? console_emit_next_record+0x4c0/0x4c0 [ 33.650173][ C3] console_unlock+0xee/0x1f0 [ 33.650175][ C3] ? lock_acquire+0x13c/0x160 [ 33.650177][ C3] ? console_flush_one_record+0x710/0x710 [ 33.650179][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650181][ C3] ? lock_release+0x184/0x1f0 [ 33.650183][ C3] ? lock_acquire+0x60/0x160 [ 33.650186][ C3] ? __rcu_read_lock+0x30/0x70 [ 33.650189][ C3] ? __down_trylock_console_sem+0x5e/0xa0 [ 33.650191][ C3] ? vprintk_emit+0x320/0x3e0 [ 33.650194][ C3] vprintk_emit+0x37c/0x3e0 [ 33.650197][ C3] ? wake_up_klogd_work_func+0x90/0x90 [ 33.650199][ C3] ? do_raw_spin_trylock+0xb6/0x180 [ 33.650202][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650204][ C3] ? lock_acquire+0x13c/0x160 [ 33.650207][ C3] _printk+0xc7/0x100 [ 33.650211][ C3] ? snapshot_read.cold+0x21/0x21 [ 33.650214][ C3] ? ___ratelimit+0x4e7/0xa00 [ 33.650217][ C3] ? idr_get_free+0x830/0x830 [ 33.650221][ C3] tcp_syn_flood_action.cold+0xb4/0xe5 [ 33.650226][ C3] tcp_conn_request+0x13ff/0x2c00 [ 33.650230][ C3] ? ip_protocol_deliver_rcu+0x82/0x350 [ 33.650234][ C3] ? lock_acquire+0x13c/0x160 [ 33.650236][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650238][ C3] ? lock_release+0x184/0x1f0 [ 33.650241][ C3] ? reuseport_select_sock+0xe1/0x3c0 [ 33.650245][ C3] ? tcp_get_syncookie_mss+0x300/0x300 [ 33.650250][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650253][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650255][ C3] ? lock_acquire+0x13c/0x160 [ 33.650261][ C3] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 33.650263][ C3] tcp_rcv_listen_state_process+0x1ab/0x380 [ 33.650266][ C3] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 33.650269][ C3] ? tcp_v4_fill_cb+0x33/0x430 [ 33.650272][ C3] tcp_v4_rcv+0x2881/0x2ef0 [ 33.650276][ C3] ? tcp_add_backlog+0x1e30/0x1e30 [ 33.650280][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650282][ C3] ? process_backlog+0x3f1/0x14c0 [ 33.650285][ C3] ip_protocol_deliver_rcu+0x82/0x350 [ 33.650288][ C3] ? process_backlog+0x3f1/0x14c0 [ 33.650290][ C3] ip_local_deliver_finish+0x36f/0x610 [ 33.650293][ C3] ? lock_release+0x184/0x1f0 [ 33.650295][ C3] ip_local_deliver+0x184/0x4c0 [ 33.650298][ C3] ? ip_local_deliver_finish+0x610/0x610 [ 33.650301][ C3] ? ip_protocol_deliver_rcu+0x350/0x350 [ 33.650303][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650306][ C3] ? process_backlog+0x3f1/0x14c0 [ 33.650308][ C3] ip_rcv+0xdc/0x3d0 [ 33.650311][ C3] ? ip_local_deliver+0x4c0/0x4c0 [ 33.650313][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650315][ C3] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 33.650319][ C3] ? process_backlog+0x3f1/0x14c0 [ 33.650321][ C3] __netif_receive_skb_one_core+0xfc/0x180 [ 33.650324][ C3] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 33.650327][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650329][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650332][ C3] process_backlog+0x431/0x14c0 [ 33.650336][ C3] __napi_poll+0xa7/0x3b0 [ 33.650339][ C3] net_rx_action+0x513/0xf50 [ 33.650342][ C3] ? task_tick_fair+0x230/0x860 [ 33.650345][ C3] ? __napi_poll+0x3b0/0x3b0 [ 33.650347][ C3] ? do_raw_spin_lock+0xe0/0x280 [ 33.650350][ C3] ? lock_release+0x184/0x1f0 [ 33.650352][ C3] ? __rwlock_init+0x150/0x150 [ 33.650354][ C3] ? hrtick+0x1a8/0x220 [ 33.650358][ C3] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 33.650362][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650365][ C3] handle_softirqs+0x1d3/0x900 [ 33.650368][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650370][ C3] ? _local_bh_enable+0xc0/0xc0 [ 33.650372][ C3] ? do_raw_spin_unlock+0x59/0x250 [ 33.650375][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650377][ C3] ? __dev_queue_xmit+0x964/0x1b80 [ 33.650380][ C3] do_softirq+0xac/0xe0 [ 33.650382][ C3] [ 33.650383][ C3] [ 33.650384][ C3] __local_bh_enable_ip+0x118/0x150 [ 33.650387][ C3] __dev_queue_xmit+0x979/0x1b80 [ 33.650392][ C3] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 33.650395][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650397][ C3] ? lock_acquire+0x13c/0x160 [ 33.650400][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650402][ C3] ? __asan_memcpy+0x3c/0x60 [ 33.650405][ C3] ? neigh_hh_output+0x152/0x4c0 [ 33.650409][ C3] ip_finish_output2+0xd9b/0x1bc0 [ 33.650412][ C3] ? ip_dst_mtu_maybe_forward+0x7c/0x670 [ 33.650414][ C3] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 33.650417][ C3] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 33.650419][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650422][ C3] ip_output+0x1ca/0x660 [ 33.650425][ C3] ? ip_finish_output+0x460/0x460 [ 33.650428][ C3] ? lock_acquire+0x13c/0x160 [ 33.650430][ C3] ? __ip_finish_output+0x720/0x720 [ 33.650433][ C3] ? lock_acquire+0x13c/0x160 [ 33.650435][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650437][ C3] ? lock_release+0x184/0x1f0 [ 33.650440][ C3] __ip_queue_xmit+0x774/0x1650 [ 33.650444][ C3] __tcp_transmit_skb+0x1ad9/0x3a70 [ 33.650448][ C3] ? tcp_call_bpf+0x201/0x2e0 [ 33.650451][ C3] ? tcp_clone_payload+0x10b0/0x10b0 [ 33.650453][ C3] ? __tcp_select_window+0xf20/0xf20 [ 33.650457][ C3] ? trace_hardirqs_on+0x36/0x40 [ 33.650460][ C3] ? kvm_clock_get_cycles+0x19/0x30 [ 33.650463][ C3] ? ktime_get+0x1dd/0x2d0 [ 33.650467][ C3] tcp_connect+0xec4/0x1880 [ 33.650471][ C3] tcp_v4_connect+0x12bd/0x1960 [ 33.650475][ C3] ? established_get_first+0x6b0/0x6b0 [ 33.650477][ C3] ? lockdep_init_map_type+0x5d/0x250 [ 33.650480][ C3] ? do_raw_spin_lock+0x131/0x280 [ 33.650483][ C3] ? __rwlock_init+0x150/0x150 [ 33.650486][ C3] __inet_stream_connect+0x2ed/0xd00 [ 33.650490][ C3] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 33.650492][ C3] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 33.650495][ C3] inet_stream_connect+0x59/0xb0 [ 33.650498][ C3] __sys_connect+0x1c1/0x2c0 [ 33.650502][ C3] ? do_fcntl+0x36f/0xc50 [ 33.650506][ C3] ? rcu_is_watching+0x16/0xd0 [ 33.650508][ C3] ? __sys_connect_file+0x250/0x250 [ 33.650513][ C3] ? fdget_raw+0x4f/0x190 [ 33.650516][ C3] __x64_sys_connect+0x72/0xd0 [ 33.650519][ C3] ? trace_hardirqs_on+0x36/0x40 [ 33.650521][ C3] do_syscall_64+0x10e/0x570 [ 33.650524][ C3] ? irq_exit_rcu+0x1a/0x30 [ 33.650527][ C3] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 33.650530][ C3] RIP: 0033:0x7f8ead56154e [ 33.650535][ C3] 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 [ 33.650537][ C3] RSP: 002b:00007fff41747b50 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 33.650541][ C3] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8ead56154e [ 33.650543][ C3] RDX: 0000000000000010 RSI: 00007fff41747be0 RDI: 0000000000000005 [ 33.650545][ C3] RBP: 00007fff41747b60 R08: 0000000000000000 R09: 0000000000000000 [ 33.650546][ C3] R10: 0000000000000000 R11: 0000000000000202 R12: 00007fff41747d58 [ 33.650548][ C3] R13: 0000000000000005 R14: 00007f8ead732000 R15: 0000000000402e00 [ 33.650552][ C3] [ 33.723938][ C2] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 33.844206][ C3] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 33.868232][ C3] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 87.794625][ T996] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 87.794641][ T996] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 87.794643][ T996] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 996, name: modprobe [ 87.794645][ T996] preempt_count: 1, expected: 0 [ 87.794645][ T996] RCU nest depth: 0, expected: 0 [ 87.794646][ T996] INFO: lockdep is turned off. [ 87.794647][ T996] irq event stamp: 0 [ 87.794648][ T996] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 87.794652][ T996] hardirqs last disabled at (0): [] copy_process+0x1d01/0x62c0 [ 87.794658][ T996] softirqs last enabled at (0): [] copy_process+0x1d55/0x62c0 [ 87.794660][ T996] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 87.794662][ T996] Preemption disabled at: [ 87.794663][ T996] [] vprintk_emit+0x31b/0x3e0 [ 87.794669][ T996] CPU: 0 UID: 0 PID: 996 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 87.794673][ T996] Tainted: [W]=WARN [ 87.794674][ T996] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 87.794676][ T996] Call Trace: [ 87.794677][ T996] [ 87.794678][ T996] dump_stack_lvl+0x6f/0xa0 [ 87.794682][ T996] ? vprintk_emit+0x31b/0x3e0 [ 87.794684][ T996] __might_resched.cold+0x1fe/0x2c1 [ 87.794688][ T996] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 87.794690][ T996] ? rcu_is_watching+0x16/0xd0 [ 87.794694][ T996] __kmalloc_noprof+0x443/0x760 [ 87.794697][ T996] ? __rwlock_init+0x150/0x150 [ 87.794700][ T996] ? alloc_buf.isra.0+0x4b/0x260 [ 87.794705][ T996] ? do_raw_spin_unlock+0x59/0x250 [ 87.794706][ T996] alloc_buf.isra.0+0x4b/0x260 [ 87.794708][ T996] put_chars+0x1e1/0x2f0 [ 87.794710][ T996] ? __send_to_port+0x420/0x420 [ 87.794712][ T996] ? console_prepend_replay+0x20/0x20 [ 87.794714][ T996] hvc_console_print+0x292/0x780 [ 87.794718][ T996] ? hvc_write+0x3a0/0x3a0 [ 87.794720][ T996] ? rcu_is_watching+0x16/0xd0 [ 87.794721][ T996] ? rcu_is_watching+0x16/0xd0 [ 87.794722][ T996] ? lock_acquire+0x13c/0x160 [ 87.794725][ T996] console_emit_next_record+0x22f/0x4c0 [ 87.794727][ T996] ? devkmsg_read+0x4b0/0x4b0 [ 87.794728][ T996] ? rcu_is_watching+0x16/0xd0 [ 87.794729][ T996] ? rcu_is_watching+0x16/0xd0 [ 87.794731][ T996] ? rcu_is_watching+0x16/0xd0 [ 87.794732][ T996] ? lock_acquire+0x13c/0x160 [ 87.794734][ T996] ? console_flush_one_record+0x111/0x710 [ 87.794735][ T996] console_flush_one_record+0x46f/0x710 [ 87.794737][ T996] ? console_emit_next_record+0x4c0/0x4c0 [ 87.794739][ T996] console_unlock+0xee/0x1f0 [ 87.794740][ T996] ? lock_acquire+0x13c/0x160 [ 87.794742][ T996] ? console_flush_one_record+0x710/0x710 [ 87.794743][ T996] ? rcu_is_watching+0x16/0xd0 [ 87.794744][ T996] ? lock_release+0x184/0x1f0 [ 87.794746][ T996] ? lock_acquire+0x60/0x160 [ 87.794747][ T996] ? __rcu_read_lock+0x30/0x70 [ 87.794749][ T996] ? __down_trylock_console_sem+0x5e/0xa0 [ 87.794751][ T996] ? vprintk_emit+0x320/0x3e0 [ 87.794753][ T996] vprintk_emit+0x37c/0x3e0 [ 87.794755][ T996] ? wake_up_klogd_work_func+0x90/0x90 [ 87.794756][ T996] ? ww_mutex_lock+0x160/0x160 [ 87.794760][ T996] ? llc_exit+0x3e0/0x3e0 [llc] [ 87.794763][ T996] _printk+0xc7/0x100 [ 87.794766][ T996] ? snapshot_read.cold+0x21/0x21 [ 87.794767][ T996] ? __mutex_unlock_slowpath+0x5e5/0x740 [ 87.794769][ T996] ? _mutex_trylock_nest_lock+0x390/0x390 [ 87.794772][ T996] ? __mutex_unlock_slowpath+0x14d/0x740 [ 87.794774][ T996] br_init+0x98/0xc0 [bridge] [ 87.794785][ T996] do_one_initcall+0x124/0x4f0 [ 87.794788][ T996] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 87.794791][ T996] ? do_init_module+0xae/0x8a0 [ 87.794793][ T996] ? kasan_unpoison+0x44/0x70 [ 87.794796][ T996] do_init_module+0x2ad/0x8a0 [ 87.794798][ T996] ? free_module+0x470/0x470 [ 87.794799][ T996] ? kfree+0x123/0x590 [ 87.794802][ T996] load_module+0x154b/0x1d60 [ 87.794805][ T996] ? layout_and_allocate.isra.0+0x680/0x680 [ 87.794807][ T996] ? backing_file_read_iter+0x541/0x790 [ 87.794810][ T996] init_module_from_file+0x11f/0x1a0 [ 87.794812][ T996] ? __ia32_sys_init_module+0xc0/0xc0 [ 87.794814][ T996] ? ovl_mmap+0x270/0x270 [ 87.794818][ T996] ? __rwlock_init+0x150/0x150 [ 87.794820][ T996] ? rcu_is_watching+0x16/0xd0 [ 87.794821][ T996] ? lock_release+0x184/0x1f0 [ 87.794823][ T996] ? do_raw_spin_unlock+0x59/0x250 [ 87.794825][ T996] idempotent_init_module+0x37b/0x7c0 [ 87.794827][ T996] ? init_module_from_file+0x1a0/0x1a0 [ 87.794829][ T996] ? rcu_is_watching+0x16/0xd0 [ 87.794830][ T996] ? cap_capable+0x1d7/0x3d0 [ 87.794833][ T996] __x64_sys_finit_module+0xdf/0x190 [ 87.794835][ T996] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 87.794837][ T996] do_syscall_64+0x10e/0x570 [ 87.794840][ T996] ? exc_page_fault+0xee/0x100 [ 87.794842][ T996] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 87.794844][ T996] RIP: 0033:0x7f459607637d [ 87.794846][ T996] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4b aa 0f 00 f7 d8 64 89 01 48 [ 87.794848][ T996] RSP: 002b:00007ffc7401d438 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 87.794851][ T996] RAX: ffffffffffffffda RBX: 0000564f225bd810 RCX: 00007f459607637d [ 87.794853][ T996] RDX: 0000000000000000 RSI: 0000564ef5801ffd RDI: 0000000000000002 [ 87.794854][ T996] RBP: 00007ffc7401d4d0 R08: 0000000000000000 R09: 0000000000000000 [ 87.794854][ T996] R10: 0000000000000000 R11: 0000000000000246 R12: 0000564ef5801ffd [ 87.794855][ T996] R13: 0000564f225bd9c0 R14: 0000000000040000 R15: 0000000000000000 [ 87.794858][ T996] [ 87.854556][ T997] br0: port 1(veth0) entered blocking state [ 87.854848][ T997] br0: port 1(veth0) entered disabled state [ 87.855127][ T997] veth0: entered allmulticast mode [ 87.856453][ T997] veth0: entered promiscuous mode [ 87.884570][ T1001] br0: port 2(veth1) entered blocking state [ 87.884814][ T1001] br0: port 2(veth1) entered disabled state [ 87.885005][ T1001] veth1: entered allmulticast mode [ 87.885919][ T1001] veth1: entered promiscuous mode [ 87.906094][ T1002] br0: port 2(veth1) entered blocking state [ 87.906327][ T1002] br0: port 2(veth1) entered forwarding state [ 87.906618][ T1002] br0: port 1(veth0) entered blocking state [ 87.906799][ T1002] br0: port 1(veth0) entered forwarding state [ 94.077111][ T1020] nf_queue (1020) used greatest stack depth: 23776 bytes left [ 94.077131][ T1020] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 94.077134][ T1020] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1020, name: nf_queue [ 94.077136][ T1020] preempt_count: 2, expected: 0 [ 94.077137][ T1020] RCU nest depth: 0, expected: 0 [ 94.077138][ T1020] INFO: lockdep is turned off. [ 94.077139][ T1020] irq event stamp: 0 [ 94.077140][ T1020] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 94.077146][ T1020] hardirqs last disabled at (0): [] copy_process+0x1d01/0x62c0 [ 94.077153][ T1020] softirqs last enabled at (0): [] copy_process+0x1d55/0x62c0 [ 94.077155][ T1020] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 94.077158][ T1020] Preemption disabled at: [ 94.077158][ T1020] [<0000000000000000>] 0x0 [ 94.077165][ T1020] CPU: 2 UID: 0 PID: 1020 Comm: nf_queue Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 94.077169][ T1020] Tainted: [W]=WARN [ 94.077170][ T1020] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 94.077172][ T1020] Call Trace: [ 94.077174][ T1020] [ 94.077176][ T1020] dump_stack_lvl+0x6f/0xa0 [ 94.077181][ T1020] __might_resched.cold+0x1fe/0x2c1 [ 94.077186][ T1020] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 94.077189][ T1020] ? rcu_is_watching+0x16/0xd0 [ 94.077193][ T1020] __kmalloc_noprof+0x443/0x760 [ 94.077197][ T1020] ? __rwlock_init+0x150/0x150 [ 94.077200][ T1020] ? alloc_buf.isra.0+0x4b/0x260 [ 94.077210][ T1020] ? do_raw_spin_unlock+0x59/0x250 [ 94.077212][ T1020] alloc_buf.isra.0+0x4b/0x260 [ 94.077215][ T1020] put_chars+0x1e1/0x2f0 [ 94.077218][ T1020] ? __send_to_port+0x420/0x420 [ 94.077219][ T1020] ? printk_get_next_message+0x240/0x650 [ 94.077222][ T1020] ? console_prepend_replay+0x20/0x20 [ 94.077225][ T1020] hvc_console_print+0x292/0x780 [ 94.077230][ T1020] ? hvc_write+0x3a0/0x3a0 [ 94.077231][ T1020] ? __rwlock_init+0x150/0x150 [ 94.077234][ T1020] ? lock_acquire+0x13c/0x160 [ 94.077237][ T1020] console_emit_next_record+0x22f/0x4c0 [ 94.077240][ T1020] ? devkmsg_read+0x4b0/0x4b0 [ 94.077242][ T1020] ? rcu_is_watching+0x16/0xd0 [ 94.077243][ T1020] ? rcu_is_watching+0x16/0xd0 [ 94.077245][ T1020] ? rcu_is_watching+0x16/0xd0 [ 94.077246][ T1020] ? lock_acquire+0x13c/0x160 [ 94.077249][ T1020] ? console_flush_one_record+0x111/0x710 [ 94.077250][ T1020] console_flush_one_record+0x46f/0x710 [ 94.077253][ T1020] ? console_emit_next_record+0x4c0/0x4c0 [ 94.077259][ T1020] console_unlock+0xee/0x1f0 [ 94.077261][ T1020] ? lock_acquire+0x13c/0x160 [ 94.077263][ T1020] ? console_flush_one_record+0x710/0x710 [ 94.077264][ T1020] ? rcu_is_watching+0x16/0xd0 [ 94.077266][ T1020] ? lock_release+0x184/0x1f0 [ 94.077268][ T1020] ? lock_acquire+0x60/0x160 [ 94.077271][ T1020] ? __rcu_read_lock+0x30/0x70 [ 94.077273][ T1020] ? __down_trylock_console_sem+0x5e/0xa0 [ 94.077276][ T1020] ? vprintk_emit+0x320/0x3e0 [ 94.077278][ T1020] vprintk_emit+0x37c/0x3e0 [ 94.077281][ T1020] ? wake_up_klogd_work_func+0x90/0x90 [ 94.077283][ T1020] ? do_raw_read_unlock+0x70/0x70 [ 94.077285][ T1020] ? forget_original_parent+0x5c/0xdb0 [ 94.077288][ T1020] _printk+0xc7/0x100 [ 94.077292][ T1020] ? snapshot_read.cold+0x21/0x21 [ 94.077294][ T1020] ? do_raw_spin_lock+0x131/0x280 [ 94.077296][ T1020] ? do_raw_spin_lock+0x131/0x280 [ 94.077299][ T1020] ? __rwlock_init+0x150/0x150 [ 94.077301][ T1020] ? do_raw_spin_lock+0x131/0x280 [ 94.077304][ T1020] do_exit.cold+0x82/0x9c [ 94.077307][ T1020] ? exit_notify+0x890/0x890 [ 94.077310][ T1020] ? posixtimer_sig_unignore.isra.0+0x5f0/0x5f0 [ 94.077313][ T1020] ? rcu_is_watching+0x16/0xd0 [ 94.077315][ T1020] do_group_exit+0xb8/0x370 [ 94.077318][ T1020] __x64_sys_exit_group+0x3c/0x50 [ 94.077321][ T1020] x64_sys_call+0x1567/0x1570 [ 94.077324][ T1020] do_syscall_64+0x10e/0x570 [ 94.077328][ T1020] ? exc_page_fault+0xee/0x100 [ 94.077331][ T1020] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 94.077334][ T1020] RIP: 0033:0x7f311617a1b8 [ 94.077337][ T1020] Code: Unable to access opcode bytes at 0x7f311617a18e. [ 94.077338][ T1020] RSP: 002b:00007fffb3c86348 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 94.077342][ T1020] RAX: ffffffffffffffda RBX: 00007f31162aaf88 RCX: 00007f311617a1b8 [ 94.077344][ T1020] RDX: 00007f31160b7a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 94.077346][ T1020] RBP: 00007fffb3c863a0 R08: 0000000000000000 R09: 0000000000000000 [ 94.077347][ T1020] R10: 00007fffb3c861e0 R11: 0000000000000246 R12: 0000000000000001 [ 94.077348][ T1020] R13: 0000000000000000 R14: 00007f31162a9680 R15: 00007f31162aafa0 [ 94.077352][ T1020] [ 99.878001][ T70] br0: port 1(veth0) entered disabled state [ 99.878016][ T70] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 99.878018][ T70] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 70, name: kworker/u16:1 [ 99.878020][ T70] preempt_count: 202, expected: 0 [ 99.878021][ T70] RCU nest depth: 0, expected: 0 [ 99.878022][ T70] INFO: lockdep is turned off. [ 99.878023][ T70] irq event stamp: 16938 [ 99.878024][ T70] hardirqs last enabled at (16937): [] _raw_spin_unlock_irq+0x28/0x50 [ 99.878033][ T70] hardirqs last disabled at (16938): [] __schedule+0x1246/0x20e0 [ 99.878036][ T70] softirqs last enabled at (16900): [] instance_destroy_work+0x116/0x250 [nfnetlink_queue] [ 99.878040][ T70] softirqs last disabled at (16898): [] instance_destroy_work+0x6f/0x250 [nfnetlink_queue] [ 99.878042][ T70] Preemption disabled at: [ 99.878043][ T70] [<0000000000000000>] 0x0 [ 99.878048][ T70] CPU: 0 UID: 0 PID: 70 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 99.878051][ T70] Tainted: [W]=WARN [ 99.878052][ T70] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 99.878054][ T70] Workqueue: netns cleanup_net [ 99.878060][ T70] Call Trace: [ 99.878062][ T70] [ 99.878063][ T70] dump_stack_lvl+0x6f/0xa0 [ 99.878068][ T70] __might_resched.cold+0x1fe/0x2c1 [ 99.878072][ T70] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 99.878075][ T70] ? rcu_is_watching+0x16/0xd0 [ 99.878078][ T70] __kmalloc_noprof+0x443/0x760 [ 99.878082][ T70] ? __rwlock_init+0x150/0x150 [ 99.878085][ T70] ? alloc_buf.isra.0+0x4b/0x260 [ 99.878089][ T70] ? do_raw_spin_unlock+0x59/0x250 [ 99.878090][ T70] alloc_buf.isra.0+0x4b/0x260 [ 99.878092][ T70] put_chars+0x1e1/0x2f0 [ 99.878094][ T70] ? __send_to_port+0x420/0x420 [ 99.878096][ T70] ? printk_get_next_message+0x240/0x650 [ 99.878098][ T70] ? console_prepend_replay+0x20/0x20 [ 99.878100][ T70] hvc_console_print+0x292/0x780 [ 99.878104][ T70] ? hvc_write+0x3a0/0x3a0 [ 99.878105][ T70] ? __rwlock_init+0x150/0x150 [ 99.878107][ T70] ? lock_acquire+0x13c/0x160 [ 99.878110][ T70] console_emit_next_record+0x22f/0x4c0 [ 99.878112][ T70] ? devkmsg_read+0x4b0/0x4b0 [ 99.878113][ T70] ? rcu_is_watching+0x16/0xd0 [ 99.878114][ T70] ? rcu_is_watching+0x16/0xd0 [ 99.878115][ T70] ? rcu_is_watching+0x16/0xd0 [ 99.878116][ T70] ? lock_acquire+0x13c/0x160 [ 99.878118][ T70] ? console_flush_one_record+0x111/0x710 [ 99.878119][ T70] console_flush_one_record+0x46f/0x710 [ 99.878121][ T70] ? console_emit_next_record+0x4c0/0x4c0 [ 99.878123][ T70] console_unlock+0xee/0x1f0 [ 99.878124][ T70] ? lock_acquire+0x13c/0x160 [ 99.878126][ T70] ? console_flush_one_record+0x710/0x710 [ 99.878127][ T70] ? rcu_is_watching+0x16/0xd0 [ 99.878128][ T70] ? lock_release+0x184/0x1f0 [ 99.878130][ T70] ? lock_acquire+0x60/0x160 [ 99.878131][ T70] ? __rcu_read_lock+0x30/0x70 [ 99.878133][ T70] ? __down_trylock_console_sem+0x5e/0xa0 [ 99.878135][ T70] ? vprintk_emit+0x320/0x3e0 [ 99.878136][ T70] vprintk_emit+0x37c/0x3e0 [ 99.878139][ T70] ? wake_up_klogd_work_func+0x90/0x90 [ 99.878141][ T70] ? rcu_is_watching+0x16/0xd0 [ 99.878142][ T70] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 99.878144][ T70] ? trace_hardirqs_on+0x36/0x40 [ 99.878146][ T70] _printk+0xc7/0x100 [ 99.878149][ T70] ? snapshot_read.cold+0x21/0x21 [ 99.878151][ T70] ? ipv6_mc_down+0x17e/0x2d0 [ 99.878155][ T70] br_set_state+0x22f/0x430 [bridge] [ 99.878168][ T70] br_stp_disable_port+0x11f/0x390 [bridge] [ 99.878176][ T70] br_device_event+0x7b5/0x8f0 [bridge] [ 99.878183][ T70] ? lock_release+0x184/0x1f0 [ 99.878185][ T70] ? _sub_I_65535_1+0x4d0/0x4d0 [stp] [ 99.878187][ T70] ? nfqnl_dev_drop+0x54/0x330 [nfnetlink_queue] [ 99.878189][ T70] ? nfqnl_dev_drop+0xf0/0x330 [nfnetlink_queue] [ 99.878191][ T70] notifier_call_chain+0xae/0x300 [ 99.878195][ T70] netif_close_many+0x366/0x770 [ 99.878198][ T70] ? trace_kfree+0xd2/0x100 [ 99.878199][ T70] ? lock_acquire+0x13c/0x160 [ 99.878201][ T70] ? __dev_close_many+0x680/0x680 [ 99.878203][ T70] ? netif_close_many_and_unlock+0x22/0x2c0 [ 99.878205][ T70] unregister_netdevice_many_notify+0x71a/0x1b40 [ 99.878207][ T70] ? ops_undo_list+0x2ce/0x8f0 [ 99.878209][ T70] ? worker_thread+0x4f1/0xd60 [ 99.878211][ T70] ? kthread+0x367/0x460 [ 99.878213][ T70] ? ret_from_fork+0x4a4/0x720 [ 99.878216][ T70] ? ret_from_fork_asm+0x11/0x20 [ 99.878218][ T70] ? unregister_netdevice_queued+0x80/0x80 [ 99.878227][ T70] ? get_rps_cpu+0x980/0x980 [ 99.878230][ T70] default_device_exit_batch+0x38b/0x600 [ 99.878232][ T70] ? generic_xdp_install+0x470/0x470 [ 99.878234][ T70] ? unregister_netdevice_queue+0x470/0x470 [ 99.878235][ T70] ? rtnl_is_locked+0x15/0x20 [ 99.878237][ T70] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 99.878240][ T70] ? mutex_is_locked+0x1c/0x50 [ 99.878242][ T70] ops_undo_list+0x2ce/0x8f0 [ 99.878244][ T70] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 99.878246][ T70] ? idr_destroy+0x121/0x250 [ 99.878249][ T70] cleanup_net+0x431/0x890 [ 99.878251][ T70] ? net_passive_dec+0x230/0x230 [ 99.878252][ T70] ? update_load_avg+0x141/0xf00 [ 99.878254][ T70] ? lock_acquire+0x13c/0x160 [ 99.878259][ T70] ? rcu_is_watching+0x16/0xd0 [ 99.878261][ T70] process_one_work+0xe3e/0x1560 [ 99.878263][ T70] ? __queue_delayed_work+0x470/0x470 [ 99.878264][ T70] ? find_held_lock+0x2b/0x80 [ 99.878267][ T70] ? __rwlock_init+0x150/0x150 [ 99.878269][ T70] worker_thread+0x4f1/0xd60 [ 99.878270][ T70] ? rescuer_thread+0x1340/0x1340 [ 99.878272][ T70] ? __kthread_parkme+0xbd/0x210 [ 99.878274][ T70] ? rescuer_thread+0x1340/0x1340 [ 99.878275][ T70] ? rescuer_thread+0x1340/0x1340 [ 99.878276][ T70] kthread+0x367/0x460 [ 99.878278][ T70] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 99.878279][ T70] ? kthread_affine_preferred+0x4c0/0x4c0 [ 99.878281][ T70] ret_from_fork+0x4a4/0x720 [ 99.878283][ T70] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 99.878285][ T70] ? __switch_to+0x5a3/0xe00 [ 99.878287][ T70] ? kthread_affine_preferred+0x4c0/0x4c0 [ 99.878289][ T70] ret_from_fork_asm+0x11/0x20 [ 99.878292][ T70] [ 99.901395][ T70] veth0 (unregistering): left allmulticast mode [ 99.906241][ T70] veth0 (unregistering): left promiscuous mode [ 99.906439][ T70] br0: port 1(veth0) entered disabled state [ 99.981846][ T70] br0: port 2(veth1) entered disabled state [ 99.983729][ T70] veth1 (unregistering): left allmulticast mode [ 99.983987][ T70] veth1 (unregistering): left promiscuous mode [ 99.984237][ T70] br0: port 2(veth1) entered disabled state