[ 9.748797][ T173] sctp: Hash tables configured (bind 32/56) [ 9.748815][ T173] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.748817][ T173] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 173, name: modprobe [ 9.748819][ T173] preempt_count: 1, expected: 0 [ 9.748820][ T173] RCU nest depth: 0, expected: 0 [ 9.748821][ T173] locks held by modprobe/173: 4, last CPU#1: [ 9.748823][ T173] #0: ffffffff89b6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.748836][ T173] #1: ffffffff89b6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.748839][ T173] #2: ffffffff89a89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.748843][ T173] #3: ffffffff89a89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.748846][ T173] irq event stamp: 104876 [ 9.748847][ T173] hardirqs last enabled at (104875): [] __down_trylock_console_sem+0x86/0xa0 [ 9.748851][ T173] hardirqs last disabled at (104876): [] console_emit_next_record+0x3d4/0x4c0 [ 9.748852][ T173] softirqs last enabled at (104186): [] handle_softirqs+0x67c/0x900 [ 9.748855][ T173] softirqs last disabled at (104145): [] __irq_exit_rcu+0x145/0x1c0 [ 9.748863][ T173] Preemption disabled at: [ 9.748864][ T173] [] vprintk_emit+0x31b/0x3e0 [ 9.748870][ T173] CPU: 1 UID: 0 PID: 173 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.748873][ T173] Tainted: [W]=WARN [ 9.748874][ T173] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.748876][ T173] Call Trace: [ 9.748877][ T173] [ 9.748879][ T173] dump_stack_lvl+0x6f/0xa0 [ 9.748883][ T173] ? vprintk_emit+0x31b/0x3e0 [ 9.748885][ T173] __might_resched.cold+0x1fe/0x2c1 [ 9.748890][ T173] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.748893][ T173] ? __kmalloc_noprof+0xdb/0x760 [ 9.748898][ T173] __kmalloc_noprof+0x443/0x760 [ 9.748900][ T173] ? alloc_buf.isra.0+0x4b/0x260 [ 9.748906][ T173] ? do_raw_spin_unlock+0x59/0x250 [ 9.748909][ T173] alloc_buf.isra.0+0x4b/0x260 [ 9.748913][ T173] put_chars+0x1e1/0x2f0 [ 9.748916][ T173] ? __send_to_port+0x420/0x420 [ 9.748917][ T173] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.748922][ T173] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.748925][ T173] ? validate_chain+0x38b/0xc20 [ 9.748930][ T173] hvc_console_print+0x292/0x780 [ 9.748933][ T173] ? __lock_acquire+0x518/0xc20 [ 9.748938][ T173] ? hvc_write+0x3a0/0x3a0 [ 9.748941][ T173] ? rcu_is_watching+0x16/0xd0 [ 9.748946][ T173] console_emit_next_record+0x22f/0x4c0 [ 9.748949][ T173] ? devkmsg_read+0x4b0/0x4b0 [ 9.748950][ T173] ? console_flush_one_record+0x106/0x710 [ 9.748953][ T173] ? rcu_is_watching+0x16/0xd0 [ 9.748955][ T173] ? lock_acquire+0x13c/0x160 [ 9.748959][ T173] console_flush_one_record+0x46f/0x710 [ 9.748963][ T173] ? console_emit_next_record+0x4c0/0x4c0 [ 9.748964][ T173] ? __lock_acquire+0x518/0xc20 [ 9.748969][ T173] console_unlock+0xee/0x1f0 [ 9.748972][ T173] ? console_flush_one_record+0x710/0x710 [ 9.748973][ T173] ? rcu_is_watching+0x16/0xd0 [ 9.748975][ T173] ? lock_acquire+0x60/0x160 [ 9.748979][ T173] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.748980][ T173] ? vprintk_emit+0x320/0x3e0 [ 9.748983][ T173] vprintk_emit+0x37c/0x3e0 [ 9.748987][ T173] ? wake_up_klogd_work_func+0x90/0x90 [ 9.748988][ T173] ? lockdep_hardirqs_on+0x91/0x130 [ 9.748993][ T173] ? lookup_object_or_alloc.part.0+0x580/0x580 [ 9.749000][ T173] _printk+0xc7/0x100 [ 9.749003][ T173] ? snapshot_read.cold+0x21/0x21 [ 9.749007][ T173] ? lockdep_init_map_type+0x5d/0x250 [ 9.749010][ T173] ? __rhashtable_init_noprof+0x451/0x7f0 [ 9.749015][ T173] sctp_init+0x43b/0x600 [sctp] [ 9.749033][ T173] ? udp_tunnel_nic_cleanup_module+0xb40/0xb40 [udp_tunnel] [ 9.749035][ T173] do_one_initcall+0x124/0x4f0 [ 9.749039][ T173] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 9.749044][ T173] ? do_init_module+0xae/0x8a0 [ 9.749046][ T173] ? kasan_unpoison+0x44/0x70 [ 9.749051][ T173] do_init_module+0x2ad/0x8a0 [ 9.749054][ T173] ? lockdep_hardirqs_on+0x91/0x130 [ 9.749057][ T173] ? free_module+0x470/0x470 [ 9.749060][ T173] ? kfree+0x123/0x590 [ 9.749064][ T173] load_module+0x154b/0x1d60 [ 9.749071][ T173] ? layout_and_allocate.isra.0+0x680/0x680 [ 9.749076][ T173] ? backing_file_read_iter+0x541/0x790 [ 9.749079][ T173] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.749083][ T173] init_module_from_file+0x11f/0x1a0 [ 9.749085][ T173] ? __ia32_sys_init_module+0xc0/0xc0 [ 9.749093][ T173] ? __rwlock_init+0x150/0x150 [ 9.749097][ T173] ? do_raw_spin_unlock+0x59/0x250 [ 9.749100][ T173] idempotent_init_module+0x37b/0x7c0 [ 9.749103][ T173] ? init_module_from_file+0x1a0/0x1a0 [ 9.749109][ T173] ? rcu_is_watching+0x16/0xd0 [ 9.749111][ T173] ? cap_capable+0x1d7/0x3d0 [ 9.749116][ T173] __x64_sys_finit_module+0xdf/0x190 [ 9.749118][ T173] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.749122][ T173] do_syscall_64+0x10e/0x570 [ 9.749124][ T173] ? irq_exit_rcu+0x1a/0x30 [ 9.749126][ T173] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.749129][ T173] RIP: 0033:0x7fc1d0ddf37d [ 9.749132][ 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.749134][ T173] RSP: 002b:00007fffae30a4c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 9.749137][ T173] RAX: ffffffffffffffda RBX: 000055f499d8b9c0 RCX: 00007fc1d0ddf37d [ 9.749138][ T173] RDX: 0000000000000000 RSI: 000055f47948dffd RDI: 0000000000000007 [ 9.749139][ T173] RBP: 00007fffae30a560 R08: 0000000000000000 R09: 0000000000000000 [ 9.749140][ T173] R10: 0000000000000000 R11: 0000000000000246 R12: 000055f47948dffd [ 9.749140][ T173] R13: 000055f499d8bae0 R14: 0000000000040000 R15: 0000000000000000 [ 9.749147][ T173] [ 30.410444][ C1] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 30.410477][ C1] [ 30.410478][ C1] ======================================================== [ 30.410479][ C1] WARNING: possible irq lock inversion dependency detected [ 30.410481][ C1] 7.2.0-virtme #1 Tainted: G W [ 30.410483][ C1] -------------------------------------------------------- [ 30.410484][ C1] connect_close/349 just changed the state of lock: [ 30.410485][ C1] ffffffff89a89de0 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 30.410496][ C1] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 30.410498][ C1] (fs_reclaim){+.+.}-{0:0} [ 30.410499][ C1] [ 30.410499][ C1] [ 30.410499][ C1] and interrupts could create inverse lock ordering between them. [ 30.410499][ C1] [ 30.410500][ C1] [ 30.410500][ C1] other info that might help us debug this: [ 30.410501][ C1] Possible interrupt unsafe locking scenario: [ 30.410501][ C1] [ 30.410502][ C1] CPU0 CPU1 [ 30.410502][ C1] ---- ---- [ 30.410502][ C1] lock(fs_reclaim); [ 30.410504][ C1] local_irq_disable(); [ 30.410504][ C1] lock(console_owner); [ 30.410505][ C1] lock(fs_reclaim); [ 30.410506][ C1] [ 30.410507][ C1] lock(console_owner); [ 30.410508][ C1] [ 30.410508][ C1] *** DEADLOCK *** [ 30.410508][ C1] [ 30.410508][ C1] locks held by connect_close/349: 9, last CPU#1: [ 30.410509][ C1] #0: ff11000010b53890 (sk_lock-AF_INET){+.+.}-{0:0}, at: inet_stream_connect+0x44/0xb0 [ 30.410516][ C1] #1: ffffffff89b81280 (rcu_read_lock){....}-{1:3}, at: __ip_queue_xmit+0x63/0x1650 [ 30.410521][ C1] #2: ffffffff89b81280 (rcu_read_lock){....}-{1:3}, at: ip_output+0xa9/0x660 [ 30.410524][ C1] #3: ffffffff89b81280 (rcu_read_lock){....}-{1:3}, at: ip_finish_output2+0x25c/0x1bc0 [ 30.410527][ C1] #4: ffffffff89b81280 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 30.410531][ C1] #5: ffffffff89b81280 (rcu_read_lock){....}-{1:3}, at: ip_local_deliver_finish+0x2ba/0x610 [ 30.410534][ C1] #6: ffffffff89b81280 (rcu_read_lock){....}-{1:3}, at: tcp_rcv_listen_state_process+0x108/0x380 [ 30.410539][ C1] #7: ffffffff89b6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 30.410542][ C1] #8: ffffffff89b6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 30.410544][ C1] [ 30.410544][ C1] the shortest dependencies between 2nd lock and 1st lock: [ 30.410549][ C1] -> (fs_reclaim){+.+.}-{0:0} { [ 30.410552][ C1] HARDIRQ-ON-W at: [ 30.410553][ C1] __lock_acquire+0x388/0xc20 [ 30.410557][ C1] lock_acquire.part.0+0xd4/0x280 [ 30.410559][ C1] fs_reclaim_acquire+0xd5/0x120 [ 30.410562][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 30.410564][ C1] kthread_create_worker_on_node+0xea/0x210 [ 30.410568][ C1] workqueue_init+0x2a/0x680 [ 30.410571][ C1] kernel_init_freeable+0x2fe/0x630 [ 30.410574][ C1] kernel_init+0x21/0x150 [ 30.410577][ C1] ret_from_fork+0x4a4/0x720 [ 30.410580][ C1] ret_from_fork_asm+0x11/0x20 [ 30.410583][ C1] SOFTIRQ-ON-W at: [ 30.410584][ C1] __lock_acquire+0x388/0xc20 [ 30.410586][ C1] lock_acquire.part.0+0xd4/0x280 [ 30.410588][ C1] fs_reclaim_acquire+0xd5/0x120 [ 30.410589][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 30.410590][ C1] kthread_create_worker_on_node+0xea/0x210 [ 30.410592][ C1] workqueue_init+0x2a/0x680 [ 30.410593][ C1] kernel_init_freeable+0x2fe/0x630 [ 30.410595][ C1] kernel_init+0x21/0x150 [ 30.410596][ C1] ret_from_fork+0x4a4/0x720 [ 30.410597][ C1] ret_from_fork_asm+0x11/0x20 [ 30.410599][ C1] INITIAL USE at: [ 30.410600][ C1] __lock_acquire+0x388/0xc20 [ 30.410601][ C1] lock_acquire.part.0+0xd4/0x280 [ 30.410603][ C1] fs_reclaim_acquire+0xd5/0x120 [ 30.410604][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 30.410606][ C1] kthread_create_worker_on_node+0xea/0x210 [ 30.410607][ C1] workqueue_init+0x2a/0x680 [ 30.410609][ C1] kernel_init_freeable+0x2fe/0x630 [ 30.410610][ C1] kernel_init+0x21/0x150 [ 30.410611][ C1] ret_from_fork+0x4a4/0x720 [ 30.410613][ C1] ret_from_fork_asm+0x11/0x20 [ 30.410614][ C1] } [ 30.410615][ C1] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 30.410619][ C1] ... acquired at: [ 30.410620][ C1] __lock_acquire+0x518/0xc20 [ 30.410622][ C1] lock_acquire.part.0+0xd4/0x280 [ 30.410623][ C1] fs_reclaim_acquire+0xd5/0x120 [ 30.410625][ C1] __kmalloc_noprof+0xd3/0x760 [ 30.410626][ C1] alloc_buf.isra.0+0x4b/0x260 [ 30.410630][ C1] put_chars+0x1e1/0x2f0 [ 30.410631][ C1] hvc_console_print+0x292/0x780 [ 30.410633][ C1] console_emit_next_record+0x22f/0x4c0 [ 30.410634][ C1] console_flush_one_record+0x46f/0x710 [ 30.410635][ C1] console_unlock+0xee/0x1f0 [ 30.410636][ C1] vprintk_emit+0x37c/0x3e0 [ 30.410637][ C1] _printk+0xc7/0x100 [ 30.410640][ C1] dm_interface_init+0x50/0x60 [ 30.410643][ C1] dm_init+0x51/0xd0 [ 30.410644][ C1] do_one_initcall+0x124/0x4f0 [ 30.410646][ C1] kernel_init_freeable+0x596/0x630 [ 30.410647][ C1] kernel_init+0x21/0x150 [ 30.410648][ C1] ret_from_fork+0x4a4/0x720 [ 30.410650][ C1] ret_from_fork_asm+0x11/0x20 [ 30.410651][ C1] [ 30.410652][ C1] -> (console_owner){..-.}-{0:0} { [ 30.410653][ C1] IN-SOFTIRQ-W at: [ 30.410654][ C1] __lock_acquire+0x388/0xc20 [ 30.410656][ C1] lock_acquire.part.0+0xd4/0x280 [ 30.410658][ C1] console_lock_spinning_enable+0x5c/0x60 [ 30.410659][ C1] console_emit_next_record+0x1d1/0x4c0 [ 30.410660][ C1] console_flush_one_record+0x46f/0x710 [ 30.410661][ C1] console_unlock+0xee/0x1f0 [ 30.410662][ C1] vprintk_emit+0x37c/0x3e0 [ 30.410663][ C1] _printk+0xc7/0x100 [ 30.410664][ C1] tcp_syn_flood_action.cold+0xb4/0xe5 [ 30.410668][ C1] tcp_conn_request+0x13ff/0x2c00 [ 30.410669][ C1] tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.410671][ C1] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 30.410673][ C1] tcp_v4_rcv+0x2881/0x2ef0 [ 30.410674][ C1] ip_protocol_deliver_rcu+0x82/0x350 [ 30.410676][ C1] ip_local_deliver_finish+0x36f/0x610 [ 30.410677][ C1] ip_local_deliver+0x184/0x4c0 [ 30.410678][ C1] ip_rcv+0xdc/0x3d0 [ 30.410679][ C1] __netif_receive_skb_one_core+0xfc/0x180 [ 30.410681][ C1] process_backlog+0x431/0x14c0 [ 30.410683][ C1] __napi_poll+0xa7/0x3b0 [ 30.410684][ C1] net_rx_action+0x513/0xf50 [ 30.410686][ C1] handle_softirqs+0x1d3/0x900 [ 30.410688][ C1] do_softirq+0xac/0xe0 [ 30.410690][ C1] __local_bh_enable_ip+0x118/0x150 [ 30.410691][ C1] __dev_queue_xmit+0x979/0x1b80 [ 30.410693][ C1] ip_finish_output2+0xd9b/0x1bc0 [ 30.410694][ C1] ip_output+0x1ca/0x660 [ 30.410695][ C1] __ip_queue_xmit+0x774/0x1650 [ 30.410697][ C1] __tcp_transmit_skb+0x1ad9/0x3a70 [ 30.410699][ C1] tcp_connect+0xec4/0x1880 [ 30.410700][ C1] tcp_v4_connect+0x12bd/0x1960 [ 30.410702][ C1] __inet_stream_connect+0x2ed/0xd00 [ 30.410703][ C1] inet_stream_connect+0x59/0xb0 [ 30.410705][ C1] __sys_connect+0x1c1/0x2c0 [ 30.410707][ C1] __x64_sys_connect+0x72/0xd0 [ 30.410709][ C1] do_syscall_64+0x10e/0x570 [ 30.410711][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.410712][ C1] INITIAL USE at: [ 30.410713][ C1] } [ 30.410714][ C1] ... key at: [] console_owner_dep_map+0x0/0x60 [ 30.410717][ C1] ... acquired at: [ 30.410718][ C1] mark_lock+0x1d7/0xa00 [ 30.410719][ C1] mark_usage+0x42/0x170 [ 30.410721][ C1] __lock_acquire+0x388/0xc20 [ 30.410722][ C1] lock_acquire.part.0+0xd4/0x280 [ 30.410724][ C1] console_lock_spinning_enable+0x5c/0x60 [ 30.410725][ C1] console_emit_next_record+0x1d1/0x4c0 [ 30.410726][ C1] console_flush_one_record+0x46f/0x710 [ 30.410727][ C1] console_unlock+0xee/0x1f0 [ 30.410728][ C1] vprintk_emit+0x37c/0x3e0 [ 30.410729][ C1] _printk+0xc7/0x100 [ 30.410730][ C1] tcp_syn_flood_action.cold+0xb4/0xe5 [ 30.410732][ C1] tcp_conn_request+0x13ff/0x2c00 [ 30.410734][ C1] tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.410735][ C1] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 30.410737][ C1] tcp_v4_rcv+0x2881/0x2ef0 [ 30.410738][ C1] ip_protocol_deliver_rcu+0x82/0x350 [ 30.410739][ C1] ip_local_deliver_finish+0x36f/0x610 [ 30.410740][ C1] ip_local_deliver+0x184/0x4c0 [ 30.410741][ C1] ip_rcv+0xdc/0x3d0 [ 30.410742][ C1] __netif_receive_skb_one_core+0xfc/0x180 [ 30.410744][ C1] process_backlog+0x431/0x14c0 [ 30.410745][ C1] __napi_poll+0xa7/0x3b0 [ 30.410747][ C1] net_rx_action+0x513/0xf50 [ 30.410748][ C1] handle_softirqs+0x1d3/0x900 [ 30.410749][ C1] do_softirq+0xac/0xe0 [ 30.410751][ C1] __local_bh_enable_ip+0x118/0x150 [ 30.410752][ C1] __dev_queue_xmit+0x979/0x1b80 [ 30.410754][ C1] ip_finish_output2+0xd9b/0x1bc0 [ 30.410755][ C1] ip_output+0x1ca/0x660 [ 30.410756][ C1] __ip_queue_xmit+0x774/0x1650 [ 30.410758][ C1] __tcp_transmit_skb+0x1ad9/0x3a70 [ 30.410759][ C1] tcp_connect+0xec4/0x1880 [ 30.410761][ C1] tcp_v4_connect+0x12bd/0x1960 [ 30.410762][ C1] __inet_stream_connect+0x2ed/0xd00 [ 30.410763][ C1] inet_stream_connect+0x59/0xb0 [ 30.410765][ C1] __sys_connect+0x1c1/0x2c0 [ 30.410766][ C1] __x64_sys_connect+0x72/0xd0 [ 30.410768][ C1] do_syscall_64+0x10e/0x570 [ 30.410769][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.410770][ C1] [ 30.410770][ C1] [ 30.410770][ C1] stack backtrace: [ 30.410773][ C1] CPU: 1 UID: 0 PID: 349 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.410776][ C1] Tainted: [W]=WARN [ 30.410777][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.410779][ C1] Call Trace: [ 30.410780][ C1] [ 30.410781][ C1] dump_stack_lvl+0x6f/0xa0 [ 30.410785][ C1] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 30.410787][ C1] mark_lock_irq+0x989/0x9c0 [ 30.410790][ C1] mark_lock+0x1d7/0xa00 [ 30.410793][ C1] mark_usage+0x42/0x170 [ 30.410794][ C1] __lock_acquire+0x388/0xc20 [ 30.410797][ C1] lock_acquire.part.0+0xd4/0x280 [ 30.410799][ C1] ? console_lock_spinning_enable+0x40/0x60 [ 30.410800][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.410803][ C1] ? lock_acquire+0x13c/0x160 [ 30.410805][ C1] console_lock_spinning_enable+0x5c/0x60 [ 30.410807][ C1] ? console_lock_spinning_enable+0x40/0x60 [ 30.410808][ C1] console_emit_next_record+0x1d1/0x4c0 [ 30.410809][ C1] ? devkmsg_read+0x4b0/0x4b0 [ 30.410811][ C1] ? console_flush_one_record+0x106/0x710 [ 30.410812][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.410813][ C1] ? lock_acquire+0x13c/0x160 [ 30.410816][ C1] console_flush_one_record+0x46f/0x710 [ 30.410817][ C1] ? console_emit_next_record+0x4c0/0x4c0 [ 30.410819][ C1] ? __lock_acquire+0x518/0xc20 [ 30.410821][ C1] console_unlock+0xee/0x1f0 [ 30.410823][ C1] ? console_flush_one_record+0x710/0x710 [ 30.410824][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.410825][ C1] ? lock_acquire+0x60/0x160 [ 30.410827][ C1] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.410830][ C1] ? vprintk_emit+0x320/0x3e0 [ 30.410831][ C1] vprintk_emit+0x37c/0x3e0 [ 30.410833][ C1] ? wake_up_klogd_work_func+0x90/0x90 [ 30.410834][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 30.410837][ C1] _printk+0xc7/0x100 [ 30.410838][ C1] ? snapshot_read.cold+0x21/0x21 [ 30.410840][ C1] ? ___ratelimit+0x4e7/0xa00 [ 30.410843][ C1] ? idr_get_free+0x830/0x830 [ 30.410845][ C1] tcp_syn_flood_action.cold+0xb4/0xe5 [ 30.410847][ C1] tcp_conn_request+0x13ff/0x2c00 [ 30.410849][ C1] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 30.410851][ C1] ? reuseport_select_sock+0x19e/0x3c0 [ 30.410854][ C1] ? reuseport_select_sock+0xe1/0x3c0 [ 30.410856][ C1] ? __lock_acquire+0x518/0xc20 [ 30.410858][ C1] ? tcp_get_syncookie_mss+0x300/0x300 [ 30.410860][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.410862][ C1] ? __lock_acquire+0x518/0xc20 [ 30.410864][ C1] ? save_trace+0x1f7/0x280 [ 30.410866][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.410868][ C1] ? lock_acquire+0x13c/0x160 [ 30.410870][ C1] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.410871][ C1] tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.410873][ C1] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 30.410875][ C1] ? tcp_v4_fill_cb+0x33/0x430 [ 30.410876][ C1] tcp_v4_rcv+0x2881/0x2ef0 [ 30.410879][ C1] ? mark_usage+0x61/0x170 [ 30.410881][ C1] ? tcp_add_backlog+0x1e30/0x1e30 [ 30.410883][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.410885][ C1] ? ip_local_deliver_finish+0x2ba/0x610 [ 30.410886][ C1] ip_protocol_deliver_rcu+0x82/0x350 [ 30.410888][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.410890][ C1] ip_local_deliver_finish+0x36f/0x610 [ 30.410892][ C1] ip_local_deliver+0x184/0x4c0 [ 30.410893][ C1] ? ip_local_deliver_finish+0x610/0x610 [ 30.410895][ C1] ? ip_protocol_deliver_rcu+0x350/0x350 [ 30.410896][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 30.410899][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.410900][ C1] ip_rcv+0xdc/0x3d0 [ 30.410902][ C1] ? ip_local_deliver+0x4c0/0x4c0 [ 30.410903][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.410905][ C1] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 30.410906][ C1] ? __lock_acquire+0x518/0xc20 [ 30.410910][ C1] ? perf_trace_rcu_grace_period_init+0x227/0x580 [ 30.410913][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.410914][ C1] __netif_receive_skb_one_core+0xfc/0x180 [ 30.410916][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.410918][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.410920][ C1] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 30.410921][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.410923][ C1] process_backlog+0x431/0x14c0 [ 30.410926][ C1] __napi_poll+0xa7/0x3b0 [ 30.410928][ C1] net_rx_action+0x513/0xf50 [ 30.410931][ C1] ? __lock_acquire+0x518/0xc20 [ 30.410932][ C1] ? __napi_poll+0x3b0/0x3b0 [ 30.410936][ C1] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 30.410939][ C1] ? mark_held_locks+0x40/0x70 [ 30.410941][ C1] handle_softirqs+0x1d3/0x900 [ 30.410944][ C1] ? _local_bh_enable+0xc0/0xc0 [ 30.410945][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 30.410948][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.410949][ C1] ? __dev_queue_xmit+0x964/0x1b80 [ 30.410951][ C1] do_softirq+0xac/0xe0 [ 30.410952][ C1] [ 30.410953][ C1] [ 30.410954][ C1] __local_bh_enable_ip+0x118/0x150 [ 30.410955][ C1] __dev_queue_xmit+0x979/0x1b80 [ 30.410958][ C1] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 30.410960][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.410962][ C1] ? find_held_lock+0x2b/0x80 [ 30.410964][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 30.410966][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.410967][ C1] ? mark_held_locks+0x40/0x70 [ 30.410969][ C1] ? __asan_memcpy+0x3c/0x60 [ 30.410971][ C1] ? neigh_hh_output+0x152/0x4c0 [ 30.410973][ C1] ip_finish_output2+0xd9b/0x1bc0 [ 30.410975][ C1] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 30.410977][ C1] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 30.410979][ C1] ip_output+0x1ca/0x660 [ 30.410988][ C1] ? ip_finish_output+0x460/0x460 [ 30.410989][ C1] ? find_held_lock+0x2b/0x80 [ 30.410991][ C1] ? __ip_finish_output+0x720/0x720 [ 30.410993][ C1] ? ip4_dst_hoplimit+0x15b/0x320 [ 30.410995][ C1] __ip_queue_xmit+0x774/0x1650 [ 30.410997][ C1] __tcp_transmit_skb+0x1ad9/0x3a70 [ 30.411000][ C1] ? tcp_call_bpf+0x201/0x2e0 [ 30.411002][ C1] ? tcp_clone_payload+0x10b0/0x10b0 [ 30.411004][ C1] ? __tcp_select_window+0xf20/0xf20 [ 30.411006][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 30.411008][ C1] ? ktime_get+0x18e/0x2d0 [ 30.411011][ C1] ? kvm_clock_get_cycles+0x19/0x30 [ 30.411014][ C1] ? ktime_get+0x1dd/0x2d0 [ 30.411017][ C1] tcp_connect+0xec4/0x1880 [ 30.411021][ C1] tcp_v4_connect+0x12bd/0x1960 [ 30.411024][ C1] ? established_get_first+0x6b0/0x6b0 [ 30.411026][ C1] ? do_raw_spin_lock+0x131/0x280 [ 30.411028][ C1] ? find_held_lock+0x2b/0x80 [ 30.411030][ C1] __inet_stream_connect+0x2ed/0xd00 [ 30.411032][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 30.411034][ C1] inet_stream_connect+0x59/0xb0 [ 30.411036][ C1] __sys_connect+0x1c1/0x2c0 [ 30.411038][ C1] ? do_fcntl+0x36f/0xc50 [ 30.411041][ C1] ? __sys_connect_file+0x250/0x250 [ 30.411044][ C1] ? fdget_raw+0x4f/0x190 [ 30.411046][ C1] __x64_sys_connect+0x72/0xd0 [ 30.411048][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 30.411050][ C1] ? do_syscall_64+0xa6/0x570 [ 30.411051][ C1] do_syscall_64+0x10e/0x570 [ 30.411053][ C1] ? exc_page_fault+0xee/0x100 [ 30.411055][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.411056][ C1] RIP: 0033:0x7f7a2c94f54e [ 30.411059][ 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.411061][ C1] RSP: 002b:00007ffd2232da80 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 30.411063][ C1] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7a2c94f54e [ 30.411065][ C1] RDX: 0000000000000010 RSI: 00007ffd2232db10 RDI: 0000000000000005 [ 30.411066][ C1] RBP: 00007ffd2232da90 R08: 0000000000000000 R09: 0000000000000000 [ 30.411067][ C1] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffd2232dc88 [ 30.411068][ C1] R13: 0000000000000005 R14: 00007f7a2cb20000 R15: 0000000000402e00 [ 30.411070][ C1] [ 30.411074][ C1] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.411075][ C1] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 349, name: connect_close [ 30.411076][ C1] preempt_count: 302, expected: 0 [ 30.411077][ C1] RCU nest depth: 6, expected: 0 [ 30.411078][ C1] INFO: lockdep is turned off. [ 30.411078][ C1] irq event stamp: 117135 [ 30.411079][ C1] hardirqs last enabled at (117134): [] __down_trylock_console_sem+0x86/0xa0 [ 30.411082][ C1] hardirqs last disabled at (117135): [] console_emit_next_record+0x3d4/0x4c0 [ 30.411084][ C1] softirqs last enabled at (117118): [] __dev_queue_xmit+0x964/0x1b80 [ 30.411085][ C1] softirqs last disabled at (117119): [] do_softirq+0xac/0xe0 [ 30.411087][ C1] Preemption disabled at: [ 30.411088][ C1] [] __dev_queue_xmit+0x204/0x1b80 [ 30.411091][ C1] CPU: 1 UID: 0 PID: 349 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.411093][ C1] Tainted: [W]=WARN [ 30.411093][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.411094][ C1] Call Trace: [ 30.411094][ C1] [ 30.411095][ C1] dump_stack_lvl+0x6f/0xa0 [ 30.411097][ C1] ? __dev_queue_xmit+0x204/0x1b80 [ 30.411098][ C1] __might_resched.cold+0x1fe/0x2c1 [ 30.411102][ C1] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.411104][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.411106][ C1] __kmalloc_noprof+0x443/0x760 [ 30.411107][ C1] ? __rwlock_init+0x150/0x150 [ 30.411109][ C1] ? alloc_buf.isra.0+0x4b/0x260 [ 30.411111][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 30.411113][ C1] alloc_buf.isra.0+0x4b/0x260 [ 30.411115][ C1] put_chars+0x1e1/0x2f0 [ 30.411117][ C1] ? __send_to_port+0x420/0x420 [ 30.411120][ C1] hvc_console_print+0x292/0x780 [ 30.411121][ C1] ? mark_usage+0x42/0x170 [ 30.411123][ C1] ? __lock_acquire+0x388/0xc20 [ 30.411125][ C1] ? hvc_write+0x3a0/0x3a0 [ 30.411127][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.411129][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.411130][ C1] ? lock_acquire+0x13c/0x160 [ 30.411132][ C1] console_emit_next_record+0x22f/0x4c0 [ 30.411134][ C1] ? devkmsg_read+0x4b0/0x4b0 [ 30.411135][ C1] ? console_flush_one_record+0x106/0x710 [ 30.411137][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.411138][ C1] ? lock_acquire+0x13c/0x160 [ 30.411140][ C1] console_flush_one_record+0x46f/0x710 [ 30.411142][ C1] ? console_emit_next_record+0x4c0/0x4c0 [ 30.411143][ C1] ? __lock_acquire+0x518/0xc20 [ 30.411145][ C1] console_unlock+0xee/0x1f0 [ 30.411147][ C1] ? console_flush_one_record+0x710/0x710 [ 30.411148][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.411149][ C1] ? lock_acquire+0x60/0x160 [ 30.411151][ C1] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.411153][ C1] ? vprintk_emit+0x320/0x3e0 [ 30.411155][ C1] vprintk_emit+0x37c/0x3e0 [ 30.411156][ C1] ? wake_up_klogd_work_func+0x90/0x90 [ 30.411158][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 30.411160][ C1] _printk+0xc7/0x100 [ 30.411162][ C1] ? snapshot_read.cold+0x21/0x21 [ 30.411163][ C1] ? ___ratelimit+0x4e7/0xa00 [ 30.411165][ C1] ? idr_get_free+0x830/0x830 [ 30.411167][ C1] tcp_syn_flood_action.cold+0xb4/0xe5 [ 30.411169][ C1] tcp_conn_request+0x13ff/0x2c00 [ 30.411171][ C1] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 30.411173][ C1] ? reuseport_select_sock+0x19e/0x3c0 [ 30.411175][ C1] ? reuseport_select_sock+0xe1/0x3c0 [ 30.411177][ C1] ? __lock_acquire+0x518/0xc20 [ 30.411179][ C1] ? tcp_get_syncookie_mss+0x300/0x300 [ 30.411181][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.411183][ C1] ? __lock_acquire+0x518/0xc20 [ 30.411184][ C1] ? save_trace+0x1f7/0x280 [ 30.411187][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.411188][ C1] ? lock_acquire+0x13c/0x160 [ 30.411190][ C1] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.411192][ C1] tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.411194][ C1] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 30.411195][ C1] ? tcp_v4_fill_cb+0x33/0x430 [ 30.411197][ C1] tcp_v4_rcv+0x2881/0x2ef0 [ 30.411199][ C1] ? mark_usage+0x61/0x170 [ 30.411201][ C1] ? tcp_add_backlog+0x1e30/0x1e30 [ 30.411203][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.411205][ C1] ? ip_local_deliver_finish+0x2ba/0x610 [ 30.411206][ C1] ip_protocol_deliver_rcu+0x82/0x350 [ 30.411208][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.411210][ C1] ip_local_deliver_finish+0x36f/0x610 [ 30.411211][ C1] ip_local_deliver+0x184/0x4c0 [ 30.411213][ C1] ? ip_local_deliver_finish+0x610/0x610 [ 30.411215][ C1] ? ip_protocol_deliver_rcu+0x350/0x350 [ 30.411216][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 30.411218][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.411220][ C1] ip_rcv+0xdc/0x3d0 [ 30.411221][ C1] ? ip_local_deliver+0x4c0/0x4c0 [ 30.411222][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.411224][ C1] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 30.411225][ C1] ? __lock_acquire+0x518/0xc20 [ 30.411227][ C1] ? perf_trace_rcu_grace_period_init+0x227/0x580 [ 30.411229][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.411231][ C1] __netif_receive_skb_one_core+0xfc/0x180 [ 30.411232][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.411234][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.411236][ C1] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 30.411238][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.411239][ C1] process_backlog+0x431/0x14c0 [ 30.411242][ C1] __napi_poll+0xa7/0x3b0 [ 30.411244][ C1] net_rx_action+0x513/0xf50 [ 30.411246][ C1] ? __lock_acquire+0x518/0xc20 [ 30.411248][ C1] ? __napi_poll+0x3b0/0x3b0 [ 30.411252][ C1] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 30.411254][ C1] ? mark_held_locks+0x40/0x70 [ 30.411256][ C1] handle_softirqs+0x1d3/0x900 [ 30.411258][ C1] ? _local_bh_enable+0xc0/0xc0 [ 30.411260][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 30.411262][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.411263][ C1] ? __dev_queue_xmit+0x964/0x1b80 [ 30.411265][ C1] do_softirq+0xac/0xe0 [ 30.411266][ C1] [ 30.411267][ C1] [ 30.411267][ C1] __local_bh_enable_ip+0x118/0x150 [ 30.411269][ C1] __dev_queue_xmit+0x979/0x1b80 [ 30.411272][ C1] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 30.411274][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.411275][ C1] ? find_held_lock+0x2b/0x80 [ 30.411277][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 30.411279][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.411280][ C1] ? mark_held_locks+0x40/0x70 [ 30.411282][ C1] ? __asan_memcpy+0x3c/0x60 [ 30.411283][ C1] ? neigh_hh_output+0x152/0x4c0 [ 30.411285][ C1] ip_finish_output2+0xd9b/0x1bc0 [ 30.411287][ C1] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 30.411289][ C1] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 30.411291][ C1] ip_output+0x1ca/0x660 [ 30.411293][ C1] ? ip_finish_output+0x460/0x460 [ 30.411294][ C1] ? find_held_lock+0x2b/0x80 [ 30.411296][ C1] ? __ip_finish_output+0x720/0x720 [ 30.411298][ C1] ? ip4_dst_hoplimit+0x15b/0x320 [ 30.411300][ C1] __ip_queue_xmit+0x774/0x1650 [ 30.411302][ C1] __tcp_transmit_skb+0x1ad9/0x3a70 [ 30.411305][ C1] ? tcp_call_bpf+0x201/0x2e0 [ 30.411306][ C1] ? tcp_clone_payload+0x10b0/0x10b0 [ 30.411308][ C1] ? __tcp_select_window+0xf20/0xf20 [ 30.411310][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 30.411312][ C1] ? ktime_get+0x18e/0x2d0 [ 30.411314][ C1] ? kvm_clock_get_cycles+0x19/0x30 [ 30.411315][ C1] ? ktime_get+0x1dd/0x2d0 [ 30.411317][ C1] tcp_connect+0xec4/0x1880 [ 30.411320][ C1] tcp_v4_connect+0x12bd/0x1960 [ 30.411322][ C1] ? established_get_first+0x6b0/0x6b0 [ 30.411324][ C1] ? do_raw_spin_lock+0x131/0x280 [ 30.411325][ C1] ? find_held_lock+0x2b/0x80 [ 30.411327][ C1] __inet_stream_connect+0x2ed/0xd00 [ 30.411330][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 30.411332][ C1] inet_stream_connect+0x59/0xb0 [ 30.411334][ C1] __sys_connect+0x1c1/0x2c0 [ 30.411336][ C1] ? do_fcntl+0x36f/0xc50 [ 30.411337][ C1] ? __sys_connect_file+0x250/0x250 [ 30.411340][ C1] ? fdget_raw+0x4f/0x190 [ 30.411342][ C1] __x64_sys_connect+0x72/0xd0 [ 30.411344][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 30.411345][ C1] ? do_syscall_64+0xa6/0x570 [ 30.411347][ C1] do_syscall_64+0x10e/0x570 [ 30.411348][ C1] ? exc_page_fault+0xee/0x100 [ 30.411350][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.411351][ C1] RIP: 0033:0x7f7a2c94f54e [ 30.411353][ 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.411354][ C1] RSP: 002b:00007ffd2232da80 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 30.411355][ C1] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7a2c94f54e [ 30.411356][ C1] RDX: 0000000000000010 RSI: 00007ffd2232db10 RDI: 0000000000000005 [ 30.411357][ C1] RBP: 00007ffd2232da90 R08: 0000000000000000 R09: 0000000000000000 [ 30.411357][ C1] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffd2232dc88 [ 30.411358][ C1] R13: 0000000000000005 R14: 00007f7a2cb20000 R15: 0000000000402e00 [ 30.411361][ C1] [ 30.542616][ C2] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.075632][ C1] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.179863][ C1] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.364192][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.393010][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.413816][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.413828][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.413830][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 349, name: connect_close [ 31.413831][ C0] preempt_count: 302, expected: 0 [ 31.413832][ C0] RCU nest depth: 6, expected: 0 [ 31.413833][ C0] INFO: lockdep is turned off. [ 31.413835][ C0] irq event stamp: 117135 [ 31.413835][ C0] hardirqs last enabled at (117134): [] __down_trylock_console_sem+0x86/0xa0 [ 31.413844][ C0] hardirqs last disabled at (117135): [] console_emit_next_record+0x3d4/0x4c0 [ 31.413846][ C0] softirqs last enabled at (117118): [] __dev_queue_xmit+0x964/0x1b80 [ 31.413850][ C0] softirqs last disabled at (117119): [] do_softirq+0xac/0xe0 [ 31.413855][ C0] Preemption disabled at: [ 31.413855][ C0] [] __dev_queue_xmit+0x204/0x1b80 [ 31.413861][ C0] CPU: 0 UID: 0 PID: 349 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.413865][ C0] Tainted: [W]=WARN [ 31.413866][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.413868][ C0] Call Trace: [ 31.413870][ C0] [ 31.413871][ C0] dump_stack_lvl+0x6f/0xa0 [ 31.413875][ C0] ? __dev_queue_xmit+0x204/0x1b80 [ 31.413877][ C0] __might_resched.cold+0x1fe/0x2c1 [ 31.413881][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.413883][ C0] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 31.413885][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.413889][ C0] __kmalloc_noprof+0x443/0x760 [ 31.413892][ C0] ? __rwlock_init+0x150/0x150 [ 31.413895][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 31.413899][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 31.413901][ C0] alloc_buf.isra.0+0x4b/0x260 [ 31.413903][ C0] put_chars+0x1e1/0x2f0 [ 31.413905][ C0] ? prb_final_commit+0x50/0x50 [ 31.413907][ C0] ? __send_to_port+0x420/0x420 [ 31.413909][ C0] ? printk_get_next_message+0x240/0x650 [ 31.413911][ C0] hvc_console_print+0x292/0x780 [ 31.413915][ C0] ? hvc_write+0x3a0/0x3a0 [ 31.413917][ C0] ? do_raw_spin_lock+0x131/0x280 [ 31.413918][ C0] ? vsnprintf+0x668/0x1700 [ 31.413922][ C0] ? __rwlock_init+0x150/0x150 [ 31.413924][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.413925][ C0] ? lock_acquire+0x13c/0x160 [ 31.413928][ C0] console_emit_next_record+0x22f/0x4c0 [ 31.413930][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 31.413931][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.413932][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.413933][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.413935][ C0] ? lock_acquire+0x13c/0x160 [ 31.413937][ C0] ? console_flush_one_record+0x111/0x710 [ 31.413938][ C0] console_flush_one_record+0x46f/0x710 [ 31.413940][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 31.413942][ C0] console_unlock+0xee/0x1f0 [ 31.413943][ C0] ? lock_acquire+0x13c/0x160 [ 31.413945][ C0] ? console_flush_one_record+0x710/0x710 [ 31.413946][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.413947][ C0] ? lock_release+0x184/0x1f0 [ 31.413949][ C0] ? lock_acquire+0x60/0x160 [ 31.413950][ C0] ? __rcu_read_lock+0x30/0x70 [ 31.413952][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.413954][ C0] ? vprintk_emit+0x320/0x3e0 [ 31.413955][ C0] vprintk_emit+0x37c/0x3e0 [ 31.413957][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 31.413958][ C0] ? do_raw_spin_trylock+0xb6/0x180 [ 31.413960][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.413962][ C0] ? lock_acquire+0x13c/0x160 [ 31.413964][ C0] _printk+0xc7/0x100 [ 31.413967][ C0] ? snapshot_read.cold+0x21/0x21 [ 31.413968][ C0] ? ___ratelimit+0x4e7/0xa00 [ 31.413971][ C0] ? idr_get_free+0x830/0x830 [ 31.413973][ C0] tcp_syn_flood_action.cold+0xb4/0xe5 [ 31.413976][ C0] tcp_conn_request+0x13ff/0x2c00 [ 31.413980][ C0] ? lock_acquire+0x13c/0x160 [ 31.413982][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.413983][ C0] ? lock_release+0x184/0x1f0 [ 31.413985][ C0] ? reuseport_select_sock+0xe1/0x3c0 [ 31.413995][ C0] ? tcp_get_syncookie_mss+0x300/0x300 [ 31.413997][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.414000][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.414001][ C0] ? lock_acquire+0x13c/0x160 [ 31.414003][ C0] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 31.414005][ C0] tcp_rcv_listen_state_process+0x1ab/0x380 [ 31.414007][ C0] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 31.414010][ C0] ? tcp_v4_fill_cb+0x33/0x430 [ 31.414012][ C0] tcp_v4_rcv+0x2881/0x2ef0 [ 31.414017][ C0] ? tcp_add_backlog+0x1e30/0x1e30 [ 31.414020][ C0] ? pick_eevdf+0x1b0/0x800 [ 31.414023][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.414025][ C0] ? process_backlog+0x3f1/0x14c0 [ 31.414027][ C0] ip_protocol_deliver_rcu+0x82/0x350 [ 31.414030][ C0] ? process_backlog+0x3f1/0x14c0 [ 31.414031][ C0] ip_local_deliver_finish+0x36f/0x610 [ 31.414033][ C0] ? lock_release+0x184/0x1f0 [ 31.414035][ C0] ip_local_deliver+0x184/0x4c0 [ 31.414036][ C0] ? ip_local_deliver_finish+0x610/0x610 [ 31.414038][ C0] ? ip_protocol_deliver_rcu+0x350/0x350 [ 31.414039][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.414041][ C0] ? process_backlog+0x3f1/0x14c0 [ 31.414043][ C0] ip_rcv+0xdc/0x3d0 [ 31.414044][ C0] ? ip_local_deliver+0x4c0/0x4c0 [ 31.414045][ C0] ? tcp_v4_connect+0x12bd/0x1960 [ 31.414047][ C0] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 31.414048][ C0] ? do_raw_spin_lock+0x131/0x280 [ 31.414050][ C0] ? __rwlock_init+0x150/0x150 [ 31.414052][ C0] ? process_backlog+0x3f1/0x14c0 [ 31.414054][ C0] __netif_receive_skb_one_core+0xfc/0x180 [ 31.414056][ C0] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 31.414058][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.414059][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.414061][ C0] process_backlog+0x431/0x14c0 [ 31.414063][ C0] __napi_poll+0xa7/0x3b0 [ 31.414065][ C0] net_rx_action+0x513/0xf50 [ 31.414068][ C0] ? __napi_poll+0x3b0/0x3b0 [ 31.414070][ C0] ? do_raw_spin_lock+0xe0/0x280 [ 31.414072][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.414073][ C0] ? timerqueue_linked_add+0x207/0x560 [ 31.414076][ C0] ? _raw_spin_unlock_irq+0x33/0x50 [ 31.414080][ C0] ? run_timer_softirq+0xf8/0x160 [ 31.414082][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.414083][ C0] handle_softirqs+0x1d3/0x900 [ 31.414086][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.414087][ C0] ? _local_bh_enable+0xc0/0xc0 [ 31.414089][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 31.414091][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.414092][ C0] ? __dev_queue_xmit+0x964/0x1b80 [ 31.414094][ C0] do_softirq+0xac/0xe0 [ 31.414095][ C0] [ 31.414096][ C0] [ 31.414097][ C0] __local_bh_enable_ip+0x118/0x150 [ 31.414098][ C0] __dev_queue_xmit+0x979/0x1b80 [ 31.414101][ C0] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 31.414104][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.414105][ C0] ? lock_acquire+0x13c/0x160 [ 31.414106][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.414108][ C0] ? __asan_memcpy+0x3c/0x60 [ 31.414110][ C0] ? neigh_hh_output+0x152/0x4c0 [ 31.414112][ C0] ip_finish_output2+0xd9b/0x1bc0 [ 31.414114][ C0] ? ip_dst_mtu_maybe_forward+0x7c/0x670 [ 31.414116][ C0] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 31.414117][ C0] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 31.414119][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.414121][ C0] ip_output+0x1ca/0x660 [ 31.414123][ C0] ? ip_finish_output+0x460/0x460 [ 31.414124][ C0] ? lock_acquire+0x13c/0x160 [ 31.414126][ C0] ? __ip_finish_output+0x720/0x720 [ 31.414128][ C0] ? lock_acquire+0x13c/0x160 [ 31.414130][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.414131][ C0] ? lock_release+0x184/0x1f0 [ 31.414133][ C0] __ip_queue_xmit+0x774/0x1650 [ 31.414135][ C0] __tcp_transmit_skb+0x1ad9/0x3a70 [ 31.414138][ C0] ? tcp_call_bpf+0x201/0x2e0 [ 31.414140][ C0] ? tcp_clone_payload+0x10b0/0x10b0 [ 31.414142][ C0] ? __tcp_select_window+0xf20/0xf20 [ 31.414144][ C0] ? trace_hardirqs_on+0x36/0x40 [ 31.414147][ C0] ? kvm_clock_get_cycles+0x19/0x30 [ 31.414149][ C0] ? ktime_get+0x1dd/0x2d0 [ 31.414151][ C0] tcp_connect+0xec4/0x1880 [ 31.414154][ C0] tcp_v4_connect+0x12bd/0x1960 [ 31.414157][ C0] ? established_get_first+0x6b0/0x6b0 [ 31.414158][ C0] ? lockdep_init_map_type+0x5d/0x250 [ 31.414160][ C0] ? do_raw_spin_lock+0x131/0x280 [ 31.414162][ C0] ? __rwlock_init+0x150/0x150 [ 31.414164][ C0] __inet_stream_connect+0x2ed/0xd00 [ 31.414167][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 31.414168][ C0] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 31.414170][ C0] inet_stream_connect+0x59/0xb0 [ 31.414172][ C0] __sys_connect+0x1c1/0x2c0 [ 31.414175][ C0] ? do_fcntl+0x36f/0xc50 [ 31.414178][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.414179][ C0] ? __sys_connect_file+0x250/0x250 [ 31.414182][ C0] ? fdget_raw+0x4f/0x190 [ 31.414185][ C0] __x64_sys_connect+0x72/0xd0 [ 31.414186][ C0] ? trace_hardirqs_on+0x36/0x40 [ 31.414187][ C0] do_syscall_64+0x10e/0x570 [ 31.414189][ C0] ? exc_page_fault+0xee/0x100 [ 31.414192][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.414194][ C0] RIP: 0033:0x7f7a2c94f54e [ 31.414197][ C0] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 31.414199][ C0] RSP: 002b:00007ffd2232da80 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 31.414202][ C0] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7a2c94f54e [ 31.414204][ C0] RDX: 0000000000000010 RSI: 00007ffd2232db10 RDI: 0000000000000005 [ 31.414205][ C0] RBP: 00007ffd2232da90 R08: 0000000000000000 R09: 0000000000000000 [ 31.414206][ C0] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffd2232dc88 [ 31.414207][ C0] R13: 0000000000000005 R14: 00007f7a2cb20000 R15: 0000000000402e00 [ 31.414209][ C0] [ 31.465673][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.499329][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.672351][ C2] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 84.238292][ T1030] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 84.238315][ T1030] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 84.238319][ T1030] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1030, name: modprobe [ 84.238321][ T1030] preempt_count: 1, expected: 0 [ 84.238323][ T1030] RCU nest depth: 0, expected: 0 [ 84.238324][ T1030] INFO: lockdep is turned off. [ 84.238326][ T1030] irq event stamp: 0 [ 84.238327][ T1030] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 84.238332][ T1030] hardirqs last disabled at (0): [] copy_process+0x1d01/0x62c0 [ 84.238340][ T1030] softirqs last enabled at (0): [] copy_process+0x1d55/0x62c0 [ 84.238342][ T1030] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 84.238345][ T1030] Preemption disabled at: [ 84.238346][ T1030] [] vprintk_emit+0x31b/0x3e0 [ 84.238355][ T1030] CPU: 2 UID: 0 PID: 1030 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 84.238360][ T1030] Tainted: [W]=WARN [ 84.238362][ T1030] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 84.238364][ T1030] Call Trace: [ 84.238366][ T1030] [ 84.238367][ T1030] dump_stack_lvl+0x6f/0xa0 [ 84.238373][ T1030] ? vprintk_emit+0x31b/0x3e0 [ 84.238375][ T1030] __might_resched.cold+0x1fe/0x2c1 [ 84.238380][ T1030] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 84.238384][ T1030] ? rcu_is_watching+0x16/0xd0 [ 84.238388][ T1030] __kmalloc_noprof+0x443/0x760 [ 84.238395][ T1030] ? __rwlock_init+0x150/0x150 [ 84.238398][ T1030] ? alloc_buf.isra.0+0x4b/0x260 [ 84.238404][ T1030] ? do_raw_spin_unlock+0x59/0x250 [ 84.238407][ T1030] alloc_buf.isra.0+0x4b/0x260 [ 84.238410][ T1030] put_chars+0x1e1/0x2f0 [ 84.238413][ T1030] ? __send_to_port+0x420/0x420 [ 84.238416][ T1030] ? console_prepend_replay+0x20/0x20 [ 84.238419][ T1030] hvc_console_print+0x292/0x780 [ 84.238425][ T1030] ? hvc_write+0x3a0/0x3a0 [ 84.238428][ T1030] ? rcu_is_watching+0x16/0xd0 [ 84.238430][ T1030] ? rcu_is_watching+0x16/0xd0 [ 84.238432][ T1030] ? lock_acquire+0x13c/0x160 [ 84.238436][ T1030] console_emit_next_record+0x22f/0x4c0 [ 84.238439][ T1030] ? devkmsg_read+0x4b0/0x4b0 [ 84.238442][ T1030] ? rcu_is_watching+0x16/0xd0 [ 84.238444][ T1030] ? rcu_is_watching+0x16/0xd0 [ 84.238445][ T1030] ? rcu_is_watching+0x16/0xd0 [ 84.238447][ T1030] ? lock_acquire+0x13c/0x160 [ 84.238451][ T1030] ? console_flush_one_record+0x111/0x710 [ 84.238453][ T1030] console_flush_one_record+0x46f/0x710 [ 84.238456][ T1030] ? console_emit_next_record+0x4c0/0x4c0 [ 84.238460][ T1030] console_unlock+0xee/0x1f0 [ 84.238462][ T1030] ? lock_acquire+0x13c/0x160 [ 84.238464][ T1030] ? console_flush_one_record+0x710/0x710 [ 84.238466][ T1030] ? rcu_is_watching+0x16/0xd0 [ 84.238468][ T1030] ? lock_release+0x184/0x1f0 [ 84.238471][ T1030] ? lock_acquire+0x60/0x160 [ 84.238473][ T1030] ? __rcu_read_lock+0x30/0x70 [ 84.238476][ T1030] ? __down_trylock_console_sem+0x5e/0xa0 [ 84.238479][ T1030] ? vprintk_emit+0x320/0x3e0 [ 84.238482][ T1030] vprintk_emit+0x37c/0x3e0 [ 84.238485][ T1030] ? wake_up_klogd_work_func+0x90/0x90 [ 84.238488][ T1030] ? ww_mutex_lock+0x160/0x160 [ 84.238493][ T1030] ? llc_exit+0x3e0/0x3e0 [llc] [ 84.238497][ T1030] _printk+0xc7/0x100 [ 84.238501][ T1030] ? snapshot_read.cold+0x21/0x21 [ 84.238504][ T1030] ? __mutex_unlock_slowpath+0x5e5/0x740 [ 84.238508][ T1030] ? _mutex_trylock_nest_lock+0x390/0x390 [ 84.238512][ T1030] ? __mutex_unlock_slowpath+0x14d/0x740 [ 84.238515][ T1030] br_init+0x98/0xc0 [bridge] [ 84.238536][ T1030] do_one_initcall+0x124/0x4f0 [ 84.238540][ T1030] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 84.238544][ T1030] ? do_init_module+0xae/0x8a0 [ 84.238547][ T1030] ? kasan_unpoison+0x44/0x70 [ 84.238551][ T1030] do_init_module+0x2ad/0x8a0 [ 84.238555][ T1030] ? free_module+0x470/0x470 [ 84.238557][ T1030] ? kfree+0x123/0x590 [ 84.238561][ T1030] load_module+0x154b/0x1d60 [ 84.238565][ T1030] ? layout_and_allocate.isra.0+0x680/0x680 [ 84.238569][ T1030] ? backing_file_read_iter+0x541/0x790 [ 84.238574][ T1030] init_module_from_file+0x11f/0x1a0 [ 84.238577][ T1030] ? __ia32_sys_init_module+0xc0/0xc0 [ 84.238580][ T1030] ? ovl_mmap+0x270/0x270 [ 84.238586][ T1030] ? __rwlock_init+0x150/0x150 [ 84.238589][ T1030] ? rcu_is_watching+0x16/0xd0 [ 84.238591][ T1030] ? lock_release+0x184/0x1f0 [ 84.238594][ T1030] ? do_raw_spin_unlock+0x59/0x250 [ 84.238597][ T1030] idempotent_init_module+0x37b/0x7c0 [ 84.238600][ T1030] ? init_module_from_file+0x1a0/0x1a0 [ 84.238604][ T1030] ? rcu_is_watching+0x16/0xd0 [ 84.238606][ T1030] ? cap_capable+0x1d7/0x3d0 [ 84.238610][ T1030] __x64_sys_finit_module+0xdf/0x190 [ 84.238613][ T1030] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 84.238617][ T1030] do_syscall_64+0x10e/0x570 [ 84.238620][ T1030] ? exc_page_fault+0xee/0x100 [ 84.238623][ T1030] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 84.238627][ T1030] RIP: 0033:0x7f3c6623337d [ 84.238630][ T1030] 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 [ 84.238633][ T1030] RSP: 002b:00007fffd6c15ad8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 84.238637][ T1030] RAX: ffffffffffffffda RBX: 00005561637f8810 RCX: 00007f3c6623337d [ 84.238639][ T1030] RDX: 0000000000000000 RSI: 000055615a774ffd RDI: 0000000000000002 [ 84.238640][ T1030] RBP: 00007fffd6c15b70 R08: 0000000000000000 R09: 0000000000000000 [ 84.238642][ T1030] R10: 0000000000000000 R11: 0000000000000246 R12: 000055615a774ffd [ 84.238643][ T1030] R13: 00005561637f89c0 R14: 0000000000040000 R15: 0000000000000000 [ 84.238648][ T1030] [ 84.336790][ T1033] br0: port 1(veth0) entered blocking state [ 84.337133][ T1033] br0: port 1(veth0) entered disabled state [ 84.338152][ T1033] veth0: entered allmulticast mode [ 84.339675][ T1033] veth0: entered promiscuous mode [ 84.391220][ T1034] br0: port 2(veth1) entered blocking state [ 84.391564][ T1034] br0: port 2(veth1) entered disabled state [ 84.391871][ T1034] veth1: entered allmulticast mode [ 84.393355][ T1034] veth1: entered promiscuous mode [ 84.421566][ T1035] br0: port 2(veth1) entered blocking state [ 84.421878][ T1035] br0: port 2(veth1) entered forwarding state [ 84.422331][ T1035] br0: port 1(veth0) entered blocking state [ 84.422633][ T1035] br0: port 1(veth0) entered forwarding state [ 90.513489][ T1053] nf_queue (1053) used greatest stack depth: 23776 bytes left [ 90.513507][ T1053] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 90.513509][ T1053] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1053, name: nf_queue [ 90.513511][ T1053] preempt_count: 2, expected: 0 [ 90.513512][ T1053] RCU nest depth: 0, expected: 0 [ 90.513513][ T1053] INFO: lockdep is turned off. [ 90.513514][ T1053] irq event stamp: 0 [ 90.513515][ T1053] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 90.513519][ T1053] hardirqs last disabled at (0): [] copy_process+0x1d01/0x62c0 [ 90.513526][ T1053] softirqs last enabled at (0): [] copy_process+0x1d55/0x62c0 [ 90.513528][ T1053] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 90.513529][ T1053] Preemption disabled at: [ 90.513530][ T1053] [<0000000000000000>] 0x0 [ 90.513535][ T1053] CPU: 1 UID: 0 PID: 1053 Comm: nf_queue Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 90.513539][ T1053] Tainted: [W]=WARN [ 90.513540][ T1053] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 90.513541][ T1053] Call Trace: [ 90.513543][ T1053] [ 90.513544][ T1053] dump_stack_lvl+0x6f/0xa0 [ 90.513548][ T1053] __might_resched.cold+0x1fe/0x2c1 [ 90.513552][ T1053] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 90.513554][ T1053] ? rcu_is_watching+0x16/0xd0 [ 90.513558][ T1053] __kmalloc_noprof+0x443/0x760 [ 90.513561][ T1053] ? __rwlock_init+0x150/0x150 [ 90.513564][ T1053] ? alloc_buf.isra.0+0x4b/0x260 [ 90.513569][ T1053] ? do_raw_spin_unlock+0x59/0x250 [ 90.513571][ T1053] alloc_buf.isra.0+0x4b/0x260 [ 90.513573][ T1053] put_chars+0x1e1/0x2f0 [ 90.513575][ T1053] ? __send_to_port+0x420/0x420 [ 90.513576][ T1053] ? printk_get_next_message+0x240/0x650 [ 90.513579][ T1053] ? console_prepend_replay+0x20/0x20 [ 90.513581][ T1053] hvc_console_print+0x292/0x780 [ 90.513584][ T1053] ? hvc_write+0x3a0/0x3a0 [ 90.513586][ T1053] ? __rwlock_init+0x150/0x150 [ 90.513588][ T1053] ? lock_acquire+0x13c/0x160 [ 90.513590][ T1053] console_emit_next_record+0x22f/0x4c0 [ 90.513592][ T1053] ? devkmsg_read+0x4b0/0x4b0 [ 90.513594][ T1053] ? rcu_is_watching+0x16/0xd0 [ 90.513595][ T1053] ? rcu_is_watching+0x16/0xd0 [ 90.513596][ T1053] ? rcu_is_watching+0x16/0xd0 [ 90.513597][ T1053] ? lock_acquire+0x13c/0x160 [ 90.513599][ T1053] ? console_flush_one_record+0x111/0x710 [ 90.513600][ T1053] console_flush_one_record+0x46f/0x710 [ 90.513602][ T1053] ? console_emit_next_record+0x4c0/0x4c0 [ 90.513604][ T1053] console_unlock+0xee/0x1f0 [ 90.513605][ T1053] ? lock_acquire+0x13c/0x160 [ 90.513607][ T1053] ? console_flush_one_record+0x710/0x710 [ 90.513608][ T1053] ? rcu_is_watching+0x16/0xd0 [ 90.513609][ T1053] ? lock_release+0x184/0x1f0 [ 90.513611][ T1053] ? lock_acquire+0x60/0x160 [ 90.513613][ T1053] ? __rcu_read_lock+0x30/0x70 [ 90.513614][ T1053] ? __down_trylock_console_sem+0x5e/0xa0 [ 90.513616][ T1053] ? vprintk_emit+0x320/0x3e0 [ 90.513618][ T1053] vprintk_emit+0x37c/0x3e0 [ 90.513620][ T1053] ? wake_up_klogd_work_func+0x90/0x90 [ 90.513621][ T1053] ? do_raw_read_unlock+0x70/0x70 [ 90.513623][ T1053] ? forget_original_parent+0x5c/0xdb0 [ 90.513625][ T1053] _printk+0xc7/0x100 [ 90.513628][ T1053] ? snapshot_read.cold+0x21/0x21 [ 90.513630][ T1053] ? do_raw_spin_lock+0x131/0x280 [ 90.513632][ T1053] ? do_raw_spin_lock+0x131/0x280 [ 90.513634][ T1053] ? __rwlock_init+0x150/0x150 [ 90.513636][ T1053] ? do_raw_spin_lock+0x131/0x280 [ 90.513638][ T1053] do_exit.cold+0x82/0x9c [ 90.513641][ T1053] ? exit_notify+0x890/0x890 [ 90.513642][ T1053] ? posixtimer_sig_unignore.isra.0+0x5f0/0x5f0 [ 90.513645][ T1053] ? rcu_is_watching+0x16/0xd0 [ 90.513646][ T1053] do_group_exit+0xb8/0x370 [ 90.513648][ T1053] __x64_sys_exit_group+0x3c/0x50 [ 90.513650][ T1053] x64_sys_call+0x1567/0x1570 [ 90.513652][ T1053] do_syscall_64+0x10e/0x570 [ 90.513656][ T1053] ? exc_page_fault+0xee/0x100 [ 90.513658][ T1053] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 90.513660][ T1053] RIP: 0033:0x7f0fb2dfd1b8 [ 90.513662][ T1053] Code: Unable to access opcode bytes at 0x7f0fb2dfd18e. [ 90.513663][ T1053] RSP: 002b:00007ffefb77e268 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 90.513666][ T1053] RAX: ffffffffffffffda RBX: 00007f0fb2f2df88 RCX: 00007f0fb2dfd1b8 [ 90.513668][ T1053] RDX: 00007f0fb2d3aa48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 90.513669][ T1053] RBP: 00007ffefb77e2c0 R08: 0000000000000000 R09: 0000000000000000 [ 90.513669][ T1053] R10: 00007ffefb77e100 R11: 0000000000000246 R12: 0000000000000001 [ 90.513670][ T1053] R13: 0000000000000000 R14: 00007f0fb2f2c680 R15: 00007f0fb2f2dfa0 [ 90.513672][ T1053] [ 96.324807][ T72] br0: port 1(veth0) entered disabled state [ 96.324821][ T72] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 96.324823][ T72] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 72, name: kworker/u16:1 [ 96.324825][ T72] preempt_count: 202, expected: 0 [ 96.324826][ T72] RCU nest depth: 0, expected: 0 [ 96.324827][ T72] INFO: lockdep is turned off. [ 96.324828][ T72] irq event stamp: 6838 [ 96.324829][ T72] hardirqs last enabled at (6837): [] _raw_spin_unlock_irq+0x28/0x50 [ 96.324838][ T72] hardirqs last disabled at (6838): [] __schedule+0x1246/0x20e0 [ 96.324840][ T72] softirqs last enabled at (6800): [] instance_destroy_work+0x116/0x250 [nfnetlink_queue] [ 96.324844][ T72] softirqs last disabled at (6798): [] instance_destroy_work+0x6f/0x250 [nfnetlink_queue] [ 96.324847][ T72] Preemption disabled at: [ 96.324848][ T72] [<0000000000000000>] 0x0 [ 96.324853][ T72] CPU: 1 UID: 0 PID: 72 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 96.324857][ T72] Tainted: [W]=WARN [ 96.324858][ T72] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 96.324860][ T72] Workqueue: netns cleanup_net [ 96.324865][ T72] Call Trace: [ 96.324867][ T72] [ 96.324868][ T72] dump_stack_lvl+0x6f/0xa0 [ 96.324873][ T72] __might_resched.cold+0x1fe/0x2c1 [ 96.324877][ T72] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 96.324880][ T72] ? rcu_is_watching+0x16/0xd0 [ 96.324883][ T72] __kmalloc_noprof+0x443/0x760 [ 96.324887][ T72] ? __rwlock_init+0x150/0x150 [ 96.324890][ T72] ? alloc_buf.isra.0+0x4b/0x260 [ 96.324894][ T72] ? do_raw_spin_unlock+0x59/0x250 [ 96.324896][ T72] alloc_buf.isra.0+0x4b/0x260 [ 96.324898][ T72] put_chars+0x1e1/0x2f0 [ 96.324900][ T72] ? __send_to_port+0x420/0x420 [ 96.324901][ T72] ? printk_get_next_message+0x240/0x650 [ 96.324903][ T72] ? console_prepend_replay+0x20/0x20 [ 96.324905][ T72] hvc_console_print+0x292/0x780 [ 96.324909][ T72] ? hvc_write+0x3a0/0x3a0 [ 96.324911][ T72] ? __rwlock_init+0x150/0x150 [ 96.324913][ T72] ? lock_acquire+0x13c/0x160 [ 96.324915][ T72] console_emit_next_record+0x22f/0x4c0 [ 96.324917][ T72] ? devkmsg_read+0x4b0/0x4b0 [ 96.324918][ T72] ? rcu_is_watching+0x16/0xd0 [ 96.324920][ T72] ? rcu_is_watching+0x16/0xd0 [ 96.324921][ T72] ? rcu_is_watching+0x16/0xd0 [ 96.324922][ T72] ? lock_acquire+0x13c/0x160 [ 96.324924][ T72] ? console_flush_one_record+0x111/0x710 [ 96.324925][ T72] console_flush_one_record+0x46f/0x710 [ 96.324927][ T72] ? console_emit_next_record+0x4c0/0x4c0 [ 96.324929][ T72] console_unlock+0xee/0x1f0 [ 96.324930][ T72] ? lock_acquire+0x13c/0x160 [ 96.324932][ T72] ? console_flush_one_record+0x710/0x710 [ 96.324933][ T72] ? rcu_is_watching+0x16/0xd0 [ 96.324934][ T72] ? lock_release+0x184/0x1f0 [ 96.324936][ T72] ? lock_acquire+0x60/0x160 [ 96.324938][ T72] ? __rcu_read_lock+0x30/0x70 [ 96.324939][ T72] ? __down_trylock_console_sem+0x5e/0xa0 [ 96.324941][ T72] ? vprintk_emit+0x320/0x3e0 [ 96.324943][ T72] vprintk_emit+0x37c/0x3e0 [ 96.324946][ T72] ? wake_up_klogd_work_func+0x90/0x90 [ 96.324947][ T72] ? rcu_is_watching+0x16/0xd0 [ 96.324949][ T72] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 96.324951][ T72] ? trace_hardirqs_on+0x36/0x40 [ 96.324953][ T72] _printk+0xc7/0x100 [ 96.324956][ T72] ? snapshot_read.cold+0x21/0x21 [ 96.324958][ T72] ? ipv6_mc_down+0x17e/0x2d0 [ 96.324962][ T72] br_set_state+0x22f/0x430 [bridge] [ 96.324976][ T72] br_stp_disable_port+0x11f/0x390 [bridge] [ 96.324987][ T72] br_device_event+0x7b5/0x8f0 [bridge] [ 96.324997][ T72] ? lock_release+0x184/0x1f0 [ 96.324999][ T72] ? _sub_I_65535_1+0x4d0/0x4d0 [stp] [ 96.325001][ T72] ? nfqnl_dev_drop+0x54/0x330 [nfnetlink_queue] [ 96.325003][ T72] ? nfqnl_dev_drop+0xf0/0x330 [nfnetlink_queue] [ 96.325005][ T72] notifier_call_chain+0xae/0x300 [ 96.325009][ T72] netif_close_many+0x366/0x770 [ 96.325012][ T72] ? trace_kfree+0xd2/0x100 [ 96.325014][ T72] ? lock_acquire+0x13c/0x160 [ 96.325015][ T72] ? __dev_close_many+0x680/0x680 [ 96.325017][ T72] ? netif_close_many_and_unlock+0x22/0x2c0 [ 96.325019][ T72] unregister_netdevice_many_notify+0x71a/0x1b40 [ 96.325022][ T72] ? ops_undo_list+0x2ce/0x8f0 [ 96.325024][ T72] ? worker_thread+0x4f1/0xd60 [ 96.325026][ T72] ? kthread+0x367/0x460 [ 96.325028][ T72] ? ret_from_fork+0x4a4/0x720 [ 96.325031][ T72] ? ret_from_fork_asm+0x11/0x20 [ 96.325033][ T72] ? unregister_netdevice_queued+0x80/0x80 [ 96.325035][ T72] ? get_rps_cpu+0x980/0x980 [ 96.325038][ T72] default_device_exit_batch+0x38b/0x600 [ 96.325040][ T72] ? generic_xdp_install+0x470/0x470 [ 96.325042][ T72] ? unregister_netdevice_queue+0x470/0x470 [ 96.325044][ T72] ? rtnl_is_locked+0x15/0x20 [ 96.325046][ T72] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 96.325048][ T72] ? mutex_is_locked+0x1c/0x50 [ 96.325050][ T72] ops_undo_list+0x2ce/0x8f0 [ 96.325052][ T72] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 96.325054][ T72] ? idr_destroy+0x121/0x250 [ 96.325057][ T72] cleanup_net+0x431/0x890 [ 96.325058][ T72] ? net_passive_dec+0x230/0x230 [ 96.325060][ T72] ? lock_acquire+0x13c/0x160 [ 96.325062][ T72] ? rcu_is_watching+0x16/0xd0 [ 96.325063][ T72] process_one_work+0xe3e/0x1560 [ 96.325066][ T72] ? __queue_delayed_work+0x470/0x470 [ 96.325068][ T72] ? __rwlock_init+0x150/0x150 [ 96.325070][ T72] worker_thread+0x4f1/0xd60 [ 96.325072][ T72] ? rescuer_thread+0x1340/0x1340 [ 96.325073][ T72] ? __kthread_parkme+0xbd/0x210 [ 96.325075][ T72] ? rescuer_thread+0x1340/0x1340 [ 96.325076][ T72] ? rescuer_thread+0x1340/0x1340 [ 96.325077][ T72] kthread+0x367/0x460 [ 96.325079][ T72] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 96.325080][ T72] ? kthread_affine_preferred+0x4c0/0x4c0 [ 96.325082][ T72] ret_from_fork+0x4a4/0x720 [ 96.325084][ T72] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 96.325086][ T72] ? __switch_to+0x5a3/0xe00 [ 96.325089][ T72] ? kthread_affine_preferred+0x4c0/0x4c0 [ 96.325091][ T72] ret_from_fork_asm+0x11/0x20 [ 96.325094][ T72] [ 96.342713][ T72] veth0 (unregistering): left allmulticast mode [ 96.342905][ T72] veth0 (unregistering): left promiscuous mode [ 96.343080][ T72] br0: port 1(veth0) entered disabled state [ 96.432065][ T72] br0: port 2(veth1) entered disabled state [ 96.433349][ T72] veth1 (unregistering): left allmulticast mode [ 96.433916][ T72] veth1 (unregistering): left promiscuous mode [ 96.434136][ T72] br0: port 2(veth1) entered disabled state