[ 10.300943][ T174] sctp: Hash tables configured (bind 32/56) [ 10.300961][ T174] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.300963][ T174] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 174, name: modprobe [ 10.300965][ T174] preempt_count: 1, expected: 0 [ 10.300966][ T174] RCU nest depth: 0, expected: 0 [ 10.300967][ T174] locks held by modprobe/174: 4, last CPU#1: [ 10.300969][ T174] #0: ffffffffae56a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.300980][ T174] #1: ffffffffae56a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.300984][ T174] #2: ffffffffae489de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.300987][ T174] #3: ffffffffae489ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.300991][ T174] irq event stamp: 104190 [ 10.300992][ T174] hardirqs last enabled at (104189): [] __down_trylock_console_sem+0x86/0xa0 [ 10.300995][ T174] hardirqs last disabled at (104190): [] console_emit_next_record+0x3d4/0x4c0 [ 10.300997][ T174] softirqs last enabled at (92152): [] handle_softirqs+0x67c/0x900 [ 10.301000][ T174] softirqs last disabled at (91969): [] __irq_exit_rcu+0x145/0x1c0 [ 10.301003][ T174] Preemption disabled at: [ 10.301003][ T174] [] vprintk_emit+0x31b/0x3e0 [ 10.301009][ T174] CPU: 1 UID: 0 PID: 174 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.301012][ T174] Tainted: [W]=WARN [ 10.301013][ T174] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.301015][ T174] Call Trace: [ 10.301016][ T174] [ 10.301018][ T174] dump_stack_lvl+0x6f/0xa0 [ 10.301023][ T174] ? vprintk_emit+0x31b/0x3e0 [ 10.301025][ T174] __might_resched.cold+0x1fe/0x2c1 [ 10.301029][ T174] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.301033][ T174] ? __kmalloc_noprof+0xdb/0x760 [ 10.301038][ T174] __kmalloc_noprof+0x443/0x760 [ 10.301040][ T174] ? alloc_buf.isra.0+0x4b/0x260 [ 10.301047][ T174] ? do_raw_spin_unlock+0x59/0x250 [ 10.301050][ T174] alloc_buf.isra.0+0x4b/0x260 [ 10.301053][ T174] put_chars+0x1e1/0x2f0 [ 10.301056][ T174] ? __send_to_port+0x420/0x420 [ 10.301057][ T174] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.301062][ T174] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.301065][ T174] ? validate_chain+0x38b/0xc20 [ 10.301070][ T174] hvc_console_print+0x292/0x780 [ 10.301073][ T174] ? __lock_acquire+0x518/0xc20 [ 10.301078][ T174] ? hvc_write+0x3a0/0x3a0 [ 10.301081][ T174] ? rcu_is_watching+0x16/0xd0 [ 10.301086][ T174] console_emit_next_record+0x22f/0x4c0 [ 10.301090][ T174] ? devkmsg_read+0x4b0/0x4b0 [ 10.301091][ T174] ? console_flush_one_record+0x106/0x710 [ 10.301094][ T174] ? rcu_is_watching+0x16/0xd0 [ 10.301095][ T174] ? lock_acquire+0x13c/0x160 [ 10.301100][ T174] console_flush_one_record+0x46f/0x710 [ 10.301104][ T174] ? console_emit_next_record+0x4c0/0x4c0 [ 10.301105][ T174] ? __lock_acquire+0x518/0xc20 [ 10.301110][ T174] console_unlock+0xee/0x1f0 [ 10.301113][ T174] ? console_flush_one_record+0x710/0x710 [ 10.301114][ T174] ? rcu_is_watching+0x16/0xd0 [ 10.301116][ T174] ? lock_acquire+0x60/0x160 [ 10.301120][ T174] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.301122][ T174] ? vprintk_emit+0x320/0x3e0 [ 10.301125][ T174] vprintk_emit+0x37c/0x3e0 [ 10.301128][ T174] ? wake_up_klogd_work_func+0x90/0x90 [ 10.301130][ T174] ? lockdep_hardirqs_on+0x91/0x130 [ 10.301136][ T174] ? lookup_object_or_alloc.part.0+0x580/0x580 [ 10.301141][ T174] _printk+0xc7/0x100 [ 10.301145][ T174] ? snapshot_read.cold+0x21/0x21 [ 10.301149][ T174] ? lockdep_init_map_type+0x5d/0x250 [ 10.301152][ T174] ? __rhashtable_init_noprof+0x451/0x7f0 [ 10.301157][ T174] sctp_init+0x43b/0x600 [sctp] [ 10.301177][ T174] ? sctp_exit+0x270/0x270 [sctp] [ 10.301195][ T174] do_one_initcall+0x124/0x4f0 [ 10.301199][ T174] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 10.301204][ T174] ? do_init_module+0xae/0x8a0 [ 10.301206][ T174] ? kasan_unpoison+0x44/0x70 [ 10.301211][ T174] do_init_module+0x2ad/0x8a0 [ 10.301214][ T174] ? lockdep_hardirqs_on+0x91/0x130 [ 10.301217][ T174] ? free_module+0x470/0x470 [ 10.301220][ T174] ? kfree+0x123/0x590 [ 10.301224][ T174] load_module+0x154b/0x1d60 [ 10.301231][ T174] ? layout_and_allocate.isra.0+0x680/0x680 [ 10.301236][ T174] ? backing_file_read_iter+0x541/0x790 [ 10.301240][ T174] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.301243][ T174] init_module_from_file+0x11f/0x1a0 [ 10.301246][ T174] ? __ia32_sys_init_module+0xc0/0xc0 [ 10.301254][ T174] ? __rwlock_init+0x150/0x150 [ 10.301258][ T174] ? do_raw_spin_unlock+0x59/0x250 [ 10.301261][ T174] idempotent_init_module+0x37b/0x7c0 [ 10.301264][ T174] ? init_module_from_file+0x1a0/0x1a0 [ 10.301270][ T174] ? rcu_is_watching+0x16/0xd0 [ 10.301272][ T174] ? cap_capable+0x1d7/0x3d0 [ 10.301278][ T174] __x64_sys_finit_module+0xdf/0x190 [ 10.301279][ T174] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.301283][ T174] do_syscall_64+0x10e/0x570 [ 10.301285][ T174] ? exc_page_fault+0xee/0x100 [ 10.301288][ T174] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.301290][ T174] RIP: 0033:0x7f2a65bfd37d [ 10.301294][ 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 [ 10.301296][ T174] RSP: 002b:00007ffef878d798 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 10.301298][ T174] RAX: ffffffffffffffda RBX: 0000562d077309c0 RCX: 00007f2a65bfd37d [ 10.301300][ T174] RDX: 0000000000000000 RSI: 0000562cf72d4ffd RDI: 0000000000000007 [ 10.301300][ T174] RBP: 00007ffef878d830 R08: 0000000000000000 R09: 0000000000000000 [ 10.301301][ T174] R10: 0000000000000000 R11: 0000000000000246 R12: 0000562cf72d4ffd [ 10.301302][ T174] R13: 0000562d07730ae0 R14: 0000000000040000 R15: 0000000000000000 [ 10.301309][ T174] [ 10.864234][ T192] ip (192) used greatest stack depth: 24048 bytes left [ 30.819607][ C1] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 30.819639][ C1] [ 30.819640][ C1] ======================================================== [ 30.819641][ C1] WARNING: possible irq lock inversion dependency detected [ 30.819643][ C1] 7.2.0-virtme #1 Tainted: G W [ 30.819645][ C1] -------------------------------------------------------- [ 30.819646][ C1] connect_close/348 just changed the state of lock: [ 30.819647][ C1] ffffffffae489de0 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 30.819659][ C1] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 30.819660][ C1] (fs_reclaim){+.+.}-{0:0} [ 30.819661][ C1] [ 30.819661][ C1] [ 30.819661][ C1] and interrupts could create inverse lock ordering between them. [ 30.819661][ C1] [ 30.819663][ C1] [ 30.819663][ C1] other info that might help us debug this: [ 30.819663][ C1] Possible interrupt unsafe locking scenario: [ 30.819663][ C1] [ 30.819664][ C1] CPU0 CPU1 [ 30.819664][ C1] ---- ---- [ 30.819665][ C1] lock(fs_reclaim); [ 30.819666][ C1] local_irq_disable(); [ 30.819666][ C1] lock(console_owner); [ 30.819667][ C1] lock(fs_reclaim); [ 30.819668][ C1] [ 30.819669][ C1] lock(console_owner); [ 30.819670][ C1] [ 30.819670][ C1] *** DEADLOCK *** [ 30.819670][ C1] [ 30.819670][ C1] locks held by connect_close/348: 9, last CPU#1: [ 30.819671][ C1] #0: ff1100000cfc9d90 (sk_lock-AF_INET){+.+.}-{0:0}, at: inet_stream_connect+0x44/0xb0 [ 30.819678][ C1] #1: ffffffffae581280 (rcu_read_lock){....}-{1:3}, at: __ip_queue_xmit+0x63/0x1650 [ 30.819682][ C1] #2: ffffffffae581280 (rcu_read_lock){....}-{1:3}, at: ip_output+0xa9/0x660 [ 30.819685][ C1] #3: ffffffffae581280 (rcu_read_lock){....}-{1:3}, at: ip_finish_output2+0x25c/0x1bc0 [ 30.819688][ C1] #4: ffffffffae581280 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 30.819695][ C1] #5: ffffffffae581280 (rcu_read_lock){....}-{1:3}, at: ip_local_deliver_finish+0x2ba/0x610 [ 30.819698][ C1] #6: ffffffffae581280 (rcu_read_lock){....}-{1:3}, at: tcp_rcv_listen_state_process+0x108/0x380 [ 30.819703][ C1] #7: ffffffffae56a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 30.819706][ C1] #8: ffffffffae56a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 30.819708][ C1] [ 30.819708][ C1] the shortest dependencies between 2nd lock and 1st lock: [ 30.819714][ C1] -> (fs_reclaim){+.+.}-{0:0} { [ 30.819716][ C1] HARDIRQ-ON-W at: [ 30.819717][ C1] __lock_acquire+0x388/0xc20 [ 30.819721][ C1] lock_acquire.part.0+0xd4/0x280 [ 30.819723][ C1] fs_reclaim_acquire+0xd5/0x120 [ 30.819726][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 30.819728][ C1] kthread_create_worker_on_node+0xea/0x210 [ 30.819731][ C1] workqueue_init+0x2a/0x680 [ 30.819735][ C1] kernel_init_freeable+0x2fe/0x630 [ 30.819738][ C1] kernel_init+0x21/0x150 [ 30.819740][ C1] ret_from_fork+0x4a4/0x720 [ 30.819744][ C1] ret_from_fork_asm+0x11/0x20 [ 30.819747][ C1] SOFTIRQ-ON-W at: [ 30.819747][ C1] __lock_acquire+0x388/0xc20 [ 30.819749][ C1] lock_acquire.part.0+0xd4/0x280 [ 30.819751][ C1] fs_reclaim_acquire+0xd5/0x120 [ 30.819752][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 30.819753][ C1] kthread_create_worker_on_node+0xea/0x210 [ 30.819755][ C1] workqueue_init+0x2a/0x680 [ 30.819756][ C1] kernel_init_freeable+0x2fe/0x630 [ 30.819758][ C1] kernel_init+0x21/0x150 [ 30.819759][ C1] ret_from_fork+0x4a4/0x720 [ 30.819760][ C1] ret_from_fork_asm+0x11/0x20 [ 30.819762][ C1] INITIAL USE at: [ 30.819762][ C1] __lock_acquire+0x388/0xc20 [ 30.819764][ C1] lock_acquire.part.0+0xd4/0x280 [ 30.819766][ C1] fs_reclaim_acquire+0xd5/0x120 [ 30.819767][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 30.819768][ C1] kthread_create_worker_on_node+0xea/0x210 [ 30.819770][ C1] workqueue_init+0x2a/0x680 [ 30.819771][ C1] kernel_init_freeable+0x2fe/0x630 [ 30.819773][ C1] kernel_init+0x21/0x150 [ 30.819774][ C1] ret_from_fork+0x4a4/0x720 [ 30.819775][ C1] ret_from_fork_asm+0x11/0x20 [ 30.819777][ C1] } [ 30.819777][ C1] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 30.819782][ C1] ... acquired at: [ 30.819783][ C1] __lock_acquire+0x518/0xc20 [ 30.819784][ C1] lock_acquire.part.0+0xd4/0x280 [ 30.819786][ C1] fs_reclaim_acquire+0xd5/0x120 [ 30.819787][ C1] __kmalloc_noprof+0xd3/0x760 [ 30.819789][ C1] alloc_buf.isra.0+0x4b/0x260 [ 30.819792][ C1] put_chars+0x1e1/0x2f0 [ 30.819793][ C1] hvc_console_print+0x292/0x780 [ 30.819796][ C1] console_emit_next_record+0x22f/0x4c0 [ 30.819797][ C1] console_flush_one_record+0x46f/0x710 [ 30.819798][ C1] console_unlock+0xee/0x1f0 [ 30.819799][ C1] vprintk_emit+0x37c/0x3e0 [ 30.819800][ C1] dev_vprintk_emit+0x27f/0x2c0 [ 30.819803][ C1] dev_printk_emit+0xb9/0xee [ 30.819805][ C1] _dev_info+0xe2/0x116 [ 30.819807][ C1] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 30.819810][ C1] cmos_do_probe+0x73b/0x98a [ 30.819811][ C1] platform_probe+0xfe/0x1f0 [ 30.819813][ C1] call_driver_probe+0x61/0x1c0 [ 30.819816][ C1] really_probe+0x199/0x760 [ 30.819818][ C1] __driver_probe_device+0x24f/0x440 [ 30.819819][ C1] driver_probe_device+0x4a/0xf0 [ 30.819821][ C1] __driver_attach+0x1b8/0x540 [ 30.819822][ C1] bus_for_each_dev+0x130/0x1e0 [ 30.819824][ C1] bus_add_driver+0x2c8/0x530 [ 30.819825][ C1] driver_register+0x1a3/0x390 [ 30.819827][ C1] __platform_driver_probe+0x13f/0x270 [ 30.819829][ C1] cmos_init+0x31/0x40 [ 30.819831][ C1] do_one_initcall+0x124/0x4f0 [ 30.819833][ C1] kernel_init_freeable+0x596/0x630 [ 30.819834][ C1] kernel_init+0x21/0x150 [ 30.819835][ C1] ret_from_fork+0x4a4/0x720 [ 30.819837][ C1] ret_from_fork_asm+0x11/0x20 [ 30.819838][ C1] [ 30.819838][ C1] -> (console_owner){..-.}-{0:0} { [ 30.819840][ C1] IN-SOFTIRQ-W at: [ 30.819841][ C1] __lock_acquire+0x388/0xc20 [ 30.819843][ C1] lock_acquire.part.0+0xd4/0x280 [ 30.819844][ C1] console_lock_spinning_enable+0x5c/0x60 [ 30.819845][ C1] console_emit_next_record+0x1d1/0x4c0 [ 30.819847][ C1] console_flush_one_record+0x46f/0x710 [ 30.819848][ C1] console_unlock+0xee/0x1f0 [ 30.819849][ C1] vprintk_emit+0x37c/0x3e0 [ 30.819850][ C1] _printk+0xc7/0x100 [ 30.819853][ C1] tcp_syn_flood_action.cold+0xb4/0xe5 [ 30.819856][ C1] tcp_conn_request+0x13ff/0x2c00 [ 30.819857][ C1] tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.819859][ C1] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 30.819861][ C1] tcp_v4_rcv+0x2881/0x2ef0 [ 30.819862][ C1] ip_protocol_deliver_rcu+0x82/0x350 [ 30.819864][ C1] ip_local_deliver_finish+0x36f/0x610 [ 30.819865][ C1] ip_local_deliver+0x184/0x4c0 [ 30.819866][ C1] ip_rcv+0xdc/0x3d0 [ 30.819867][ C1] __netif_receive_skb_one_core+0xfc/0x180 [ 30.819869][ C1] process_backlog+0x431/0x14c0 [ 30.819870][ C1] __napi_poll+0xa7/0x3b0 [ 30.819872][ C1] net_rx_action+0x513/0xf50 [ 30.819873][ C1] handle_softirqs+0x1d3/0x900 [ 30.819876][ C1] do_softirq+0xac/0xe0 [ 30.819877][ C1] __local_bh_enable_ip+0x118/0x150 [ 30.819879][ C1] __dev_queue_xmit+0x979/0x1b80 [ 30.819880][ C1] ip_finish_output2+0xd9b/0x1bc0 [ 30.819882][ C1] ip_output+0x1ca/0x660 [ 30.819883][ C1] __ip_queue_xmit+0x774/0x1650 [ 30.819884][ C1] __tcp_transmit_skb+0x1ad9/0x3a70 [ 30.819886][ C1] tcp_connect+0xec4/0x1880 [ 30.819888][ C1] tcp_v4_connect+0x12bd/0x1960 [ 30.819889][ C1] __inet_stream_connect+0x2ed/0xd00 [ 30.819890][ C1] inet_stream_connect+0x59/0xb0 [ 30.819892][ C1] __sys_connect+0x1c1/0x2c0 [ 30.819895][ C1] __x64_sys_connect+0x72/0xd0 [ 30.819896][ C1] do_syscall_64+0x10e/0x570 [ 30.819898][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.819900][ C1] INITIAL USE at: [ 30.819901][ C1] } [ 30.819901][ C1] ... key at: [] console_owner_dep_map+0x0/0x60 [ 30.819905][ C1] ... acquired at: [ 30.819905][ C1] mark_lock+0x1d7/0xa00 [ 30.819907][ C1] mark_usage+0x42/0x170 [ 30.819908][ C1] __lock_acquire+0x388/0xc20 [ 30.819910][ C1] lock_acquire.part.0+0xd4/0x280 [ 30.819911][ C1] console_lock_spinning_enable+0x5c/0x60 [ 30.819912][ C1] console_emit_next_record+0x1d1/0x4c0 [ 30.819913][ C1] console_flush_one_record+0x46f/0x710 [ 30.819914][ C1] console_unlock+0xee/0x1f0 [ 30.819915][ C1] vprintk_emit+0x37c/0x3e0 [ 30.819916][ C1] _printk+0xc7/0x100 [ 30.819918][ C1] tcp_syn_flood_action.cold+0xb4/0xe5 [ 30.819919][ C1] tcp_conn_request+0x13ff/0x2c00 [ 30.819921][ C1] tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.819922][ C1] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 30.819924][ C1] tcp_v4_rcv+0x2881/0x2ef0 [ 30.819925][ C1] ip_protocol_deliver_rcu+0x82/0x350 [ 30.819926][ C1] ip_local_deliver_finish+0x36f/0x610 [ 30.819927][ C1] ip_local_deliver+0x184/0x4c0 [ 30.819928][ C1] ip_rcv+0xdc/0x3d0 [ 30.819929][ C1] __netif_receive_skb_one_core+0xfc/0x180 [ 30.819931][ C1] process_backlog+0x431/0x14c0 [ 30.819932][ C1] __napi_poll+0xa7/0x3b0 [ 30.819934][ C1] net_rx_action+0x513/0xf50 [ 30.819935][ C1] handle_softirqs+0x1d3/0x900 [ 30.819937][ C1] do_softirq+0xac/0xe0 [ 30.819938][ C1] __local_bh_enable_ip+0x118/0x150 [ 30.819940][ C1] __dev_queue_xmit+0x979/0x1b80 [ 30.819941][ C1] ip_finish_output2+0xd9b/0x1bc0 [ 30.819942][ C1] ip_output+0x1ca/0x660 [ 30.819943][ C1] __ip_queue_xmit+0x774/0x1650 [ 30.819945][ C1] __tcp_transmit_skb+0x1ad9/0x3a70 [ 30.819946][ C1] tcp_connect+0xec4/0x1880 [ 30.819948][ C1] tcp_v4_connect+0x12bd/0x1960 [ 30.819949][ C1] __inet_stream_connect+0x2ed/0xd00 [ 30.819951][ C1] inet_stream_connect+0x59/0xb0 [ 30.819952][ C1] __sys_connect+0x1c1/0x2c0 [ 30.819953][ C1] __x64_sys_connect+0x72/0xd0 [ 30.819955][ C1] do_syscall_64+0x10e/0x570 [ 30.819956][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.819957][ C1] [ 30.819957][ C1] [ 30.819957][ C1] stack backtrace: [ 30.819960][ C1] CPU: 1 UID: 0 PID: 348 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.819963][ C1] Tainted: [W]=WARN [ 30.819964][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.819966][ C1] Call Trace: [ 30.819967][ C1] [ 30.819968][ C1] dump_stack_lvl+0x6f/0xa0 [ 30.819972][ C1] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 30.819974][ C1] mark_lock_irq+0x989/0x9c0 [ 30.819978][ C1] mark_lock+0x1d7/0xa00 [ 30.819980][ C1] mark_usage+0x42/0x170 [ 30.819982][ C1] __lock_acquire+0x388/0xc20 [ 30.819985][ C1] lock_acquire.part.0+0xd4/0x280 [ 30.819987][ C1] ? console_lock_spinning_enable+0x40/0x60 [ 30.819988][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.819991][ C1] ? lock_acquire+0x13c/0x160 [ 30.819993][ C1] console_lock_spinning_enable+0x5c/0x60 [ 30.819995][ C1] ? console_lock_spinning_enable+0x40/0x60 [ 30.819996][ C1] console_emit_next_record+0x1d1/0x4c0 [ 30.819998][ C1] ? devkmsg_read+0x4b0/0x4b0 [ 30.819999][ C1] ? console_flush_one_record+0x106/0x710 [ 30.820000][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.820002][ C1] ? lock_acquire+0x13c/0x160 [ 30.820004][ C1] console_flush_one_record+0x46f/0x710 [ 30.820006][ C1] ? console_emit_next_record+0x4c0/0x4c0 [ 30.820007][ C1] ? __lock_acquire+0x518/0xc20 [ 30.820010][ C1] console_unlock+0xee/0x1f0 [ 30.820011][ C1] ? console_flush_one_record+0x710/0x710 [ 30.820012][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.820013][ C1] ? lock_acquire+0x60/0x160 [ 30.820016][ C1] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.820018][ C1] ? vprintk_emit+0x320/0x3e0 [ 30.820019][ C1] vprintk_emit+0x37c/0x3e0 [ 30.820021][ C1] ? wake_up_klogd_work_func+0x90/0x90 [ 30.820023][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 30.820025][ C1] _printk+0xc7/0x100 [ 30.820027][ C1] ? snapshot_read.cold+0x21/0x21 [ 30.820028][ C1] ? ___ratelimit+0x4e7/0xa00 [ 30.820031][ C1] ? idr_get_free+0x830/0x830 [ 30.820033][ C1] tcp_syn_flood_action.cold+0xb4/0xe5 [ 30.820036][ C1] tcp_conn_request+0x13ff/0x2c00 [ 30.820038][ C1] ? reuseport_select_sock+0x19e/0x3c0 [ 30.820042][ C1] ? reuseport_select_sock+0xe1/0x3c0 [ 30.820043][ C1] ? __lock_acquire+0x518/0xc20 [ 30.820045][ C1] ? tcp_get_syncookie_mss+0x300/0x300 [ 30.820047][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.820049][ C1] ? __lock_acquire+0x518/0xc20 [ 30.820051][ C1] ? save_trace+0x1f7/0x280 [ 30.820054][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.820055][ C1] ? lock_acquire+0x13c/0x160 [ 30.820057][ C1] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.820059][ C1] tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.820061][ C1] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 30.820062][ C1] ? tcp_v4_fill_cb+0x33/0x430 [ 30.820064][ C1] tcp_v4_rcv+0x2881/0x2ef0 [ 30.820067][ C1] ? mark_usage+0x61/0x170 [ 30.820069][ C1] ? tcp_add_backlog+0x1e30/0x1e30 [ 30.820071][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.820073][ C1] ? ip_local_deliver_finish+0x2ba/0x610 [ 30.820074][ C1] ip_protocol_deliver_rcu+0x82/0x350 [ 30.820076][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.820078][ C1] ip_local_deliver_finish+0x36f/0x610 [ 30.820080][ C1] ip_local_deliver+0x184/0x4c0 [ 30.820081][ C1] ? ip_local_deliver_finish+0x610/0x610 [ 30.820083][ C1] ? ip_protocol_deliver_rcu+0x350/0x350 [ 30.820084][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 30.820087][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.820089][ C1] ip_rcv+0xdc/0x3d0 [ 30.820090][ C1] ? ip_local_deliver+0x4c0/0x4c0 [ 30.820092][ C1] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 30.820093][ C1] ? __lock_acquire+0x518/0xc20 [ 30.820096][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.820097][ C1] __netif_receive_skb_one_core+0xfc/0x180 [ 30.820099][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.820101][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.820102][ C1] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 30.820104][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.820106][ C1] process_backlog+0x431/0x14c0 [ 30.820109][ C1] __napi_poll+0xa7/0x3b0 [ 30.820111][ C1] net_rx_action+0x513/0xf50 [ 30.820114][ C1] ? __lock_acquire+0x518/0xc20 [ 30.820115][ C1] ? __napi_poll+0x3b0/0x3b0 [ 30.820118][ C1] ? find_held_lock+0x2b/0x80 [ 30.820121][ C1] ? _raw_spin_unlock_irq+0x33/0x50 [ 30.820123][ C1] ? run_timer_softirq+0xf8/0x160 [ 30.820126][ C1] ? mark_held_locks+0x40/0x70 [ 30.820128][ C1] handle_softirqs+0x1d3/0x900 [ 30.820130][ C1] ? _local_bh_enable+0xc0/0xc0 [ 30.820132][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 30.820134][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.820135][ C1] ? __dev_queue_xmit+0x964/0x1b80 [ 30.820137][ C1] do_softirq+0xac/0xe0 [ 30.820139][ C1] [ 30.820139][ C1] [ 30.820140][ C1] __local_bh_enable_ip+0x118/0x150 [ 30.820142][ C1] __dev_queue_xmit+0x979/0x1b80 [ 30.820145][ C1] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 30.820147][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.820148][ C1] ? find_held_lock+0x2b/0x80 [ 30.820150][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 30.820152][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.820153][ C1] ? mark_held_locks+0x40/0x70 [ 30.820155][ C1] ? __asan_memcpy+0x3c/0x60 [ 30.820157][ C1] ? neigh_hh_output+0x152/0x4c0 [ 30.820160][ C1] ip_finish_output2+0xd9b/0x1bc0 [ 30.820161][ C1] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 30.820163][ C1] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 30.820166][ C1] ip_output+0x1ca/0x660 [ 30.820168][ C1] ? ip_finish_output+0x460/0x460 [ 30.820169][ C1] ? find_held_lock+0x2b/0x80 [ 30.820171][ C1] ? __ip_finish_output+0x720/0x720 [ 30.820173][ C1] ? ip4_dst_hoplimit+0x15b/0x320 [ 30.820175][ C1] __ip_queue_xmit+0x774/0x1650 [ 30.820177][ C1] __tcp_transmit_skb+0x1ad9/0x3a70 [ 30.820181][ C1] ? tcp_call_bpf+0x201/0x2e0 [ 30.820184][ C1] ? tcp_clone_payload+0x10b0/0x10b0 [ 30.820187][ C1] ? __tcp_select_window+0xf20/0xf20 [ 30.820191][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 30.820193][ C1] ? ktime_get+0x18e/0x2d0 [ 30.820196][ C1] ? kvm_clock_get_cycles+0x19/0x30 [ 30.820198][ C1] ? ktime_get+0x1dd/0x2d0 [ 30.820200][ C1] tcp_connect+0xec4/0x1880 [ 30.820203][ C1] tcp_v4_connect+0x12bd/0x1960 [ 30.820206][ C1] ? established_get_first+0x6b0/0x6b0 [ 30.820207][ C1] ? do_raw_spin_lock+0x131/0x280 [ 30.820209][ C1] ? find_held_lock+0x2b/0x80 [ 30.820211][ C1] __inet_stream_connect+0x2ed/0xd00 [ 30.820213][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 30.820215][ C1] inet_stream_connect+0x59/0xb0 [ 30.820218][ C1] __sys_connect+0x1c1/0x2c0 [ 30.820219][ C1] ? do_fcntl+0x36f/0xc50 [ 30.820223][ C1] ? __sys_connect_file+0x250/0x250 [ 30.820226][ C1] ? fdget_raw+0x4f/0x190 [ 30.820228][ C1] __x64_sys_connect+0x72/0xd0 [ 30.820230][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 30.820232][ C1] ? do_syscall_64+0xa6/0x570 [ 30.820233][ C1] do_syscall_64+0x10e/0x570 [ 30.820234][ C1] ? exc_page_fault+0xee/0x100 [ 30.820236][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.820238][ C1] RIP: 0033:0x7f88c33f154e [ 30.820241][ C1] 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 [ 30.820242][ C1] RSP: 002b:00007ffd4ffa5950 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 30.820245][ C1] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f88c33f154e [ 30.820246][ C1] RDX: 0000000000000010 RSI: 00007ffd4ffa59e0 RDI: 0000000000000005 [ 30.820247][ C1] RBP: 00007ffd4ffa5960 R08: 0000000000000000 R09: 0000000000000000 [ 30.820248][ C1] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffd4ffa5b58 [ 30.820249][ C1] R13: 0000000000000005 R14: 00007f88c35c2000 R15: 0000000000402e00 [ 30.820251][ C1] [ 30.820255][ C1] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.820257][ C1] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 348, name: connect_close [ 30.820258][ C1] preempt_count: 302, expected: 0 [ 30.820259][ C1] RCU nest depth: 6, expected: 0 [ 30.820259][ C1] INFO: lockdep is turned off. [ 30.820260][ C1] irq event stamp: 21913 [ 30.820261][ C1] hardirqs last enabled at (21912): [] __down_trylock_console_sem+0x86/0xa0 [ 30.820263][ C1] hardirqs last disabled at (21913): [] console_emit_next_record+0x3d4/0x4c0 [ 30.820265][ C1] softirqs last enabled at (21896): [] __dev_queue_xmit+0x964/0x1b80 [ 30.820266][ C1] softirqs last disabled at (21897): [] do_softirq+0xac/0xe0 [ 30.820268][ C1] Preemption disabled at: [ 30.820269][ C1] [] __dev_queue_xmit+0x204/0x1b80 [ 30.820272][ C1] CPU: 1 UID: 0 PID: 348 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.820274][ C1] Tainted: [W]=WARN [ 30.820274][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.820275][ C1] Call Trace: [ 30.820276][ C1] [ 30.820276][ C1] dump_stack_lvl+0x6f/0xa0 [ 30.820278][ C1] ? __dev_queue_xmit+0x204/0x1b80 [ 30.820280][ C1] __might_resched.cold+0x1fe/0x2c1 [ 30.820283][ C1] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.820285][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.820287][ C1] __kmalloc_noprof+0x443/0x760 [ 30.820288][ C1] ? __rwlock_init+0x150/0x150 [ 30.820290][ C1] ? alloc_buf.isra.0+0x4b/0x260 [ 30.820292][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 30.820294][ C1] alloc_buf.isra.0+0x4b/0x260 [ 30.820296][ C1] put_chars+0x1e1/0x2f0 [ 30.820298][ C1] ? __send_to_port+0x420/0x420 [ 30.820301][ C1] hvc_console_print+0x292/0x780 [ 30.820303][ C1] ? mark_usage+0x42/0x170 [ 30.820305][ C1] ? __lock_acquire+0x388/0xc20 [ 30.820307][ C1] ? hvc_write+0x3a0/0x3a0 [ 30.820308][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.820310][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.820312][ C1] ? lock_acquire+0x13c/0x160 [ 30.820314][ C1] console_emit_next_record+0x22f/0x4c0 [ 30.820316][ C1] ? devkmsg_read+0x4b0/0x4b0 [ 30.820317][ C1] ? console_flush_one_record+0x106/0x710 [ 30.820318][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.820320][ C1] ? lock_acquire+0x13c/0x160 [ 30.820322][ C1] console_flush_one_record+0x46f/0x710 [ 30.820324][ C1] ? console_emit_next_record+0x4c0/0x4c0 [ 30.820325][ C1] ? __lock_acquire+0x518/0xc20 [ 30.820327][ C1] console_unlock+0xee/0x1f0 [ 30.820329][ C1] ? console_flush_one_record+0x710/0x710 [ 30.820330][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.820331][ C1] ? lock_acquire+0x60/0x160 [ 30.820333][ C1] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.820335][ C1] ? vprintk_emit+0x320/0x3e0 [ 30.820336][ C1] vprintk_emit+0x37c/0x3e0 [ 30.820338][ C1] ? wake_up_klogd_work_func+0x90/0x90 [ 30.820340][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 30.820342][ C1] _printk+0xc7/0x100 [ 30.820344][ C1] ? snapshot_read.cold+0x21/0x21 [ 30.820345][ C1] ? ___ratelimit+0x4e7/0xa00 [ 30.820347][ C1] ? idr_get_free+0x830/0x830 [ 30.820349][ C1] tcp_syn_flood_action.cold+0xb4/0xe5 [ 30.820352][ C1] tcp_conn_request+0x13ff/0x2c00 [ 30.820354][ C1] ? reuseport_select_sock+0x19e/0x3c0 [ 30.820356][ C1] ? reuseport_select_sock+0xe1/0x3c0 [ 30.820358][ C1] ? __lock_acquire+0x518/0xc20 [ 30.820360][ C1] ? tcp_get_syncookie_mss+0x300/0x300 [ 30.820362][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.820364][ C1] ? __lock_acquire+0x518/0xc20 [ 30.820365][ C1] ? save_trace+0x1f7/0x280 [ 30.820368][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.820369][ C1] ? lock_acquire+0x13c/0x160 [ 30.820372][ C1] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.820373][ C1] tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.820375][ C1] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 30.820377][ C1] ? tcp_v4_fill_cb+0x33/0x430 [ 30.820378][ C1] tcp_v4_rcv+0x2881/0x2ef0 [ 30.820381][ C1] ? mark_usage+0x61/0x170 [ 30.820382][ C1] ? tcp_add_backlog+0x1e30/0x1e30 [ 30.820384][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.820386][ C1] ? ip_local_deliver_finish+0x2ba/0x610 [ 30.820388][ C1] ip_protocol_deliver_rcu+0x82/0x350 [ 30.820390][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.820392][ C1] ip_local_deliver_finish+0x36f/0x610 [ 30.820393][ C1] ip_local_deliver+0x184/0x4c0 [ 30.820395][ C1] ? ip_local_deliver_finish+0x610/0x610 [ 30.820396][ C1] ? ip_protocol_deliver_rcu+0x350/0x350 [ 30.820398][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 30.820400][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.820402][ C1] ip_rcv+0xdc/0x3d0 [ 30.820403][ C1] ? ip_local_deliver+0x4c0/0x4c0 [ 30.820405][ C1] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 30.820406][ C1] ? __lock_acquire+0x518/0xc20 [ 30.820408][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.820410][ C1] __netif_receive_skb_one_core+0xfc/0x180 [ 30.820412][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.820413][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.820415][ C1] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 30.820417][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.820419][ C1] process_backlog+0x431/0x14c0 [ 30.820421][ C1] __napi_poll+0xa7/0x3b0 [ 30.820424][ C1] net_rx_action+0x513/0xf50 [ 30.820426][ C1] ? __lock_acquire+0x518/0xc20 [ 30.820428][ C1] ? __napi_poll+0x3b0/0x3b0 [ 30.820430][ C1] ? find_held_lock+0x2b/0x80 [ 30.820433][ C1] ? _raw_spin_unlock_irq+0x33/0x50 [ 30.820435][ C1] ? run_timer_softirq+0xf8/0x160 [ 30.820436][ C1] ? mark_held_locks+0x40/0x70 [ 30.820438][ C1] handle_softirqs+0x1d3/0x900 [ 30.820441][ C1] ? _local_bh_enable+0xc0/0xc0 [ 30.820442][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 30.820444][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.820446][ C1] ? __dev_queue_xmit+0x964/0x1b80 [ 30.820447][ C1] do_softirq+0xac/0xe0 [ 30.820449][ C1] [ 30.820450][ C1] [ 30.820450][ C1] __local_bh_enable_ip+0x118/0x150 [ 30.820452][ C1] __dev_queue_xmit+0x979/0x1b80 [ 30.820455][ C1] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 30.820457][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.820458][ C1] ? find_held_lock+0x2b/0x80 [ 30.820460][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 30.820462][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.820463][ C1] ? mark_held_locks+0x40/0x70 [ 30.820465][ C1] ? __asan_memcpy+0x3c/0x60 [ 30.820466][ C1] ? neigh_hh_output+0x152/0x4c0 [ 30.820468][ C1] ip_finish_output2+0xd9b/0x1bc0 [ 30.820470][ C1] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 30.820472][ C1] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 30.820475][ C1] ip_output+0x1ca/0x660 [ 30.820476][ C1] ? ip_finish_output+0x460/0x460 [ 30.820478][ C1] ? find_held_lock+0x2b/0x80 [ 30.820480][ C1] ? __ip_finish_output+0x720/0x720 [ 30.820481][ C1] ? ip4_dst_hoplimit+0x15b/0x320 [ 30.820483][ C1] __ip_queue_xmit+0x774/0x1650 [ 30.820486][ C1] __tcp_transmit_skb+0x1ad9/0x3a70 [ 30.820488][ C1] ? tcp_call_bpf+0x201/0x2e0 [ 30.820490][ C1] ? tcp_clone_payload+0x10b0/0x10b0 [ 30.820492][ C1] ? __tcp_select_window+0xf20/0xf20 [ 30.820494][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 30.820496][ C1] ? ktime_get+0x18e/0x2d0 [ 30.820497][ C1] ? kvm_clock_get_cycles+0x19/0x30 [ 30.820499][ C1] ? ktime_get+0x1dd/0x2d0 [ 30.820501][ C1] tcp_connect+0xec4/0x1880 [ 30.820504][ C1] tcp_v4_connect+0x12bd/0x1960 [ 30.820506][ C1] ? established_get_first+0x6b0/0x6b0 [ 30.820508][ C1] ? do_raw_spin_lock+0x131/0x280 [ 30.820509][ C1] ? find_held_lock+0x2b/0x80 [ 30.820512][ C1] __inet_stream_connect+0x2ed/0xd00 [ 30.820514][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 30.820516][ C1] inet_stream_connect+0x59/0xb0 [ 30.820518][ C1] __sys_connect+0x1c1/0x2c0 [ 30.820520][ C1] ? do_fcntl+0x36f/0xc50 [ 30.820522][ C1] ? __sys_connect_file+0x250/0x250 [ 30.820525][ C1] ? fdget_raw+0x4f/0x190 [ 30.820526][ C1] __x64_sys_connect+0x72/0xd0 [ 30.820528][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 30.820530][ C1] ? do_syscall_64+0xa6/0x570 [ 30.820531][ C1] do_syscall_64+0x10e/0x570 [ 30.820533][ C1] ? exc_page_fault+0xee/0x100 [ 30.820535][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.820536][ C1] RIP: 0033:0x7f88c33f154e [ 30.820537][ C1] 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 [ 30.820538][ C1] RSP: 002b:00007ffd4ffa5950 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 30.820540][ C1] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f88c33f154e [ 30.820540][ C1] RDX: 0000000000000010 RSI: 00007ffd4ffa59e0 RDI: 0000000000000005 [ 30.820541][ C1] RBP: 00007ffd4ffa5960 R08: 0000000000000000 R09: 0000000000000000 [ 30.820542][ C1] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffd4ffa5b58 [ 30.820543][ C1] R13: 0000000000000005 R14: 00007f88c35c2000 R15: 0000000000402e00 [ 30.820545][ C1] [ 30.952941][ C3] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.216261][ C1] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.335579][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.540613][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.661710][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.784360][ C1] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.873454][ C1] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.873468][ C1] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.873470][ C1] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 348, name: connect_close [ 31.873472][ C1] preempt_count: 302, expected: 0 [ 31.873473][ C1] RCU nest depth: 6, expected: 0 [ 31.873474][ C1] INFO: lockdep is turned off. [ 31.873475][ C1] irq event stamp: 21913 [ 31.873475][ C1] hardirqs last enabled at (21912): [] __down_trylock_console_sem+0x86/0xa0 [ 31.873484][ C1] hardirqs last disabled at (21913): [] console_emit_next_record+0x3d4/0x4c0 [ 31.873486][ C1] softirqs last enabled at (21896): [] __dev_queue_xmit+0x964/0x1b80 [ 31.873490][ C1] softirqs last disabled at (21897): [] do_softirq+0xac/0xe0 [ 31.873494][ C1] Preemption disabled at: [ 31.873495][ C1] [] __dev_queue_xmit+0x204/0x1b80 [ 31.873501][ C1] CPU: 1 UID: 0 PID: 348 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.873504][ C1] Tainted: [W]=WARN [ 31.873505][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.873507][ C1] Call Trace: [ 31.873509][ C1] [ 31.873510][ C1] dump_stack_lvl+0x6f/0xa0 [ 31.873514][ C1] ? __dev_queue_xmit+0x204/0x1b80 [ 31.873516][ C1] __might_resched.cold+0x1fe/0x2c1 [ 31.873520][ C1] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.873522][ C1] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 31.873524][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873528][ C1] __kmalloc_noprof+0x443/0x760 [ 31.873531][ C1] ? __rwlock_init+0x150/0x150 [ 31.873534][ C1] ? alloc_buf.isra.0+0x4b/0x260 [ 31.873538][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 31.873540][ C1] alloc_buf.isra.0+0x4b/0x260 [ 31.873542][ C1] put_chars+0x1e1/0x2f0 [ 31.873544][ C1] ? prb_final_commit+0x50/0x50 [ 31.873546][ C1] ? __send_to_port+0x420/0x420 [ 31.873548][ C1] ? printk_get_next_message+0x240/0x650 [ 31.873550][ C1] hvc_console_print+0x292/0x780 [ 31.873554][ C1] ? hvc_write+0x3a0/0x3a0 [ 31.873556][ C1] ? do_raw_spin_lock+0x131/0x280 [ 31.873557][ C1] ? vsnprintf+0x668/0x1700 [ 31.873561][ C1] ? __rwlock_init+0x150/0x150 [ 31.873563][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873564][ C1] ? lock_acquire+0x13c/0x160 [ 31.873567][ C1] console_emit_next_record+0x22f/0x4c0 [ 31.873569][ C1] ? devkmsg_read+0x4b0/0x4b0 [ 31.873570][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873572][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873573][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873574][ C1] ? lock_acquire+0x13c/0x160 [ 31.873576][ C1] ? console_flush_one_record+0x111/0x710 [ 31.873577][ C1] console_flush_one_record+0x46f/0x710 [ 31.873579][ C1] ? console_emit_next_record+0x4c0/0x4c0 [ 31.873581][ C1] console_unlock+0xee/0x1f0 [ 31.873583][ C1] ? lock_acquire+0x13c/0x160 [ 31.873584][ C1] ? console_flush_one_record+0x710/0x710 [ 31.873586][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873587][ C1] ? lock_release+0x184/0x1f0 [ 31.873588][ C1] ? lock_acquire+0x60/0x160 [ 31.873590][ C1] ? __rcu_read_lock+0x30/0x70 [ 31.873592][ C1] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.873593][ C1] ? vprintk_emit+0x320/0x3e0 [ 31.873595][ C1] vprintk_emit+0x37c/0x3e0 [ 31.873603][ C1] ? wake_up_klogd_work_func+0x90/0x90 [ 31.873605][ C1] ? do_raw_spin_trylock+0xb6/0x180 [ 31.873607][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873608][ C1] ? lock_acquire+0x13c/0x160 [ 31.873610][ C1] _printk+0xc7/0x100 [ 31.873613][ C1] ? snapshot_read.cold+0x21/0x21 [ 31.873615][ C1] ? ___ratelimit+0x4e7/0xa00 [ 31.873617][ C1] ? idr_get_free+0x830/0x830 [ 31.873619][ C1] tcp_syn_flood_action.cold+0xb4/0xe5 [ 31.873623][ C1] tcp_conn_request+0x13ff/0x2c00 [ 31.873627][ C1] ? lock_acquire+0x13c/0x160 [ 31.873629][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873630][ C1] ? lock_release+0x184/0x1f0 [ 31.873632][ C1] ? reuseport_select_sock+0xe1/0x3c0 [ 31.873635][ C1] ? tcp_get_syncookie_mss+0x300/0x300 [ 31.873638][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873640][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873641][ C1] ? lock_acquire+0x13c/0x160 [ 31.873643][ C1] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 31.873645][ C1] tcp_rcv_listen_state_process+0x1ab/0x380 [ 31.873647][ C1] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 31.873649][ C1] ? tcp_v4_fill_cb+0x33/0x430 [ 31.873651][ C1] tcp_v4_rcv+0x2881/0x2ef0 [ 31.873654][ C1] ? tcp_add_backlog+0x1e30/0x1e30 [ 31.873656][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873657][ C1] ? process_backlog+0x3f1/0x14c0 [ 31.873659][ C1] ip_protocol_deliver_rcu+0x82/0x350 [ 31.873662][ C1] ? process_backlog+0x3f1/0x14c0 [ 31.873664][ C1] ip_local_deliver_finish+0x36f/0x610 [ 31.873666][ C1] ? lock_release+0x184/0x1f0 [ 31.873668][ C1] ip_local_deliver+0x184/0x4c0 [ 31.873669][ C1] ? ip_local_deliver_finish+0x610/0x610 [ 31.873671][ C1] ? ip_protocol_deliver_rcu+0x350/0x350 [ 31.873672][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873674][ C1] ? process_backlog+0x3f1/0x14c0 [ 31.873676][ C1] ip_rcv+0xdc/0x3d0 [ 31.873677][ C1] ? ip_local_deliver+0x4c0/0x4c0 [ 31.873678][ C1] ? __fput+0x363/0xac0 [ 31.873681][ C1] ? fput_close_sync+0xde/0x1b0 [ 31.873682][ C1] ? __x64_sys_close+0x8b/0xf0 [ 31.873685][ C1] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 31.873686][ C1] ? trace_pelt_se_tp+0x9b/0x190 [ 31.873689][ C1] ? process_backlog+0x3f1/0x14c0 [ 31.873690][ C1] __netif_receive_skb_one_core+0xfc/0x180 [ 31.873694][ C1] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 31.873696][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873698][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873699][ C1] process_backlog+0x431/0x14c0 [ 31.873702][ C1] __napi_poll+0xa7/0x3b0 [ 31.873704][ C1] net_rx_action+0x513/0xf50 [ 31.873707][ C1] ? __napi_poll+0x3b0/0x3b0 [ 31.873708][ C1] ? do_raw_spin_lock+0xe0/0x280 [ 31.873710][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873711][ C1] ? timerqueue_linked_add+0x207/0x560 [ 31.873715][ C1] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 31.873718][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873720][ C1] handle_softirqs+0x1d3/0x900 [ 31.873722][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873723][ C1] ? _local_bh_enable+0xc0/0xc0 [ 31.873725][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 31.873727][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873728][ C1] ? __dev_queue_xmit+0x964/0x1b80 [ 31.873730][ C1] do_softirq+0xac/0xe0 [ 31.873732][ C1] [ 31.873732][ C1] [ 31.873733][ C1] __local_bh_enable_ip+0x118/0x150 [ 31.873735][ C1] __dev_queue_xmit+0x979/0x1b80 [ 31.873738][ C1] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 31.873740][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873741][ C1] ? lock_acquire+0x13c/0x160 [ 31.873743][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873744][ C1] ? __asan_memcpy+0x3c/0x60 [ 31.873747][ C1] ? neigh_hh_output+0x152/0x4c0 [ 31.873749][ C1] ip_finish_output2+0xd9b/0x1bc0 [ 31.873751][ C1] ? ip_dst_mtu_maybe_forward+0x7c/0x670 [ 31.873752][ C1] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 31.873754][ C1] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 31.873755][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873757][ C1] ip_output+0x1ca/0x660 [ 31.873759][ C1] ? ip_finish_output+0x460/0x460 [ 31.873761][ C1] ? lock_acquire+0x13c/0x160 [ 31.873763][ C1] ? __ip_finish_output+0x720/0x720 [ 31.873764][ C1] ? lock_acquire+0x13c/0x160 [ 31.873766][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873767][ C1] ? lock_release+0x184/0x1f0 [ 31.873769][ C1] __ip_queue_xmit+0x774/0x1650 [ 31.873772][ C1] __tcp_transmit_skb+0x1ad9/0x3a70 [ 31.873775][ C1] ? tcp_call_bpf+0x201/0x2e0 [ 31.873776][ C1] ? tcp_clone_payload+0x10b0/0x10b0 [ 31.873778][ C1] ? __tcp_select_window+0xf20/0xf20 [ 31.873781][ C1] ? trace_hardirqs_on+0x36/0x40 [ 31.873783][ C1] ? kvm_clock_get_cycles+0x19/0x30 [ 31.873785][ C1] ? ktime_get+0x1dd/0x2d0 [ 31.873788][ C1] tcp_connect+0xec4/0x1880 [ 31.873791][ C1] tcp_v4_connect+0x12bd/0x1960 [ 31.873793][ C1] ? established_get_first+0x6b0/0x6b0 [ 31.873795][ C1] ? lockdep_init_map_type+0x5d/0x250 [ 31.873796][ C1] ? do_raw_spin_lock+0x131/0x280 [ 31.873798][ C1] ? __rwlock_init+0x150/0x150 [ 31.873801][ C1] __inet_stream_connect+0x2ed/0xd00 [ 31.873803][ C1] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 31.873805][ C1] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 31.873806][ C1] inet_stream_connect+0x59/0xb0 [ 31.873809][ C1] __sys_connect+0x1c1/0x2c0 [ 31.873812][ C1] ? do_fcntl+0x36f/0xc50 [ 31.873814][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.873816][ C1] ? __sys_connect_file+0x250/0x250 [ 31.873819][ C1] ? fdget_raw+0x4f/0x190 [ 31.873821][ C1] __x64_sys_connect+0x72/0xd0 [ 31.873823][ C1] ? trace_hardirqs_on+0x36/0x40 [ 31.873824][ C1] do_syscall_64+0x10e/0x570 [ 31.873826][ C1] ? irq_exit_rcu+0x1a/0x30 [ 31.873828][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.873830][ C1] RIP: 0033:0x7f88c33f154e [ 31.873833][ C1] 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 [ 31.873835][ C1] RSP: 002b:00007ffd4ffa5950 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 31.873838][ C1] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f88c33f154e [ 31.873839][ C1] RDX: 0000000000000010 RSI: 00007ffd4ffa59e0 RDI: 0000000000000005 [ 31.873840][ C1] RBP: 00007ffd4ffa5960 R08: 0000000000000000 R09: 0000000000000000 [ 31.873841][ C1] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffd4ffa5b58 [ 31.873842][ C1] R13: 0000000000000005 R14: 00007f88c35c2000 R15: 0000000000402e00 [ 31.873844][ C1] [ 31.937295][ C3] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 32.452535][ C2] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 85.869212][ T985] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 85.869231][ T985] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 85.869234][ T985] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 985, name: modprobe [ 85.869236][ T985] preempt_count: 1, expected: 0 [ 85.869238][ T985] RCU nest depth: 0, expected: 0 [ 85.869239][ T985] INFO: lockdep is turned off. [ 85.869240][ T985] irq event stamp: 0 [ 85.869242][ T985] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 85.869246][ T985] hardirqs last disabled at (0): [] copy_process+0x1d01/0x62c0 [ 85.869255][ T985] softirqs last enabled at (0): [] copy_process+0x1d55/0x62c0 [ 85.869258][ T985] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 85.869260][ T985] Preemption disabled at: [ 85.869261][ T985] [] vprintk_emit+0x31b/0x3e0 [ 85.869270][ T985] CPU: 2 UID: 0 PID: 985 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 85.869275][ T985] Tainted: [W]=WARN [ 85.869276][ T985] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 85.869278][ T985] Call Trace: [ 85.869280][ T985] [ 85.869281][ T985] dump_stack_lvl+0x6f/0xa0 [ 85.869287][ T985] ? vprintk_emit+0x31b/0x3e0 [ 85.869289][ T985] __might_resched.cold+0x1fe/0x2c1 [ 85.869294][ T985] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 85.869298][ T985] ? rcu_is_watching+0x16/0xd0 [ 85.869302][ T985] __kmalloc_noprof+0x443/0x760 [ 85.869306][ T985] ? __rwlock_init+0x150/0x150 [ 85.869310][ T985] ? alloc_buf.isra.0+0x4b/0x260 [ 85.869316][ T985] ? do_raw_spin_unlock+0x59/0x250 [ 85.869318][ T985] alloc_buf.isra.0+0x4b/0x260 [ 85.869322][ T985] put_chars+0x1e1/0x2f0 [ 85.869325][ T985] ? __send_to_port+0x420/0x420 [ 85.869328][ T985] ? console_prepend_replay+0x20/0x20 [ 85.869331][ T985] hvc_console_print+0x292/0x780 [ 85.869337][ T985] ? hvc_write+0x3a0/0x3a0 [ 85.869340][ T985] ? rcu_is_watching+0x16/0xd0 [ 85.869342][ T985] ? rcu_is_watching+0x16/0xd0 [ 85.869344][ T985] ? lock_acquire+0x13c/0x160 [ 85.869348][ T985] console_emit_next_record+0x22f/0x4c0 [ 85.869351][ T985] ? devkmsg_read+0x4b0/0x4b0 [ 85.869353][ T985] ? rcu_is_watching+0x16/0xd0 [ 85.869355][ T985] ? rcu_is_watching+0x16/0xd0 [ 85.869357][ T985] ? rcu_is_watching+0x16/0xd0 [ 85.869359][ T985] ? lock_acquire+0x13c/0x160 [ 85.869362][ T985] ? console_flush_one_record+0x111/0x710 [ 85.869364][ T985] console_flush_one_record+0x46f/0x710 [ 85.869366][ T985] ? console_emit_next_record+0x4c0/0x4c0 [ 85.869370][ T985] console_unlock+0xee/0x1f0 [ 85.869372][ T985] ? lock_acquire+0x13c/0x160 [ 85.869374][ T985] ? console_flush_one_record+0x710/0x710 [ 85.869376][ T985] ? rcu_is_watching+0x16/0xd0 [ 85.869378][ T985] ? lock_release+0x184/0x1f0 [ 85.869380][ T985] ? lock_acquire+0x60/0x160 [ 85.869382][ T985] ? __rcu_read_lock+0x30/0x70 [ 85.869385][ T985] ? __down_trylock_console_sem+0x5e/0xa0 [ 85.869388][ T985] ? vprintk_emit+0x320/0x3e0 [ 85.869390][ T985] vprintk_emit+0x37c/0x3e0 [ 85.869393][ T985] ? wake_up_klogd_work_func+0x90/0x90 [ 85.869395][ T985] ? ww_mutex_lock+0x160/0x160 [ 85.869401][ T985] ? llc_exit+0x3e0/0x3e0 [llc] [ 85.869404][ T985] _printk+0xc7/0x100 [ 85.869408][ T985] ? snapshot_read.cold+0x21/0x21 [ 85.869410][ T985] ? __mutex_unlock_slowpath+0x5e5/0x740 [ 85.869413][ T985] ? _mutex_trylock_nest_lock+0x390/0x390 [ 85.869417][ T985] ? __mutex_unlock_slowpath+0x14d/0x740 [ 85.869420][ T985] br_init+0x98/0xc0 [bridge] [ 85.869437][ T985] do_one_initcall+0x124/0x4f0 [ 85.869440][ T985] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 85.869444][ T985] ? do_init_module+0xae/0x8a0 [ 85.869447][ T985] ? kasan_unpoison+0x44/0x70 [ 85.869452][ T985] do_init_module+0x2ad/0x8a0 [ 85.869455][ T985] ? free_module+0x470/0x470 [ 85.869458][ T985] ? kfree+0x123/0x590 [ 85.869462][ T985] load_module+0x154b/0x1d60 [ 85.869467][ T985] ? layout_and_allocate.isra.0+0x680/0x680 [ 85.869471][ T985] ? backing_file_read_iter+0x541/0x790 [ 85.869475][ T985] init_module_from_file+0x11f/0x1a0 [ 85.869478][ T985] ? __ia32_sys_init_module+0xc0/0xc0 [ 85.869481][ T985] ? ovl_mmap+0x270/0x270 [ 85.869487][ T985] ? __rwlock_init+0x150/0x150 [ 85.869490][ T985] ? rcu_is_watching+0x16/0xd0 [ 85.869492][ T985] ? lock_release+0x184/0x1f0 [ 85.869495][ T985] ? do_raw_spin_unlock+0x59/0x250 [ 85.869498][ T985] idempotent_init_module+0x37b/0x7c0 [ 85.869501][ T985] ? init_module_from_file+0x1a0/0x1a0 [ 85.869505][ T985] ? rcu_is_watching+0x16/0xd0 [ 85.869507][ T985] ? cap_capable+0x1d7/0x3d0 [ 85.869511][ T985] __x64_sys_finit_module+0xdf/0x190 [ 85.869514][ T985] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 85.869518][ T985] do_syscall_64+0x10e/0x570 [ 85.869521][ T985] ? exc_page_fault+0xee/0x100 [ 85.869524][ T985] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 85.869528][ T985] RIP: 0033:0x7f14992c837d [ 85.869531][ T985] 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 [ 85.869533][ T985] RSP: 002b:00007ffcac7ab6c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 85.869537][ T985] RAX: ffffffffffffffda RBX: 000055e411f1b810 RCX: 00007f14992c837d [ 85.869539][ T985] RDX: 0000000000000000 RSI: 000055e4045c2ffd RDI: 0000000000000002 [ 85.869541][ T985] RBP: 00007ffcac7ab760 R08: 0000000000000000 R09: 0000000000000000 [ 85.869543][ T985] R10: 0000000000000000 R11: 0000000000000246 R12: 000055e4045c2ffd [ 85.869544][ T985] R13: 000055e411f1b9c0 R14: 0000000000040000 R15: 0000000000000000 [ 85.869549][ T985] [ 85.951524][ T989] br0: port 1(veth0) entered blocking state [ 85.951880][ T989] br0: port 1(veth0) entered disabled state [ 85.952218][ T989] veth0: entered allmulticast mode [ 85.954343][ T989] veth0: entered promiscuous mode [ 85.987598][ T990] br0: port 2(veth1) entered blocking state [ 85.989380][ T990] br0: port 2(veth1) entered disabled state [ 85.996065][ T990] veth1: entered allmulticast mode [ 85.997095][ T990] veth1: entered promiscuous mode [ 86.025436][ T991] br0: port 2(veth1) entered blocking state [ 86.025673][ T991] br0: port 2(veth1) entered forwarding state [ 86.026013][ T991] br0: port 1(veth0) entered blocking state [ 86.026226][ T991] br0: port 1(veth0) entered forwarding state [ 92.134907][ T1010] nf_queue (1010) used greatest stack depth: 23776 bytes left [ 92.134924][ T1010] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 92.134926][ T1010] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1010, name: nf_queue [ 92.134928][ T1010] preempt_count: 2, expected: 0 [ 92.134929][ T1010] RCU nest depth: 0, expected: 0 [ 92.134930][ T1010] INFO: lockdep is turned off. [ 92.134931][ T1010] irq event stamp: 0 [ 92.134932][ T1010] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 92.134937][ T1010] hardirqs last disabled at (0): [] copy_process+0x1d01/0x62c0 [ 92.134944][ T1010] softirqs last enabled at (0): [] copy_process+0x1d55/0x62c0 [ 92.134945][ T1010] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 92.134947][ T1010] Preemption disabled at: [ 92.134948][ T1010] [<0000000000000000>] 0x0 [ 92.134953][ T1010] CPU: 1 UID: 0 PID: 1010 Comm: nf_queue Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 92.134956][ T1010] Tainted: [W]=WARN [ 92.134957][ T1010] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 92.134959][ T1010] Call Trace: [ 92.134961][ T1010] [ 92.134962][ T1010] dump_stack_lvl+0x6f/0xa0 [ 92.134967][ T1010] __might_resched.cold+0x1fe/0x2c1 [ 92.134971][ T1010] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 92.134974][ T1010] ? rcu_is_watching+0x16/0xd0 [ 92.134977][ T1010] __kmalloc_noprof+0x443/0x760 [ 92.134981][ T1010] ? __rwlock_init+0x150/0x150 [ 92.134984][ T1010] ? alloc_buf.isra.0+0x4b/0x260 [ 92.134988][ T1010] ? do_raw_spin_unlock+0x59/0x250 [ 92.134990][ T1010] alloc_buf.isra.0+0x4b/0x260 [ 92.134993][ T1010] put_chars+0x1e1/0x2f0 [ 92.134995][ T1010] ? __send_to_port+0x420/0x420 [ 92.134996][ T1010] ? printk_get_next_message+0x240/0x650 [ 92.134999][ T1010] ? console_prepend_replay+0x20/0x20 [ 92.135001][ T1010] hvc_console_print+0x292/0x780 [ 92.135005][ T1010] ? hvc_write+0x3a0/0x3a0 [ 92.135007][ T1010] ? __rwlock_init+0x150/0x150 [ 92.135009][ T1010] ? lock_acquire+0x13c/0x160 [ 92.135019][ T1010] console_emit_next_record+0x22f/0x4c0 [ 92.135022][ T1010] ? devkmsg_read+0x4b0/0x4b0 [ 92.135023][ T1010] ? rcu_is_watching+0x16/0xd0 [ 92.135024][ T1010] ? rcu_is_watching+0x16/0xd0 [ 92.135026][ T1010] ? rcu_is_watching+0x16/0xd0 [ 92.135027][ T1010] ? lock_acquire+0x13c/0x160 [ 92.135029][ T1010] ? console_flush_one_record+0x111/0x710 [ 92.135030][ T1010] console_flush_one_record+0x46f/0x710 [ 92.135032][ T1010] ? console_emit_next_record+0x4c0/0x4c0 [ 92.135035][ T1010] console_unlock+0xee/0x1f0 [ 92.135036][ T1010] ? lock_acquire+0x13c/0x160 [ 92.135038][ T1010] ? console_flush_one_record+0x710/0x710 [ 92.135039][ T1010] ? rcu_is_watching+0x16/0xd0 [ 92.135040][ T1010] ? lock_release+0x184/0x1f0 [ 92.135042][ T1010] ? lock_acquire+0x60/0x160 [ 92.135044][ T1010] ? __rcu_read_lock+0x30/0x70 [ 92.135045][ T1010] ? __down_trylock_console_sem+0x5e/0xa0 [ 92.135048][ T1010] ? vprintk_emit+0x320/0x3e0 [ 92.135049][ T1010] vprintk_emit+0x37c/0x3e0 [ 92.135051][ T1010] ? wake_up_klogd_work_func+0x90/0x90 [ 92.135053][ T1010] ? preempt_schedule_thunk+0x16/0x30 [ 92.135055][ T1010] ? preempt_schedule_thunk+0x16/0x30 [ 92.135058][ T1010] _printk+0xc7/0x100 [ 92.135061][ T1010] ? snapshot_read.cold+0x21/0x21 [ 92.135062][ T1010] ? do_raw_spin_lock+0x131/0x280 [ 92.135064][ T1010] ? do_raw_spin_lock+0x131/0x280 [ 92.135066][ T1010] ? __rwlock_init+0x150/0x150 [ 92.135069][ T1010] ? do_raw_spin_lock+0x131/0x280 [ 92.135071][ T1010] do_exit.cold+0x82/0x9c [ 92.135074][ T1010] ? exit_notify+0x890/0x890 [ 92.135076][ T1010] ? posixtimer_sig_unignore.isra.0+0x5f0/0x5f0 [ 92.135078][ T1010] ? rcu_is_watching+0x16/0xd0 [ 92.135080][ T1010] do_group_exit+0xb8/0x370 [ 92.135082][ T1010] __x64_sys_exit_group+0x3c/0x50 [ 92.135084][ T1010] x64_sys_call+0x1567/0x1570 [ 92.135086][ T1010] do_syscall_64+0x10e/0x570 [ 92.135090][ T1010] ? exc_page_fault+0xee/0x100 [ 92.135092][ T1010] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 92.135095][ T1010] RIP: 0033:0x7f819cc8a1b8 [ 92.135096][ T1010] Code: Unable to access opcode bytes at 0x7f819cc8a18e. [ 92.135098][ T1010] RSP: 002b:00007ffd94557e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 92.135101][ T1010] RAX: ffffffffffffffda RBX: 00007f819cdbaf88 RCX: 00007f819cc8a1b8 [ 92.135102][ T1010] RDX: 00007f819cbc7a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 92.135103][ T1010] RBP: 00007ffd94557ec0 R08: 0000000000000000 R09: 0000000000000000 [ 92.135104][ T1010] R10: 00007ffd94557d00 R11: 0000000000000246 R12: 0000000000000001 [ 92.135105][ T1010] R13: 0000000000000000 R14: 00007f819cdb9680 R15: 00007f819cdbafa0 [ 92.135107][ T1010] [ 98.002272][ T12] br0: port 1(veth0) entered disabled state [ 98.002288][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 98.002291][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 98.002293][ T12] preempt_count: 202, expected: 0 [ 98.002293][ T12] RCU nest depth: 0, expected: 0 [ 98.002294][ T12] INFO: lockdep is turned off. [ 98.002296][ T12] irq event stamp: 11028 [ 98.002297][ T12] hardirqs last enabled at (11027): [] _raw_spin_unlock_irq+0x28/0x50 [ 98.002305][ T12] hardirqs last disabled at (11028): [] __schedule+0x1246/0x20e0 [ 98.002308][ T12] softirqs last enabled at (10990): [] instance_destroy_work+0x116/0x250 [nfnetlink_queue] [ 98.002312][ T12] softirqs last disabled at (10988): [] instance_destroy_work+0x6f/0x250 [nfnetlink_queue] [ 98.002315][ T12] Preemption disabled at: [ 98.002315][ T12] [<0000000000000000>] 0x0 [ 98.002321][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 98.002325][ T12] Tainted: [W]=WARN [ 98.002326][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 98.002328][ T12] Workqueue: netns cleanup_net [ 98.002334][ T12] Call Trace: [ 98.002335][ T12] [ 98.002337][ T12] dump_stack_lvl+0x6f/0xa0 [ 98.002342][ T12] __might_resched.cold+0x1fe/0x2c1 [ 98.002346][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 98.002349][ T12] ? rcu_is_watching+0x16/0xd0 [ 98.002353][ T12] __kmalloc_noprof+0x443/0x760 [ 98.002356][ T12] ? __rwlock_init+0x150/0x150 [ 98.002359][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 98.002364][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 98.002366][ T12] alloc_buf.isra.0+0x4b/0x260 [ 98.002368][ T12] put_chars+0x1e1/0x2f0 [ 98.002370][ T12] ? __send_to_port+0x420/0x420 [ 98.002372][ T12] ? printk_get_next_message+0x240/0x650 [ 98.002374][ T12] ? console_prepend_replay+0x20/0x20 [ 98.002376][ T12] hvc_console_print+0x292/0x780 [ 98.002380][ T12] ? hvc_write+0x3a0/0x3a0 [ 98.002381][ T12] ? __rwlock_init+0x150/0x150 [ 98.002383][ T12] ? lock_acquire+0x13c/0x160 [ 98.002386][ T12] console_emit_next_record+0x22f/0x4c0 [ 98.002388][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 98.002390][ T12] ? rcu_is_watching+0x16/0xd0 [ 98.002391][ T12] ? rcu_is_watching+0x16/0xd0 [ 98.002392][ T12] ? rcu_is_watching+0x16/0xd0 [ 98.002394][ T12] ? lock_acquire+0x13c/0x160 [ 98.002396][ T12] ? console_flush_one_record+0x111/0x710 [ 98.002397][ T12] console_flush_one_record+0x46f/0x710 [ 98.002399][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 98.002401][ T12] console_unlock+0xee/0x1f0 [ 98.002403][ T12] ? lock_acquire+0x13c/0x160 [ 98.002405][ T12] ? console_flush_one_record+0x710/0x710 [ 98.002406][ T12] ? rcu_is_watching+0x16/0xd0 [ 98.002407][ T12] ? lock_release+0x184/0x1f0 [ 98.002409][ T12] ? lock_acquire+0x60/0x160 [ 98.002410][ T12] ? __rcu_read_lock+0x30/0x70 [ 98.002412][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 98.002414][ T12] ? vprintk_emit+0x320/0x3e0 [ 98.002416][ T12] vprintk_emit+0x37c/0x3e0 [ 98.002419][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 98.002421][ T12] ? rcu_is_watching+0x16/0xd0 [ 98.002422][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 98.002425][ T12] ? trace_hardirqs_on+0x36/0x40 [ 98.002427][ T12] _printk+0xc7/0x100 [ 98.002429][ T12] ? snapshot_read.cold+0x21/0x21 [ 98.002432][ T12] ? ipv6_mc_down+0x17e/0x2d0 [ 98.002436][ T12] br_set_state+0x22f/0x430 [bridge] [ 98.002450][ T12] br_stp_disable_port+0x11f/0x390 [bridge] [ 98.002459][ T12] br_device_event+0x7b5/0x8f0 [bridge] [ 98.002468][ T12] ? lock_release+0x184/0x1f0 [ 98.002470][ T12] ? _sub_I_65535_1+0x4d0/0x4d0 [stp] [ 98.002472][ T12] ? nfqnl_dev_drop+0x54/0x330 [nfnetlink_queue] [ 98.002473][ T12] ? nfqnl_dev_drop+0xf0/0x330 [nfnetlink_queue] [ 98.002476][ T12] notifier_call_chain+0xae/0x300 [ 98.002480][ T12] netif_close_many+0x366/0x770 [ 98.002483][ T12] ? trace_kfree+0xd2/0x100 [ 98.002484][ T12] ? lock_acquire+0x13c/0x160 [ 98.002486][ T12] ? __dev_close_many+0x680/0x680 [ 98.002488][ T12] ? netif_close_many_and_unlock+0x22/0x2c0 [ 98.002490][ T12] unregister_netdevice_many_notify+0x71a/0x1b40 [ 98.002494][ T12] ? ops_undo_list+0x2ce/0x8f0 [ 98.002495][ T12] ? worker_thread+0x4f1/0xd60 [ 98.002497][ T12] ? kthread+0x367/0x460 [ 98.002500][ T12] ? ret_from_fork+0x4a4/0x720 [ 98.002502][ T12] ? ret_from_fork_asm+0x11/0x20 [ 98.002505][ T12] ? unregister_netdevice_queued+0x80/0x80 [ 98.002507][ T12] ? get_rps_cpu+0x980/0x980 [ 98.002510][ T12] default_device_exit_batch+0x38b/0x600 [ 98.002512][ T12] ? generic_xdp_install+0x470/0x470 [ 98.002514][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 98.002516][ T12] ? rtnl_is_locked+0x15/0x20 [ 98.002518][ T12] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 98.002521][ T12] ? mutex_is_locked+0x1c/0x50 [ 98.002524][ T12] ops_undo_list+0x2ce/0x8f0 [ 98.002527][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 98.002529][ T12] ? idr_destroy+0x121/0x250 [ 98.002532][ T12] cleanup_net+0x431/0x890 [ 98.002534][ T12] ? net_passive_dec+0x230/0x230 [ 98.002536][ T12] ? lock_acquire+0x13c/0x160 [ 98.002538][ T12] ? rcu_is_watching+0x16/0xd0 [ 98.002540][ T12] process_one_work+0xe3e/0x1560 [ 98.002542][ T12] ? __queue_delayed_work+0x470/0x470 [ 98.002544][ T12] ? find_held_lock+0x2b/0x80 [ 98.002546][ T12] ? __rwlock_init+0x150/0x150 [ 98.002549][ T12] worker_thread+0x4f1/0xd60 [ 98.002552][ T12] ? rescuer_thread+0x1340/0x1340 [ 98.002553][ T12] kthread+0x367/0x460 [ 98.002555][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 98.002556][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 98.002558][ T12] ret_from_fork+0x4a4/0x720 [ 98.002560][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 98.002562][ T12] ? __switch_to+0x5a3/0xe00 [ 98.002565][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 98.002567][ T12] ret_from_fork_asm+0x11/0x20 [ 98.002570][ T12] [ 98.030019][ T12] veth0 (unregistering): left allmulticast mode [ 98.030394][ T12] veth0 (unregistering): left promiscuous mode [ 98.030737][ T12] br0: port 1(veth0) entered disabled state [ 98.138784][ T12] br0: port 2(veth1) entered disabled state [ 98.140801][ T12] veth1 (unregistering): left allmulticast mode [ 98.141103][ T12] veth1 (unregistering): left promiscuous mode [ 98.141356][ T12] br0: port 2(veth1) entered disabled state