[ 9.861291][ T173] sctp: Hash tables configured (bind 32/56) [ 9.861310][ T173] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.861312][ T173] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 173, name: modprobe [ 9.861314][ T173] preempt_count: 1, expected: 0 [ 9.861315][ T173] RCU nest depth: 0, expected: 0 [ 9.861316][ T173] locks held by modprobe/173: 4, last CPU#2: [ 9.861317][ T173] #0: ffffffff88f6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.861331][ T173] #1: ffffffff88f6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.861336][ T173] #2: ffffffff88e89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.861339][ T173] #3: ffffffff88e89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.861343][ T173] irq event stamp: 115590 [ 9.861344][ T173] hardirqs last enabled at (115589): [] __down_trylock_console_sem+0x86/0xa0 [ 9.861348][ T173] hardirqs last disabled at (115590): [] console_emit_next_record+0x3d4/0x4c0 [ 9.861350][ T173] softirqs last enabled at (115270): [] handle_softirqs+0x67c/0x900 [ 9.861353][ T173] softirqs last disabled at (115227): [] __irq_exit_rcu+0x145/0x1c0 [ 9.861355][ T173] Preemption disabled at: [ 9.861356][ T173] [] vprintk_emit+0x31b/0x3e0 [ 9.861362][ T173] CPU: 2 UID: 0 PID: 173 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.861365][ T173] Tainted: [W]=WARN [ 9.861366][ T173] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.861368][ T173] Call Trace: [ 9.861370][ T173] [ 9.861371][ T173] dump_stack_lvl+0x6f/0xa0 [ 9.861376][ T173] ? vprintk_emit+0x31b/0x3e0 [ 9.861378][ T173] __might_resched.cold+0x1fe/0x2c1 [ 9.861383][ T173] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.861386][ T173] ? __kmalloc_noprof+0xdb/0x760 [ 9.861391][ T173] __kmalloc_noprof+0x443/0x760 [ 9.861393][ T173] ? alloc_buf.isra.0+0x4b/0x260 [ 9.861400][ T173] ? do_raw_spin_unlock+0x59/0x250 [ 9.861403][ T173] alloc_buf.isra.0+0x4b/0x260 [ 9.861406][ T173] put_chars+0x1e1/0x2f0 [ 9.861409][ T173] ? __send_to_port+0x420/0x420 [ 9.861411][ T173] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.861415][ T173] ? rcu_read_lock_any_held+0x3c/0x90 [ 9.861418][ T173] ? validate_chain+0x38b/0xc20 [ 9.861423][ T173] hvc_console_print+0x292/0x780 [ 9.861426][ T173] ? __lock_acquire+0x518/0xc20 [ 9.861432][ T173] ? hvc_write+0x3a0/0x3a0 [ 9.861434][ T173] ? rcu_is_watching+0x16/0xd0 [ 9.861439][ T173] console_emit_next_record+0x22f/0x4c0 [ 9.861443][ T173] ? devkmsg_read+0x4b0/0x4b0 [ 9.861444][ T173] ? console_flush_one_record+0x106/0x710 [ 9.861446][ T173] ? rcu_is_watching+0x16/0xd0 [ 9.861448][ T173] ? lock_acquire+0x13c/0x160 [ 9.861452][ T173] console_flush_one_record+0x46f/0x710 [ 9.861456][ T173] ? console_emit_next_record+0x4c0/0x4c0 [ 9.861457][ T173] ? __lock_acquire+0x518/0xc20 [ 9.861463][ T173] console_unlock+0xee/0x1f0 [ 9.861465][ T173] ? console_flush_one_record+0x710/0x710 [ 9.861466][ T173] ? rcu_is_watching+0x16/0xd0 [ 9.861468][ T173] ? lock_acquire+0x60/0x160 [ 9.861472][ T173] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.861474][ T173] ? vprintk_emit+0x320/0x3e0 [ 9.861477][ T173] vprintk_emit+0x37c/0x3e0 [ 9.861480][ T173] ? wake_up_klogd_work_func+0x90/0x90 [ 9.861482][ T173] ? lockdep_hardirqs_on+0x91/0x130 [ 9.861487][ T173] ? lookup_object_or_alloc.part.0+0x580/0x580 [ 9.861493][ T173] _printk+0xc7/0x100 [ 9.861497][ T173] ? snapshot_read.cold+0x21/0x21 [ 9.861500][ T173] ? lockdep_init_map_type+0x5d/0x250 [ 9.861503][ T173] ? __rhashtable_init_noprof+0x451/0x7f0 [ 9.861508][ T173] sctp_init+0x43b/0x600 [sctp] [ 9.861522][ T173] ? sctp_exit+0x280/0x280 [sctp] [ 9.861530][ T173] do_one_initcall+0x124/0x4f0 [ 9.861534][ T173] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 9.861539][ T173] ? do_init_module+0xae/0x8a0 [ 9.861541][ T173] ? kasan_unpoison+0x44/0x70 [ 9.861546][ T173] do_init_module+0x2ad/0x8a0 [ 9.861549][ T173] ? lockdep_hardirqs_on+0x91/0x130 [ 9.861551][ T173] ? free_module+0x470/0x470 [ 9.861554][ T173] ? kfree+0x123/0x590 [ 9.861558][ T173] load_module+0x154b/0x1d60 [ 9.861565][ T173] ? layout_and_allocate.isra.0+0x680/0x680 [ 9.861570][ T173] ? backing_file_read_iter+0x541/0x790 [ 9.861573][ T173] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.861576][ T173] init_module_from_file+0x11f/0x1a0 [ 9.861579][ T173] ? __ia32_sys_init_module+0xc0/0xc0 [ 9.861587][ T173] ? __rwlock_init+0x150/0x150 [ 9.861590][ T173] ? do_raw_spin_unlock+0x59/0x250 [ 9.861594][ T173] idempotent_init_module+0x37b/0x7c0 [ 9.861597][ T173] ? init_module_from_file+0x1a0/0x1a0 [ 9.861604][ T173] ? rcu_is_watching+0x16/0xd0 [ 9.861606][ T173] ? cap_capable+0x1d7/0x3d0 [ 9.861611][ T173] __x64_sys_finit_module+0xdf/0x190 [ 9.861613][ T173] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.861617][ T173] do_syscall_64+0x10e/0x570 [ 9.861619][ T173] ? exc_page_fault+0xee/0x100 [ 9.861622][ T173] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.861624][ T173] RIP: 0033:0x7fbc771a437d [ 9.861628][ 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.861630][ T173] RSP: 002b:00007ffc25bba6b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 9.861632][ T173] RAX: ffffffffffffffda RBX: 000056249b3349c0 RCX: 00007fbc771a437d [ 9.861634][ T173] RDX: 0000000000000000 RSI: 00005624982d5ffd RDI: 0000000000000007 [ 9.861635][ T173] RBP: 00007ffc25bba750 R08: 0000000000000000 R09: 0000000000000000 [ 9.861635][ T173] R10: 0000000000000000 R11: 0000000000000246 R12: 00005624982d5ffd [ 9.861636][ T173] R13: 000056249b334ae0 R14: 0000000000040000 R15: 0000000000000000 [ 9.861643][ T173] [ 30.193423][ C1] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 30.193455][ C1] [ 30.193456][ C1] ======================================================== [ 30.193457][ C1] WARNING: possible irq lock inversion dependency detected [ 30.193459][ C1] 7.2.0-virtme #1 Tainted: G W [ 30.193461][ C1] -------------------------------------------------------- [ 30.193461][ C1] connect_close/347 just changed the state of lock: [ 30.193462][ C1] ffffffff88e89de0 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 30.193473][ C1] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 30.193475][ C1] (fs_reclaim){+.+.}-{0:0} [ 30.193476][ C1] [ 30.193476][ C1] [ 30.193476][ C1] and interrupts could create inverse lock ordering between them. [ 30.193476][ C1] [ 30.193476][ C1] [ 30.193476][ C1] other info that might help us debug this: [ 30.193477][ C1] Possible interrupt unsafe locking scenario: [ 30.193477][ C1] [ 30.193478][ C1] CPU0 CPU1 [ 30.193478][ C1] ---- ---- [ 30.193478][ C1] lock(fs_reclaim); [ 30.193480][ C1] local_irq_disable(); [ 30.193480][ C1] lock(console_owner); [ 30.193481][ C1] lock(fs_reclaim); [ 30.193482][ C1] [ 30.193482][ C1] lock(console_owner); [ 30.193483][ C1] [ 30.193483][ C1] *** DEADLOCK *** [ 30.193483][ C1] [ 30.193483][ C1] locks held by connect_close/347: 9, last CPU#1: [ 30.193485][ C1] #0: ff1100000d9ec610 (sk_lock-AF_INET){+.+.}-{0:0}, at: inet_stream_connect+0x44/0xb0 [ 30.193491][ C1] #1: ffffffff88f81280 (rcu_read_lock){....}-{1:3}, at: __ip_queue_xmit+0x63/0x1650 [ 30.193496][ C1] #2: ffffffff88f81280 (rcu_read_lock){....}-{1:3}, at: ip_output+0xa9/0x660 [ 30.193499][ C1] #3: ffffffff88f81280 (rcu_read_lock){....}-{1:3}, at: ip_finish_output2+0x25c/0x1bc0 [ 30.193501][ C1] #4: ffffffff88f81280 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 30.193506][ C1] #5: ffffffff88f81280 (rcu_read_lock){....}-{1:3}, at: ip_local_deliver_finish+0x2ba/0x610 [ 30.193509][ C1] #6: ffffffff88f81280 (rcu_read_lock){....}-{1:3}, at: tcp_rcv_listen_state_process+0x108/0x380 [ 30.193513][ C1] #7: ffffffff88f6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 30.193516][ C1] #8: ffffffff88f6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 30.193519][ C1] [ 30.193519][ C1] the shortest dependencies between 2nd lock and 1st lock: [ 30.193523][ C1] -> (fs_reclaim){+.+.}-{0:0} { [ 30.193526][ C1] HARDIRQ-ON-W at: [ 30.193527][ C1] __lock_acquire+0x388/0xc20 [ 30.193531][ C1] lock_acquire.part.0+0xd4/0x280 [ 30.193532][ C1] fs_reclaim_acquire+0xd5/0x120 [ 30.193535][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 30.193538][ C1] kthread_create_worker_on_node+0xea/0x210 [ 30.193541][ C1] workqueue_init+0x2a/0x680 [ 30.193545][ C1] kernel_init_freeable+0x2fe/0x630 [ 30.193547][ C1] kernel_init+0x21/0x150 [ 30.193550][ C1] ret_from_fork+0x4a4/0x720 [ 30.193553][ C1] ret_from_fork_asm+0x11/0x20 [ 30.193556][ C1] SOFTIRQ-ON-W at: [ 30.193557][ C1] __lock_acquire+0x388/0xc20 [ 30.193559][ C1] lock_acquire.part.0+0xd4/0x280 [ 30.193560][ C1] fs_reclaim_acquire+0xd5/0x120 [ 30.193561][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 30.193563][ C1] kthread_create_worker_on_node+0xea/0x210 [ 30.193564][ C1] workqueue_init+0x2a/0x680 [ 30.193566][ C1] kernel_init_freeable+0x2fe/0x630 [ 30.193567][ C1] kernel_init+0x21/0x150 [ 30.193568][ C1] ret_from_fork+0x4a4/0x720 [ 30.193569][ C1] ret_from_fork_asm+0x11/0x20 [ 30.193571][ C1] INITIAL USE at: [ 30.193572][ C1] __lock_acquire+0x388/0xc20 [ 30.193573][ C1] lock_acquire.part.0+0xd4/0x280 [ 30.193575][ C1] fs_reclaim_acquire+0xd5/0x120 [ 30.193576][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 30.193577][ C1] kthread_create_worker_on_node+0xea/0x210 [ 30.193579][ C1] workqueue_init+0x2a/0x680 [ 30.193580][ C1] kernel_init_freeable+0x2fe/0x630 [ 30.193581][ C1] kernel_init+0x21/0x150 [ 30.193582][ C1] ret_from_fork+0x4a4/0x720 [ 30.193584][ C1] ret_from_fork_asm+0x11/0x20 [ 30.193585][ C1] } [ 30.193586][ C1] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 30.193590][ C1] ... acquired at: [ 30.193591][ C1] __lock_acquire+0x518/0xc20 [ 30.193593][ C1] lock_acquire.part.0+0xd4/0x280 [ 30.193594][ C1] fs_reclaim_acquire+0xd5/0x120 [ 30.193595][ C1] __kmalloc_noprof+0xd3/0x760 [ 30.193596][ C1] alloc_buf.isra.0+0x4b/0x260 [ 30.193599][ C1] put_chars+0x1e1/0x2f0 [ 30.193602][ C1] hvc_console_print+0x292/0x780 [ 30.193605][ C1] console_emit_next_record+0x22f/0x4c0 [ 30.193606][ C1] console_flush_one_record+0x46f/0x710 [ 30.193607][ C1] console_unlock+0xee/0x1f0 [ 30.193608][ C1] vprintk_emit+0x37c/0x3e0 [ 30.193609][ C1] dev_vprintk_emit+0x27f/0x2c0 [ 30.193613][ C1] dev_printk_emit+0xb9/0xee [ 30.193614][ C1] _dev_info+0xe2/0x116 [ 30.193616][ C1] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 30.193619][ C1] cmos_do_probe+0x73b/0x98a [ 30.193620][ C1] platform_probe+0xfe/0x1f0 [ 30.193622][ C1] call_driver_probe+0x61/0x1c0 [ 30.193625][ C1] really_probe+0x199/0x760 [ 30.193626][ C1] __driver_probe_device+0x24f/0x440 [ 30.193628][ C1] driver_probe_device+0x4a/0xf0 [ 30.193630][ C1] __driver_attach+0x1b8/0x540 [ 30.193631][ C1] bus_for_each_dev+0x130/0x1e0 [ 30.193632][ C1] bus_add_driver+0x2c8/0x530 [ 30.193634][ C1] driver_register+0x1a3/0x390 [ 30.193636][ C1] __platform_driver_probe+0x13f/0x270 [ 30.193637][ C1] cmos_init+0x31/0x40 [ 30.193639][ C1] do_one_initcall+0x124/0x4f0 [ 30.193641][ C1] kernel_init_freeable+0x596/0x630 [ 30.193642][ C1] kernel_init+0x21/0x150 [ 30.193643][ C1] ret_from_fork+0x4a4/0x720 [ 30.193644][ C1] ret_from_fork_asm+0x11/0x20 [ 30.193646][ C1] [ 30.193646][ C1] -> (console_owner){..-.}-{0:0} { [ 30.193648][ C1] IN-SOFTIRQ-W at: [ 30.193649][ C1] __lock_acquire+0x388/0xc20 [ 30.193650][ C1] lock_acquire.part.0+0xd4/0x280 [ 30.193652][ C1] console_lock_spinning_enable+0x5c/0x60 [ 30.193653][ C1] console_emit_next_record+0x1d1/0x4c0 [ 30.193654][ C1] console_flush_one_record+0x46f/0x710 [ 30.193655][ C1] console_unlock+0xee/0x1f0 [ 30.193656][ C1] vprintk_emit+0x37c/0x3e0 [ 30.193657][ C1] _printk+0xc7/0x100 [ 30.193660][ C1] tcp_syn_flood_action.cold+0xb4/0xe5 [ 30.193663][ C1] tcp_conn_request+0x13ff/0x2c00 [ 30.193665][ C1] tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.193666][ C1] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 30.193668][ C1] tcp_v4_rcv+0x2881/0x2ef0 [ 30.193670][ C1] ip_protocol_deliver_rcu+0x82/0x350 [ 30.193671][ C1] ip_local_deliver_finish+0x36f/0x610 [ 30.193672][ C1] ip_local_deliver+0x184/0x4c0 [ 30.193673][ C1] ip_rcv+0xdc/0x3d0 [ 30.193674][ C1] __netif_receive_skb_one_core+0xfc/0x180 [ 30.193676][ C1] process_backlog+0x431/0x14c0 [ 30.193677][ C1] __napi_poll+0xa7/0x3b0 [ 30.193679][ C1] net_rx_action+0x513/0xf50 [ 30.193680][ C1] handle_softirqs+0x1d3/0x900 [ 30.193683][ C1] do_softirq+0xac/0xe0 [ 30.193684][ C1] __local_bh_enable_ip+0x118/0x150 [ 30.193685][ C1] __dev_queue_xmit+0x979/0x1b80 [ 30.193687][ C1] ip_finish_output2+0xd9b/0x1bc0 [ 30.193688][ C1] ip_output+0x1ca/0x660 [ 30.193689][ C1] __ip_queue_xmit+0x774/0x1650 [ 30.193691][ C1] __tcp_transmit_skb+0x1ad9/0x3a70 [ 30.193692][ C1] tcp_connect+0xec4/0x1880 [ 30.193694][ C1] tcp_v4_connect+0x12bd/0x1960 [ 30.193695][ C1] __inet_stream_connect+0x2ed/0xd00 [ 30.193697][ C1] inet_stream_connect+0x59/0xb0 [ 30.193698][ C1] __sys_connect+0x1c1/0x2c0 [ 30.193701][ C1] __x64_sys_connect+0x72/0xd0 [ 30.193702][ C1] do_syscall_64+0x10e/0x570 [ 30.193704][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.193705][ C1] INITIAL USE at: [ 30.193706][ C1] } [ 30.193707][ C1] ... key at: [] console_owner_dep_map+0x0/0x60 [ 30.193710][ C1] ... acquired at: [ 30.193710][ C1] mark_lock+0x1d7/0xa00 [ 30.193712][ C1] mark_usage+0x42/0x170 [ 30.193713][ C1] __lock_acquire+0x388/0xc20 [ 30.193715][ C1] lock_acquire.part.0+0xd4/0x280 [ 30.193716][ C1] console_lock_spinning_enable+0x5c/0x60 [ 30.193717][ C1] console_emit_next_record+0x1d1/0x4c0 [ 30.193718][ C1] console_flush_one_record+0x46f/0x710 [ 30.193719][ C1] console_unlock+0xee/0x1f0 [ 30.193720][ C1] vprintk_emit+0x37c/0x3e0 [ 30.193721][ C1] _printk+0xc7/0x100 [ 30.193722][ C1] tcp_syn_flood_action.cold+0xb4/0xe5 [ 30.193724][ C1] tcp_conn_request+0x13ff/0x2c00 [ 30.193725][ C1] tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.193727][ C1] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 30.193728][ C1] tcp_v4_rcv+0x2881/0x2ef0 [ 30.193729][ C1] ip_protocol_deliver_rcu+0x82/0x350 [ 30.193730][ C1] ip_local_deliver_finish+0x36f/0x610 [ 30.193731][ C1] ip_local_deliver+0x184/0x4c0 [ 30.193732][ C1] ip_rcv+0xdc/0x3d0 [ 30.193733][ C1] __netif_receive_skb_one_core+0xfc/0x180 [ 30.193735][ C1] process_backlog+0x431/0x14c0 [ 30.193736][ C1] __napi_poll+0xa7/0x3b0 [ 30.193737][ C1] net_rx_action+0x513/0xf50 [ 30.193739][ C1] handle_softirqs+0x1d3/0x900 [ 30.193740][ C1] do_softirq+0xac/0xe0 [ 30.193741][ C1] __local_bh_enable_ip+0x118/0x150 [ 30.193743][ C1] __dev_queue_xmit+0x979/0x1b80 [ 30.193744][ C1] ip_finish_output2+0xd9b/0x1bc0 [ 30.193745][ C1] ip_output+0x1ca/0x660 [ 30.193746][ C1] __ip_queue_xmit+0x774/0x1650 [ 30.193747][ C1] __tcp_transmit_skb+0x1ad9/0x3a70 [ 30.193749][ C1] tcp_connect+0xec4/0x1880 [ 30.193750][ C1] tcp_v4_connect+0x12bd/0x1960 [ 30.193751][ C1] __inet_stream_connect+0x2ed/0xd00 [ 30.193753][ C1] inet_stream_connect+0x59/0xb0 [ 30.193754][ C1] __sys_connect+0x1c1/0x2c0 [ 30.193756][ C1] __x64_sys_connect+0x72/0xd0 [ 30.193757][ C1] do_syscall_64+0x10e/0x570 [ 30.193758][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.193759][ C1] [ 30.193759][ C1] [ 30.193759][ C1] stack backtrace: [ 30.193762][ C1] CPU: 1 UID: 0 PID: 347 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.193765][ C1] Tainted: [W]=WARN [ 30.193766][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.193767][ C1] Call Trace: [ 30.193768][ C1] [ 30.193769][ C1] dump_stack_lvl+0x6f/0xa0 [ 30.193772][ C1] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 30.193775][ C1] mark_lock_irq+0x989/0x9c0 [ 30.193778][ C1] mark_lock+0x1d7/0xa00 [ 30.193780][ C1] mark_usage+0x42/0x170 [ 30.193782][ C1] __lock_acquire+0x388/0xc20 [ 30.193784][ C1] lock_acquire.part.0+0xd4/0x280 [ 30.193786][ C1] ? console_lock_spinning_enable+0x40/0x60 [ 30.193787][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.193790][ C1] ? lock_acquire+0x13c/0x160 [ 30.193792][ C1] console_lock_spinning_enable+0x5c/0x60 [ 30.193793][ C1] ? console_lock_spinning_enable+0x40/0x60 [ 30.193794][ C1] console_emit_next_record+0x1d1/0x4c0 [ 30.193796][ C1] ? devkmsg_read+0x4b0/0x4b0 [ 30.193797][ C1] ? console_flush_one_record+0x106/0x710 [ 30.193798][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.193800][ C1] ? lock_acquire+0x13c/0x160 [ 30.193802][ C1] console_flush_one_record+0x46f/0x710 [ 30.193803][ C1] ? console_emit_next_record+0x4c0/0x4c0 [ 30.193804][ C1] ? __lock_acquire+0x518/0xc20 [ 30.193807][ C1] console_unlock+0xee/0x1f0 [ 30.193808][ C1] ? console_flush_one_record+0x710/0x710 [ 30.193809][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.193810][ C1] ? lock_acquire+0x60/0x160 [ 30.193812][ C1] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.193815][ C1] ? vprintk_emit+0x320/0x3e0 [ 30.193816][ C1] vprintk_emit+0x37c/0x3e0 [ 30.193818][ C1] ? wake_up_klogd_work_func+0x90/0x90 [ 30.193819][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 30.193821][ C1] _printk+0xc7/0x100 [ 30.193823][ C1] ? snapshot_read.cold+0x21/0x21 [ 30.193824][ C1] ? ___ratelimit+0x4e7/0xa00 [ 30.193827][ C1] ? idr_get_free+0x830/0x830 [ 30.193829][ C1] tcp_syn_flood_action.cold+0xb4/0xe5 [ 30.193831][ C1] tcp_conn_request+0x13ff/0x2c00 [ 30.193833][ C1] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 30.193834][ C1] ? reuseport_select_sock+0x19e/0x3c0 [ 30.193838][ C1] ? reuseport_select_sock+0xe1/0x3c0 [ 30.193839][ C1] ? __lock_acquire+0x518/0xc20 [ 30.193841][ C1] ? tcp_get_syncookie_mss+0x300/0x300 [ 30.193843][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.193845][ C1] ? __lock_acquire+0x518/0xc20 [ 30.193846][ C1] ? save_trace+0x1f7/0x280 [ 30.193849][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.193850][ C1] ? lock_acquire+0x13c/0x160 [ 30.193852][ C1] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.193854][ C1] tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.193856][ C1] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 30.193857][ C1] ? tcp_v4_fill_cb+0x33/0x430 [ 30.193859][ C1] tcp_v4_rcv+0x2881/0x2ef0 [ 30.193861][ C1] ? mark_usage+0x61/0x170 [ 30.193862][ C1] ? tcp_add_backlog+0x1e30/0x1e30 [ 30.193864][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.193866][ C1] ? ip_local_deliver_finish+0x2ba/0x610 [ 30.193868][ C1] ip_protocol_deliver_rcu+0x82/0x350 [ 30.193869][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.193871][ C1] ip_local_deliver_finish+0x36f/0x610 [ 30.193873][ C1] ip_local_deliver+0x184/0x4c0 [ 30.193874][ C1] ? ip_local_deliver_finish+0x610/0x610 [ 30.193876][ C1] ? ip_protocol_deliver_rcu+0x350/0x350 [ 30.193877][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 30.193879][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.193881][ C1] ip_rcv+0xdc/0x3d0 [ 30.193882][ C1] ? ip_local_deliver+0x4c0/0x4c0 [ 30.193883][ C1] ? rcu_read_lock_any_held+0x3c/0x90 [ 30.193886][ C1] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 30.193888][ C1] ? __lock_acquire+0x518/0xc20 [ 30.193889][ C1] ? perf_trace_rcu_grace_period_init+0x227/0x580 [ 30.193892][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.193893][ C1] __netif_receive_skb_one_core+0xfc/0x180 [ 30.193895][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.193896][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.193898][ C1] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 30.193899][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.193901][ C1] process_backlog+0x431/0x14c0 [ 30.193904][ C1] __napi_poll+0xa7/0x3b0 [ 30.193905][ C1] net_rx_action+0x513/0xf50 [ 30.193908][ C1] ? __lock_acquire+0x518/0xc20 [ 30.193909][ C1] ? __napi_poll+0x3b0/0x3b0 [ 30.193913][ C1] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 30.193916][ C1] ? mark_held_locks+0x40/0x70 [ 30.193918][ C1] handle_softirqs+0x1d3/0x900 [ 30.193920][ C1] ? _local_bh_enable+0xc0/0xc0 [ 30.193922][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 30.193924][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.193925][ C1] ? __dev_queue_xmit+0x964/0x1b80 [ 30.193926][ C1] do_softirq+0xac/0xe0 [ 30.193928][ C1] [ 30.193928][ C1] [ 30.193929][ C1] __local_bh_enable_ip+0x118/0x150 [ 30.193931][ C1] __dev_queue_xmit+0x979/0x1b80 [ 30.193934][ C1] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 30.193935][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.193937][ C1] ? find_held_lock+0x2b/0x80 [ 30.193939][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 30.193940][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.193941][ C1] ? mark_held_locks+0x40/0x70 [ 30.193943][ C1] ? __asan_memcpy+0x3c/0x60 [ 30.193945][ C1] ? neigh_hh_output+0x152/0x4c0 [ 30.193947][ C1] ip_finish_output2+0xd9b/0x1bc0 [ 30.193949][ C1] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 30.193951][ C1] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 30.193953][ C1] ip_output+0x1ca/0x660 [ 30.193955][ C1] ? ip_finish_output+0x460/0x460 [ 30.193956][ C1] ? find_held_lock+0x2b/0x80 [ 30.193958][ C1] ? __ip_finish_output+0x720/0x720 [ 30.193959][ C1] ? ip4_dst_hoplimit+0x15b/0x320 [ 30.193961][ C1] __ip_queue_xmit+0x774/0x1650 [ 30.193963][ C1] __tcp_transmit_skb+0x1ad9/0x3a70 [ 30.193966][ C1] ? tcp_call_bpf+0x201/0x2e0 [ 30.193968][ C1] ? tcp_clone_payload+0x10b0/0x10b0 [ 30.193970][ C1] ? __tcp_select_window+0xf20/0xf20 [ 30.193972][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 30.193974][ C1] ? ktime_get+0x18e/0x2d0 [ 30.193976][ C1] ? kvm_clock_get_cycles+0x19/0x30 [ 30.193978][ C1] ? ktime_get+0x1dd/0x2d0 [ 30.193980][ C1] tcp_connect+0xec4/0x1880 [ 30.193982][ C1] tcp_v4_connect+0x12bd/0x1960 [ 30.193985][ C1] ? established_get_first+0x6b0/0x6b0 [ 30.193986][ C1] ? do_raw_spin_lock+0x131/0x280 [ 30.193988][ C1] ? find_held_lock+0x2b/0x80 [ 30.193990][ C1] __inet_stream_connect+0x2ed/0xd00 [ 30.193992][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 30.193994][ C1] inet_stream_connect+0x59/0xb0 [ 30.193996][ C1] __sys_connect+0x1c1/0x2c0 [ 30.193997][ C1] ? do_fcntl+0x36f/0xc50 [ 30.194000][ C1] ? __sys_connect_file+0x250/0x250 [ 30.194003][ C1] ? fdget_raw+0x4f/0x190 [ 30.194005][ C1] __x64_sys_connect+0x72/0xd0 [ 30.194007][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 30.194009][ C1] ? do_syscall_64+0xa6/0x570 [ 30.194010][ C1] do_syscall_64+0x10e/0x570 [ 30.194011][ C1] ? exc_page_fault+0xee/0x100 [ 30.194013][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.194015][ C1] RIP: 0033:0x7fb442fbc54e [ 30.194018][ 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.194019][ C1] RSP: 002b:00007ffc78e3c830 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 30.194022][ C1] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb442fbc54e [ 30.194023][ C1] RDX: 0000000000000010 RSI: 00007ffc78e3c8c0 RDI: 0000000000000005 [ 30.194024][ C1] RBP: 00007ffc78e3c840 R08: 0000000000000000 R09: 0000000000000000 [ 30.194024][ C1] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffc78e3ca38 [ 30.194025][ C1] R13: 0000000000000005 R14: 00007fb44318d000 R15: 0000000000402e00 [ 30.194028][ C1] [ 30.194031][ C1] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 30.194032][ C1] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 347, name: connect_close [ 30.194034][ C1] preempt_count: 302, expected: 0 [ 30.194035][ C1] RCU nest depth: 6, expected: 0 [ 30.194035][ C1] INFO: lockdep is turned off. [ 30.194036][ C1] irq event stamp: 23865 [ 30.194036][ C1] hardirqs last enabled at (23864): [] __down_trylock_console_sem+0x86/0xa0 [ 30.194039][ C1] hardirqs last disabled at (23865): [] console_emit_next_record+0x3d4/0x4c0 [ 30.194040][ C1] softirqs last enabled at (23848): [] __dev_queue_xmit+0x964/0x1b80 [ 30.194042][ C1] softirqs last disabled at (23849): [] do_softirq+0xac/0xe0 [ 30.194044][ C1] Preemption disabled at: [ 30.194044][ C1] [] __dev_queue_xmit+0x204/0x1b80 [ 30.194047][ C1] CPU: 1 UID: 0 PID: 347 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 30.194049][ C1] Tainted: [W]=WARN [ 30.194050][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.194050][ C1] Call Trace: [ 30.194051][ C1] [ 30.194051][ C1] dump_stack_lvl+0x6f/0xa0 [ 30.194053][ C1] ? __dev_queue_xmit+0x204/0x1b80 [ 30.194054][ C1] __might_resched.cold+0x1fe/0x2c1 [ 30.194057][ C1] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 30.194059][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.194061][ C1] __kmalloc_noprof+0x443/0x760 [ 30.194063][ C1] ? __rwlock_init+0x150/0x150 [ 30.194064][ C1] ? alloc_buf.isra.0+0x4b/0x260 [ 30.194066][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 30.194068][ C1] alloc_buf.isra.0+0x4b/0x260 [ 30.194070][ C1] put_chars+0x1e1/0x2f0 [ 30.194072][ C1] ? __send_to_port+0x420/0x420 [ 30.194074][ C1] hvc_console_print+0x292/0x780 [ 30.194076][ C1] ? mark_usage+0x42/0x170 [ 30.194078][ C1] ? __lock_acquire+0x388/0xc20 [ 30.194080][ C1] ? hvc_write+0x3a0/0x3a0 [ 30.194081][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.194083][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.194084][ C1] ? lock_acquire+0x13c/0x160 [ 30.194086][ C1] console_emit_next_record+0x22f/0x4c0 [ 30.194088][ C1] ? devkmsg_read+0x4b0/0x4b0 [ 30.194089][ C1] ? console_flush_one_record+0x106/0x710 [ 30.194090][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.194092][ C1] ? lock_acquire+0x13c/0x160 [ 30.194094][ C1] console_flush_one_record+0x46f/0x710 [ 30.194095][ C1] ? console_emit_next_record+0x4c0/0x4c0 [ 30.194096][ C1] ? __lock_acquire+0x518/0xc20 [ 30.194099][ C1] console_unlock+0xee/0x1f0 [ 30.194100][ C1] ? console_flush_one_record+0x710/0x710 [ 30.194101][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.194102][ C1] ? lock_acquire+0x60/0x160 [ 30.194104][ C1] ? __down_trylock_console_sem+0x5e/0xa0 [ 30.194106][ C1] ? vprintk_emit+0x320/0x3e0 [ 30.194107][ C1] vprintk_emit+0x37c/0x3e0 [ 30.194109][ C1] ? wake_up_klogd_work_func+0x90/0x90 [ 30.194110][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 30.194113][ C1] _printk+0xc7/0x100 [ 30.194114][ C1] ? snapshot_read.cold+0x21/0x21 [ 30.194116][ C1] ? ___ratelimit+0x4e7/0xa00 [ 30.194117][ C1] ? idr_get_free+0x830/0x830 [ 30.194119][ C1] tcp_syn_flood_action.cold+0xb4/0xe5 [ 30.194121][ C1] tcp_conn_request+0x13ff/0x2c00 [ 30.194123][ C1] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 30.194125][ C1] ? reuseport_select_sock+0x19e/0x3c0 [ 30.194126][ C1] ? reuseport_select_sock+0xe1/0x3c0 [ 30.194128][ C1] ? __lock_acquire+0x518/0xc20 [ 30.194130][ C1] ? tcp_get_syncookie_mss+0x300/0x300 [ 30.194132][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.194134][ C1] ? __lock_acquire+0x518/0xc20 [ 30.194135][ C1] ? save_trace+0x1f7/0x280 [ 30.194138][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.194139][ C1] ? lock_acquire+0x13c/0x160 [ 30.194141][ C1] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.194142][ C1] tcp_rcv_listen_state_process+0x1ab/0x380 [ 30.194144][ C1] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 30.194146][ C1] ? tcp_v4_fill_cb+0x33/0x430 [ 30.194147][ C1] tcp_v4_rcv+0x2881/0x2ef0 [ 30.194149][ C1] ? mark_usage+0x61/0x170 [ 30.194151][ C1] ? tcp_add_backlog+0x1e30/0x1e30 [ 30.194153][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.194155][ C1] ? ip_local_deliver_finish+0x2ba/0x610 [ 30.194156][ C1] ip_protocol_deliver_rcu+0x82/0x350 [ 30.194158][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.194160][ C1] ip_local_deliver_finish+0x36f/0x610 [ 30.194161][ C1] ip_local_deliver+0x184/0x4c0 [ 30.194163][ C1] ? ip_local_deliver_finish+0x610/0x610 [ 30.194164][ C1] ? ip_protocol_deliver_rcu+0x350/0x350 [ 30.194166][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 30.194168][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.194169][ C1] ip_rcv+0xdc/0x3d0 [ 30.194171][ C1] ? ip_local_deliver+0x4c0/0x4c0 [ 30.194172][ C1] ? rcu_read_lock_any_held+0x3c/0x90 [ 30.194174][ C1] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 30.194175][ C1] ? __lock_acquire+0x518/0xc20 [ 30.194177][ C1] ? perf_trace_rcu_grace_period_init+0x227/0x580 [ 30.194178][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.194180][ C1] __netif_receive_skb_one_core+0xfc/0x180 [ 30.194181][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.194183][ C1] ? process_backlog+0x3f1/0x14c0 [ 30.194185][ C1] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 30.194186][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.194188][ C1] process_backlog+0x431/0x14c0 [ 30.194191][ C1] __napi_poll+0xa7/0x3b0 [ 30.194192][ C1] net_rx_action+0x513/0xf50 [ 30.194195][ C1] ? __lock_acquire+0x518/0xc20 [ 30.194196][ C1] ? __napi_poll+0x3b0/0x3b0 [ 30.194200][ C1] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 30.194202][ C1] ? mark_held_locks+0x40/0x70 [ 30.194204][ C1] handle_softirqs+0x1d3/0x900 [ 30.194206][ C1] ? _local_bh_enable+0xc0/0xc0 [ 30.194207][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 30.194209][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.194210][ C1] ? __dev_queue_xmit+0x964/0x1b80 [ 30.194212][ C1] do_softirq+0xac/0xe0 [ 30.194214][ C1] [ 30.194214][ C1] [ 30.194215][ C1] __local_bh_enable_ip+0x118/0x150 [ 30.194216][ C1] __dev_queue_xmit+0x979/0x1b80 [ 30.194219][ C1] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 30.194221][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 30.194222][ C1] ? find_held_lock+0x2b/0x80 [ 30.194224][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 30.194225][ C1] ? rcu_is_watching+0x16/0xd0 [ 30.194226][ C1] ? mark_held_locks+0x40/0x70 [ 30.194228][ C1] ? __asan_memcpy+0x3c/0x60 [ 30.194229][ C1] ? neigh_hh_output+0x152/0x4c0 [ 30.194231][ C1] ip_finish_output2+0xd9b/0x1bc0 [ 30.194233][ C1] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 30.194235][ C1] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 30.194237][ C1] ip_output+0x1ca/0x660 [ 30.194239][ C1] ? ip_finish_output+0x460/0x460 [ 30.194240][ C1] ? find_held_lock+0x2b/0x80 [ 30.194242][ C1] ? __ip_finish_output+0x720/0x720 [ 30.194243][ C1] ? ip4_dst_hoplimit+0x15b/0x320 [ 30.194245][ C1] __ip_queue_xmit+0x774/0x1650 [ 30.194247][ C1] __tcp_transmit_skb+0x1ad9/0x3a70 [ 30.194250][ C1] ? tcp_call_bpf+0x201/0x2e0 [ 30.194251][ C1] ? tcp_clone_payload+0x10b0/0x10b0 [ 30.194253][ C1] ? __tcp_select_window+0xf20/0xf20 [ 30.194255][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 30.194257][ C1] ? ktime_get+0x18e/0x2d0 [ 30.194258][ C1] ? kvm_clock_get_cycles+0x19/0x30 [ 30.194259][ C1] ? ktime_get+0x1dd/0x2d0 [ 30.194261][ C1] tcp_connect+0xec4/0x1880 [ 30.194264][ C1] tcp_v4_connect+0x12bd/0x1960 [ 30.194266][ C1] ? established_get_first+0x6b0/0x6b0 [ 30.194267][ C1] ? do_raw_spin_lock+0x131/0x280 [ 30.194269][ C1] ? find_held_lock+0x2b/0x80 [ 30.194271][ C1] __inet_stream_connect+0x2ed/0xd00 [ 30.194273][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 30.194275][ C1] inet_stream_connect+0x59/0xb0 [ 30.194277][ C1] __sys_connect+0x1c1/0x2c0 [ 30.194279][ C1] ? do_fcntl+0x36f/0xc50 [ 30.194280][ C1] ? __sys_connect_file+0x250/0x250 [ 30.194283][ C1] ? fdget_raw+0x4f/0x190 [ 30.194285][ C1] __x64_sys_connect+0x72/0xd0 [ 30.194286][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 30.194288][ C1] ? do_syscall_64+0xa6/0x570 [ 30.194289][ C1] do_syscall_64+0x10e/0x570 [ 30.194291][ C1] ? exc_page_fault+0xee/0x100 [ 30.194292][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.194294][ C1] RIP: 0033:0x7fb442fbc54e [ 30.194295][ 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.194296][ C1] RSP: 002b:00007ffc78e3c830 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 30.194297][ C1] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb442fbc54e [ 30.194298][ C1] RDX: 0000000000000010 RSI: 00007ffc78e3c8c0 RDI: 0000000000000005 [ 30.194299][ C1] RBP: 00007ffc78e3c840 R08: 0000000000000000 R09: 0000000000000000 [ 30.194299][ C1] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffc78e3ca38 [ 30.194300][ C1] R13: 0000000000000005 R14: 00007fb44318d000 R15: 0000000000402e00 [ 30.194302][ C1] [ 30.368931][ C1] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 30.829135][ C1] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 30.864212][ C1] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.027994][ C2] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.043718][ C2] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.204127][ C2] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.204144][ C2] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.204146][ C2] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 347, name: connect_close [ 31.204148][ C2] preempt_count: 302, expected: 0 [ 31.204149][ C2] RCU nest depth: 6, expected: 0 [ 31.204149][ C2] INFO: lockdep is turned off. [ 31.204151][ C2] irq event stamp: 23865 [ 31.204152][ C2] hardirqs last enabled at (23864): [] __down_trylock_console_sem+0x86/0xa0 [ 31.204160][ C2] hardirqs last disabled at (23865): [] console_emit_next_record+0x3d4/0x4c0 [ 31.204163][ C2] softirqs last enabled at (23848): [] __dev_queue_xmit+0x964/0x1b80 [ 31.204167][ C2] softirqs last disabled at (23849): [] do_softirq+0xac/0xe0 [ 31.204171][ C2] Preemption disabled at: [ 31.204172][ C2] [] __dev_queue_xmit+0x204/0x1b80 [ 31.204177][ C2] CPU: 2 UID: 0 PID: 347 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.204181][ C2] Tainted: [W]=WARN [ 31.204182][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.204184][ C2] Call Trace: [ 31.204185][ C2] [ 31.204187][ C2] dump_stack_lvl+0x6f/0xa0 [ 31.204191][ C2] ? __dev_queue_xmit+0x204/0x1b80 [ 31.204193][ C2] __might_resched.cold+0x1fe/0x2c1 [ 31.204197][ C2] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.204199][ C2] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 31.204201][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204204][ C2] __kmalloc_noprof+0x443/0x760 [ 31.204208][ C2] ? __rwlock_init+0x150/0x150 [ 31.204211][ C2] ? alloc_buf.isra.0+0x4b/0x260 [ 31.204215][ C2] ? do_raw_spin_unlock+0x59/0x250 [ 31.204217][ C2] alloc_buf.isra.0+0x4b/0x260 [ 31.204219][ C2] put_chars+0x1e1/0x2f0 [ 31.204221][ C2] ? prb_final_commit+0x50/0x50 [ 31.204222][ C2] ? __send_to_port+0x420/0x420 [ 31.204224][ C2] ? printk_get_next_message+0x240/0x650 [ 31.204226][ C2] hvc_console_print+0x292/0x780 [ 31.204230][ C2] ? hvc_write+0x3a0/0x3a0 [ 31.204231][ C2] ? do_raw_spin_lock+0x131/0x280 [ 31.204233][ C2] ? vsnprintf+0x668/0x1700 [ 31.204237][ C2] ? __rwlock_init+0x150/0x150 [ 31.204239][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204240][ C2] ? lock_acquire+0x13c/0x160 [ 31.204243][ C2] console_emit_next_record+0x22f/0x4c0 [ 31.204245][ C2] ? devkmsg_read+0x4b0/0x4b0 [ 31.204246][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204247][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204248][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204249][ C2] ? lock_acquire+0x13c/0x160 [ 31.204251][ C2] ? console_flush_one_record+0x111/0x710 [ 31.204253][ C2] console_flush_one_record+0x46f/0x710 [ 31.204254][ C2] ? console_emit_next_record+0x4c0/0x4c0 [ 31.204256][ C2] console_unlock+0xee/0x1f0 [ 31.204258][ C2] ? lock_acquire+0x13c/0x160 [ 31.204259][ C2] ? console_flush_one_record+0x710/0x710 [ 31.204260][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204261][ C2] ? lock_release+0x184/0x1f0 [ 31.204263][ C2] ? lock_acquire+0x60/0x160 [ 31.204265][ C2] ? __rcu_read_lock+0x30/0x70 [ 31.204266][ C2] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.204268][ C2] ? vprintk_emit+0x320/0x3e0 [ 31.204270][ C2] vprintk_emit+0x37c/0x3e0 [ 31.204271][ C2] ? wake_up_klogd_work_func+0x90/0x90 [ 31.204273][ C2] ? do_raw_spin_trylock+0xb6/0x180 [ 31.204274][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204276][ C2] ? lock_acquire+0x13c/0x160 [ 31.204278][ C2] _printk+0xc7/0x100 [ 31.204281][ C2] ? snapshot_read.cold+0x21/0x21 [ 31.204282][ C2] ? ___ratelimit+0x4e7/0xa00 [ 31.204285][ C2] ? idr_get_free+0x830/0x830 [ 31.204287][ C2] tcp_syn_flood_action.cold+0xb4/0xe5 [ 31.204290][ C2] tcp_conn_request+0x13ff/0x2c00 [ 31.204294][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204295][ C2] ? lock_acquire+0x13c/0x160 [ 31.204297][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204298][ C2] ? lock_release+0x184/0x1f0 [ 31.204300][ C2] ? reuseport_select_sock+0xe1/0x3c0 [ 31.204303][ C2] ? tcp_get_syncookie_mss+0x300/0x300 [ 31.204306][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204308][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204309][ C2] ? lock_acquire+0x13c/0x160 [ 31.204311][ C2] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 31.204313][ C2] tcp_rcv_listen_state_process+0x1ab/0x380 [ 31.204315][ C2] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 31.204317][ C2] ? tcp_v4_fill_cb+0x33/0x430 [ 31.204318][ C2] tcp_v4_rcv+0x2881/0x2ef0 [ 31.204321][ C2] ? tcp_add_backlog+0x1e30/0x1e30 [ 31.204324][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204326][ C2] ? process_backlog+0x3f1/0x14c0 [ 31.204330][ C2] ip_protocol_deliver_rcu+0x82/0x350 [ 31.204334][ C2] ? process_backlog+0x3f1/0x14c0 [ 31.204336][ C2] ip_local_deliver_finish+0x36f/0x610 [ 31.204338][ C2] ? lock_release+0x184/0x1f0 [ 31.204340][ C2] ip_local_deliver+0x184/0x4c0 [ 31.204342][ C2] ? ip_local_deliver_finish+0x610/0x610 [ 31.204344][ C2] ? ip_protocol_deliver_rcu+0x350/0x350 [ 31.204345][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204346][ C2] ? process_backlog+0x3f1/0x14c0 [ 31.204348][ C2] ip_rcv+0xdc/0x3d0 [ 31.204349][ C2] ? ip_local_deliver+0x4c0/0x4c0 [ 31.204351][ C2] ? tcp_connect+0xec4/0x1880 [ 31.204352][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204354][ C2] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 31.204356][ C2] ? process_backlog+0x3f1/0x14c0 [ 31.204357][ C2] __netif_receive_skb_one_core+0xfc/0x180 [ 31.204359][ C2] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 31.204361][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204362][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204364][ C2] process_backlog+0x431/0x14c0 [ 31.204366][ C2] __napi_poll+0xa7/0x3b0 [ 31.204369][ C2] net_rx_action+0x513/0xf50 [ 31.204371][ C2] ? __napi_poll+0x3b0/0x3b0 [ 31.204373][ C2] ? rcu_report_qs_rnp+0x22d/0x6f0 [ 31.204375][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204377][ C2] ? clockevents_program_event+0x307/0x7e0 [ 31.204380][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204381][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204383][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204384][ C2] handle_softirqs+0x1d3/0x900 [ 31.204386][ C2] ? _local_bh_enable+0xc0/0xc0 [ 31.204388][ C2] ? _local_bh_enable+0xc0/0xc0 [ 31.204389][ C2] ? lock_release+0x184/0x1f0 [ 31.204391][ C2] ? __dev_queue_xmit+0x964/0x1b80 [ 31.204393][ C2] do_softirq+0xac/0xe0 [ 31.204395][ C2] [ 31.204395][ C2] [ 31.204396][ C2] __local_bh_enable_ip+0x118/0x150 [ 31.204398][ C2] __dev_queue_xmit+0x979/0x1b80 [ 31.204401][ C2] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 31.204403][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204404][ C2] ? lock_acquire+0x13c/0x160 [ 31.204405][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204407][ C2] ? __asan_memcpy+0x3c/0x60 [ 31.204409][ C2] ? neigh_hh_output+0x152/0x4c0 [ 31.204412][ C2] ip_finish_output2+0xd9b/0x1bc0 [ 31.204413][ C2] ? ip_dst_mtu_maybe_forward+0x7c/0x670 [ 31.204415][ C2] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 31.204416][ C2] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 31.204418][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204420][ C2] ip_output+0x1ca/0x660 [ 31.204422][ C2] ? ip_finish_output+0x460/0x460 [ 31.204423][ C2] ? lock_acquire+0x13c/0x160 [ 31.204425][ C2] ? __ip_finish_output+0x720/0x720 [ 31.204426][ C2] ? lock_acquire+0x13c/0x160 [ 31.204428][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204429][ C2] ? lock_release+0x184/0x1f0 [ 31.204431][ C2] __ip_queue_xmit+0x774/0x1650 [ 31.204433][ C2] __tcp_transmit_skb+0x1ad9/0x3a70 [ 31.204436][ C2] ? tcp_call_bpf+0x201/0x2e0 [ 31.204438][ C2] ? tcp_clone_payload+0x10b0/0x10b0 [ 31.204440][ C2] ? __tcp_select_window+0xf20/0xf20 [ 31.204442][ C2] ? trace_hardirqs_on+0x36/0x40 [ 31.204445][ C2] ? kvm_clock_get_cycles+0x19/0x30 [ 31.204447][ C2] ? ktime_get+0x1dd/0x2d0 [ 31.204455][ C2] tcp_connect+0xec4/0x1880 [ 31.204458][ C2] tcp_v4_connect+0x12bd/0x1960 [ 31.204460][ C2] ? established_get_first+0x6b0/0x6b0 [ 31.204462][ C2] ? lockdep_init_map_type+0x5d/0x250 [ 31.204463][ C2] ? do_raw_spin_lock+0x131/0x280 [ 31.204465][ C2] ? __rwlock_init+0x150/0x150 [ 31.204467][ C2] __inet_stream_connect+0x2ed/0xd00 [ 31.204470][ C2] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 31.204472][ C2] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 31.204473][ C2] inet_stream_connect+0x59/0xb0 [ 31.204475][ C2] __sys_connect+0x1c1/0x2c0 [ 31.204479][ C2] ? do_fcntl+0x36f/0xc50 [ 31.204482][ C2] ? rcu_is_watching+0x16/0xd0 [ 31.204483][ C2] ? __sys_connect_file+0x250/0x250 [ 31.204486][ C2] ? fdget_raw+0x4f/0x190 [ 31.204488][ C2] __x64_sys_connect+0x72/0xd0 [ 31.204490][ C2] ? trace_hardirqs_on+0x36/0x40 [ 31.204491][ C2] do_syscall_64+0x10e/0x570 [ 31.204493][ C2] ? irq_exit_rcu+0x1a/0x30 [ 31.204495][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.204497][ C2] RIP: 0033:0x7fb442fbc54e [ 31.204500][ C2] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 31.204502][ C2] RSP: 002b:00007ffc78e3c830 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 31.204506][ C2] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb442fbc54e [ 31.204507][ C2] RDX: 0000000000000010 RSI: 00007ffc78e3c8c0 RDI: 0000000000000005 [ 31.204508][ C2] RBP: 00007ffc78e3c840 R08: 0000000000000000 R09: 0000000000000000 [ 31.204509][ C2] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffc78e3ca38 [ 31.204509][ C2] R13: 0000000000000005 R14: 00007fb44318d000 R15: 0000000000402e00 [ 31.204512][ C2] [ 31.308845][ C1] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.405372][ C1] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.473548][ C1] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 83.509110][ T1041] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 83.509124][ T1041] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 83.509126][ T1041] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1041, name: modprobe [ 83.509128][ T1041] preempt_count: 1, expected: 0 [ 83.509128][ T1041] RCU nest depth: 0, expected: 0 [ 83.509129][ T1041] INFO: lockdep is turned off. [ 83.509130][ T1041] irq event stamp: 0 [ 83.509131][ T1041] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 83.509135][ T1041] hardirqs last disabled at (0): [] copy_process+0x1d01/0x62c0 [ 83.509141][ T1041] softirqs last enabled at (0): [] copy_process+0x1d55/0x62c0 [ 83.509143][ T1041] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 83.509145][ T1041] Preemption disabled at: [ 83.509146][ T1041] [] vprintk_emit+0x31b/0x3e0 [ 83.509152][ T1041] CPU: 2 UID: 0 PID: 1041 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 83.509156][ T1041] Tainted: [W]=WARN [ 83.509157][ T1041] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 83.509158][ T1041] Call Trace: [ 83.509160][ T1041] [ 83.509161][ T1041] dump_stack_lvl+0x6f/0xa0 [ 83.509165][ T1041] ? vprintk_emit+0x31b/0x3e0 [ 83.509167][ T1041] __might_resched.cold+0x1fe/0x2c1 [ 83.509171][ T1041] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 83.509173][ T1041] ? rcu_is_watching+0x16/0xd0 [ 83.509177][ T1041] __kmalloc_noprof+0x443/0x760 [ 83.509180][ T1041] ? __rwlock_init+0x150/0x150 [ 83.509183][ T1041] ? alloc_buf.isra.0+0x4b/0x260 [ 83.509188][ T1041] ? do_raw_spin_unlock+0x59/0x250 [ 83.509190][ T1041] alloc_buf.isra.0+0x4b/0x260 [ 83.509192][ T1041] put_chars+0x1e1/0x2f0 [ 83.509194][ T1041] ? __send_to_port+0x420/0x420 [ 83.509196][ T1041] ? console_prepend_replay+0x20/0x20 [ 83.509198][ T1041] hvc_console_print+0x292/0x780 [ 83.509202][ T1041] ? hvc_write+0x3a0/0x3a0 [ 83.509203][ T1041] ? rcu_is_watching+0x16/0xd0 [ 83.509204][ T1041] ? rcu_is_watching+0x16/0xd0 [ 83.509206][ T1041] ? lock_acquire+0x13c/0x160 [ 83.509208][ T1041] console_emit_next_record+0x22f/0x4c0 [ 83.509211][ T1041] ? devkmsg_read+0x4b0/0x4b0 [ 83.509212][ T1041] ? rcu_is_watching+0x16/0xd0 [ 83.509213][ T1041] ? rcu_is_watching+0x16/0xd0 [ 83.509214][ T1041] ? rcu_is_watching+0x16/0xd0 [ 83.509215][ T1041] ? lock_acquire+0x13c/0x160 [ 83.509217][ T1041] ? console_flush_one_record+0x111/0x710 [ 83.509218][ T1041] console_flush_one_record+0x46f/0x710 [ 83.509220][ T1041] ? console_emit_next_record+0x4c0/0x4c0 [ 83.509222][ T1041] console_unlock+0xee/0x1f0 [ 83.509224][ T1041] ? lock_acquire+0x13c/0x160 [ 83.509225][ T1041] ? console_flush_one_record+0x710/0x710 [ 83.509226][ T1041] ? rcu_is_watching+0x16/0xd0 [ 83.509227][ T1041] ? lock_release+0x184/0x1f0 [ 83.509229][ T1041] ? lock_acquire+0x60/0x160 [ 83.509231][ T1041] ? __rcu_read_lock+0x30/0x70 [ 83.509232][ T1041] ? __down_trylock_console_sem+0x5e/0xa0 [ 83.509235][ T1041] ? vprintk_emit+0x320/0x3e0 [ 83.509236][ T1041] vprintk_emit+0x37c/0x3e0 [ 83.509238][ T1041] ? wake_up_klogd_work_func+0x90/0x90 [ 83.509240][ T1041] ? ww_mutex_lock+0x160/0x160 [ 83.509244][ T1041] ? llc_exit+0x3e0/0x3e0 [llc] [ 83.509246][ T1041] _printk+0xc7/0x100 [ 83.509249][ T1041] ? snapshot_read.cold+0x21/0x21 [ 83.509251][ T1041] ? __mutex_unlock_slowpath+0x5e5/0x740 [ 83.509252][ T1041] ? _mutex_trylock_nest_lock+0x390/0x390 [ 83.509255][ T1041] ? __mutex_unlock_slowpath+0x14d/0x740 [ 83.509257][ T1041] br_init+0x98/0xc0 [bridge] [ 83.509271][ T1041] do_one_initcall+0x124/0x4f0 [ 83.509273][ T1041] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 83.509276][ T1041] ? do_init_module+0xae/0x8a0 [ 83.509278][ T1041] ? kasan_unpoison+0x44/0x70 [ 83.509281][ T1041] do_init_module+0x2ad/0x8a0 [ 83.509283][ T1041] ? free_module+0x470/0x470 [ 83.509284][ T1041] ? kfree+0x123/0x590 [ 83.509287][ T1041] load_module+0x154b/0x1d60 [ 83.509290][ T1041] ? layout_and_allocate.isra.0+0x680/0x680 [ 83.509292][ T1041] ? backing_file_read_iter+0x541/0x790 [ 83.509295][ T1041] init_module_from_file+0x11f/0x1a0 [ 83.509297][ T1041] ? __ia32_sys_init_module+0xc0/0xc0 [ 83.509299][ T1041] ? ovl_mmap+0x270/0x270 [ 83.509303][ T1041] ? __rwlock_init+0x150/0x150 [ 83.509305][ T1041] ? rcu_is_watching+0x16/0xd0 [ 83.509306][ T1041] ? lock_release+0x184/0x1f0 [ 83.509308][ T1041] ? do_raw_spin_unlock+0x59/0x250 [ 83.509310][ T1041] idempotent_init_module+0x37b/0x7c0 [ 83.509312][ T1041] ? init_module_from_file+0x1a0/0x1a0 [ 83.509314][ T1041] ? rcu_is_watching+0x16/0xd0 [ 83.509315][ T1041] ? cap_capable+0x1d7/0x3d0 [ 83.509318][ T1041] __x64_sys_finit_module+0xdf/0x190 [ 83.509319][ T1041] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 83.509323][ T1041] do_syscall_64+0x10e/0x570 [ 83.509327][ T1041] ? exc_page_fault+0xee/0x100 [ 83.509331][ T1041] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 83.509334][ T1041] RIP: 0033:0x7ff123b8737d [ 83.509336][ T1041] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4b aa 0f 00 f7 d8 64 89 01 48 [ 83.509338][ T1041] RSP: 002b:00007fff1992c2d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 83.509341][ T1041] RAX: ffffffffffffffda RBX: 000055b357c8e810 RCX: 00007ff123b8737d [ 83.509343][ T1041] RDX: 0000000000000000 RSI: 000055b31e021ffd RDI: 0000000000000002 [ 83.509344][ T1041] RBP: 00007fff1992c370 R08: 0000000000000000 R09: 0000000000000000 [ 83.509345][ T1041] R10: 0000000000000000 R11: 0000000000000246 R12: 000055b31e021ffd [ 83.509345][ T1041] R13: 000055b357c8e9c0 R14: 0000000000040000 R15: 0000000000000000 [ 83.509348][ T1041] [ 83.560593][ T1044] br0: port 1(veth0) entered blocking state [ 83.561353][ T1044] br0: port 1(veth0) entered disabled state [ 83.561562][ T1044] veth0: entered allmulticast mode [ 83.562482][ T1044] veth0: entered promiscuous mode [ 83.585230][ T1046] br0: port 2(veth1) entered blocking state [ 83.585449][ T1046] br0: port 2(veth1) entered disabled state [ 83.585654][ T1046] veth1: entered allmulticast mode [ 83.586551][ T1046] veth1: entered promiscuous mode [ 83.613370][ T1047] br0: port 2(veth1) entered blocking state [ 83.613580][ T1047] br0: port 2(veth1) entered forwarding state [ 83.613877][ T1047] br0: port 1(veth0) entered blocking state [ 83.614059][ T1047] br0: port 1(veth0) entered forwarding state [ 89.518757][ T1066] nf_queue (1066) used greatest stack depth: 23776 bytes left [ 89.518774][ T1066] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 89.518776][ T1066] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1066, name: nf_queue [ 89.518778][ T1066] preempt_count: 2, expected: 0 [ 89.518779][ T1066] RCU nest depth: 0, expected: 0 [ 89.518779][ T1066] INFO: lockdep is turned off. [ 89.518781][ T1066] irq event stamp: 0 [ 89.518781][ T1066] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 89.518786][ T1066] hardirqs last disabled at (0): [] copy_process+0x1d01/0x62c0 [ 89.518793][ T1066] softirqs last enabled at (0): [] copy_process+0x1d55/0x62c0 [ 89.518795][ T1066] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 89.518797][ T1066] Preemption disabled at: [ 89.518798][ T1066] [<0000000000000000>] 0x0 [ 89.518802][ T1066] CPU: 0 UID: 0 PID: 1066 Comm: nf_queue Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 89.518806][ T1066] Tainted: [W]=WARN [ 89.518807][ T1066] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 89.518809][ T1066] Call Trace: [ 89.518810][ T1066] [ 89.518811][ T1066] dump_stack_lvl+0x6f/0xa0 [ 89.518816][ T1066] __might_resched.cold+0x1fe/0x2c1 [ 89.518820][ T1066] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 89.518823][ T1066] ? rcu_is_watching+0x16/0xd0 [ 89.518827][ T1066] __kmalloc_noprof+0x443/0x760 [ 89.518830][ T1066] ? __rwlock_init+0x150/0x150 [ 89.518833][ T1066] ? alloc_buf.isra.0+0x4b/0x260 [ 89.518838][ T1066] ? do_raw_spin_unlock+0x59/0x250 [ 89.518840][ T1066] alloc_buf.isra.0+0x4b/0x260 [ 89.518842][ T1066] put_chars+0x1e1/0x2f0 [ 89.518849][ T1066] ? __send_to_port+0x420/0x420 [ 89.518851][ T1066] ? printk_get_next_message+0x240/0x650 [ 89.518853][ T1066] ? console_prepend_replay+0x20/0x20 [ 89.518856][ T1066] hvc_console_print+0x292/0x780 [ 89.518860][ T1066] ? hvc_write+0x3a0/0x3a0 [ 89.518861][ T1066] ? __rwlock_init+0x150/0x150 [ 89.518863][ T1066] ? lock_acquire+0x13c/0x160 [ 89.518865][ T1066] console_emit_next_record+0x22f/0x4c0 [ 89.518868][ T1066] ? devkmsg_read+0x4b0/0x4b0 [ 89.518869][ T1066] ? rcu_is_watching+0x16/0xd0 [ 89.518870][ T1066] ? rcu_is_watching+0x16/0xd0 [ 89.518871][ T1066] ? rcu_is_watching+0x16/0xd0 [ 89.518873][ T1066] ? lock_acquire+0x13c/0x160 [ 89.518875][ T1066] ? console_flush_one_record+0x111/0x710 [ 89.518876][ T1066] console_flush_one_record+0x46f/0x710 [ 89.518878][ T1066] ? console_emit_next_record+0x4c0/0x4c0 [ 89.518880][ T1066] console_unlock+0xee/0x1f0 [ 89.518881][ T1066] ? lock_acquire+0x13c/0x160 [ 89.518883][ T1066] ? console_flush_one_record+0x710/0x710 [ 89.518884][ T1066] ? rcu_is_watching+0x16/0xd0 [ 89.518885][ T1066] ? lock_release+0x184/0x1f0 [ 89.518887][ T1066] ? lock_acquire+0x60/0x160 [ 89.518888][ T1066] ? __rcu_read_lock+0x30/0x70 [ 89.518890][ T1066] ? __down_trylock_console_sem+0x5e/0xa0 [ 89.518892][ T1066] ? vprintk_emit+0x320/0x3e0 [ 89.518894][ T1066] vprintk_emit+0x37c/0x3e0 [ 89.518896][ T1066] ? wake_up_klogd_work_func+0x90/0x90 [ 89.518898][ T1066] ? do_raw_read_unlock+0x70/0x70 [ 89.518900][ T1066] ? forget_original_parent+0x5c/0xdb0 [ 89.518902][ T1066] _printk+0xc7/0x100 [ 89.518905][ T1066] ? snapshot_read.cold+0x21/0x21 [ 89.518906][ T1066] ? do_raw_spin_lock+0x131/0x280 [ 89.518908][ T1066] ? do_raw_spin_lock+0x131/0x280 [ 89.518910][ T1066] ? __rwlock_init+0x150/0x150 [ 89.518913][ T1066] ? do_raw_spin_lock+0x131/0x280 [ 89.518915][ T1066] do_exit.cold+0x82/0x9c [ 89.518917][ T1066] ? exit_notify+0x890/0x890 [ 89.518919][ T1066] ? posixtimer_sig_unignore.isra.0+0x5f0/0x5f0 [ 89.518922][ T1066] ? rcu_is_watching+0x16/0xd0 [ 89.518923][ T1066] do_group_exit+0xb8/0x370 [ 89.518925][ T1066] __x64_sys_exit_group+0x3c/0x50 [ 89.518927][ T1066] x64_sys_call+0x1567/0x1570 [ 89.518929][ T1066] do_syscall_64+0x10e/0x570 [ 89.518933][ T1066] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 89.518935][ T1066] RIP: 0033:0x7f42e58a91b8 [ 89.518937][ T1066] Code: Unable to access opcode bytes at 0x7f42e58a918e. [ 89.518938][ T1066] RSP: 002b:00007fffb6bd1c98 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 89.518942][ T1066] RAX: ffffffffffffffda RBX: 00007f42e59d9f88 RCX: 00007f42e58a91b8 [ 89.518943][ T1066] RDX: 00007f42e57e6a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 89.518944][ T1066] RBP: 00007fffb6bd1cf0 R08: 0000000000000000 R09: 0000000000000000 [ 89.518945][ T1066] R10: 00007fffb6bd1b30 R11: 0000000000000246 R12: 0000000000000001 [ 89.518945][ T1066] R13: 0000000000000000 R14: 00007f42e59d8680 R15: 00007f42e59d9fa0 [ 89.518948][ T1066] [ 95.308285][ T71] br0: port 1(veth0) entered disabled state [ 95.308299][ T71] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 95.308301][ T71] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 71, name: kworker/u16:1 [ 95.308303][ T71] preempt_count: 202, expected: 0 [ 95.308304][ T71] RCU nest depth: 0, expected: 0 [ 95.308305][ T71] INFO: lockdep is turned off. [ 95.308306][ T71] irq event stamp: 6104 [ 95.308307][ T71] hardirqs last enabled at (6103): [] _raw_spin_unlock_irq+0x28/0x50 [ 95.308316][ T71] hardirqs last disabled at (6104): [] __schedule+0x1246/0x20e0 [ 95.308319][ T71] softirqs last enabled at (6066): [] instance_destroy_work+0x116/0x250 [nfnetlink_queue] [ 95.308324][ T71] softirqs last disabled at (6064): [] instance_destroy_work+0x6f/0x250 [nfnetlink_queue] [ 95.308328][ T71] Preemption disabled at: [ 95.308329][ T71] [<0000000000000000>] 0x0 [ 95.308336][ T71] CPU: 1 UID: 0 PID: 71 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 95.308340][ T71] Tainted: [W]=WARN [ 95.308341][ T71] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 95.308343][ T71] Workqueue: netns cleanup_net [ 95.308349][ T71] Call Trace: [ 95.308351][ T71] [ 95.308353][ T71] dump_stack_lvl+0x6f/0xa0 [ 95.308358][ T71] __might_resched.cold+0x1fe/0x2c1 [ 95.308362][ T71] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 95.308365][ T71] ? rcu_is_watching+0x16/0xd0 [ 95.308369][ T71] __kmalloc_noprof+0x443/0x760 [ 95.308372][ T71] ? __rwlock_init+0x150/0x150 [ 95.308375][ T71] ? alloc_buf.isra.0+0x4b/0x260 [ 95.308379][ T71] ? do_raw_spin_unlock+0x59/0x250 [ 95.308381][ T71] alloc_buf.isra.0+0x4b/0x260 [ 95.308383][ T71] put_chars+0x1e1/0x2f0 [ 95.308385][ T71] ? __send_to_port+0x420/0x420 [ 95.308386][ T71] ? printk_get_next_message+0x240/0x650 [ 95.308389][ T71] ? console_prepend_replay+0x20/0x20 [ 95.308391][ T71] hvc_console_print+0x292/0x780 [ 95.308395][ T71] ? hvc_write+0x3a0/0x3a0 [ 95.308396][ T71] ? __rwlock_init+0x150/0x150 [ 95.308398][ T71] ? lock_acquire+0x13c/0x160 [ 95.308401][ T71] console_emit_next_record+0x22f/0x4c0 [ 95.308403][ T71] ? devkmsg_read+0x4b0/0x4b0 [ 95.308404][ T71] ? rcu_is_watching+0x16/0xd0 [ 95.308406][ T71] ? rcu_is_watching+0x16/0xd0 [ 95.308407][ T71] ? rcu_is_watching+0x16/0xd0 [ 95.308408][ T71] ? lock_acquire+0x13c/0x160 [ 95.308410][ T71] ? console_flush_one_record+0x111/0x710 [ 95.308411][ T71] console_flush_one_record+0x46f/0x710 [ 95.308413][ T71] ? console_emit_next_record+0x4c0/0x4c0 [ 95.308415][ T71] console_unlock+0xee/0x1f0 [ 95.308416][ T71] ? lock_acquire+0x13c/0x160 [ 95.308418][ T71] ? console_flush_one_record+0x710/0x710 [ 95.308419][ T71] ? rcu_is_watching+0x16/0xd0 [ 95.308420][ T71] ? lock_release+0x184/0x1f0 [ 95.308422][ T71] ? lock_acquire+0x60/0x160 [ 95.308424][ T71] ? __rcu_read_lock+0x30/0x70 [ 95.308425][ T71] ? __down_trylock_console_sem+0x5e/0xa0 [ 95.308428][ T71] ? vprintk_emit+0x320/0x3e0 [ 95.308429][ T71] vprintk_emit+0x37c/0x3e0 [ 95.308432][ T71] ? wake_up_klogd_work_func+0x90/0x90 [ 95.308434][ T71] ? rcu_is_watching+0x16/0xd0 [ 95.308435][ T71] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 95.308438][ T71] ? trace_hardirqs_on+0x36/0x40 [ 95.308439][ T71] _printk+0xc7/0x100 [ 95.308442][ T71] ? snapshot_read.cold+0x21/0x21 [ 95.308444][ T71] ? ipv6_mc_down+0x17e/0x2d0 [ 95.308448][ T71] br_set_state+0x22f/0x430 [bridge] [ 95.308461][ T71] br_stp_disable_port+0x11f/0x390 [bridge] [ 95.308469][ T71] br_device_event+0x7b5/0x8f0 [bridge] [ 95.308477][ T71] ? lock_release+0x184/0x1f0 [ 95.308479][ T71] ? _sub_I_65535_1+0x4d0/0x4d0 [stp] [ 95.308481][ T71] ? nfqnl_dev_drop+0x54/0x330 [nfnetlink_queue] [ 95.308483][ T71] ? nfqnl_dev_drop+0xf0/0x330 [nfnetlink_queue] [ 95.308485][ T71] notifier_call_chain+0xae/0x300 [ 95.308488][ T71] netif_close_many+0x366/0x770 [ 95.308492][ T71] ? trace_kfree+0xd2/0x100 [ 95.308493][ T71] ? lock_acquire+0x13c/0x160 [ 95.308495][ T71] ? __dev_close_many+0x680/0x680 [ 95.308497][ T71] ? netif_close_many_and_unlock+0x22/0x2c0 [ 95.308499][ T71] unregister_netdevice_many_notify+0x71a/0x1b40 [ 95.308502][ T71] ? ops_undo_list+0x2ce/0x8f0 [ 95.308504][ T71] ? worker_thread+0x4f1/0xd60 [ 95.308506][ T71] ? kthread+0x367/0x460 [ 95.308508][ T71] ? ret_from_fork+0x4a4/0x720 [ 95.308511][ T71] ? ret_from_fork_asm+0x11/0x20 [ 95.308513][ T71] ? unregister_netdevice_queued+0x80/0x80 [ 95.308516][ T71] ? get_rps_cpu+0x980/0x980 [ 95.308518][ T71] default_device_exit_batch+0x38b/0x600 [ 95.308520][ T71] ? generic_xdp_install+0x470/0x470 [ 95.308522][ T71] ? unregister_netdevice_queue+0x470/0x470 [ 95.308524][ T71] ? rtnl_is_locked+0x15/0x20 [ 95.308526][ T71] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 95.308529][ T71] ? mutex_is_locked+0x1c/0x50 [ 95.308531][ T71] ops_undo_list+0x2ce/0x8f0 [ 95.308533][ T71] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 95.308535][ T71] ? idr_destroy+0x121/0x250 [ 95.308537][ T71] cleanup_net+0x431/0x890 [ 95.308539][ T71] ? net_passive_dec+0x230/0x230 [ 95.308541][ T71] ? update_load_avg+0x141/0xf00 [ 95.308543][ T71] ? lock_acquire+0x13c/0x160 [ 95.308545][ T71] ? rcu_is_watching+0x16/0xd0 [ 95.308547][ T71] process_one_work+0xe3e/0x1560 [ 95.308549][ T71] ? __queue_delayed_work+0x470/0x470 [ 95.308550][ T71] ? find_held_lock+0x2b/0x80 [ 95.308553][ T71] ? __rwlock_init+0x150/0x150 [ 95.308555][ T71] worker_thread+0x4f1/0xd60 [ 95.308557][ T71] ? rescuer_thread+0x1340/0x1340 [ 95.308558][ T71] ? __kthread_parkme+0xbd/0x210 [ 95.308560][ T71] ? rescuer_thread+0x1340/0x1340 [ 95.308562][ T71] ? rescuer_thread+0x1340/0x1340 [ 95.308563][ T71] kthread+0x367/0x460 [ 95.308564][ T71] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 95.308566][ T71] ? kthread_affine_preferred+0x4c0/0x4c0 [ 95.308568][ T71] ret_from_fork+0x4a4/0x720 [ 95.308570][ T71] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 95.308572][ T71] ? __switch_to+0x5a3/0xe00 [ 95.308575][ T71] ? kthread_affine_preferred+0x4c0/0x4c0 [ 95.308577][ T71] ret_from_fork_asm+0x11/0x20 [ 95.308580][ T71] [ 95.330939][ T71] veth0 (unregistering): left allmulticast mode [ 95.331130][ T71] veth0 (unregistering): left promiscuous mode [ 95.331302][ T71] br0: port 1(veth0) entered disabled state [ 95.409694][ T71] br0: port 2(veth1) entered disabled state [ 95.410956][ T71] veth1 (unregistering): left allmulticast mode [ 95.411138][ T71] veth1 (unregistering): left promiscuous mode [ 95.411305][ T71] br0: port 2(veth1) entered disabled state