[ 9.905444][ T173] sctp: Hash tables configured (bind 32/56) [ 9.905461][ T173] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.905464][ T173] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 173, name: modprobe [ 9.905465][ T173] preempt_count: 1, expected: 0 [ 9.905466][ T173] RCU nest depth: 0, expected: 0 [ 9.905467][ T173] locks held by modprobe/173: 4, last CPU#0: [ 9.905469][ T173] #0: ffffffff8f16a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.905481][ T173] #1: ffffffff8f16a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.905485][ T173] #2: ffffffff8f089de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.905489][ T173] #3: ffffffff8f089ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.905493][ T173] irq event stamp: 100112 [ 9.905493][ T173] hardirqs last enabled at (100111): [] __down_trylock_console_sem+0x86/0xa0 [ 9.905497][ T173] hardirqs last disabled at (100112): [] console_emit_next_record+0x3d4/0x4c0 [ 9.905499][ T173] softirqs last enabled at (91106): [] handle_softirqs+0x67c/0x900 [ 9.905502][ T173] softirqs last disabled at (90915): [] __irq_exit_rcu+0x145/0x1c0 [ 9.905505][ T173] Preemption disabled at: [ 9.905505][ T173] [] vprintk_emit+0x31b/0x3e0 [ 9.905511][ T173] CPU: 0 UID: 0 PID: 173 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.905515][ T173] Tainted: [W]=WARN [ 9.905515][ T173] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.905517][ T173] Call Trace: [ 9.905519][ T173] [ 9.905520][ T173] dump_stack_lvl+0x6f/0xa0 [ 9.905525][ T173] ? vprintk_emit+0x31b/0x3e0 [ 9.905527][ T173] __might_resched.cold+0x1fe/0x2c1 [ 9.905531][ T173] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.905534][ T173] ? __kmalloc_noprof+0xdb/0x760 [ 9.905540][ T173] __kmalloc_noprof+0x443/0x760 [ 9.905543][ T173] ? alloc_buf.isra.0+0x4b/0x260 [ 9.905549][ T173] ? do_raw_spin_unlock+0x59/0x250 [ 9.905552][ T173] alloc_buf.isra.0+0x4b/0x260 [ 9.905555][ T173] put_chars+0x1e1/0x2f0 [ 9.905558][ T173] ? __send_to_port+0x420/0x420 [ 9.905560][ T173] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.905564][ T173] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.905567][ T173] ? validate_chain+0x38b/0xc20 [ 9.905572][ T173] hvc_console_print+0x292/0x780 [ 9.905576][ T173] ? __lock_acquire+0x518/0xc20 [ 9.905581][ T173] ? hvc_write+0x3a0/0x3a0 [ 9.905584][ T173] ? rcu_is_watching+0x16/0xd0 [ 9.905589][ T173] console_emit_next_record+0x22f/0x4c0 [ 9.905593][ T173] ? devkmsg_read+0x4b0/0x4b0 [ 9.905594][ T173] ? console_flush_one_record+0x106/0x710 [ 9.905597][ T173] ? rcu_is_watching+0x16/0xd0 [ 9.905599][ T173] ? lock_acquire+0x13c/0x160 [ 9.905603][ T173] console_flush_one_record+0x46f/0x710 [ 9.905607][ T173] ? console_emit_next_record+0x4c0/0x4c0 [ 9.905608][ T173] ? __lock_acquire+0x518/0xc20 [ 9.905614][ T173] console_unlock+0xee/0x1f0 [ 9.905616][ T173] ? console_flush_one_record+0x710/0x710 [ 9.905618][ T173] ? rcu_is_watching+0x16/0xd0 [ 9.905620][ T173] ? lock_acquire+0x60/0x160 [ 9.905626][ T173] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.905628][ T173] ? vprintk_emit+0x320/0x3e0 [ 9.905631][ T173] vprintk_emit+0x37c/0x3e0 [ 9.905634][ T173] ? wake_up_klogd_work_func+0x90/0x90 [ 9.905636][ T173] ? lockdep_hardirqs_on+0x91/0x130 [ 9.905641][ T173] ? lookup_object_or_alloc.part.0+0x580/0x580 [ 9.905647][ T173] _printk+0xc7/0x100 [ 9.905651][ T173] ? snapshot_read.cold+0x21/0x21 [ 9.905654][ T173] ? lockdep_init_map_type+0x5d/0x250 [ 9.905657][ T173] ? __rhashtable_init_noprof+0x451/0x7f0 [ 9.905662][ T173] sctp_init+0x43b/0x600 [sctp] [ 9.905680][ T173] ? udp_tunnel_nic_cleanup_module+0xb40/0xb40 [udp_tunnel] [ 9.905683][ T173] do_one_initcall+0x124/0x4f0 [ 9.905686][ T173] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 9.905691][ T173] ? do_init_module+0xae/0x8a0 [ 9.905694][ T173] ? kasan_unpoison+0x44/0x70 [ 9.905699][ T173] do_init_module+0x2ad/0x8a0 [ 9.905702][ T173] ? lockdep_hardirqs_on+0x91/0x130 [ 9.905704][ T173] ? free_module+0x470/0x470 [ 9.905707][ T173] ? kfree+0x123/0x590 [ 9.905711][ T173] load_module+0x154b/0x1d60 [ 9.905719][ T173] ? layout_and_allocate.isra.0+0x680/0x680 [ 9.905723][ T173] ? backing_file_read_iter+0x541/0x790 [ 9.905727][ T173] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.905730][ T173] init_module_from_file+0x11f/0x1a0 [ 9.905733][ T173] ? __ia32_sys_init_module+0xc0/0xc0 [ 9.905741][ T173] ? __rwlock_init+0x150/0x150 [ 9.905745][ T173] ? do_raw_spin_unlock+0x59/0x250 [ 9.905748][ T173] idempotent_init_module+0x37b/0x7c0 [ 9.905751][ T173] ? init_module_from_file+0x1a0/0x1a0 [ 9.905757][ T173] ? rcu_is_watching+0x16/0xd0 [ 9.905759][ T173] ? cap_capable+0x1d7/0x3d0 [ 9.905764][ T173] __x64_sys_finit_module+0xdf/0x190 [ 9.905766][ T173] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.905770][ T173] do_syscall_64+0x10e/0x570 [ 9.905772][ T173] ? exc_page_fault+0xee/0x100 [ 9.905775][ T173] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.905777][ T173] RIP: 0033:0x7fab37d3d37d [ 9.905781][ T173] 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 [ 9.905783][ T173] RSP: 002b:00007fff3ba55e38 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 9.905785][ T173] RAX: ffffffffffffffda RBX: 0000559f6a0a79c0 RCX: 00007fab37d3d37d [ 9.905787][ T173] RDX: 0000000000000000 RSI: 0000559f51624ffd RDI: 0000000000000007 [ 9.905788][ T173] RBP: 00007fff3ba55ed0 R08: 0000000000000000 R09: 0000000000000000 [ 9.905789][ T173] R10: 0000000000000000 R11: 0000000000000246 R12: 0000559f51624ffd [ 9.905789][ T173] R13: 0000559f6a0a7ae0 R14: 0000000000040000 R15: 0000000000000000 [ 9.905797][ T173] [ 10.239827][ T184] ip (184) used greatest stack depth: 23584 bytes left [ 30.345810][ C2] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 30.345843][ C2] [ 30.345844][ C2] ======================================================== [ 30.345846][ C2] WARNING: possible irq lock inversion dependency detected [ 30.345848][ C2] 7.2.0-virtme #1 Tainted: G W [ 30.345849][ C2] -------------------------------------------------------- [ 30.345850][ C2] connect_close/342 just changed the state of lock: [ 30.345851][ C2] ffffffff8f089de0 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 30.345863][ C2] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 30.345864][ C2] (fs_reclaim){+.+.}-{0:0} [ 30.345866][ C2] [ 30.345866][ C2] [ 30.345866][ C2] and interrupts could create inverse lock ordering between them. [ 30.345866][ C2] [ 30.345866][ C2] [ 30.345866][ C2] other info that might help us debug this: [ 30.345867][ C2] Possible interrupt unsafe locking scenario: [ 30.345867][ C2] [ 30.345868][ C2] CPU0 CPU1 [ 30.345868][ C2] ---- ---- [ 30.345869][ C2] lock(fs_reclaim); [ 30.345870][ C2] local_irq_disable(); [ 30.345870][ C2] lock(console_owner); [ 30.345871][ C2] lock(fs_reclaim); [ 30.345872][ C2] [ 30.345873][ C2] lock(console_owner); [ 30.345873][ C2] [ 30.345873][ C2] *** DEADLOCK *** [ 30.345873][ C2] [ 30.345874][ C2] locks held by connect_close/342: 9, last CPU#2: [ 30.345875][ C2] #0: ff11000010ba0290 (sk_lock-AF_INET){+.+.}-{0:0}, at: inet_stream_connect+0x44/0xb0 [ 30.345882][ C2] #1: ffffffff8f181280 (rcu_read_lock){....}-{1:3}, at: __ip_queue_xmit+0x63/0x1650 [ 30.345886][ C2] #2: ffffffff8f181280 (rcu_read_lock){....}-{1:3}, at: ip_output+0xa9/0x660 [ 30.345889][ C2] #3: ffffffff8f181280 (rcu_read_lock){....}-{1:3}, at: ip_finish_output2+0x25c/0x1bc0 [ 30.345892][ C2] #4: ffffffff8f181280 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 30.345897][ C2] #5: ffffffff8f181280 (rcu_read_lock){....}-{1:3}, at: ip_local_deliver_finish+0x2ba/0x610 [ 30.345900][ C2] #6: ffffffff8f181280 (rcu_read_lock){....}-{1:3}, at: tcp_rcv_listen_state_process+0x108/0x380 [ 30.345905][ C2] #7: ffffffff8f16a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 30.345907][ C2] #8: ffffffff8f16a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 30.345910][ C2] [ 30.345910][ C2] the shortest dependencies between 2nd lock and 1st lock: [ 30.345915][ C2] -> (fs_reclaim){+.+.}-{0:0} { [ 30.345917][ C2] HARDIRQ-ON-W at: [ 30.345919][ C2] __lock_acquire+0x388/0xc20 [ 30.345922][ C2] lock_acquire.part.0+0xd4/0x280 [ 30.345924][ C2] fs_reclaim_acquire+0xd5/0x120 [ 30.345927][ C2] __kmalloc_cache_noprof+0x6e/0x620 [ 30.345930][ C2] kthread_create_worker_on_node+0xea/0x210 [ 30.345933][ C2] workqueue_init+0x2a/0x680 [ 30.345937][ C2] kernel_init_freeable+0x2fe/0x630 [ 30.345940][ C2] kernel_init+0x21/0x150 [ 30.345942][ C2] ret_from_fork+0x4a4/0x720 [ 30.345946][ C2] ret_from_fork_asm+0x11/0x20 [ 30.345949][ C2] SOFTIRQ-ON-W at: [ 30.345950][ C2] __lock_acquire+0x388/0xc20 [ 30.345952][ C2] lock_acquire.part.0+0xd4/0x280 [ 30.345953][ C2] fs_reclaim_acquire+0xd5/0x120 [ 30.345954][ C2] __kmalloc_cache_noprof+0x6e/0x620 [ 30.345956][ C2] kthread_create_worker_on_node+0xea/0x210 [ 30.345957][ C2] workqueue_init+0x2a/0x680 [ 30.345959][ C2] kernel_init_freeable+0x2fe/0x630 [ 30.345960][ C2] kernel_init+0x21/0x150 [ 30.345961][ C2] ret_from_fork+0x4a4/0x720 [ 30.345963][ C2] ret_from_fork_asm+0x11/0x20 [ 30.345964][ C2] INITIAL USE at: [ 30.345965][ C2] __lock_acquire+0x388/0xc20 [ 30.345967][ C2] lock_acquire.part.0+0xd4/0x280 [ 30.345968][ C2] fs_reclaim_acquire+0xd5/0x120 [ 30.345969][ C2] __kmalloc_cache_noprof+0x6e/0x620 [ 30.345971][ C2] kthread_create_worker_on_node+0xea/0x210 [ 30.345973][ C2] workqueue_init+0x2a/0x680 [ 30.345974][ C2] kernel_init_freeable+0x2fe/0x630 [ 30.345975][ C2] kernel_init+0x21/0x150 [ 30.345977][ C2] ret_from_fork+0x4a4/0x720 [ 30.345978][ C2] ret_from_fork_asm+0x11/0x20 [ 30.345979][ C2] } [ 30.345980][ C2] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 30.345984][ C2] ... acquired at: [ 30.345985][ C2] __lock_acquire+0x518/0xc20 [ 30.345987][ C2] lock_acquire.part.0+0xd4/0x280 [ 30.345989][ C2] fs_reclaim_acquire+0xd5/0x120 [ 30.345990][ C2] __kmalloc_noprof+0xd3/0x760 [ 30.345991][ C2] alloc_buf.isra.0+0x4b/0x260 [ 30.345994][ C2] put_chars+0x1e1/0x2f0 [ 30.345996][ C2] hvc_console_print+0x292/0x780 [ 30.345998][ C2] console_emit_next_record+0x22f/0x4c0 [ 30.346000][ C2] console_flush_one_record+0x46f/0x710 [ 30.346001][ C2] console_unlock+0xee/0x1f0 [ 30.346002][ C2] vprintk_emit+0x37c/0x3e0 [ 30.346003][ C2] _printk+0xc7/0x100 [ 30.346007][ C2] dm_interface_init+0x50/0x60 [ 30.346009][ C2] dm_init+0x51/0xd0 [ 30.346011][ C2] do_one_initcall+0x124/0x4f0 [ 30.346012][ C2] kernel_init_freeable+0x596/0x630 [ 30.346014][ C2] kernel_init+0x21/0x150 [ 30.346015][ C2] ret_from_fork+0x4a4/0x720 [ 30.346016][ C2] ret_from_fork_asm+0x11/0x20 [ 30.346018][ C2] [ 30.346018][ C2] -> (console_owner){..-.}-{0:0} { [ 30.346020][ C2] IN-SOFTIRQ-W at: [ 30.346021][ C2] __lock_acquire+0x388/0xc20 [ 30.346023][ C2] lock_acquire.part.0+0xd4/0x280 [ 30.346024][ C2] console_lock_spinning_enable+0x5c/0x60 [ 30.346025][ C2] console_emit_next_record+0x1d1/0x4c0 [ 30.346026][ C2] console_flush_one_record+0x46f/0x710 [ 30.346027][ C2] console_unlock+0xee/0x1f0 [ 30.346028][ C2] vprintk_emit+0x37c/0x3e0 [ 30.346029][ C2] _printk+0xc7/0x100 [ 30.346031][ C2] tcp_syn_flood_action.cold+0xb4/0xe5 [ 30.346034][ C2] tcp_conn_request+0x13ff/0x2c00 [ 30.346035][ C2] tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.346037][ C2] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 30.346039][ C2] tcp_v4_rcv+0x2881/0x2ef0 [ 30.346040][ C2] ip_protocol_deliver_rcu+0x82/0x350 [ 30.346042][ C2] ip_local_deliver_finish+0x36f/0x610 [ 30.346043][ C2] ip_local_deliver+0x184/0x4c0 [ 30.346044][ C2] ip_rcv+0xdc/0x3d0 [ 30.346045][ C2] __netif_receive_skb_one_core+0xfc/0x180 [ 30.346047][ C2] process_backlog+0x431/0x14c0 [ 30.346049][ C2] __napi_poll+0xa7/0x3b0 [ 30.346050][ C2] net_rx_action+0x513/0xf50 [ 30.346052][ C2] handle_softirqs+0x1d3/0x900 [ 30.346054][ C2] do_softirq+0xac/0xe0 [ 30.346056][ C2] __local_bh_enable_ip+0x118/0x150 [ 30.346057][ C2] __dev_queue_xmit+0x979/0x1b80 [ 30.346059][ C2] ip_finish_output2+0xd9b/0x1bc0 [ 30.346060][ C2] ip_output+0x1ca/0x660 [ 30.346061][ C2] __ip_queue_xmit+0x774/0x1650 [ 30.346063][ C2] __tcp_transmit_skb+0x1ad9/0x3a70 [ 30.346065][ C2] tcp_connect+0xec4/0x1880 [ 30.346066][ C2] tcp_v4_connect+0x12bd/0x1960 [ 30.346068][ C2] __inet_stream_connect+0x2ed/0xd00 [ 30.346069][ C2] inet_stream_connect+0x59/0xb0 [ 30.346071][ C2] __sys_connect+0x1c1/0x2c0 [ 30.346074][ C2] __x64_sys_connect+0x72/0xd0 [ 30.346075][ C2] do_syscall_64+0x10e/0x570 [ 30.346078][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.346079][ C2] INITIAL USE at: [ 30.346080][ C2] } [ 30.346081][ C2] ... key at: [] console_owner_dep_map+0x0/0x60 [ 30.346084][ C2] ... acquired at: [ 30.346085][ C2] mark_lock+0x1d7/0xa00 [ 30.346086][ C2] mark_usage+0x42/0x170 [ 30.346088][ C2] __lock_acquire+0x388/0xc20 [ 30.346089][ C2] lock_acquire.part.0+0xd4/0x280 [ 30.346091][ C2] console_lock_spinning_enable+0x5c/0x60 [ 30.346092][ C2] console_emit_next_record+0x1d1/0x4c0 [ 30.346093][ C2] console_flush_one_record+0x46f/0x710 [ 30.346094][ C2] console_unlock+0xee/0x1f0 [ 30.346095][ C2] vprintk_emit+0x37c/0x3e0 [ 30.346096][ C2] _printk+0xc7/0x100 [ 30.346098][ C2] tcp_syn_flood_action.cold+0xb4/0xe5 [ 30.346099][ C2] tcp_conn_request+0x13ff/0x2c00 [ 30.346101][ C2] tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.346102][ C2] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 30.346104][ C2] tcp_v4_rcv+0x2881/0x2ef0 [ 30.346105][ C2] ip_protocol_deliver_rcu+0x82/0x350 [ 30.346106][ C2] ip_local_deliver_finish+0x36f/0x610 [ 30.346107][ C2] ip_local_deliver+0x184/0x4c0 [ 30.346108][ C2] ip_rcv+0xdc/0x3d0 [ 30.346109][ C2] __netif_receive_skb_one_core+0xfc/0x180 [ 30.346111][ C2] process_backlog+0x431/0x14c0 [ 30.346112][ C2] __napi_poll+0xa7/0x3b0 [ 30.346114][ C2] net_rx_action+0x513/0xf50 [ 30.346115][ C2] handle_softirqs+0x1d3/0x900 [ 30.346116][ C2] do_softirq+0xac/0xe0 [ 30.346118][ C2] __local_bh_enable_ip+0x118/0x150 [ 30.346119][ C2] __dev_queue_xmit+0x979/0x1b80 [ 30.346121][ C2] ip_finish_output2+0xd9b/0x1bc0 [ 30.346122][ C2] ip_output+0x1ca/0x660 [ 30.346123][ C2] __ip_queue_xmit+0x774/0x1650 [ 30.346125][ C2] __tcp_transmit_skb+0x1ad9/0x3a70 [ 30.346126][ C2] tcp_connect+0xec4/0x1880 [ 30.346128][ C2] tcp_v4_connect+0x12bd/0x1960 [ 30.346129][ C2] __inet_stream_connect+0x2ed/0xd00 [ 30.346130][ C2] inet_stream_connect+0x59/0xb0 [ 30.346132][ C2] __sys_connect+0x1c1/0x2c0 [ 30.346133][ C2] __x64_sys_connect+0x72/0xd0 [ 30.346135][ C2] do_syscall_64+0x10e/0x570 [ 30.346136][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.346137][ C2] [ 30.346137][ C2] [ 30.346137][ C2] stack backtrace: [ 30.346140][ C2] CPU: 2 UID: 0 PID: 342 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.346143][ C2] Tainted: [W]=WARN [ 30.346145][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.346147][ C2] Call Trace: [ 30.346148][ C2] [ 30.346149][ C2] dump_stack_lvl+0x6f/0xa0 [ 30.346152][ C2] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 30.346155][ C2] mark_lock_irq+0x989/0x9c0 [ 30.346158][ C2] mark_lock+0x1d7/0xa00 [ 30.346168][ C2] mark_usage+0x42/0x170 [ 30.346170][ C2] __lock_acquire+0x388/0xc20 [ 30.346172][ C2] lock_acquire.part.0+0xd4/0x280 [ 30.346174][ C2] ? console_lock_spinning_enable+0x40/0x60 [ 30.346176][ C2] ? rcu_is_watching+0x16/0xd0 [ 30.346179][ C2] ? lock_acquire+0x13c/0x160 [ 30.346181][ C2] console_lock_spinning_enable+0x5c/0x60 [ 30.346182][ C2] ? console_lock_spinning_enable+0x40/0x60 [ 30.346183][ C2] console_emit_next_record+0x1d1/0x4c0 [ 30.346185][ C2] ? devkmsg_read+0x4b0/0x4b0 [ 30.346186][ C2] ? console_flush_one_record+0x106/0x710 [ 30.346187][ C2] ? rcu_is_watching+0x16/0xd0 [ 30.346189][ C2] ? lock_acquire+0x13c/0x160 [ 30.346191][ C2] console_flush_one_record+0x46f/0x710 [ 30.346193][ C2] ? console_emit_next_record+0x4c0/0x4c0 [ 30.346194][ C2] ? __lock_acquire+0x518/0xc20 [ 30.346196][ C2] console_unlock+0xee/0x1f0 [ 30.346198][ C2] ? console_flush_one_record+0x710/0x710 [ 30.346199][ C2] ? rcu_is_watching+0x16/0xd0 [ 30.346200][ C2] ? lock_acquire+0x60/0x160 [ 30.346202][ C2] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.346204][ C2] ? vprintk_emit+0x320/0x3e0 [ 30.346206][ C2] vprintk_emit+0x37c/0x3e0 [ 30.346207][ C2] ? wake_up_klogd_work_func+0x90/0x90 [ 30.346209][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 30.346211][ C2] _printk+0xc7/0x100 [ 30.346213][ C2] ? snapshot_read.cold+0x21/0x21 [ 30.346214][ C2] ? ___ratelimit+0x4e7/0xa00 [ 30.346218][ C2] ? idr_get_free+0x830/0x830 [ 30.346220][ C2] tcp_syn_flood_action.cold+0xb4/0xe5 [ 30.346222][ C2] tcp_conn_request+0x13ff/0x2c00 [ 30.346223][ C2] ? find_held_lock+0x2b/0x80 [ 30.346227][ C2] ? reuseport_select_sock+0x19e/0x3c0 [ 30.346231][ C2] ? reuseport_select_sock+0xe1/0x3c0 [ 30.346233][ C2] ? __lock_acquire+0x518/0xc20 [ 30.346236][ C2] ? tcp_get_syncookie_mss+0x300/0x300 [ 30.346239][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 30.346241][ C2] ? __lock_acquire+0x518/0xc20 [ 30.346243][ C2] ? save_trace+0x1f7/0x280 [ 30.346245][ C2] ? rcu_is_watching+0x16/0xd0 [ 30.346247][ C2] ? lock_acquire+0x13c/0x160 [ 30.346249][ C2] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.346250][ C2] tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.346252][ C2] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 30.346254][ C2] ? tcp_v4_fill_cb+0x33/0x430 [ 30.346255][ C2] tcp_v4_rcv+0x2881/0x2ef0 [ 30.346258][ C2] ? mark_usage+0x61/0x170 [ 30.346259][ C2] ? tcp_add_backlog+0x1e30/0x1e30 [ 30.346262][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 30.346263][ C2] ? ip_local_deliver_finish+0x2ba/0x610 [ 30.346265][ C2] ip_protocol_deliver_rcu+0x82/0x350 [ 30.346267][ C2] ? process_backlog+0x3f1/0x14c0 [ 30.346269][ C2] ip_local_deliver_finish+0x36f/0x610 [ 30.346270][ C2] ip_local_deliver+0x184/0x4c0 [ 30.346272][ C2] ? ip_local_deliver_finish+0x610/0x610 [ 30.346274][ C2] ? ip_protocol_deliver_rcu+0x350/0x350 [ 30.346275][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 30.346277][ C2] ? process_backlog+0x3f1/0x14c0 [ 30.346279][ C2] ip_rcv+0xdc/0x3d0 [ 30.346280][ C2] ? ip_local_deliver+0x4c0/0x4c0 [ 30.346282][ C2] ? rcu_is_watching+0x16/0xd0 [ 30.346283][ C2] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 30.346284][ C2] ? __lock_acquire+0x518/0xc20 [ 30.346287][ C2] ? process_backlog+0x3f1/0x14c0 [ 30.346288][ C2] __netif_receive_skb_one_core+0xfc/0x180 [ 30.346290][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 30.346292][ C2] ? process_backlog+0x3f1/0x14c0 [ 30.346293][ C2] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 30.346295][ C2] ? rcu_is_watching+0x16/0xd0 [ 30.346297][ C2] process_backlog+0x431/0x14c0 [ 30.346300][ C2] __napi_poll+0xa7/0x3b0 [ 30.346302][ C2] net_rx_action+0x513/0xf50 [ 30.346304][ C2] ? __napi_poll+0x3b0/0x3b0 [ 30.346306][ C2] ? trace_rcu_batch_end+0x310/0x310 [ 30.346308][ C2] ? rcu_is_watching+0x16/0xd0 [ 30.346309][ C2] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 30.346312][ C2] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 30.346315][ C2] ? clockevents_program_event+0x307/0x7e0 [ 30.346318][ C2] ? rcu_is_watching+0x16/0xd0 [ 30.346319][ C2] ? rcu_is_watching+0x16/0xd0 [ 30.346320][ C2] ? mark_held_locks+0x40/0x70 [ 30.346322][ C2] handle_softirqs+0x1d3/0x900 [ 30.346324][ C2] ? _local_bh_enable+0xc0/0xc0 [ 30.346326][ C2] ? _local_bh_enable+0xc0/0xc0 [ 30.346328][ C2] ? __dev_queue_xmit+0x964/0x1b80 [ 30.346330][ C2] do_softirq+0xac/0xe0 [ 30.346331][ C2] [ 30.346332][ C2] [ 30.346333][ C2] __local_bh_enable_ip+0x118/0x150 [ 30.346334][ C2] __dev_queue_xmit+0x979/0x1b80 [ 30.346337][ C2] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 30.346339][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 30.346341][ C2] ? find_held_lock+0x2b/0x80 [ 30.346342][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 30.346344][ C2] ? rcu_is_watching+0x16/0xd0 [ 30.346345][ C2] ? mark_held_locks+0x40/0x70 [ 30.346347][ C2] ? __asan_memcpy+0x3c/0x60 [ 30.346350][ C2] ? neigh_hh_output+0x152/0x4c0 [ 30.346352][ C2] ip_finish_output2+0xd9b/0x1bc0 [ 30.346354][ C2] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 30.346355][ C2] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 30.346358][ C2] ip_output+0x1ca/0x660 [ 30.346359][ C2] ? ip_finish_output+0x460/0x460 [ 30.346361][ C2] ? find_held_lock+0x2b/0x80 [ 30.346363][ C2] ? __ip_finish_output+0x720/0x720 [ 30.346365][ C2] ? ip4_dst_hoplimit+0x15b/0x320 [ 30.346367][ C2] __ip_queue_xmit+0x774/0x1650 [ 30.346369][ C2] __tcp_transmit_skb+0x1ad9/0x3a70 [ 30.346371][ C2] ? tcp_call_bpf+0x201/0x2e0 [ 30.346373][ C2] ? tcp_clone_payload+0x10b0/0x10b0 [ 30.346375][ C2] ? __tcp_select_window+0xf20/0xf20 [ 30.346378][ C2] ? lockdep_hardirqs_on+0x91/0x130 [ 30.346380][ C2] ? ktime_get+0x18e/0x2d0 [ 30.346382][ C2] ? kvm_clock_get_cycles+0x19/0x30 [ 30.346385][ C2] ? ktime_get+0x1dd/0x2d0 [ 30.346387][ C2] tcp_connect+0xec4/0x1880 [ 30.346389][ C2] tcp_v4_connect+0x12bd/0x1960 [ 30.346392][ C2] ? established_get_first+0x6b0/0x6b0 [ 30.346393][ C2] ? do_raw_spin_lock+0x131/0x280 [ 30.346395][ C2] ? find_held_lock+0x2b/0x80 [ 30.346397][ C2] __inet_stream_connect+0x2ed/0xd00 [ 30.346399][ C2] ? lockdep_hardirqs_on+0x91/0x130 [ 30.346401][ C2] inet_stream_connect+0x59/0xb0 [ 30.346403][ C2] __sys_connect+0x1c1/0x2c0 [ 30.346405][ C2] ? do_fcntl+0x36f/0xc50 [ 30.346408][ C2] ? __sys_connect_file+0x250/0x250 [ 30.346411][ C2] ? fdget_raw+0x4f/0x190 [ 30.346413][ C2] __x64_sys_connect+0x72/0xd0 [ 30.346415][ C2] ? lockdep_hardirqs_on+0x91/0x130 [ 30.346417][ C2] ? do_syscall_64+0xa6/0x570 [ 30.346418][ C2] do_syscall_64+0x10e/0x570 [ 30.346420][ C2] ? exc_page_fault+0xee/0x100 [ 30.346422][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.346423][ C2] RIP: 0033:0x7fd63fc4054e [ 30.346427][ 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 [ 30.346429][ C2] RSP: 002b:00007ffdeacf1690 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 30.346431][ C2] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd63fc4054e [ 30.346433][ C2] RDX: 0000000000000010 RSI: 00007ffdeacf1720 RDI: 0000000000000005 [ 30.346433][ C2] RBP: 00007ffdeacf16a0 R08: 0000000000000000 R09: 0000000000000000 [ 30.346434][ C2] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffdeacf1898 [ 30.346435][ C2] R13: 0000000000000005 R14: 00007fd63fe11000 R15: 0000000000402e00 [ 30.346437][ C2] [ 30.346441][ C2] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.346443][ C2] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 342, name: connect_close [ 30.346444][ C2] preempt_count: 302, expected: 0 [ 30.346445][ C2] RCU nest depth: 6, expected: 0 [ 30.346445][ C2] INFO: lockdep is turned off. [ 30.346446][ C2] irq event stamp: 184519 [ 30.346446][ C2] hardirqs last enabled at (184518): [] __down_trylock_console_sem+0x86/0xa0 [ 30.346449][ C2] hardirqs last disabled at (184519): [] console_emit_next_record+0x3d4/0x4c0 [ 30.346450][ C2] softirqs last enabled at (184502): [] __dev_queue_xmit+0x964/0x1b80 [ 30.346452][ C2] softirqs last disabled at (184503): [] do_softirq+0xac/0xe0 [ 30.346454][ C2] Preemption disabled at: [ 30.346455][ C2] [] __dev_queue_xmit+0x204/0x1b80 [ 30.346458][ C2] CPU: 2 UID: 0 PID: 342 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.346460][ C2] Tainted: [W]=WARN [ 30.346460][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.346461][ C2] Call Trace: [ 30.346461][ C2] [ 30.346462][ C2] dump_stack_lvl+0x6f/0xa0 [ 30.346463][ C2] ? __dev_queue_xmit+0x204/0x1b80 [ 30.346465][ C2] __might_resched.cold+0x1fe/0x2c1 [ 30.346468][ C2] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.346471][ C2] ? rcu_is_watching+0x16/0xd0 [ 30.346472][ C2] __kmalloc_noprof+0x443/0x760 [ 30.346474][ C2] ? __rwlock_init+0x150/0x150 [ 30.346476][ C2] ? alloc_buf.isra.0+0x4b/0x260 [ 30.346478][ C2] ? do_raw_spin_unlock+0x59/0x250 [ 30.346479][ C2] alloc_buf.isra.0+0x4b/0x260 [ 30.346482][ C2] put_chars+0x1e1/0x2f0 [ 30.346484][ C2] ? __send_to_port+0x420/0x420 [ 30.346486][ C2] hvc_console_print+0x292/0x780 [ 30.346488][ C2] ? mark_usage+0x42/0x170 [ 30.346490][ C2] ? __lock_acquire+0x388/0xc20 [ 30.346492][ C2] ? hvc_write+0x3a0/0x3a0 [ 30.346494][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 30.346496][ C2] ? rcu_is_watching+0x16/0xd0 [ 30.346497][ C2] ? lock_acquire+0x13c/0x160 [ 30.346499][ C2] console_emit_next_record+0x22f/0x4c0 [ 30.346501][ C2] ? devkmsg_read+0x4b0/0x4b0 [ 30.346502][ C2] ? console_flush_one_record+0x106/0x710 [ 30.346503][ C2] ? rcu_is_watching+0x16/0xd0 [ 30.346505][ C2] ? lock_acquire+0x13c/0x160 [ 30.346507][ C2] console_flush_one_record+0x46f/0x710 [ 30.346508][ C2] ? console_emit_next_record+0x4c0/0x4c0 [ 30.346510][ C2] ? __lock_acquire+0x518/0xc20 [ 30.346512][ C2] console_unlock+0xee/0x1f0 [ 30.346513][ C2] ? console_flush_one_record+0x710/0x710 [ 30.346515][ C2] ? rcu_is_watching+0x16/0xd0 [ 30.346516][ C2] ? lock_acquire+0x60/0x160 [ 30.346518][ C2] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.346520][ C2] ? vprintk_emit+0x320/0x3e0 [ 30.346521][ C2] vprintk_emit+0x37c/0x3e0 [ 30.346523][ C2] ? wake_up_klogd_work_func+0x90/0x90 [ 30.346524][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 30.346526][ C2] _printk+0xc7/0x100 [ 30.346528][ C2] ? snapshot_read.cold+0x21/0x21 [ 30.346530][ C2] ? ___ratelimit+0x4e7/0xa00 [ 30.346531][ C2] ? idr_get_free+0x830/0x830 [ 30.346533][ C2] tcp_syn_flood_action.cold+0xb4/0xe5 [ 30.346536][ C2] tcp_conn_request+0x13ff/0x2c00 [ 30.346537][ C2] ? find_held_lock+0x2b/0x80 [ 30.346539][ C2] ? reuseport_select_sock+0x19e/0x3c0 [ 30.346541][ C2] ? reuseport_select_sock+0xe1/0x3c0 [ 30.346543][ C2] ? __lock_acquire+0x518/0xc20 [ 30.346545][ C2] ? tcp_get_syncookie_mss+0x300/0x300 [ 30.346547][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 30.346549][ C2] ? __lock_acquire+0x518/0xc20 [ 30.346550][ C2] ? save_trace+0x1f7/0x280 [ 30.346553][ C2] ? rcu_is_watching+0x16/0xd0 [ 30.346554][ C2] ? lock_acquire+0x13c/0x160 [ 30.346556][ C2] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.346558][ C2] tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.346560][ C2] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 30.346561][ C2] ? tcp_v4_fill_cb+0x33/0x430 [ 30.346563][ C2] tcp_v4_rcv+0x2881/0x2ef0 [ 30.346565][ C2] ? mark_usage+0x61/0x170 [ 30.346567][ C2] ? tcp_add_backlog+0x1e30/0x1e30 [ 30.346569][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 30.346571][ C2] ? ip_local_deliver_finish+0x2ba/0x610 [ 30.346572][ C2] ip_protocol_deliver_rcu+0x82/0x350 [ 30.346574][ C2] ? process_backlog+0x3f1/0x14c0 [ 30.346576][ C2] ip_local_deliver_finish+0x36f/0x610 [ 30.346578][ C2] ip_local_deliver+0x184/0x4c0 [ 30.346579][ C2] ? ip_local_deliver_finish+0x610/0x610 [ 30.346581][ C2] ? ip_protocol_deliver_rcu+0x350/0x350 [ 30.346582][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 30.346584][ C2] ? process_backlog+0x3f1/0x14c0 [ 30.346586][ C2] ip_rcv+0xdc/0x3d0 [ 30.346587][ C2] ? ip_local_deliver+0x4c0/0x4c0 [ 30.346589][ C2] ? rcu_is_watching+0x16/0xd0 [ 30.346590][ C2] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 30.346591][ C2] ? __lock_acquire+0x518/0xc20 [ 30.346594][ C2] ? process_backlog+0x3f1/0x14c0 [ 30.346595][ C2] __netif_receive_skb_one_core+0xfc/0x180 [ 30.346597][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 30.346599][ C2] ? process_backlog+0x3f1/0x14c0 [ 30.346600][ C2] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 30.346602][ C2] ? rcu_is_watching+0x16/0xd0 [ 30.346604][ C2] process_backlog+0x431/0x14c0 [ 30.346606][ C2] __napi_poll+0xa7/0x3b0 [ 30.346608][ C2] net_rx_action+0x513/0xf50 [ 30.346611][ C2] ? __napi_poll+0x3b0/0x3b0 [ 30.346612][ C2] ? trace_rcu_batch_end+0x310/0x310 [ 30.346614][ C2] ? rcu_is_watching+0x16/0xd0 [ 30.346615][ C2] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 30.346617][ C2] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 30.346621][ C2] ? clockevents_program_event+0x307/0x7e0 [ 30.346623][ C2] ? rcu_is_watching+0x16/0xd0 [ 30.346624][ C2] ? rcu_is_watching+0x16/0xd0 [ 30.346625][ C2] ? mark_held_locks+0x40/0x70 [ 30.346628][ C2] handle_softirqs+0x1d3/0x900 [ 30.346630][ C2] ? _local_bh_enable+0xc0/0xc0 [ 30.346631][ C2] ? _local_bh_enable+0xc0/0xc0 [ 30.346633][ C2] ? __dev_queue_xmit+0x964/0x1b80 [ 30.346635][ C2] do_softirq+0xac/0xe0 [ 30.346637][ C2] [ 30.346637][ C2] [ 30.346638][ C2] __local_bh_enable_ip+0x118/0x150 [ 30.346640][ C2] __dev_queue_xmit+0x979/0x1b80 [ 30.346643][ C2] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 30.346644][ C2] ? lock_acquire.part.0+0xd4/0x280 [ 30.346646][ C2] ? find_held_lock+0x2b/0x80 [ 30.346648][ C2] ? __lock_release.isra.0+0x69/0x1a0 [ 30.346649][ C2] ? rcu_is_watching+0x16/0xd0 [ 30.346650][ C2] ? mark_held_locks+0x40/0x70 [ 30.346652][ C2] ? __asan_memcpy+0x3c/0x60 [ 30.346654][ C2] ? neigh_hh_output+0x152/0x4c0 [ 30.346656][ C2] ip_finish_output2+0xd9b/0x1bc0 [ 30.346657][ C2] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 30.346659][ C2] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 30.346661][ C2] ip_output+0x1ca/0x660 [ 30.346663][ C2] ? ip_finish_output+0x460/0x460 [ 30.346665][ C2] ? find_held_lock+0x2b/0x80 [ 30.346666][ C2] ? __ip_finish_output+0x720/0x720 [ 30.346668][ C2] ? ip4_dst_hoplimit+0x15b/0x320 [ 30.346670][ C2] __ip_queue_xmit+0x774/0x1650 [ 30.346672][ C2] __tcp_transmit_skb+0x1ad9/0x3a70 [ 30.346675][ C2] ? tcp_call_bpf+0x201/0x2e0 [ 30.346677][ C2] ? tcp_clone_payload+0x10b0/0x10b0 [ 30.346678][ C2] ? __tcp_select_window+0xf20/0xf20 [ 30.346681][ C2] ? lockdep_hardirqs_on+0x91/0x130 [ 30.346682][ C2] ? ktime_get+0x18e/0x2d0 [ 30.346684][ C2] ? kvm_clock_get_cycles+0x19/0x30 [ 30.346685][ C2] ? ktime_get+0x1dd/0x2d0 [ 30.346687][ C2] tcp_connect+0xec4/0x1880 [ 30.346690][ C2] tcp_v4_connect+0x12bd/0x1960 [ 30.346692][ C2] ? established_get_first+0x6b0/0x6b0 [ 30.346694][ C2] ? do_raw_spin_lock+0x131/0x280 [ 30.346696][ C2] ? find_held_lock+0x2b/0x80 [ 30.346698][ C2] __inet_stream_connect+0x2ed/0xd00 [ 30.346700][ C2] ? lockdep_hardirqs_on+0x91/0x130 [ 30.346702][ C2] inet_stream_connect+0x59/0xb0 [ 30.346704][ C2] __sys_connect+0x1c1/0x2c0 [ 30.346705][ C2] ? do_fcntl+0x36f/0xc50 [ 30.346707][ C2] ? __sys_connect_file+0x250/0x250 [ 30.346710][ C2] ? fdget_raw+0x4f/0x190 [ 30.346712][ C2] __x64_sys_connect+0x72/0xd0 [ 30.346713][ C2] ? lockdep_hardirqs_on+0x91/0x130 [ 30.346715][ C2] ? do_syscall_64+0xa6/0x570 [ 30.346717][ C2] do_syscall_64+0x10e/0x570 [ 30.346718][ C2] ? exc_page_fault+0xee/0x100 [ 30.346720][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.346721][ C2] RIP: 0033:0x7fd63fc4054e [ 30.346723][ 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 [ 30.346724][ C2] RSP: 002b:00007ffdeacf1690 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 30.346725][ C2] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd63fc4054e [ 30.346726][ C2] RDX: 0000000000000010 RSI: 00007ffdeacf1720 RDI: 0000000000000005 [ 30.346726][ C2] RBP: 00007ffdeacf16a0 R08: 0000000000000000 R09: 0000000000000000 [ 30.346727][ C2] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffdeacf1898 [ 30.346728][ C2] R13: 0000000000000005 R14: 00007fd63fe11000 R15: 0000000000402e00 [ 30.346730][ C2] [ 30.486107][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 30.517473][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 30.613127][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 30.834837][ C1] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.023088][ C3] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.104912][ C3] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.271964][ C3] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.409285][ C3] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.409301][ C3] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.409303][ C3] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 342, name: connect_close [ 31.409305][ C3] preempt_count: 302, expected: 0 [ 31.409306][ C3] RCU nest depth: 6, expected: 0 [ 31.409307][ C3] INFO: lockdep is turned off. [ 31.409308][ C3] irq event stamp: 184519 [ 31.409309][ C3] hardirqs last enabled at (184518): [] __down_trylock_console_sem+0x86/0xa0 [ 31.409319][ C3] hardirqs last disabled at (184519): [] console_emit_next_record+0x3d4/0x4c0 [ 31.409321][ C3] softirqs last enabled at (184502): [] __dev_queue_xmit+0x964/0x1b80 [ 31.409325][ C3] softirqs last disabled at (184503): [] do_softirq+0xac/0xe0 [ 31.409329][ C3] Preemption disabled at: [ 31.409330][ C3] [] __dev_queue_xmit+0x204/0x1b80 [ 31.409336][ C3] CPU: 3 UID: 0 PID: 342 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.409339][ C3] Tainted: [W]=WARN [ 31.409340][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.409342][ C3] Call Trace: [ 31.409344][ C3] [ 31.409345][ C3] dump_stack_lvl+0x6f/0xa0 [ 31.409349][ C3] ? __dev_queue_xmit+0x204/0x1b80 [ 31.409351][ C3] __might_resched.cold+0x1fe/0x2c1 [ 31.409355][ C3] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.409357][ C3] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 31.409359][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409362][ C3] __kmalloc_noprof+0x443/0x760 [ 31.409366][ C3] ? __rwlock_init+0x150/0x150 [ 31.409368][ C3] ? alloc_buf.isra.0+0x4b/0x260 [ 31.409373][ C3] ? do_raw_spin_unlock+0x59/0x250 [ 31.409375][ C3] alloc_buf.isra.0+0x4b/0x260 [ 31.409377][ C3] put_chars+0x1e1/0x2f0 [ 31.409379][ C3] ? prb_final_commit+0x50/0x50 [ 31.409380][ C3] ? __send_to_port+0x420/0x420 [ 31.409382][ C3] ? printk_get_next_message+0x240/0x650 [ 31.409385][ C3] hvc_console_print+0x292/0x780 [ 31.409389][ C3] ? hvc_write+0x3a0/0x3a0 [ 31.409390][ C3] ? do_raw_spin_lock+0x131/0x280 [ 31.409392][ C3] ? vsnprintf+0x668/0x1700 [ 31.409396][ C3] ? __rwlock_init+0x150/0x150 [ 31.409398][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409399][ C3] ? lock_acquire+0x13c/0x160 [ 31.409402][ C3] console_emit_next_record+0x22f/0x4c0 [ 31.409404][ C3] ? devkmsg_read+0x4b0/0x4b0 [ 31.409405][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409406][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409407][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409409][ C3] ? lock_acquire+0x13c/0x160 [ 31.409411][ C3] ? console_flush_one_record+0x111/0x710 [ 31.409412][ C3] console_flush_one_record+0x46f/0x710 [ 31.409414][ C3] ? console_emit_next_record+0x4c0/0x4c0 [ 31.409416][ C3] console_unlock+0xee/0x1f0 [ 31.409417][ C3] ? lock_acquire+0x13c/0x160 [ 31.409419][ C3] ? console_flush_one_record+0x710/0x710 [ 31.409420][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409421][ C3] ? lock_release+0x184/0x1f0 [ 31.409423][ C3] ? lock_acquire+0x60/0x160 [ 31.409425][ C3] ? __rcu_read_lock+0x30/0x70 [ 31.409426][ C3] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.409428][ C3] ? vprintk_emit+0x320/0x3e0 [ 31.409430][ C3] vprintk_emit+0x37c/0x3e0 [ 31.409431][ C3] ? wake_up_klogd_work_func+0x90/0x90 [ 31.409433][ C3] ? do_raw_spin_trylock+0xb6/0x180 [ 31.409435][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409436][ C3] ? lock_acquire+0x13c/0x160 [ 31.409438][ C3] _printk+0xc7/0x100 [ 31.409441][ C3] ? snapshot_read.cold+0x21/0x21 [ 31.409443][ C3] ? ___ratelimit+0x4e7/0xa00 [ 31.409445][ C3] ? idr_get_free+0x830/0x830 [ 31.409447][ C3] tcp_syn_flood_action.cold+0xb4/0xe5 [ 31.409451][ C3] tcp_conn_request+0x13ff/0x2c00 [ 31.409454][ C3] ? lock_acquire+0x13c/0x160 [ 31.409456][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409457][ C3] ? lock_release+0x184/0x1f0 [ 31.409459][ C3] ? reuseport_select_sock+0xe1/0x3c0 [ 31.409462][ C3] ? tcp_get_syncookie_mss+0x300/0x300 [ 31.409465][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409467][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409468][ C3] ? lock_acquire+0x13c/0x160 [ 31.409470][ C3] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 31.409472][ C3] tcp_rcv_listen_state_process+0x1ab/0x380 [ 31.409474][ C3] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 31.409476][ C3] ? tcp_v4_fill_cb+0x33/0x430 [ 31.409477][ C3] tcp_v4_rcv+0x2881/0x2ef0 [ 31.409480][ C3] ? tcp_add_backlog+0x1e30/0x1e30 [ 31.409483][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409484][ C3] ? process_backlog+0x3f1/0x14c0 [ 31.409486][ C3] ip_protocol_deliver_rcu+0x82/0x350 [ 31.409488][ C3] ? process_backlog+0x3f1/0x14c0 [ 31.409490][ C3] ip_local_deliver_finish+0x36f/0x610 [ 31.409492][ C3] ? lock_release+0x184/0x1f0 [ 31.409493][ C3] ip_local_deliver+0x184/0x4c0 [ 31.409495][ C3] ? ip_local_deliver_finish+0x610/0x610 [ 31.409497][ C3] ? ip_protocol_deliver_rcu+0x350/0x350 [ 31.409498][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409500][ C3] ? process_backlog+0x3f1/0x14c0 [ 31.409501][ C3] ip_rcv+0xdc/0x3d0 [ 31.409503][ C3] ? ip_local_deliver+0x4c0/0x4c0 [ 31.409504][ C3] ? tcp_connect+0x10f/0x1880 [ 31.409506][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409507][ C3] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 31.409509][ C3] ? process_backlog+0x3f1/0x14c0 [ 31.409511][ C3] __netif_receive_skb_one_core+0xfc/0x180 [ 31.409513][ C3] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 31.409515][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409516][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409518][ C3] process_backlog+0x431/0x14c0 [ 31.409520][ C3] __napi_poll+0xa7/0x3b0 [ 31.409522][ C3] net_rx_action+0x513/0xf50 [ 31.409525][ C3] ? __napi_poll+0x3b0/0x3b0 [ 31.409527][ C3] ? rcu_report_qs_rnp+0x22d/0x6f0 [ 31.409529][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409531][ C3] ? clockevents_program_event+0x307/0x7e0 [ 31.409534][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409535][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409536][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409538][ C3] handle_softirqs+0x1d3/0x900 [ 31.409540][ C3] ? _local_bh_enable+0xc0/0xc0 [ 31.409542][ C3] ? _local_bh_enable+0xc0/0xc0 [ 31.409543][ C3] ? lock_release+0x184/0x1f0 [ 31.409545][ C3] ? __dev_queue_xmit+0x964/0x1b80 [ 31.409547][ C3] do_softirq+0xac/0xe0 [ 31.409549][ C3] [ 31.409549][ C3] [ 31.409550][ C3] __local_bh_enable_ip+0x118/0x150 [ 31.409552][ C3] __dev_queue_xmit+0x979/0x1b80 [ 31.409555][ C3] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 31.409557][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409558][ C3] ? lock_acquire+0x13c/0x160 [ 31.409560][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409561][ C3] ? __asan_memcpy+0x3c/0x60 [ 31.409564][ C3] ? neigh_hh_output+0x152/0x4c0 [ 31.409566][ C3] ip_finish_output2+0xd9b/0x1bc0 [ 31.409568][ C3] ? ip_dst_mtu_maybe_forward+0x7c/0x670 [ 31.409569][ C3] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 31.409571][ C3] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 31.409573][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409575][ C3] ip_output+0x1ca/0x660 [ 31.409576][ C3] ? ip_finish_output+0x460/0x460 [ 31.409578][ C3] ? lock_acquire+0x13c/0x160 [ 31.409580][ C3] ? __ip_finish_output+0x720/0x720 [ 31.409581][ C3] ? lock_acquire+0x13c/0x160 [ 31.409583][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409584][ C3] ? lock_release+0x184/0x1f0 [ 31.409586][ C3] __ip_queue_xmit+0x774/0x1650 [ 31.409588][ C3] __tcp_transmit_skb+0x1ad9/0x3a70 [ 31.409591][ C3] ? tcp_call_bpf+0x201/0x2e0 [ 31.409593][ C3] ? tcp_clone_payload+0x10b0/0x10b0 [ 31.409595][ C3] ? __tcp_select_window+0xf20/0xf20 [ 31.409597][ C3] ? trace_hardirqs_on+0x36/0x40 [ 31.409600][ C3] ? kvm_clock_get_cycles+0x19/0x30 [ 31.409602][ C3] ? ktime_get+0x1dd/0x2d0 [ 31.409605][ C3] tcp_connect+0xec4/0x1880 [ 31.409608][ C3] tcp_v4_connect+0x12bd/0x1960 [ 31.409610][ C3] ? established_get_first+0x6b0/0x6b0 [ 31.409612][ C3] ? lockdep_init_map_type+0x5d/0x250 [ 31.409613][ C3] ? do_raw_spin_lock+0x131/0x280 [ 31.409615][ C3] ? __rwlock_init+0x150/0x150 [ 31.409617][ C3] __inet_stream_connect+0x2ed/0xd00 [ 31.409620][ C3] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 31.409624][ C3] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 31.409626][ C3] inet_stream_connect+0x59/0xb0 [ 31.409628][ C3] __sys_connect+0x1c1/0x2c0 [ 31.409631][ C3] ? do_fcntl+0x36f/0xc50 [ 31.409634][ C3] ? rcu_is_watching+0x16/0xd0 [ 31.409635][ C3] ? __sys_connect_file+0x250/0x250 [ 31.409638][ C3] ? fdget_raw+0x4f/0x190 [ 31.409641][ C3] __x64_sys_connect+0x72/0xd0 [ 31.409642][ C3] ? trace_hardirqs_on+0x36/0x40 [ 31.409643][ C3] do_syscall_64+0x10e/0x570 [ 31.409646][ C3] ? irq_exit_rcu+0x1a/0x30 [ 31.409648][ C3] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.409650][ C3] RIP: 0033:0x7fd63fc4054e [ 31.409654][ 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 [ 31.409656][ C3] RSP: 002b:00007ffdeacf1690 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 31.409660][ C3] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd63fc4054e [ 31.409661][ C3] RDX: 0000000000000010 RSI: 00007ffdeacf1720 RDI: 0000000000000005 [ 31.409662][ C3] RBP: 00007ffdeacf16a0 R08: 0000000000000000 R09: 0000000000000000 [ 31.409663][ C3] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffdeacf1898 [ 31.409664][ C3] R13: 0000000000000005 R14: 00007fd63fe11000 R15: 0000000000402e00 [ 31.409666][ C3] [ 31.443432][ C3] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 83.782661][ T1035] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 83.782676][ T1035] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 83.782678][ T1035] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1035, name: modprobe [ 83.782680][ T1035] preempt_count: 1, expected: 0 [ 83.782681][ T1035] RCU nest depth: 0, expected: 0 [ 83.782682][ T1035] INFO: lockdep is turned off. [ 83.782683][ T1035] irq event stamp: 0 [ 83.782683][ T1035] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 83.782689][ T1035] hardirqs last disabled at (0): [] copy_process+0x1d01/0x62c0 [ 83.782696][ T1035] softirqs last enabled at (0): [] copy_process+0x1d55/0x62c0 [ 83.782698][ T1035] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 83.782699][ T1035] Preemption disabled at: [ 83.782700][ T1035] [] vprintk_emit+0x31b/0x3e0 [ 83.782707][ T1035] CPU: 2 UID: 0 PID: 1035 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 83.782711][ T1035] Tainted: [W]=WARN [ 83.782712][ T1035] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 83.782713][ T1035] Call Trace: [ 83.782714][ T1035] [ 83.782715][ T1035] dump_stack_lvl+0x6f/0xa0 [ 83.782720][ T1035] ? vprintk_emit+0x31b/0x3e0 [ 83.782722][ T1035] __might_resched.cold+0x1fe/0x2c1 [ 83.782726][ T1035] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 83.782728][ T1035] ? rcu_is_watching+0x16/0xd0 [ 83.782731][ T1035] __kmalloc_noprof+0x443/0x760 [ 83.782735][ T1035] ? __rwlock_init+0x150/0x150 [ 83.782738][ T1035] ? alloc_buf.isra.0+0x4b/0x260 [ 83.782742][ T1035] ? do_raw_spin_unlock+0x59/0x250 [ 83.782744][ T1035] alloc_buf.isra.0+0x4b/0x260 [ 83.782746][ T1035] put_chars+0x1e1/0x2f0 [ 83.782748][ T1035] ? __send_to_port+0x420/0x420 [ 83.782750][ T1035] ? console_prepend_replay+0x20/0x20 [ 83.782753][ T1035] hvc_console_print+0x292/0x780 [ 83.782757][ T1035] ? hvc_write+0x3a0/0x3a0 [ 83.782758][ T1035] ? rcu_is_watching+0x16/0xd0 [ 83.782760][ T1035] ? rcu_is_watching+0x16/0xd0 [ 83.782761][ T1035] ? lock_acquire+0x13c/0x160 [ 83.782763][ T1035] console_emit_next_record+0x22f/0x4c0 [ 83.782765][ T1035] ? devkmsg_read+0x4b0/0x4b0 [ 83.782767][ T1035] ? rcu_is_watching+0x16/0xd0 [ 83.782768][ T1035] ? rcu_is_watching+0x16/0xd0 [ 83.782769][ T1035] ? rcu_is_watching+0x16/0xd0 [ 83.782770][ T1035] ? lock_acquire+0x13c/0x160 [ 83.782773][ T1035] ? console_flush_one_record+0x111/0x710 [ 83.782774][ T1035] console_flush_one_record+0x46f/0x710 [ 83.782776][ T1035] ? console_emit_next_record+0x4c0/0x4c0 [ 83.782778][ T1035] console_unlock+0xee/0x1f0 [ 83.782779][ T1035] ? lock_acquire+0x13c/0x160 [ 83.782781][ T1035] ? console_flush_one_record+0x710/0x710 [ 83.782782][ T1035] ? rcu_is_watching+0x16/0xd0 [ 83.782783][ T1035] ? lock_release+0x184/0x1f0 [ 83.782785][ T1035] ? lock_acquire+0x60/0x160 [ 83.782787][ T1035] ? __rcu_read_lock+0x30/0x70 [ 83.782788][ T1035] ? __down_trylock_console_sem+0x5e/0xa0 [ 83.782791][ T1035] ? vprintk_emit+0x320/0x3e0 [ 83.782792][ T1035] vprintk_emit+0x37c/0x3e0 [ 83.782795][ T1035] ? wake_up_klogd_work_func+0x90/0x90 [ 83.782796][ T1035] ? ww_mutex_lock+0x160/0x160 [ 83.782800][ T1035] ? llc_exit+0x3e0/0x3e0 [llc] [ 83.782803][ T1035] _printk+0xc7/0x100 [ 83.782806][ T1035] ? snapshot_read.cold+0x21/0x21 [ 83.782808][ T1035] ? __mutex_unlock_slowpath+0x5e5/0x740 [ 83.782810][ T1035] ? _mutex_trylock_nest_lock+0x390/0x390 [ 83.782812][ T1035] ? __mutex_unlock_slowpath+0x14d/0x740 [ 83.782814][ T1035] br_init+0x98/0xc0 [bridge] [ 83.782826][ T1035] do_one_initcall+0x124/0x4f0 [ 83.782829][ T1035] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 83.782831][ T1035] ? do_init_module+0xae/0x8a0 [ 83.782834][ T1035] ? kasan_unpoison+0x44/0x70 [ 83.782837][ T1035] do_init_module+0x2ad/0x8a0 [ 83.782839][ T1035] ? free_module+0x470/0x470 [ 83.782841][ T1035] ? kfree+0x123/0x590 [ 83.782843][ T1035] load_module+0x154b/0x1d60 [ 83.782846][ T1035] ? layout_and_allocate.isra.0+0x680/0x680 [ 83.782848][ T1035] ? backing_file_read_iter+0x541/0x790 [ 83.782852][ T1035] init_module_from_file+0x11f/0x1a0 [ 83.782853][ T1035] ? __ia32_sys_init_module+0xc0/0xc0 [ 83.782855][ T1035] ? ovl_mmap+0x270/0x270 [ 83.782860][ T1035] ? __rwlock_init+0x150/0x150 [ 83.782862][ T1035] ? rcu_is_watching+0x16/0xd0 [ 83.782863][ T1035] ? lock_release+0x184/0x1f0 [ 83.782865][ T1035] ? do_raw_spin_unlock+0x59/0x250 [ 83.782867][ T1035] idempotent_init_module+0x37b/0x7c0 [ 83.782868][ T1035] ? init_module_from_file+0x1a0/0x1a0 [ 83.782871][ T1035] ? rcu_is_watching+0x16/0xd0 [ 83.782872][ T1035] ? cap_capable+0x1d7/0x3d0 [ 83.782875][ T1035] __x64_sys_finit_module+0xdf/0x190 [ 83.782877][ T1035] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 83.782880][ T1035] do_syscall_64+0x10e/0x570 [ 83.782882][ T1035] ? exc_page_fault+0xee/0x100 [ 83.782884][ T1035] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 83.782887][ T1035] RIP: 0033:0x7f1b8639e37d [ 83.782889][ T1035] 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 [ 83.782891][ T1035] RSP: 002b:00007ffe9cf792d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 83.782894][ T1035] RAX: ffffffffffffffda RBX: 000055664f231810 RCX: 00007f1b8639e37d [ 83.782896][ T1035] RDX: 0000000000000000 RSI: 00005566344feffd RDI: 0000000000000002 [ 83.782896][ T1035] RBP: 00007ffe9cf79370 R08: 0000000000000000 R09: 0000000000000000 [ 83.782897][ T1035] R10: 0000000000000000 R11: 0000000000000246 R12: 00005566344feffd [ 83.782898][ T1035] R13: 000055664f2319c0 R14: 0000000000040000 R15: 0000000000000000 [ 83.782900][ T1035] [ 83.851436][ T1038] br0: port 1(veth0) entered blocking state [ 83.851750][ T1038] br0: port 1(veth0) entered disabled state [ 83.852049][ T1038] veth0: entered allmulticast mode [ 83.853056][ T1038] veth0: entered promiscuous mode [ 83.886850][ T1039] br0: port 2(veth1) entered blocking state [ 83.887150][ T1039] br0: port 2(veth1) entered disabled state [ 83.887429][ T1039] veth1: entered allmulticast mode [ 83.888440][ T1039] veth1: entered promiscuous mode [ 83.909428][ T1040] br0: port 2(veth1) entered blocking state [ 83.909697][ T1040] br0: port 2(veth1) entered forwarding state [ 83.909985][ T1040] br0: port 1(veth0) entered blocking state [ 83.910193][ T1040] br0: port 1(veth0) entered forwarding state [ 95.825521][ T12] br0: port 1(veth0) entered disabled state [ 95.825536][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 95.825538][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 95.825540][ T12] preempt_count: 202, expected: 0 [ 95.825541][ T12] RCU nest depth: 0, expected: 0 [ 95.825542][ T12] INFO: lockdep is turned off. [ 95.825543][ T12] irq event stamp: 8512 [ 95.825544][ T12] hardirqs last enabled at (8511): [] _raw_spin_unlock_irq+0x28/0x50 [ 95.825553][ T12] hardirqs last disabled at (8512): [] __schedule+0x1246/0x20e0 [ 95.825556][ T12] softirqs last enabled at (8474): [] instance_destroy_work+0x116/0x250 [nfnetlink_queue] [ 95.825560][ T12] softirqs last disabled at (8472): [] instance_destroy_work+0x6f/0x250 [nfnetlink_queue] [ 95.825562][ T12] Preemption disabled at: [ 95.825563][ T12] [<0000000000000000>] 0x0 [ 95.825569][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 95.825572][ T12] Tainted: [W]=WARN [ 95.825573][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 95.825575][ T12] Workqueue: netns cleanup_net [ 95.825581][ T12] Call Trace: [ 95.825583][ T12] [ 95.825584][ T12] dump_stack_lvl+0x6f/0xa0 [ 95.825589][ T12] __might_resched.cold+0x1fe/0x2c1 [ 95.825593][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 95.825596][ T12] ? rcu_is_watching+0x16/0xd0 [ 95.825599][ T12] __kmalloc_noprof+0x443/0x760 [ 95.825603][ T12] ? __rwlock_init+0x150/0x150 [ 95.825606][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 95.825610][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 95.825612][ T12] alloc_buf.isra.0+0x4b/0x260 [ 95.825614][ T12] put_chars+0x1e1/0x2f0 [ 95.825616][ T12] ? __send_to_port+0x420/0x420 [ 95.825617][ T12] ? printk_get_next_message+0x240/0x650 [ 95.825623][ T12] ? console_prepend_replay+0x20/0x20 [ 95.825625][ T12] hvc_console_print+0x292/0x780 [ 95.825629][ T12] ? hvc_write+0x3a0/0x3a0 [ 95.825631][ T12] ? __rwlock_init+0x150/0x150 [ 95.825633][ T12] ? lock_acquire+0x13c/0x160 [ 95.825635][ T12] console_emit_next_record+0x22f/0x4c0 [ 95.825637][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 95.825639][ T12] ? rcu_is_watching+0x16/0xd0 [ 95.825640][ T12] ? rcu_is_watching+0x16/0xd0 [ 95.825641][ T12] ? rcu_is_watching+0x16/0xd0 [ 95.825642][ T12] ? lock_acquire+0x13c/0x160 [ 95.825644][ T12] ? console_flush_one_record+0x111/0x710 [ 95.825646][ T12] console_flush_one_record+0x46f/0x710 [ 95.825647][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 95.825649][ T12] console_unlock+0xee/0x1f0 [ 95.825651][ T12] ? lock_acquire+0x13c/0x160 [ 95.825653][ T12] ? console_flush_one_record+0x710/0x710 [ 95.825654][ T12] ? rcu_is_watching+0x16/0xd0 [ 95.825655][ T12] ? lock_release+0x184/0x1f0 [ 95.825657][ T12] ? lock_acquire+0x60/0x160 [ 95.825658][ T12] ? __rcu_read_lock+0x30/0x70 [ 95.825660][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 95.825662][ T12] ? vprintk_emit+0x320/0x3e0 [ 95.825664][ T12] vprintk_emit+0x37c/0x3e0 [ 95.825667][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 95.825668][ T12] ? rcu_is_watching+0x16/0xd0 [ 95.825669][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 95.825672][ T12] ? trace_hardirqs_on+0x36/0x40 [ 95.825674][ T12] _printk+0xc7/0x100 [ 95.825677][ T12] ? snapshot_read.cold+0x21/0x21 [ 95.825679][ T12] ? ipv6_mc_down+0x17e/0x2d0 [ 95.825683][ T12] br_set_state+0x22f/0x430 [bridge] [ 95.825696][ T12] br_stp_disable_port+0x11f/0x390 [bridge] [ 95.825705][ T12] br_device_event+0x7b5/0x8f0 [bridge] [ 95.825712][ T12] ? lock_release+0x184/0x1f0 [ 95.825714][ T12] ? _sub_I_65535_1+0x4d0/0x4d0 [stp] [ 95.825716][ T12] ? nfqnl_dev_drop+0x54/0x330 [nfnetlink_queue] [ 95.825718][ T12] ? nfqnl_dev_drop+0xf0/0x330 [nfnetlink_queue] [ 95.825721][ T12] notifier_call_chain+0xae/0x300 [ 95.825724][ T12] netif_close_many+0x366/0x770 [ 95.825727][ T12] ? trace_kfree+0xd2/0x100 [ 95.825729][ T12] ? lock_acquire+0x13c/0x160 [ 95.825731][ T12] ? __dev_close_many+0x680/0x680 [ 95.825733][ T12] ? netif_close_many_and_unlock+0x22/0x2c0 [ 95.825735][ T12] unregister_netdevice_many_notify+0x71a/0x1b40 [ 95.825744][ T12] ? ops_undo_list+0x2ce/0x8f0 [ 95.825746][ T12] ? worker_thread+0x4f1/0xd60 [ 95.825748][ T12] ? kthread+0x367/0x460 [ 95.825750][ T12] ? ret_from_fork+0x4a4/0x720 [ 95.825753][ T12] ? ret_from_fork_asm+0x11/0x20 [ 95.825755][ T12] ? unregister_netdevice_queued+0x80/0x80 [ 95.825758][ T12] ? get_rps_cpu+0x980/0x980 [ 95.825760][ T12] default_device_exit_batch+0x38b/0x600 [ 95.825762][ T12] ? generic_xdp_install+0x470/0x470 [ 95.825764][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 95.825766][ T12] ? rtnl_is_locked+0x15/0x20 [ 95.825768][ T12] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 95.825771][ T12] ? mutex_is_locked+0x1c/0x50 [ 95.825773][ T12] ops_undo_list+0x2ce/0x8f0 [ 95.825775][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 95.825777][ T12] ? idr_destroy+0x121/0x250 [ 95.825780][ T12] cleanup_net+0x431/0x890 [ 95.825782][ T12] ? net_passive_dec+0x230/0x230 [ 95.825784][ T12] ? lock_acquire+0x13c/0x160 [ 95.825785][ T12] ? rcu_is_watching+0x16/0xd0 [ 95.825787][ T12] process_one_work+0xe3e/0x1560 [ 95.825789][ T12] ? __queue_delayed_work+0x470/0x470 [ 95.825791][ T12] ? find_held_lock+0x2b/0x80 [ 95.825793][ T12] ? __rwlock_init+0x150/0x150 [ 95.825796][ T12] worker_thread+0x4f1/0xd60 [ 95.825798][ T12] ? rescuer_thread+0x1340/0x1340 [ 95.825799][ T12] kthread+0x367/0x460 [ 95.825801][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 95.825802][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 95.825804][ T12] ret_from_fork+0x4a4/0x720 [ 95.825806][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 95.825808][ T12] ? __switch_to+0x5a3/0xe00 [ 95.825811][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 95.825813][ T12] ret_from_fork_asm+0x11/0x20 [ 95.825816][ T12] [ 95.844304][ T12] veth0 (unregistering): left allmulticast mode [ 95.844514][ T12] veth0 (unregistering): left promiscuous mode [ 95.844695][ T12] br0: port 1(veth0) entered disabled state [ 95.913748][ T12] br0: port 2(veth1) entered disabled state [ 95.915686][ T12] veth1 (unregistering): left allmulticast mode [ 95.915893][ T12] veth1 (unregistering): left promiscuous mode [ 95.916076][ T12] br0: port 2(veth1) entered disabled state