[ 10.735740][ T174] sctp: Hash tables configured (bind 32/56) [ 10.735758][ T174] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.735760][ T174] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 174, name: modprobe [ 10.735762][ T174] preempt_count: 1, expected: 0 [ 10.735763][ T174] RCU nest depth: 0, expected: 0 [ 10.735764][ T174] locks held by modprobe/174: 4, last CPU#0: [ 10.735766][ T174] #0: ffffffffa1b6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.735776][ T174] #1: ffffffffa1b6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.735780][ T174] #2: ffffffffa1a89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.735784][ T174] #3: ffffffffa1a89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.735787][ T174] irq event stamp: 105902 [ 10.735788][ T174] hardirqs last enabled at (105901): [] __down_trylock_console_sem+0x86/0xa0 [ 10.735792][ T174] hardirqs last disabled at (105902): [] console_emit_next_record+0x3d4/0x4c0 [ 10.735793][ T174] softirqs last enabled at (97794): [] handle_softirqs+0x67c/0x900 [ 10.735797][ T174] softirqs last disabled at (97787): [] __irq_exit_rcu+0x145/0x1c0 [ 10.735799][ T174] Preemption disabled at: [ 10.735800][ T174] [] vprintk_emit+0x31b/0x3e0 [ 10.735805][ T174] CPU: 0 UID: 0 PID: 174 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.735809][ T174] Tainted: [W]=WARN [ 10.735810][ T174] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.735812][ T174] Call Trace: [ 10.735813][ T174] [ 10.735814][ T174] dump_stack_lvl+0x6f/0xa0 [ 10.735819][ T174] ? vprintk_emit+0x31b/0x3e0 [ 10.735821][ T174] __might_resched.cold+0x1fe/0x2c1 [ 10.735825][ T174] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.735829][ T174] ? __kmalloc_noprof+0xdb/0x760 [ 10.735834][ T174] __kmalloc_noprof+0x443/0x760 [ 10.735836][ T174] ? alloc_buf.isra.0+0x4b/0x260 [ 10.735842][ T174] ? do_raw_spin_unlock+0x59/0x250 [ 10.735845][ T174] alloc_buf.isra.0+0x4b/0x260 [ 10.735849][ T174] put_chars+0x1e1/0x2f0 [ 10.735851][ T174] ? __send_to_port+0x420/0x420 [ 10.735853][ T174] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.735857][ T174] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.735860][ T174] ? validate_chain+0x38b/0xc20 [ 10.735865][ T174] hvc_console_print+0x292/0x780 [ 10.735869][ T174] ? __lock_acquire+0x518/0xc20 [ 10.735880][ T174] ? hvc_write+0x3a0/0x3a0 [ 10.735883][ T174] ? rcu_is_watching+0x16/0xd0 [ 10.735888][ T174] console_emit_next_record+0x22f/0x4c0 [ 10.735892][ T174] ? devkmsg_read+0x4b0/0x4b0 [ 10.735893][ T174] ? console_flush_one_record+0x106/0x710 [ 10.735896][ T174] ? rcu_is_watching+0x16/0xd0 [ 10.735898][ T174] ? lock_acquire+0x13c/0x160 [ 10.735902][ T174] console_flush_one_record+0x46f/0x710 [ 10.735905][ T174] ? console_emit_next_record+0x4c0/0x4c0 [ 10.735907][ T174] ? __lock_acquire+0x518/0xc20 [ 10.735912][ T174] console_unlock+0xee/0x1f0 [ 10.735914][ T174] ? console_flush_one_record+0x710/0x710 [ 10.735916][ T174] ? rcu_is_watching+0x16/0xd0 [ 10.735918][ T174] ? lock_acquire+0x60/0x160 [ 10.735921][ T174] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.735923][ T174] ? vprintk_emit+0x320/0x3e0 [ 10.735926][ T174] vprintk_emit+0x37c/0x3e0 [ 10.735930][ T174] ? wake_up_klogd_work_func+0x90/0x90 [ 10.735931][ T174] ? lockdep_hardirqs_on+0x91/0x130 [ 10.735937][ T174] ? lookup_object_or_alloc.part.0+0x580/0x580 [ 10.735942][ T174] _printk+0xc7/0x100 [ 10.735946][ T174] ? snapshot_read.cold+0x21/0x21 [ 10.735949][ T174] ? lockdep_init_map_type+0x5d/0x250 [ 10.735952][ T174] ? __rhashtable_init_noprof+0x451/0x7f0 [ 10.735958][ T174] sctp_init+0x43b/0x600 [sctp] [ 10.735975][ T174] ? sctp_exit+0x270/0x270 [sctp] [ 10.735982][ T174] do_one_initcall+0x124/0x4f0 [ 10.735986][ T174] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 10.735991][ T174] ? do_init_module+0xae/0x8a0 [ 10.735993][ T174] ? kasan_unpoison+0x44/0x70 [ 10.735998][ T174] do_init_module+0x2ad/0x8a0 [ 10.736001][ T174] ? lockdep_hardirqs_on+0x91/0x130 [ 10.736004][ T174] ? free_module+0x470/0x470 [ 10.736006][ T174] ? kfree+0x123/0x590 [ 10.736011][ T174] load_module+0x154b/0x1d60 [ 10.736018][ T174] ? layout_and_allocate.isra.0+0x680/0x680 [ 10.736023][ T174] ? backing_file_read_iter+0x541/0x790 [ 10.736026][ T174] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.736029][ T174] init_module_from_file+0x11f/0x1a0 [ 10.736032][ T174] ? __ia32_sys_init_module+0xc0/0xc0 [ 10.736040][ T174] ? __rwlock_init+0x150/0x150 [ 10.736044][ T174] ? do_raw_spin_unlock+0x59/0x250 [ 10.736047][ T174] idempotent_init_module+0x37b/0x7c0 [ 10.736050][ T174] ? init_module_from_file+0x1a0/0x1a0 [ 10.736056][ T174] ? rcu_is_watching+0x16/0xd0 [ 10.736058][ T174] ? cap_capable+0x1d7/0x3d0 [ 10.736063][ T174] __x64_sys_finit_module+0xdf/0x190 [ 10.736065][ T174] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.736068][ T174] do_syscall_64+0x10e/0x570 [ 10.736070][ T174] ? exc_page_fault+0xee/0x100 [ 10.736073][ T174] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.736076][ T174] RIP: 0033:0x7f421df4f37d [ 10.736079][ T174] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4b aa 0f 00 f7 d8 64 89 01 48 [ 10.736081][ T174] RSP: 002b:00007ffedb03fbc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 10.736083][ T174] RAX: ffffffffffffffda RBX: 00005580a894f9c0 RCX: 00007f421df4f37d [ 10.736085][ T174] RDX: 0000000000000000 RSI: 0000558069c2cffd RDI: 0000000000000007 [ 10.736086][ T174] RBP: 00007ffedb03fc60 R08: 0000000000000000 R09: 0000000000000000 [ 10.736086][ T174] R10: 0000000000000000 R11: 0000000000000246 R12: 0000558069c2cffd [ 10.736087][ T174] R13: 00005580a894fae0 R14: 0000000000040000 R15: 0000000000000000 [ 10.736094][ T174] [ 11.062370][ T186] ip (186) used greatest stack depth: 24280 bytes left [ 30.886110][ C3] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 30.886143][ C3] [ 30.886144][ C3] ======================================================== [ 30.886146][ C3] WARNING: possible irq lock inversion dependency detected [ 30.886148][ C3] 7.2.0-virtme #1 Tainted: G W [ 30.886149][ C3] -------------------------------------------------------- [ 30.886150][ C3] connect_close/342 just changed the state of lock: [ 30.886151][ C3] ffffffffa1a89de0 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 30.886163][ C3] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 30.886165][ C3] (fs_reclaim){+.+.}-{0:0} [ 30.886167][ C3] [ 30.886167][ C3] [ 30.886167][ C3] and interrupts could create inverse lock ordering between them. [ 30.886167][ C3] [ 30.886169][ C3] [ 30.886169][ C3] other info that might help us debug this: [ 30.886170][ C3] Possible interrupt unsafe locking scenario: [ 30.886170][ C3] [ 30.886170][ C3] CPU0 CPU1 [ 30.886171][ C3] ---- ---- [ 30.886172][ C3] lock(fs_reclaim); [ 30.886174][ C3] local_irq_disable(); [ 30.886175][ C3] lock(console_owner); [ 30.886176][ C3] lock(fs_reclaim); [ 30.886177][ C3] [ 30.886177][ C3] lock(console_owner); [ 30.886178][ C3] [ 30.886178][ C3] *** DEADLOCK *** [ 30.886178][ C3] [ 30.886179][ C3] locks held by connect_close/342: 9, last CPU#3: [ 30.886180][ C3] #0: ff11000013ce5390 (sk_lock-AF_INET){+.+.}-{0:0}, at: inet_stream_connect+0x44/0xb0 [ 30.886187][ C3] #1: ffffffffa1b81280 (rcu_read_lock){....}-{1:3}, at: __ip_queue_xmit+0x63/0x1650 [ 30.886191][ C3] #2: ffffffffa1b81280 (rcu_read_lock){....}-{1:3}, at: ip_output+0xa9/0x660 [ 30.886194][ C3] #3: ffffffffa1b81280 (rcu_read_lock){....}-{1:3}, at: ip_finish_output2+0x25c/0x1bc0 [ 30.886197][ C3] #4: ffffffffa1b81280 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 30.886202][ C3] #5: ffffffffa1b81280 (rcu_read_lock){....}-{1:3}, at: ip_local_deliver_finish+0x2ba/0x610 [ 30.886205][ C3] #6: ffffffffa1b81280 (rcu_read_lock){....}-{1:3}, at: tcp_rcv_listen_state_process+0x108/0x380 [ 30.886210][ C3] #7: ffffffffa1b6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 30.886212][ C3] #8: ffffffffa1b6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 30.886215][ C3] [ 30.886215][ C3] the shortest dependencies between 2nd lock and 1st lock: [ 30.886220][ C3] -> (fs_reclaim){+.+.}-{0:0} { [ 30.886222][ C3] HARDIRQ-ON-W at: [ 30.886224][ C3] __lock_acquire+0x388/0xc20 [ 30.886227][ C3] lock_acquire.part.0+0xd4/0x280 [ 30.886229][ C3] fs_reclaim_acquire+0xd5/0x120 [ 30.886232][ C3] __kmalloc_cache_noprof+0x6e/0x620 [ 30.886235][ C3] kthread_create_worker_on_node+0xea/0x210 [ 30.886238][ C3] workqueue_init+0x2a/0x680 [ 30.886242][ C3] kernel_init_freeable+0x2fe/0x630 [ 30.886245][ C3] kernel_init+0x21/0x150 [ 30.886248][ C3] ret_from_fork+0x4a4/0x720 [ 30.886251][ C3] ret_from_fork_asm+0x11/0x20 [ 30.886254][ C3] SOFTIRQ-ON-W at: [ 30.886255][ C3] __lock_acquire+0x388/0xc20 [ 30.886257][ C3] lock_acquire.part.0+0xd4/0x280 [ 30.886258][ C3] fs_reclaim_acquire+0xd5/0x120 [ 30.886260][ C3] __kmalloc_cache_noprof+0x6e/0x620 [ 30.886261][ C3] kthread_create_worker_on_node+0xea/0x210 [ 30.886263][ C3] workqueue_init+0x2a/0x680 [ 30.886264][ C3] kernel_init_freeable+0x2fe/0x630 [ 30.886266][ C3] kernel_init+0x21/0x150 [ 30.886267][ C3] ret_from_fork+0x4a4/0x720 [ 30.886268][ C3] ret_from_fork_asm+0x11/0x20 [ 30.886270][ C3] INITIAL USE at: [ 30.886271][ C3] __lock_acquire+0x388/0xc20 [ 30.886272][ C3] lock_acquire.part.0+0xd4/0x280 [ 30.886274][ C3] fs_reclaim_acquire+0xd5/0x120 [ 30.886275][ C3] __kmalloc_cache_noprof+0x6e/0x620 [ 30.886277][ C3] kthread_create_worker_on_node+0xea/0x210 [ 30.886278][ C3] workqueue_init+0x2a/0x680 [ 30.886280][ C3] kernel_init_freeable+0x2fe/0x630 [ 30.886281][ C3] kernel_init+0x21/0x150 [ 30.886282][ C3] ret_from_fork+0x4a4/0x720 [ 30.886283][ C3] ret_from_fork_asm+0x11/0x20 [ 30.886285][ C3] } [ 30.886285][ C3] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 30.886290][ C3] ... acquired at: [ 30.886291][ C3] __lock_acquire+0x518/0xc20 [ 30.886292][ C3] lock_acquire.part.0+0xd4/0x280 [ 30.886294][ C3] fs_reclaim_acquire+0xd5/0x120 [ 30.886295][ C3] __kmalloc_noprof+0xd3/0x760 [ 30.886296][ C3] alloc_buf.isra.0+0x4b/0x260 [ 30.886300][ C3] put_chars+0x1e1/0x2f0 [ 30.886301][ C3] hvc_console_print+0x292/0x780 [ 30.886304][ C3] console_emit_next_record+0x22f/0x4c0 [ 30.886305][ C3] console_flush_one_record+0x46f/0x710 [ 30.886306][ C3] console_unlock+0xee/0x1f0 [ 30.886307][ C3] vprintk_emit+0x37c/0x3e0 [ 30.886308][ C3] _printk+0xc7/0x100 [ 30.886311][ C3] sock_register+0x12d/0x290 [ 30.886314][ C3] inet6_init+0x1a6/0x3c0 [ 30.886316][ C3] do_one_initcall+0x124/0x4f0 [ 30.886318][ C3] kernel_init_freeable+0x596/0x630 [ 30.886319][ C3] kernel_init+0x21/0x150 [ 30.886320][ C3] ret_from_fork+0x4a4/0x720 [ 30.886321][ C3] ret_from_fork_asm+0x11/0x20 [ 30.886323][ C3] [ 30.886323][ C3] -> (console_owner){..-.}-{0:0} { [ 30.886325][ C3] IN-SOFTIRQ-W at: [ 30.886326][ C3] __lock_acquire+0x388/0xc20 [ 30.886328][ C3] lock_acquire.part.0+0xd4/0x280 [ 30.886329][ C3] console_lock_spinning_enable+0x5c/0x60 [ 30.886330][ C3] console_emit_next_record+0x1d1/0x4c0 [ 30.886331][ C3] console_flush_one_record+0x46f/0x710 [ 30.886332][ C3] console_unlock+0xee/0x1f0 [ 30.886333][ C3] vprintk_emit+0x37c/0x3e0 [ 30.886334][ C3] _printk+0xc7/0x100 [ 30.886336][ C3] tcp_syn_flood_action.cold+0xb4/0xe5 [ 30.886339][ C3] tcp_conn_request+0x13ff/0x2c00 [ 30.886340][ C3] tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.886342][ C3] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 30.886344][ C3] tcp_v4_rcv+0x2881/0x2ef0 [ 30.886345][ C3] ip_protocol_deliver_rcu+0x82/0x350 [ 30.886346][ C3] ip_local_deliver_finish+0x36f/0x610 [ 30.886347][ C3] ip_local_deliver+0x184/0x4c0 [ 30.886349][ C3] ip_rcv+0xdc/0x3d0 [ 30.886350][ C3] __netif_receive_skb_one_core+0xfc/0x180 [ 30.886351][ C3] process_backlog+0x431/0x14c0 [ 30.886353][ C3] __napi_poll+0xa7/0x3b0 [ 30.886354][ C3] net_rx_action+0x513/0xf50 [ 30.886356][ C3] handle_softirqs+0x1d3/0x900 [ 30.886358][ C3] do_softirq+0xac/0xe0 [ 30.886360][ C3] __local_bh_enable_ip+0x118/0x150 [ 30.886361][ C3] __dev_queue_xmit+0x979/0x1b80 [ 30.886363][ C3] ip_finish_output2+0xd9b/0x1bc0 [ 30.886364][ C3] ip_output+0x1ca/0x660 [ 30.886365][ C3] __ip_queue_xmit+0x774/0x1650 [ 30.886366][ C3] __tcp_transmit_skb+0x1ad9/0x3a70 [ 30.886368][ C3] tcp_connect+0xec4/0x1880 [ 30.886370][ C3] tcp_v4_connect+0x12bd/0x1960 [ 30.886371][ C3] __inet_stream_connect+0x2ed/0xd00 [ 30.886373][ C3] inet_stream_connect+0x59/0xb0 [ 30.886374][ C3] __sys_connect+0x1c1/0x2c0 [ 30.886376][ C3] __x64_sys_connect+0x72/0xd0 [ 30.886378][ C3] do_syscall_64+0x10e/0x570 [ 30.886380][ C3] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.886381][ C3] INITIAL USE at: [ 30.886382][ C3] } [ 30.886383][ C3] ... key at: [] console_owner_dep_map+0x0/0x60 [ 30.886386][ C3] ... acquired at: [ 30.886386][ C3] mark_lock+0x1d7/0xa00 [ 30.886388][ C3] mark_usage+0x42/0x170 [ 30.886389][ C3] __lock_acquire+0x388/0xc20 [ 30.886391][ C3] lock_acquire.part.0+0xd4/0x280 [ 30.886393][ C3] console_lock_spinning_enable+0x5c/0x60 [ 30.886394][ C3] console_emit_next_record+0x1d1/0x4c0 [ 30.886395][ C3] console_flush_one_record+0x46f/0x710 [ 30.886396][ C3] console_unlock+0xee/0x1f0 [ 30.886397][ C3] vprintk_emit+0x37c/0x3e0 [ 30.886398][ C3] _printk+0xc7/0x100 [ 30.886399][ C3] tcp_syn_flood_action.cold+0xb4/0xe5 [ 30.886401][ C3] tcp_conn_request+0x13ff/0x2c00 [ 30.886402][ C3] tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.886404][ C3] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 30.886405][ C3] tcp_v4_rcv+0x2881/0x2ef0 [ 30.886406][ C3] ip_protocol_deliver_rcu+0x82/0x350 [ 30.886407][ C3] ip_local_deliver_finish+0x36f/0x610 [ 30.886408][ C3] ip_local_deliver+0x184/0x4c0 [ 30.886409][ C3] ip_rcv+0xdc/0x3d0 [ 30.886410][ C3] __netif_receive_skb_one_core+0xfc/0x180 [ 30.886412][ C3] process_backlog+0x431/0x14c0 [ 30.886413][ C3] __napi_poll+0xa7/0x3b0 [ 30.886415][ C3] net_rx_action+0x513/0xf50 [ 30.886416][ C3] handle_softirqs+0x1d3/0x900 [ 30.886418][ C3] do_softirq+0xac/0xe0 [ 30.886419][ C3] __local_bh_enable_ip+0x118/0x150 [ 30.886420][ C3] __dev_queue_xmit+0x979/0x1b80 [ 30.886422][ C3] ip_finish_output2+0xd9b/0x1bc0 [ 30.886423][ C3] ip_output+0x1ca/0x660 [ 30.886424][ C3] __ip_queue_xmit+0x774/0x1650 [ 30.886426][ C3] __tcp_transmit_skb+0x1ad9/0x3a70 [ 30.886427][ C3] tcp_connect+0xec4/0x1880 [ 30.886429][ C3] tcp_v4_connect+0x12bd/0x1960 [ 30.886430][ C3] __inet_stream_connect+0x2ed/0xd00 [ 30.886431][ C3] inet_stream_connect+0x59/0xb0 [ 30.886433][ C3] __sys_connect+0x1c1/0x2c0 [ 30.886434][ C3] __x64_sys_connect+0x72/0xd0 [ 30.886436][ C3] do_syscall_64+0x10e/0x570 [ 30.886437][ C3] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.886438][ C3] [ 30.886438][ C3] [ 30.886438][ C3] stack backtrace: [ 30.886441][ C3] CPU: 3 UID: 0 PID: 342 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.886444][ C3] Tainted: [W]=WARN [ 30.886445][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.886447][ C3] Call Trace: [ 30.886448][ C3] [ 30.886449][ C3] dump_stack_lvl+0x6f/0xa0 [ 30.886453][ C3] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 30.886455][ C3] mark_lock_irq+0x989/0x9c0 [ 30.886458][ C3] mark_lock+0x1d7/0xa00 [ 30.886460][ C3] mark_usage+0x42/0x170 [ 30.886462][ C3] __lock_acquire+0x388/0xc20 [ 30.886465][ C3] lock_acquire.part.0+0xd4/0x280 [ 30.886467][ C3] ? console_lock_spinning_enable+0x40/0x60 [ 30.886468][ C3] ? rcu_is_watching+0x16/0xd0 [ 30.886471][ C3] ? lock_acquire+0x13c/0x160 [ 30.886474][ C3] console_lock_spinning_enable+0x5c/0x60 [ 30.886475][ C3] ? console_lock_spinning_enable+0x40/0x60 [ 30.886476][ C3] console_emit_next_record+0x1d1/0x4c0 [ 30.886477][ C3] ? devkmsg_read+0x4b0/0x4b0 [ 30.886479][ C3] ? console_flush_one_record+0x106/0x710 [ 30.886480][ C3] ? rcu_is_watching+0x16/0xd0 [ 30.886481][ C3] ? lock_acquire+0x13c/0x160 [ 30.886483][ C3] console_flush_one_record+0x46f/0x710 [ 30.886485][ C3] ? console_emit_next_record+0x4c0/0x4c0 [ 30.886486][ C3] ? __lock_acquire+0x518/0xc20 [ 30.886489][ C3] console_unlock+0xee/0x1f0 [ 30.886490][ C3] ? console_flush_one_record+0x710/0x710 [ 30.886491][ C3] ? rcu_is_watching+0x16/0xd0 [ 30.886493][ C3] ? lock_acquire+0x60/0x160 [ 30.886495][ C3] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.886497][ C3] ? vprintk_emit+0x320/0x3e0 [ 30.886498][ C3] vprintk_emit+0x37c/0x3e0 [ 30.886500][ C3] ? wake_up_klogd_work_func+0x90/0x90 [ 30.886501][ C3] ? __lock_release.isra.0+0x69/0x1a0 [ 30.886504][ C3] _printk+0xc7/0x100 [ 30.886505][ C3] ? snapshot_read.cold+0x21/0x21 [ 30.886507][ C3] ? ___ratelimit+0x4e7/0xa00 [ 30.886510][ C3] ? idr_get_free+0x830/0x830 [ 30.886512][ C3] tcp_syn_flood_action.cold+0xb4/0xe5 [ 30.886514][ C3] tcp_conn_request+0x13ff/0x2c00 [ 30.886516][ C3] ? reuseport_select_sock+0x19e/0x3c0 [ 30.886519][ C3] ? reuseport_select_sock+0xe1/0x3c0 [ 30.886521][ C3] ? __lock_acquire+0x518/0xc20 [ 30.886523][ C3] ? tcp_get_syncookie_mss+0x300/0x300 [ 30.886525][ C3] ? lock_acquire.part.0+0xd4/0x280 [ 30.886527][ C3] ? __lock_acquire+0x518/0xc20 [ 30.886529][ C3] ? save_trace+0x1f7/0x280 [ 30.886532][ C3] ? rcu_is_watching+0x16/0xd0 [ 30.886533][ C3] ? lock_acquire+0x13c/0x160 [ 30.886535][ C3] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.886537][ C3] tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.886539][ C3] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 30.886540][ C3] ? tcp_v4_fill_cb+0x33/0x430 [ 30.886542][ C3] tcp_v4_rcv+0x2881/0x2ef0 [ 30.886544][ C3] ? mark_usage+0x61/0x170 [ 30.886546][ C3] ? tcp_add_backlog+0x1e30/0x1e30 [ 30.886548][ C3] ? lock_acquire.part.0+0xd4/0x280 [ 30.886550][ C3] ? ip_local_deliver_finish+0x2ba/0x610 [ 30.886551][ C3] ip_protocol_deliver_rcu+0x82/0x350 [ 30.886553][ C3] ? process_backlog+0x3f1/0x14c0 [ 30.886555][ C3] ip_local_deliver_finish+0x36f/0x610 [ 30.886557][ C3] ip_local_deliver+0x184/0x4c0 [ 30.886558][ C3] ? ip_local_deliver_finish+0x610/0x610 [ 30.886560][ C3] ? ip_protocol_deliver_rcu+0x350/0x350 [ 30.886561][ C3] ? __lock_release.isra.0+0x69/0x1a0 [ 30.886564][ C3] ? process_backlog+0x3f1/0x14c0 [ 30.886565][ C3] ip_rcv+0xdc/0x3d0 [ 30.886567][ C3] ? ip_local_deliver+0x4c0/0x4c0 [ 30.886568][ C3] ? rcu_is_watching+0x16/0xd0 [ 30.886570][ C3] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 30.886571][ C3] ? __lock_acquire+0x518/0xc20 [ 30.886573][ C3] ? perf_trace_rcu_grace_period_init+0x227/0x580 [ 30.886576][ C3] ? process_backlog+0x3f1/0x14c0 [ 30.886577][ C3] __netif_receive_skb_one_core+0xfc/0x180 [ 30.886579][ C3] ? lock_acquire.part.0+0xd4/0x280 [ 30.886581][ C3] ? process_backlog+0x3f1/0x14c0 [ 30.886582][ C3] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 30.886584][ C3] ? rcu_is_watching+0x16/0xd0 [ 30.886586][ C3] process_backlog+0x431/0x14c0 [ 30.886589][ C3] __napi_poll+0xa7/0x3b0 [ 30.886591][ C3] net_rx_action+0x513/0xf50 [ 30.886593][ C3] ? __lock_acquire+0x518/0xc20 [ 30.886595][ C3] ? __napi_poll+0x3b0/0x3b0 [ 30.886599][ C3] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 30.886602][ C3] ? mark_held_locks+0x40/0x70 [ 30.886604][ C3] handle_softirqs+0x1d3/0x900 [ 30.886606][ C3] ? _local_bh_enable+0xc0/0xc0 [ 30.886608][ C3] ? do_raw_spin_unlock+0x59/0x250 [ 30.886610][ C3] ? rcu_is_watching+0x16/0xd0 [ 30.886611][ C3] ? __dev_queue_xmit+0x964/0x1b80 [ 30.886613][ C3] do_softirq+0xac/0xe0 [ 30.886615][ C3] [ 30.886616][ C3] [ 30.886616][ C3] __local_bh_enable_ip+0x118/0x150 [ 30.886618][ C3] __dev_queue_xmit+0x979/0x1b80 [ 30.886621][ C3] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 30.886623][ C3] ? lock_acquire.part.0+0xd4/0x280 [ 30.886624][ C3] ? find_held_lock+0x2b/0x80 [ 30.886626][ C3] ? __lock_release.isra.0+0x69/0x1a0 [ 30.886628][ C3] ? rcu_is_watching+0x16/0xd0 [ 30.886629][ C3] ? mark_held_locks+0x40/0x70 [ 30.886631][ C3] ? __asan_memcpy+0x3c/0x60 [ 30.886634][ C3] ? neigh_hh_output+0x152/0x4c0 [ 30.886636][ C3] ip_finish_output2+0xd9b/0x1bc0 [ 30.886638][ C3] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 30.886640][ C3] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 30.886642][ C3] ip_output+0x1ca/0x660 [ 30.886644][ C3] ? ip_finish_output+0x460/0x460 [ 30.886645][ C3] ? find_held_lock+0x2b/0x80 [ 30.886647][ C3] ? __ip_finish_output+0x720/0x720 [ 30.886649][ C3] ? ip4_dst_hoplimit+0x15b/0x320 [ 30.886651][ C3] __ip_queue_xmit+0x774/0x1650 [ 30.886653][ C3] __tcp_transmit_skb+0x1ad9/0x3a70 [ 30.886656][ C3] ? tcp_call_bpf+0x201/0x2e0 [ 30.886658][ C3] ? tcp_clone_payload+0x10b0/0x10b0 [ 30.886659][ C3] ? __tcp_select_window+0xf20/0xf20 [ 30.886662][ C3] ? lockdep_hardirqs_on+0x91/0x130 [ 30.886664][ C3] ? ktime_get+0x18e/0x2d0 [ 30.886665][ C3] ? kvm_clock_get_cycles+0x19/0x30 [ 30.886668][ C3] ? ktime_get+0x1dd/0x2d0 [ 30.886670][ C3] tcp_connect+0xec4/0x1880 [ 30.886673][ C3] tcp_v4_connect+0x12bd/0x1960 [ 30.886675][ C3] ? established_get_first+0x6b0/0x6b0 [ 30.886677][ C3] ? do_raw_spin_lock+0x131/0x280 [ 30.886679][ C3] ? find_held_lock+0x2b/0x80 [ 30.886681][ C3] __inet_stream_connect+0x2ed/0xd00 [ 30.886683][ C3] ? lockdep_hardirqs_on+0x91/0x130 [ 30.886685][ C3] inet_stream_connect+0x59/0xb0 [ 30.886687][ C3] __sys_connect+0x1c1/0x2c0 [ 30.886688][ C3] ? do_fcntl+0x36f/0xc50 [ 30.886691][ C3] ? __sys_connect_file+0x250/0x250 [ 30.886694][ C3] ? fdget_raw+0x4f/0x190 [ 30.886697][ C3] __x64_sys_connect+0x72/0xd0 [ 30.886699][ C3] ? lockdep_hardirqs_on+0x91/0x130 [ 30.886700][ C3] ? do_syscall_64+0xa6/0x570 [ 30.886702][ C3] do_syscall_64+0x10e/0x570 [ 30.886703][ C3] ? exc_page_fault+0xee/0x100 [ 30.886705][ C3] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.886707][ C3] RIP: 0033:0x7f8f9054354e [ 30.886710][ 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 [ 30.886712][ C3] RSP: 002b:00007ffff91dfca0 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 30.886714][ C3] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8f9054354e [ 30.886716][ C3] RDX: 0000000000000010 RSI: 00007ffff91dfd30 RDI: 0000000000000005 [ 30.886716][ C3] RBP: 00007ffff91dfcb0 R08: 0000000000000000 R09: 0000000000000000 [ 30.886717][ C3] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffff91dfea8 [ 30.886718][ C3] R13: 0000000000000005 R14: 00007f8f90714000 R15: 0000000000402e00 [ 30.886720][ C3] [ 30.886724][ C3] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.886726][ C3] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 342, name: connect_close [ 30.886727][ C3] preempt_count: 302, expected: 0 [ 30.886728][ C3] RCU nest depth: 6, expected: 0 [ 30.886729][ C3] INFO: lockdep is turned off. [ 30.886729][ C3] irq event stamp: 43287 [ 30.886730][ C3] hardirqs last enabled at (43286): [] __down_trylock_console_sem+0x86/0xa0 [ 30.886732][ C3] hardirqs last disabled at (43287): [] console_emit_next_record+0x3d4/0x4c0 [ 30.886734][ C3] softirqs last enabled at (43270): [] __dev_queue_xmit+0x964/0x1b80 [ 30.886735][ C3] softirqs last disabled at (43271): [] do_softirq+0xac/0xe0 [ 30.886737][ C3] Preemption disabled at: [ 30.886738][ C3] [] __dev_queue_xmit+0x204/0x1b80 [ 30.886740][ C3] CPU: 3 UID: 0 PID: 342 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.886742][ C3] Tainted: [W]=WARN [ 30.886743][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.886743][ C3] Call Trace: [ 30.886744][ C3] [ 30.886744][ C3] dump_stack_lvl+0x6f/0xa0 [ 30.886746][ C3] ? __dev_queue_xmit+0x204/0x1b80 [ 30.886748][ C3] __might_resched.cold+0x1fe/0x2c1 [ 30.886750][ C3] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.886753][ C3] ? rcu_is_watching+0x16/0xd0 [ 30.886754][ C3] __kmalloc_noprof+0x443/0x760 [ 30.886756][ C3] ? __rwlock_init+0x150/0x150 [ 30.886758][ C3] ? alloc_buf.isra.0+0x4b/0x260 [ 30.886760][ C3] ? do_raw_spin_unlock+0x59/0x250 [ 30.886762][ C3] alloc_buf.isra.0+0x4b/0x260 [ 30.886764][ C3] put_chars+0x1e1/0x2f0 [ 30.886765][ C3] ? __send_to_port+0x420/0x420 [ 30.886768][ C3] hvc_console_print+0x292/0x780 [ 30.886770][ C3] ? mark_usage+0x42/0x170 [ 30.886772][ C3] ? __lock_acquire+0x388/0xc20 [ 30.886774][ C3] ? hvc_write+0x3a0/0x3a0 [ 30.886775][ C3] ? lock_acquire.part.0+0xd4/0x280 [ 30.886777][ C3] ? rcu_is_watching+0x16/0xd0 [ 30.886778][ C3] ? lock_acquire+0x13c/0x160 [ 30.886781][ C3] console_emit_next_record+0x22f/0x4c0 [ 30.886782][ C3] ? devkmsg_read+0x4b0/0x4b0 [ 30.886783][ C3] ? console_flush_one_record+0x106/0x710 [ 30.886785][ C3] ? rcu_is_watching+0x16/0xd0 [ 30.886786][ C3] ? lock_acquire+0x13c/0x160 [ 30.886788][ C3] console_flush_one_record+0x46f/0x710 [ 30.886790][ C3] ? console_emit_next_record+0x4c0/0x4c0 [ 30.886791][ C3] ? __lock_acquire+0x518/0xc20 [ 30.886794][ C3] console_unlock+0xee/0x1f0 [ 30.886795][ C3] ? console_flush_one_record+0x710/0x710 [ 30.886796][ C3] ? rcu_is_watching+0x16/0xd0 [ 30.886797][ C3] ? lock_acquire+0x60/0x160 [ 30.886800][ C3] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.886801][ C3] ? vprintk_emit+0x320/0x3e0 [ 30.886803][ C3] vprintk_emit+0x37c/0x3e0 [ 30.886805][ C3] ? wake_up_klogd_work_func+0x90/0x90 [ 30.886806][ C3] ? __lock_release.isra.0+0x69/0x1a0 [ 30.886808][ C3] _printk+0xc7/0x100 [ 30.886810][ C3] ? snapshot_read.cold+0x21/0x21 [ 30.886812][ C3] ? ___ratelimit+0x4e7/0xa00 [ 30.886814][ C3] ? idr_get_free+0x830/0x830 [ 30.886816][ C3] tcp_syn_flood_action.cold+0xb4/0xe5 [ 30.886818][ C3] tcp_conn_request+0x13ff/0x2c00 [ 30.886820][ C3] ? reuseport_select_sock+0x19e/0x3c0 [ 30.886822][ C3] ? reuseport_select_sock+0xe1/0x3c0 [ 30.886824][ C3] ? __lock_acquire+0x518/0xc20 [ 30.886826][ C3] ? tcp_get_syncookie_mss+0x300/0x300 [ 30.886828][ C3] ? lock_acquire.part.0+0xd4/0x280 [ 30.886830][ C3] ? __lock_acquire+0x518/0xc20 [ 30.886831][ C3] ? save_trace+0x1f7/0x280 [ 30.886834][ C3] ? rcu_is_watching+0x16/0xd0 [ 30.886835][ C3] ? lock_acquire+0x13c/0x160 [ 30.886837][ C3] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.886839][ C3] tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.886841][ C3] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 30.886842][ C3] ? tcp_v4_fill_cb+0x33/0x430 [ 30.886844][ C3] tcp_v4_rcv+0x2881/0x2ef0 [ 30.886846][ C3] ? mark_usage+0x61/0x170 [ 30.886848][ C3] ? tcp_add_backlog+0x1e30/0x1e30 [ 30.886850][ C3] ? lock_acquire.part.0+0xd4/0x280 [ 30.886851][ C3] ? ip_local_deliver_finish+0x2ba/0x610 [ 30.886853][ C3] ip_protocol_deliver_rcu+0x82/0x350 [ 30.886855][ C3] ? process_backlog+0x3f1/0x14c0 [ 30.886857][ C3] ip_local_deliver_finish+0x36f/0x610 [ 30.886859][ C3] ip_local_deliver+0x184/0x4c0 [ 30.886860][ C3] ? ip_local_deliver_finish+0x610/0x610 [ 30.886862][ C3] ? ip_protocol_deliver_rcu+0x350/0x350 [ 30.886863][ C3] ? __lock_release.isra.0+0x69/0x1a0 [ 30.886866][ C3] ? process_backlog+0x3f1/0x14c0 [ 30.886867][ C3] ip_rcv+0xdc/0x3d0 [ 30.886868][ C3] ? ip_local_deliver+0x4c0/0x4c0 [ 30.886870][ C3] ? rcu_is_watching+0x16/0xd0 [ 30.886871][ C3] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 30.886873][ C3] ? __lock_acquire+0x518/0xc20 [ 30.886874][ C3] ? perf_trace_rcu_grace_period_init+0x227/0x580 [ 30.886876][ C3] ? process_backlog+0x3f1/0x14c0 [ 30.886878][ C3] __netif_receive_skb_one_core+0xfc/0x180 [ 30.886879][ C3] ? lock_acquire.part.0+0xd4/0x280 [ 30.886881][ C3] ? process_backlog+0x3f1/0x14c0 [ 30.886883][ C3] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 30.886884][ C3] ? rcu_is_watching+0x16/0xd0 [ 30.886886][ C3] process_backlog+0x431/0x14c0 [ 30.886889][ C3] __napi_poll+0xa7/0x3b0 [ 30.886891][ C3] net_rx_action+0x513/0xf50 [ 30.886893][ C3] ? __lock_acquire+0x518/0xc20 [ 30.886895][ C3] ? __napi_poll+0x3b0/0x3b0 [ 30.886899][ C3] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 30.886901][ C3] ? mark_held_locks+0x40/0x70 [ 30.886903][ C3] handle_softirqs+0x1d3/0x900 [ 30.886905][ C3] ? _local_bh_enable+0xc0/0xc0 [ 30.886907][ C3] ? do_raw_spin_unlock+0x59/0x250 [ 30.886909][ C3] ? rcu_is_watching+0x16/0xd0 [ 30.886910][ C3] ? __dev_queue_xmit+0x964/0x1b80 [ 30.886911][ C3] do_softirq+0xac/0xe0 [ 30.886913][ C3] [ 30.886914][ C3] [ 30.886914][ C3] __local_bh_enable_ip+0x118/0x150 [ 30.886916][ C3] __dev_queue_xmit+0x979/0x1b80 [ 30.886919][ C3] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 30.886920][ C3] ? lock_acquire.part.0+0xd4/0x280 [ 30.886922][ C3] ? find_held_lock+0x2b/0x80 [ 30.886924][ C3] ? __lock_release.isra.0+0x69/0x1a0 [ 30.886925][ C3] ? rcu_is_watching+0x16/0xd0 [ 30.886927][ C3] ? mark_held_locks+0x40/0x70 [ 30.886928][ C3] ? __asan_memcpy+0x3c/0x60 [ 30.886930][ C3] ? neigh_hh_output+0x152/0x4c0 [ 30.886932][ C3] ip_finish_output2+0xd9b/0x1bc0 [ 30.886934][ C3] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 30.886935][ C3] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 30.886938][ C3] ip_output+0x1ca/0x660 [ 30.886939][ C3] ? ip_finish_output+0x460/0x460 [ 30.886941][ C3] ? find_held_lock+0x2b/0x80 [ 30.886943][ C3] ? __ip_finish_output+0x720/0x720 [ 30.886944][ C3] ? ip4_dst_hoplimit+0x15b/0x320 [ 30.886946][ C3] __ip_queue_xmit+0x774/0x1650 [ 30.886948][ C3] __tcp_transmit_skb+0x1ad9/0x3a70 [ 30.886951][ C3] ? tcp_call_bpf+0x201/0x2e0 [ 30.886953][ C3] ? tcp_clone_payload+0x10b0/0x10b0 [ 30.886955][ C3] ? __tcp_select_window+0xf20/0xf20 [ 30.886957][ C3] ? lockdep_hardirqs_on+0x91/0x130 [ 30.886959][ C3] ? ktime_get+0x18e/0x2d0 [ 30.886960][ C3] ? kvm_clock_get_cycles+0x19/0x30 [ 30.886961][ C3] ? ktime_get+0x1dd/0x2d0 [ 30.886963][ C3] tcp_connect+0xec4/0x1880 [ 30.886966][ C3] tcp_v4_connect+0x12bd/0x1960 [ 30.886968][ C3] ? established_get_first+0x6b0/0x6b0 [ 30.886970][ C3] ? do_raw_spin_lock+0x131/0x280 [ 30.886972][ C3] ? find_held_lock+0x2b/0x80 [ 30.886973][ C3] __inet_stream_connect+0x2ed/0xd00 [ 30.886976][ C3] ? lockdep_hardirqs_on+0x91/0x130 [ 30.886978][ C3] inet_stream_connect+0x59/0xb0 [ 30.886980][ C3] __sys_connect+0x1c1/0x2c0 [ 30.886981][ C3] ? do_fcntl+0x36f/0xc50 [ 30.886983][ C3] ? __sys_connect_file+0x250/0x250 [ 30.886986][ C3] ? fdget_raw+0x4f/0x190 [ 30.886988][ C3] __x64_sys_connect+0x72/0xd0 [ 30.886989][ C3] ? lockdep_hardirqs_on+0x91/0x130 [ 30.886991][ C3] ? do_syscall_64+0xa6/0x570 [ 30.886992][ C3] do_syscall_64+0x10e/0x570 [ 30.886994][ C3] ? exc_page_fault+0xee/0x100 [ 30.886996][ C3] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.886997][ C3] RIP: 0033:0x7f8f9054354e [ 30.886998][ 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 [ 30.886999][ C3] RSP: 002b:00007ffff91dfca0 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 30.887000][ C3] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8f9054354e [ 30.887001][ C3] RDX: 0000000000000010 RSI: 00007ffff91dfd30 RDI: 0000000000000005 [ 30.887002][ C3] RBP: 00007ffff91dfcb0 R08: 0000000000000000 R09: 0000000000000000 [ 30.887003][ C3] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffff91dfea8 [ 30.887003][ C3] R13: 0000000000000005 R14: 00007f8f90714000 R15: 0000000000402e00 [ 30.887006][ C3] [ 31.007903][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.228189][ C2] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.357372][ C2] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.696789][ C3] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.802078][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.827011][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.876649][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.929934][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.929946][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.929948][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 342, name: connect_close [ 31.929950][ C0] preempt_count: 302, expected: 0 [ 31.929951][ C0] RCU nest depth: 6, expected: 0 [ 31.929952][ C0] INFO: lockdep is turned off. [ 31.929953][ C0] irq event stamp: 43287 [ 31.929954][ C0] hardirqs last enabled at (43286): [] __down_trylock_console_sem+0x86/0xa0 [ 31.929963][ C0] hardirqs last disabled at (43287): [] console_emit_next_record+0x3d4/0x4c0 [ 31.929965][ C0] softirqs last enabled at (43270): [] __dev_queue_xmit+0x964/0x1b80 [ 31.929969][ C0] softirqs last disabled at (43271): [] do_softirq+0xac/0xe0 [ 31.929973][ C0] Preemption disabled at: [ 31.929974][ C0] [] __dev_queue_xmit+0x204/0x1b80 [ 31.929979][ C0] CPU: 0 UID: 0 PID: 342 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.929983][ C0] Tainted: [W]=WARN [ 31.929984][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.929986][ C0] Call Trace: [ 31.929988][ C0] [ 31.929989][ C0] dump_stack_lvl+0x6f/0xa0 [ 31.929994][ C0] ? __dev_queue_xmit+0x204/0x1b80 [ 31.929996][ C0] __might_resched.cold+0x1fe/0x2c1 [ 31.929999][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.930001][ C0] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 31.930003][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930006][ C0] __kmalloc_noprof+0x443/0x760 [ 31.930010][ C0] ? __rwlock_init+0x150/0x150 [ 31.930013][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 31.930017][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 31.930019][ C0] alloc_buf.isra.0+0x4b/0x260 [ 31.930021][ C0] put_chars+0x1e1/0x2f0 [ 31.930023][ C0] ? prb_final_commit+0x50/0x50 [ 31.930024][ C0] ? __send_to_port+0x420/0x420 [ 31.930026][ C0] ? printk_get_next_message+0x240/0x650 [ 31.930028][ C0] hvc_console_print+0x292/0x780 [ 31.930039][ C0] ? hvc_write+0x3a0/0x3a0 [ 31.930041][ C0] ? do_raw_spin_lock+0x131/0x280 [ 31.930043][ C0] ? vsnprintf+0x668/0x1700 [ 31.930046][ C0] ? __rwlock_init+0x150/0x150 [ 31.930048][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930049][ C0] ? lock_acquire+0x13c/0x160 [ 31.930052][ C0] console_emit_next_record+0x22f/0x4c0 [ 31.930054][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 31.930056][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930057][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930058][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930059][ C0] ? lock_acquire+0x13c/0x160 [ 31.930061][ C0] ? console_flush_one_record+0x111/0x710 [ 31.930062][ C0] console_flush_one_record+0x46f/0x710 [ 31.930064][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 31.930066][ C0] console_unlock+0xee/0x1f0 [ 31.930067][ C0] ? lock_acquire+0x13c/0x160 [ 31.930069][ C0] ? console_flush_one_record+0x710/0x710 [ 31.930070][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930071][ C0] ? lock_release+0x184/0x1f0 [ 31.930073][ C0] ? lock_acquire+0x60/0x160 [ 31.930075][ C0] ? __rcu_read_lock+0x30/0x70 [ 31.930076][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.930078][ C0] ? vprintk_emit+0x320/0x3e0 [ 31.930079][ C0] vprintk_emit+0x37c/0x3e0 [ 31.930081][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 31.930082][ C0] ? do_raw_spin_trylock+0xb6/0x180 [ 31.930084][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930086][ C0] ? lock_acquire+0x13c/0x160 [ 31.930088][ C0] _printk+0xc7/0x100 [ 31.930091][ C0] ? snapshot_read.cold+0x21/0x21 [ 31.930093][ C0] ? ___ratelimit+0x4e7/0xa00 [ 31.930095][ C0] ? idr_get_free+0x830/0x830 [ 31.930097][ C0] tcp_syn_flood_action.cold+0xb4/0xe5 [ 31.930100][ C0] tcp_conn_request+0x13ff/0x2c00 [ 31.930104][ C0] ? lock_acquire+0x13c/0x160 [ 31.930105][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930107][ C0] ? lock_release+0x184/0x1f0 [ 31.930108][ C0] ? reuseport_select_sock+0xe1/0x3c0 [ 31.930112][ C0] ? tcp_get_syncookie_mss+0x300/0x300 [ 31.930114][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930116][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930118][ C0] ? lock_acquire+0x13c/0x160 [ 31.930120][ C0] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 31.930121][ C0] tcp_rcv_listen_state_process+0x1ab/0x380 [ 31.930123][ C0] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 31.930125][ C0] ? tcp_v4_fill_cb+0x33/0x430 [ 31.930127][ C0] tcp_v4_rcv+0x2881/0x2ef0 [ 31.930130][ C0] ? tcp_add_backlog+0x1e30/0x1e30 [ 31.930132][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930133][ C0] ? process_backlog+0x3f1/0x14c0 [ 31.930135][ C0] ip_protocol_deliver_rcu+0x82/0x350 [ 31.930140][ C0] ? process_backlog+0x3f1/0x14c0 [ 31.930142][ C0] ip_local_deliver_finish+0x36f/0x610 [ 31.930143][ C0] ? lock_release+0x184/0x1f0 [ 31.930145][ C0] ip_local_deliver+0x184/0x4c0 [ 31.930147][ C0] ? ip_local_deliver_finish+0x610/0x610 [ 31.930148][ C0] ? ip_protocol_deliver_rcu+0x350/0x350 [ 31.930149][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930151][ C0] ? process_backlog+0x3f1/0x14c0 [ 31.930153][ C0] ip_rcv+0xdc/0x3d0 [ 31.930154][ C0] ? ip_local_deliver+0x4c0/0x4c0 [ 31.930156][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930157][ C0] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 31.930159][ C0] ? process_backlog+0x3f1/0x14c0 [ 31.930161][ C0] __netif_receive_skb_one_core+0xfc/0x180 [ 31.930164][ C0] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 31.930167][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930169][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930172][ C0] process_backlog+0x431/0x14c0 [ 31.930175][ C0] __napi_poll+0xa7/0x3b0 [ 31.930177][ C0] net_rx_action+0x513/0xf50 [ 31.930180][ C0] ? __napi_poll+0x3b0/0x3b0 [ 31.930182][ C0] ? do_raw_spin_lock+0xe0/0x280 [ 31.930184][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930185][ C0] ? timerqueue_linked_add+0x207/0x560 [ 31.930188][ C0] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 31.930192][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930193][ C0] handle_softirqs+0x1d3/0x900 [ 31.930195][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930197][ C0] ? _local_bh_enable+0xc0/0xc0 [ 31.930198][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 31.930200][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930201][ C0] ? __dev_queue_xmit+0x964/0x1b80 [ 31.930203][ C0] do_softirq+0xac/0xe0 [ 31.930205][ C0] [ 31.930205][ C0] [ 31.930206][ C0] __local_bh_enable_ip+0x118/0x150 [ 31.930208][ C0] __dev_queue_xmit+0x979/0x1b80 [ 31.930211][ C0] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 31.930213][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930214][ C0] ? lock_acquire+0x13c/0x160 [ 31.930216][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930217][ C0] ? __asan_memcpy+0x3c/0x60 [ 31.930220][ C0] ? neigh_hh_output+0x152/0x4c0 [ 31.930222][ C0] ip_finish_output2+0xd9b/0x1bc0 [ 31.930224][ C0] ? ip_dst_mtu_maybe_forward+0x7c/0x670 [ 31.930225][ C0] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 31.930227][ C0] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 31.930229][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930231][ C0] ip_output+0x1ca/0x660 [ 31.930233][ C0] ? ip_finish_output+0x460/0x460 [ 31.930234][ C0] ? lock_acquire+0x13c/0x160 [ 31.930236][ C0] ? __ip_finish_output+0x720/0x720 [ 31.930237][ C0] ? lock_acquire+0x13c/0x160 [ 31.930239][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930240][ C0] ? lock_release+0x184/0x1f0 [ 31.930242][ C0] __ip_queue_xmit+0x774/0x1650 [ 31.930245][ C0] __tcp_transmit_skb+0x1ad9/0x3a70 [ 31.930248][ C0] ? tcp_call_bpf+0x201/0x2e0 [ 31.930249][ C0] ? tcp_clone_payload+0x10b0/0x10b0 [ 31.930251][ C0] ? __tcp_select_window+0xf20/0xf20 [ 31.930254][ C0] ? trace_hardirqs_on+0x36/0x40 [ 31.930256][ C0] ? kvm_clock_get_cycles+0x19/0x30 [ 31.930259][ C0] ? ktime_get+0x1dd/0x2d0 [ 31.930261][ C0] tcp_connect+0xec4/0x1880 [ 31.930264][ C0] tcp_v4_connect+0x12bd/0x1960 [ 31.930266][ C0] ? established_get_first+0x6b0/0x6b0 [ 31.930268][ C0] ? lockdep_init_map_type+0x5d/0x250 [ 31.930270][ C0] ? do_raw_spin_lock+0x131/0x280 [ 31.930272][ C0] ? __rwlock_init+0x150/0x150 [ 31.930274][ C0] __inet_stream_connect+0x2ed/0xd00 [ 31.930277][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 31.930278][ C0] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 31.930280][ C0] inet_stream_connect+0x59/0xb0 [ 31.930282][ C0] __sys_connect+0x1c1/0x2c0 [ 31.930285][ C0] ? do_fcntl+0x36f/0xc50 [ 31.930288][ C0] ? rcu_is_watching+0x16/0xd0 [ 31.930289][ C0] ? __sys_connect_file+0x250/0x250 [ 31.930292][ C0] ? fdget_raw+0x4f/0x190 [ 31.930295][ C0] __x64_sys_connect+0x72/0xd0 [ 31.930296][ C0] ? trace_hardirqs_on+0x36/0x40 [ 31.930298][ C0] do_syscall_64+0x10e/0x570 [ 31.930300][ C0] ? irq_exit_rcu+0x1a/0x30 [ 31.930302][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.930304][ C0] RIP: 0033:0x7f8f9054354e [ 31.930307][ 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.930309][ C0] RSP: 002b:00007ffff91dfca0 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 31.930313][ C0] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8f9054354e [ 31.930314][ C0] RDX: 0000000000000010 RSI: 00007ffff91dfd30 RDI: 0000000000000005 [ 31.930315][ C0] RBP: 00007ffff91dfcb0 R08: 0000000000000000 R09: 0000000000000000 [ 31.930316][ C0] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffff91dfea8 [ 31.930317][ C0] R13: 0000000000000005 R14: 00007f8f90714000 R15: 0000000000402e00 [ 31.930320][ C0] [ 31.973121][ C1] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 84.326170][ T1015] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 84.326186][ T1015] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 84.326188][ T1015] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1015, name: modprobe [ 84.326190][ T1015] preempt_count: 1, expected: 0 [ 84.326191][ T1015] RCU nest depth: 0, expected: 0 [ 84.326191][ T1015] INFO: lockdep is turned off. [ 84.326192][ T1015] irq event stamp: 0 [ 84.326193][ T1015] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 84.326197][ T1015] hardirqs last disabled at (0): [] copy_process+0x1d01/0x62c0 [ 84.326204][ T1015] softirqs last enabled at (0): [] copy_process+0x1d55/0x62c0 [ 84.326206][ T1015] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 84.326207][ T1015] Preemption disabled at: [ 84.326208][ T1015] [] vprintk_emit+0x31b/0x3e0 [ 84.326215][ T1015] CPU: 2 UID: 0 PID: 1015 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 84.326218][ T1015] Tainted: [W]=WARN [ 84.326219][ T1015] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 84.326221][ T1015] Call Trace: [ 84.326222][ T1015] [ 84.326224][ T1015] dump_stack_lvl+0x6f/0xa0 [ 84.326228][ T1015] ? vprintk_emit+0x31b/0x3e0 [ 84.326230][ T1015] __might_resched.cold+0x1fe/0x2c1 [ 84.326234][ T1015] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 84.326236][ T1015] ? rcu_is_watching+0x16/0xd0 [ 84.326239][ T1015] __kmalloc_noprof+0x443/0x760 [ 84.326243][ T1015] ? __rwlock_init+0x150/0x150 [ 84.326246][ T1015] ? alloc_buf.isra.0+0x4b/0x260 [ 84.326250][ T1015] ? do_raw_spin_unlock+0x59/0x250 [ 84.326252][ T1015] alloc_buf.isra.0+0x4b/0x260 [ 84.326254][ T1015] put_chars+0x1e1/0x2f0 [ 84.326256][ T1015] ? __send_to_port+0x420/0x420 [ 84.326258][ T1015] ? console_prepend_replay+0x20/0x20 [ 84.326260][ T1015] hvc_console_print+0x292/0x780 [ 84.326264][ T1015] ? hvc_write+0x3a0/0x3a0 [ 84.326265][ T1015] ? rcu_is_watching+0x16/0xd0 [ 84.326267][ T1015] ? rcu_is_watching+0x16/0xd0 [ 84.326268][ T1015] ? lock_acquire+0x13c/0x160 [ 84.326270][ T1015] console_emit_next_record+0x22f/0x4c0 [ 84.326272][ T1015] ? devkmsg_read+0x4b0/0x4b0 [ 84.326274][ T1015] ? rcu_is_watching+0x16/0xd0 [ 84.326275][ T1015] ? rcu_is_watching+0x16/0xd0 [ 84.326276][ T1015] ? rcu_is_watching+0x16/0xd0 [ 84.326277][ T1015] ? lock_acquire+0x13c/0x160 [ 84.326279][ T1015] ? console_flush_one_record+0x111/0x710 [ 84.326280][ T1015] console_flush_one_record+0x46f/0x710 [ 84.326282][ T1015] ? console_emit_next_record+0x4c0/0x4c0 [ 84.326284][ T1015] console_unlock+0xee/0x1f0 [ 84.326286][ T1015] ? lock_acquire+0x13c/0x160 [ 84.326287][ T1015] ? console_flush_one_record+0x710/0x710 [ 84.326288][ T1015] ? rcu_is_watching+0x16/0xd0 [ 84.326289][ T1015] ? lock_release+0x184/0x1f0 [ 84.326291][ T1015] ? lock_acquire+0x60/0x160 [ 84.326293][ T1015] ? __rcu_read_lock+0x30/0x70 [ 84.326294][ T1015] ? __down_trylock_console_sem+0x5e/0xa0 [ 84.326297][ T1015] ? vprintk_emit+0x320/0x3e0 [ 84.326298][ T1015] vprintk_emit+0x37c/0x3e0 [ 84.326300][ T1015] ? wake_up_klogd_work_func+0x90/0x90 [ 84.326302][ T1015] ? ww_mutex_lock+0x160/0x160 [ 84.326306][ T1015] ? llc_exit+0x3e0/0x3e0 [llc] [ 84.326308][ T1015] _printk+0xc7/0x100 [ 84.326311][ T1015] ? snapshot_read.cold+0x21/0x21 [ 84.326313][ T1015] ? __mutex_unlock_slowpath+0x5e5/0x740 [ 84.326316][ T1015] ? _mutex_trylock_nest_lock+0x390/0x390 [ 84.326318][ T1015] ? __mutex_unlock_slowpath+0x14d/0x740 [ 84.326320][ T1015] br_init+0x98/0xc0 [bridge] [ 84.326334][ T1015] do_one_initcall+0x124/0x4f0 [ 84.326336][ T1015] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 84.326339][ T1015] ? do_init_module+0xae/0x8a0 [ 84.326341][ T1015] ? kasan_unpoison+0x44/0x70 [ 84.326344][ T1015] do_init_module+0x2ad/0x8a0 [ 84.326346][ T1015] ? free_module+0x470/0x470 [ 84.326348][ T1015] ? kfree+0x123/0x590 [ 84.326350][ T1015] load_module+0x154b/0x1d60 [ 84.326353][ T1015] ? layout_and_allocate.isra.0+0x680/0x680 [ 84.326355][ T1015] ? backing_file_read_iter+0x541/0x790 [ 84.326359][ T1015] init_module_from_file+0x11f/0x1a0 [ 84.326361][ T1015] ? __ia32_sys_init_module+0xc0/0xc0 [ 84.326363][ T1015] ? ovl_mmap+0x270/0x270 [ 84.326367][ T1015] ? __rwlock_init+0x150/0x150 [ 84.326369][ T1015] ? rcu_is_watching+0x16/0xd0 [ 84.326371][ T1015] ? lock_release+0x184/0x1f0 [ 84.326372][ T1015] ? do_raw_spin_unlock+0x59/0x250 [ 84.326374][ T1015] idempotent_init_module+0x37b/0x7c0 [ 84.326376][ T1015] ? init_module_from_file+0x1a0/0x1a0 [ 84.326378][ T1015] ? rcu_is_watching+0x16/0xd0 [ 84.326380][ T1015] ? cap_capable+0x1d7/0x3d0 [ 84.326382][ T1015] __x64_sys_finit_module+0xdf/0x190 [ 84.326384][ T1015] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 84.326387][ T1015] do_syscall_64+0x10e/0x570 [ 84.326389][ T1015] ? exc_page_fault+0xee/0x100 [ 84.326391][ T1015] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 84.326393][ T1015] RIP: 0033:0x7f97048a337d [ 84.326396][ T1015] 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.326397][ T1015] RSP: 002b:00007ffd7972e7b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 84.326401][ T1015] RAX: ffffffffffffffda RBX: 0000558904f53810 RCX: 00007f97048a337d [ 84.326402][ T1015] RDX: 0000000000000000 RSI: 00005588f7175ffd RDI: 0000000000000002 [ 84.326403][ T1015] RBP: 00007ffd7972e850 R08: 0000000000000000 R09: 0000000000000000 [ 84.326404][ T1015] R10: 0000000000000000 R11: 0000000000000246 R12: 00005588f7175ffd [ 84.326405][ T1015] R13: 0000558904f539c0 R14: 0000000000040000 R15: 0000000000000000 [ 84.326407][ T1015] [ 84.395127][ T1018] br0: port 1(veth0) entered blocking state [ 84.395378][ T1018] br0: port 1(veth0) entered disabled state [ 84.395634][ T1018] veth0: entered allmulticast mode [ 84.396609][ T1018] veth0: entered promiscuous mode [ 84.419924][ T1019] br0: port 2(veth1) entered blocking state [ 84.420131][ T1019] br0: port 2(veth1) entered disabled state [ 84.420721][ T1019] veth1: entered allmulticast mode [ 84.421907][ T1019] veth1: entered promiscuous mode [ 84.439716][ T1020] br0: port 2(veth1) entered blocking state [ 84.439959][ T1020] br0: port 2(veth1) entered forwarding state [ 84.440323][ T1020] br0: port 1(veth0) entered blocking state [ 84.444855][ T1020] br0: port 1(veth0) entered forwarding state [ 90.629127][ T1038] nf_queue (1038) used greatest stack depth: 23776 bytes left [ 90.629150][ T1038] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 90.629153][ T1038] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1038, name: nf_queue [ 90.629154][ T1038] preempt_count: 2, expected: 0 [ 90.629155][ T1038] RCU nest depth: 0, expected: 0 [ 90.629156][ T1038] INFO: lockdep is turned off. [ 90.629158][ T1038] irq event stamp: 0 [ 90.629158][ T1038] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 90.629164][ T1038] hardirqs last disabled at (0): [] copy_process+0x1d01/0x62c0 [ 90.629172][ T1038] softirqs last enabled at (0): [] copy_process+0x1d55/0x62c0 [ 90.629175][ T1038] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 90.629177][ T1038] Preemption disabled at: [ 90.629178][ T1038] [<0000000000000000>] 0x0 [ 90.629184][ T1038] CPU: 0 UID: 0 PID: 1038 Comm: nf_queue Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 90.629187][ T1038] Tainted: [W]=WARN [ 90.629188][ T1038] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 90.629190][ T1038] Call Trace: [ 90.629192][ T1038] [ 90.629193][ T1038] dump_stack_lvl+0x6f/0xa0 [ 90.629198][ T1038] __might_resched.cold+0x1fe/0x2c1 [ 90.629202][ T1038] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 90.629204][ T1038] ? rcu_is_watching+0x16/0xd0 [ 90.629208][ T1038] __kmalloc_noprof+0x443/0x760 [ 90.629211][ T1038] ? __rwlock_init+0x150/0x150 [ 90.629214][ T1038] ? alloc_buf.isra.0+0x4b/0x260 [ 90.629219][ T1038] ? do_raw_spin_unlock+0x59/0x250 [ 90.629221][ T1038] alloc_buf.isra.0+0x4b/0x260 [ 90.629223][ T1038] put_chars+0x1e1/0x2f0 [ 90.629225][ T1038] ? __send_to_port+0x420/0x420 [ 90.629226][ T1038] ? printk_get_next_message+0x240/0x650 [ 90.629228][ T1038] ? console_prepend_replay+0x20/0x20 [ 90.629230][ T1038] hvc_console_print+0x292/0x780 [ 90.629234][ T1038] ? hvc_write+0x3a0/0x3a0 [ 90.629236][ T1038] ? __rwlock_init+0x150/0x150 [ 90.629238][ T1038] ? lock_acquire+0x13c/0x160 [ 90.629240][ T1038] console_emit_next_record+0x22f/0x4c0 [ 90.629242][ T1038] ? devkmsg_read+0x4b0/0x4b0 [ 90.629244][ T1038] ? rcu_is_watching+0x16/0xd0 [ 90.629245][ T1038] ? lock_acquire+0x13c/0x160 [ 90.629247][ T1038] ? console_flush_one_record+0x111/0x710 [ 90.629248][ T1038] console_flush_one_record+0x46f/0x710 [ 90.629250][ T1038] ? console_emit_next_record+0x4c0/0x4c0 [ 90.629252][ T1038] console_unlock+0xee/0x1f0 [ 90.629254][ T1038] ? lock_acquire+0x13c/0x160 [ 90.629255][ T1038] ? console_flush_one_record+0x710/0x710 [ 90.629256][ T1038] ? rcu_is_watching+0x16/0xd0 [ 90.629257][ T1038] ? lock_release+0x184/0x1f0 [ 90.629259][ T1038] ? lock_acquire+0x60/0x160 [ 90.629261][ T1038] ? __rcu_read_lock+0x30/0x70 [ 90.629262][ T1038] ? __down_trylock_console_sem+0x5e/0xa0 [ 90.629264][ T1038] ? vprintk_emit+0x320/0x3e0 [ 90.629266][ T1038] vprintk_emit+0x37c/0x3e0 [ 90.629268][ T1038] ? wake_up_klogd_work_func+0x90/0x90 [ 90.629269][ T1038] ? do_raw_read_unlock+0x70/0x70 [ 90.629271][ T1038] ? forget_original_parent+0x5c/0xdb0 [ 90.629273][ T1038] _printk+0xc7/0x100 [ 90.629276][ T1038] ? snapshot_read.cold+0x21/0x21 [ 90.629278][ T1038] ? do_raw_spin_lock+0x131/0x280 [ 90.629280][ T1038] ? do_raw_spin_lock+0x131/0x280 [ 90.629282][ T1038] ? __rwlock_init+0x150/0x150 [ 90.629284][ T1038] ? do_raw_spin_lock+0x131/0x280 [ 90.629286][ T1038] do_exit.cold+0x82/0x9c [ 90.629289][ T1038] ? exit_notify+0x890/0x890 [ 90.629290][ T1038] ? posixtimer_sig_unignore.isra.0+0x5f0/0x5f0 [ 90.629293][ T1038] ? rcu_is_watching+0x16/0xd0 [ 90.629294][ T1038] do_group_exit+0xb8/0x370 [ 90.629296][ T1038] __x64_sys_exit_group+0x3c/0x50 [ 90.629298][ T1038] x64_sys_call+0x1567/0x1570 [ 90.629300][ T1038] do_syscall_64+0x10e/0x570 [ 90.629304][ T1038] ? exc_page_fault+0xee/0x100 [ 90.629306][ T1038] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 90.629308][ T1038] RIP: 0033:0x7fd536c081b8 [ 90.629310][ T1038] Code: Unable to access opcode bytes at 0x7fd536c0818e. [ 90.629311][ T1038] RSP: 002b:00007fff5ee3e1b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 90.629315][ T1038] RAX: ffffffffffffffda RBX: 00007fd536d38f88 RCX: 00007fd536c081b8 [ 90.629316][ T1038] RDX: 00007fd536b45a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 90.629317][ T1038] RBP: 00007fff5ee3e210 R08: 0000000000000000 R09: 0000000000000000 [ 90.629318][ T1038] R10: 00007fff5ee3e050 R11: 0000000000000246 R12: 0000000000000001 [ 90.629318][ T1038] R13: 0000000000000000 R14: 00007fd536d37680 R15: 00007fd536d38fa0 [ 90.629321][ T1038] [ 93.911895][ T12] br0: port 1(veth0) entered disabled state [ 93.911909][ T12] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 93.911911][ T12] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 12, name: kworker/u16:0 [ 93.911913][ T12] preempt_count: 202, expected: 0 [ 93.911914][ T12] RCU nest depth: 0, expected: 0 [ 93.911915][ T12] INFO: lockdep is turned off. [ 93.911916][ T12] irq event stamp: 6570 [ 93.911916][ T12] hardirqs last enabled at (6569): [] _raw_spin_unlock_irq+0x28/0x50 [ 93.911925][ T12] hardirqs last disabled at (6570): [] __schedule+0x1246/0x20e0 [ 93.911927][ T12] softirqs last enabled at (6532): [] instance_destroy_work+0x116/0x250 [nfnetlink_queue] [ 93.911932][ T12] softirqs last disabled at (6530): [] instance_destroy_work+0x6f/0x250 [nfnetlink_queue] [ 93.911934][ T12] Preemption disabled at: [ 93.911935][ T12] [<0000000000000000>] 0x0 [ 93.911940][ T12] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 93.911944][ T12] Tainted: [W]=WARN [ 93.911945][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 93.911946][ T12] Workqueue: netns cleanup_net [ 93.911952][ T12] Call Trace: [ 93.911953][ T12] [ 93.911955][ T12] dump_stack_lvl+0x6f/0xa0 [ 93.911960][ T12] __might_resched.cold+0x1fe/0x2c1 [ 93.911963][ T12] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 93.911967][ T12] ? rcu_is_watching+0x16/0xd0 [ 93.911970][ T12] __kmalloc_noprof+0x443/0x760 [ 93.911973][ T12] ? __rwlock_init+0x150/0x150 [ 93.911976][ T12] ? alloc_buf.isra.0+0x4b/0x260 [ 93.911980][ T12] ? do_raw_spin_unlock+0x59/0x250 [ 93.911982][ T12] alloc_buf.isra.0+0x4b/0x260 [ 93.911984][ T12] put_chars+0x1e1/0x2f0 [ 93.911986][ T12] ? __send_to_port+0x420/0x420 [ 93.911987][ T12] ? printk_get_next_message+0x240/0x650 [ 93.911989][ T12] ? console_prepend_replay+0x20/0x20 [ 93.911992][ T12] hvc_console_print+0x292/0x780 [ 93.911995][ T12] ? hvc_write+0x3a0/0x3a0 [ 93.911996][ T12] ? __rwlock_init+0x150/0x150 [ 93.911998][ T12] ? lock_acquire+0x13c/0x160 [ 93.912001][ T12] console_emit_next_record+0x22f/0x4c0 [ 93.912003][ T12] ? devkmsg_read+0x4b0/0x4b0 [ 93.912004][ T12] ? rcu_is_watching+0x16/0xd0 [ 93.912005][ T12] ? rcu_is_watching+0x16/0xd0 [ 93.912006][ T12] ? rcu_is_watching+0x16/0xd0 [ 93.912008][ T12] ? lock_acquire+0x13c/0x160 [ 93.912009][ T12] ? console_flush_one_record+0x111/0x710 [ 93.912011][ T12] console_flush_one_record+0x46f/0x710 [ 93.912012][ T12] ? console_emit_next_record+0x4c0/0x4c0 [ 93.912014][ T12] console_unlock+0xee/0x1f0 [ 93.912015][ T12] ? lock_acquire+0x13c/0x160 [ 93.912017][ T12] ? console_flush_one_record+0x710/0x710 [ 93.912018][ T12] ? rcu_is_watching+0x16/0xd0 [ 93.912019][ T12] ? lock_release+0x184/0x1f0 [ 93.912021][ T12] ? lock_acquire+0x60/0x160 [ 93.912022][ T12] ? __rcu_read_lock+0x30/0x70 [ 93.912024][ T12] ? __down_trylock_console_sem+0x5e/0xa0 [ 93.912026][ T12] ? vprintk_emit+0x320/0x3e0 [ 93.912028][ T12] vprintk_emit+0x37c/0x3e0 [ 93.912031][ T12] ? wake_up_klogd_work_func+0x90/0x90 [ 93.912032][ T12] ? rcu_is_watching+0x16/0xd0 [ 93.912034][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 93.912036][ T12] ? trace_hardirqs_on+0x36/0x40 [ 93.912038][ T12] _printk+0xc7/0x100 [ 93.912041][ T12] ? snapshot_read.cold+0x21/0x21 [ 93.912043][ T12] ? ipv6_mc_down+0x17e/0x2d0 [ 93.912047][ T12] br_set_state+0x22f/0x430 [bridge] [ 93.912060][ T12] br_stp_disable_port+0x11f/0x390 [bridge] [ 93.912068][ T12] br_device_event+0x7b5/0x8f0 [bridge] [ 93.912075][ T12] ? lock_release+0x184/0x1f0 [ 93.912077][ T12] ? _sub_I_65535_1+0x4d0/0x4d0 [stp] [ 93.912079][ T12] ? nfqnl_dev_drop+0x54/0x330 [nfnetlink_queue] [ 93.912081][ T12] ? nfqnl_dev_drop+0xf0/0x330 [nfnetlink_queue] [ 93.912083][ T12] notifier_call_chain+0xae/0x300 [ 93.912086][ T12] netif_close_many+0x366/0x770 [ 93.912090][ T12] ? trace_kfree+0xd2/0x100 [ 93.912091][ T12] ? lock_acquire+0x13c/0x160 [ 93.912093][ T12] ? __dev_close_many+0x680/0x680 [ 93.912095][ T12] ? netif_close_many_and_unlock+0x22/0x2c0 [ 93.912097][ T12] unregister_netdevice_many_notify+0x71a/0x1b40 [ 93.912100][ T12] ? ops_undo_list+0x2ce/0x8f0 [ 93.912101][ T12] ? worker_thread+0x4f1/0xd60 [ 93.912103][ T12] ? kthread+0x367/0x460 [ 93.912105][ T12] ? ret_from_fork+0x4a4/0x720 [ 93.912108][ T12] ? ret_from_fork_asm+0x11/0x20 [ 93.912111][ T12] ? unregister_netdevice_queued+0x80/0x80 [ 93.912113][ T12] ? get_rps_cpu+0x980/0x980 [ 93.912115][ T12] default_device_exit_batch+0x38b/0x600 [ 93.912117][ T12] ? generic_xdp_install+0x470/0x470 [ 93.912119][ T12] ? unregister_netdevice_queue+0x470/0x470 [ 93.912121][ T12] ? rtnl_is_locked+0x15/0x20 [ 93.912123][ T12] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 93.912125][ T12] ? mutex_is_locked+0x1c/0x50 [ 93.912128][ T12] ops_undo_list+0x2ce/0x8f0 [ 93.912129][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 93.912131][ T12] ? idr_destroy+0x121/0x250 [ 93.912134][ T12] cleanup_net+0x431/0x890 [ 93.912139][ T12] ? net_passive_dec+0x230/0x230 [ 93.912141][ T12] ? lock_acquire+0x13c/0x160 [ 93.912143][ T12] ? rcu_is_watching+0x16/0xd0 [ 93.912145][ T12] process_one_work+0xe3e/0x1560 [ 93.912147][ T12] ? __queue_delayed_work+0x470/0x470 [ 93.912148][ T12] ? find_held_lock+0x2b/0x80 [ 93.912150][ T12] ? __rwlock_init+0x150/0x150 [ 93.912153][ T12] worker_thread+0x4f1/0xd60 [ 93.912155][ T12] ? rescuer_thread+0x1340/0x1340 [ 93.912156][ T12] kthread+0x367/0x460 [ 93.912158][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 93.912159][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 93.912161][ T12] ret_from_fork+0x4a4/0x720 [ 93.912163][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 93.912166][ T12] ? __switch_to+0x5a3/0xe00 [ 93.912170][ T12] ? kthread_affine_preferred+0x4c0/0x4c0 [ 93.912173][ T12] ret_from_fork_asm+0x11/0x20 [ 93.912177][ T12] [ 93.929056][ T12] veth0 (unregistering): left allmulticast mode [ 93.929255][ T12] veth0 (unregistering): left promiscuous mode [ 93.929424][ T12] br0: port 1(veth0) entered disabled state [ 93.997897][ T12] br0: port 2(veth1) entered disabled state [ 93.999089][ T12] veth1 (unregistering): left allmulticast mode [ 94.006165][ T12] veth1 (unregistering): left promiscuous mode [ 94.006365][ T12] br0: port 2(veth1) entered disabled state