[ 9.134392][ T124] rpm (124) used greatest stack depth: 24760 bytes left [ 9.134413][ T124] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.134415][ T124] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 124, name: rpm [ 9.134417][ T124] preempt_count: 2, expected: 0 [ 9.134418][ T124] RCU nest depth: 0, expected: 0 [ 9.134419][ T124] locks held by rpm/124: 5, last CPU#3: [ 9.134421][ T124] #0: ffffffff9ac02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 9.134433][ T124] #1: ffffffff9ad6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.134439][ T124] #2: ffffffff9ad6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.134442][ T124] #3: ffffffff9ac89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.134445][ T124] #4: ffffffff9ac89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.134449][ T124] irq event stamp: 113206 [ 9.134449][ T124] hardirqs last enabled at (113205): [] __down_trylock_console_sem+0x86/0xa0 [ 9.134453][ T124] hardirqs last disabled at (113206): [] console_emit_next_record+0x3d4/0x4c0 [ 9.134455][ T124] softirqs last enabled at (112466): [] handle_softirqs+0x67c/0x900 [ 9.134457][ T124] softirqs last disabled at (112299): [] __irq_exit_rcu+0x145/0x1c0 [ 9.134460][ T124] Preemption disabled at: [ 9.134460][ T124] [<0000000000000000>] 0x0 [ 9.134467][ T124] CPU: 3 UID: 0 PID: 124 Comm: rpm Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.134471][ T124] Tainted: [W]=WARN [ 9.134472][ T124] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.134473][ T124] Call Trace: [ 9.134475][ T124] [ 9.134476][ T124] dump_stack_lvl+0x6f/0xa0 [ 9.134482][ T124] __might_resched.cold+0x1fe/0x2c1 [ 9.134486][ T124] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.134490][ T124] ? __kmalloc_noprof+0xdb/0x760 [ 9.134495][ T124] __kmalloc_noprof+0x443/0x760 [ 9.134497][ T124] ? alloc_buf.isra.0+0x4b/0x260 [ 9.134503][ T124] ? do_raw_spin_unlock+0x59/0x250 [ 9.134506][ T124] alloc_buf.isra.0+0x4b/0x260 [ 9.134509][ T124] put_chars+0x1e1/0x2f0 [ 9.134512][ T124] ? __send_to_port+0x420/0x420 [ 9.134518][ T124] hvc_console_print+0x292/0x780 [ 9.134525][ T124] ? hvc_write+0x3a0/0x3a0 [ 9.134528][ T124] ? lock_acquire+0x13c/0x160 [ 9.134532][ T124] console_emit_next_record+0x22f/0x4c0 [ 9.134536][ T124] ? devkmsg_read+0x4b0/0x4b0 [ 9.134537][ T124] ? console_flush_one_record+0x106/0x710 [ 9.134539][ T124] ? rcu_is_watching+0x16/0xd0 [ 9.134543][ T124] ? lock_acquire+0x13c/0x160 [ 9.134547][ T124] console_flush_one_record+0x46f/0x710 [ 9.134550][ T124] ? console_emit_next_record+0x4c0/0x4c0 [ 9.134552][ T124] ? __lock_acquire+0x518/0xc20 [ 9.134557][ T124] console_unlock+0xee/0x1f0 [ 9.134559][ T124] ? console_flush_one_record+0x710/0x710 [ 9.134560][ T124] ? rcu_is_watching+0x16/0xd0 [ 9.134562][ T124] ? lock_acquire+0x60/0x160 [ 9.134566][ T124] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.134568][ T124] ? vprintk_emit+0x320/0x3e0 [ 9.134571][ T124] vprintk_emit+0x37c/0x3e0 [ 9.134574][ T124] ? wake_up_klogd_work_func+0x90/0x90 [ 9.134577][ T124] ? __lock_acquire+0x518/0xc20 [ 9.134580][ T124] _printk+0xc7/0x100 [ 9.134584][ T124] ? snapshot_read.cold+0x21/0x21 [ 9.134586][ T124] ? do_raw_spin_lock+0x131/0x280 [ 9.134589][ T124] ? __rwlock_init+0x150/0x150 [ 9.134593][ T124] ? do_raw_spin_lock+0x131/0x280 [ 9.134596][ T124] do_exit.cold+0x82/0x9c [ 9.134600][ T124] ? exit_notify+0x890/0x890 [ 9.134601][ T124] ? __lock_release.isra.0+0x69/0x1a0 [ 9.134604][ T124] ? rcu_is_watching+0x16/0xd0 [ 9.134608][ T124] do_group_exit+0xb8/0x370 [ 9.134611][ T124] __x64_sys_exit_group+0x3c/0x50 [ 9.134613][ T124] x64_sys_call+0x1567/0x1570 [ 9.134615][ T124] do_syscall_64+0x10e/0x570 [ 9.134618][ T124] ? exc_page_fault+0xee/0x100 [ 9.134622][ T124] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.134624][ T124] RIP: 0033:0x7f30475301b8 [ 9.134626][ T124] Code: Unable to access opcode bytes at 0x7f304753018e. [ 9.134627][ T124] RSP: 002b:00007ffd108441e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.134629][ T124] RAX: ffffffffffffffda RBX: 00007f3047660f88 RCX: 00007f30475301b8 [ 9.134631][ T124] RDX: 00007f304656bb08 RSI: ffffffffffffff98 RDI: 0000000000000000 [ 9.134632][ T124] RBP: 00007ffd10844240 R08: 0000000000000000 R09: 00000000000000a0 [ 9.134632][ T124] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000b [ 9.134633][ T124] R13: 0000000000000000 R14: 00007f304765f680 R15: 00007f3047660fa0 [ 9.134640][ T124] [ 10.426027][ T173] sctp: Hash tables configured (bind 32/56) [ 10.426046][ T173] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.426048][ T173] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 173, name: modprobe [ 10.426050][ T173] preempt_count: 1, expected: 0 [ 10.426051][ T173] RCU nest depth: 0, expected: 0 [ 10.426052][ T173] locks held by modprobe/173: 4, last CPU#3: [ 10.426054][ T173] #0: ffffffff9ad6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.426065][ T173] #1: ffffffff9ad6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.426069][ T173] #2: ffffffff9ac89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.426072][ T173] #3: ffffffff9ac89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.426076][ T173] irq event stamp: 108570 [ 10.426076][ T173] hardirqs last enabled at (108569): [] __down_trylock_console_sem+0x86/0xa0 [ 10.426080][ T173] hardirqs last disabled at (108570): [] console_emit_next_record+0x3d4/0x4c0 [ 10.426081][ T173] softirqs last enabled at (100124): [] handle_softirqs+0x67c/0x900 [ 10.426085][ T173] softirqs last disabled at (100117): [] __irq_exit_rcu+0x145/0x1c0 [ 10.426087][ T173] Preemption disabled at: [ 10.426088][ T173] [] vprintk_emit+0x31b/0x3e0 [ 10.426093][ T173] CPU: 3 UID: 0 PID: 173 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.426097][ T173] Tainted: [W]=WARN [ 10.426098][ T173] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.426099][ T173] Call Trace: [ 10.426101][ T173] [ 10.426102][ T173] dump_stack_lvl+0x6f/0xa0 [ 10.426107][ T173] ? vprintk_emit+0x31b/0x3e0 [ 10.426109][ T173] __might_resched.cold+0x1fe/0x2c1 [ 10.426113][ T173] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.426116][ T173] ? __kmalloc_noprof+0xdb/0x760 [ 10.426121][ T173] __kmalloc_noprof+0x443/0x760 [ 10.426124][ T173] ? alloc_buf.isra.0+0x4b/0x260 [ 10.426130][ T173] ? do_raw_spin_unlock+0x59/0x250 [ 10.426133][ T173] alloc_buf.isra.0+0x4b/0x260 [ 10.426136][ T173] put_chars+0x1e1/0x2f0 [ 10.426138][ T173] ? __send_to_port+0x420/0x420 [ 10.426140][ T173] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.426144][ T173] ? rcu_read_lock_any_held+0x3c/0x90 [ 10.426147][ T173] ? validate_chain+0x38b/0xc20 [ 10.426152][ T173] hvc_console_print+0x292/0x780 [ 10.426155][ T173] ? __lock_acquire+0x518/0xc20 [ 10.426160][ T173] ? hvc_write+0x3a0/0x3a0 [ 10.426163][ T173] ? rcu_is_watching+0x16/0xd0 [ 10.426168][ T173] console_emit_next_record+0x22f/0x4c0 [ 10.426171][ T173] ? devkmsg_read+0x4b0/0x4b0 [ 10.426172][ T173] ? console_flush_one_record+0x106/0x710 [ 10.426175][ T173] ? rcu_is_watching+0x16/0xd0 [ 10.426176][ T173] ? lock_acquire+0x13c/0x160 [ 10.426181][ T173] console_flush_one_record+0x46f/0x710 [ 10.426184][ T173] ? console_emit_next_record+0x4c0/0x4c0 [ 10.426185][ T173] ? __lock_acquire+0x518/0xc20 [ 10.426191][ T173] console_unlock+0xee/0x1f0 [ 10.426193][ T173] ? console_flush_one_record+0x710/0x710 [ 10.426194][ T173] ? rcu_is_watching+0x16/0xd0 [ 10.426196][ T173] ? lock_acquire+0x60/0x160 [ 10.426200][ T173] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.426201][ T173] ? vprintk_emit+0x320/0x3e0 [ 10.426204][ T173] vprintk_emit+0x37c/0x3e0 [ 10.426208][ T173] ? wake_up_klogd_work_func+0x90/0x90 [ 10.426209][ T173] ? lockdep_hardirqs_on+0x91/0x130 [ 10.426214][ T173] ? lookup_object_or_alloc.part.0+0x580/0x580 [ 10.426220][ T173] _printk+0xc7/0x100 [ 10.426224][ T173] ? snapshot_read.cold+0x21/0x21 [ 10.426227][ T173] ? lockdep_init_map_type+0x5d/0x250 [ 10.426230][ T173] ? __rhashtable_init_noprof+0x451/0x7f0 [ 10.426235][ T173] sctp_init+0x43b/0x600 [sctp] [ 10.426250][ T173] ? sctp_exit+0x270/0x270 [sctp] [ 10.426258][ T173] do_one_initcall+0x124/0x4f0 [ 10.426261][ T173] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 10.426266][ T173] ? do_init_module+0xae/0x8a0 [ 10.426268][ T173] ? kasan_unpoison+0x44/0x70 [ 10.426273][ T173] do_init_module+0x2ad/0x8a0 [ 10.426276][ T173] ? lockdep_hardirqs_on+0x91/0x130 [ 10.426279][ T173] ? free_module+0x470/0x470 [ 10.426281][ T173] ? kfree+0x123/0x590 [ 10.426285][ T173] load_module+0x154b/0x1d60 [ 10.426292][ T173] ? layout_and_allocate.isra.0+0x680/0x680 [ 10.426297][ T173] ? backing_file_read_iter+0x541/0x790 [ 10.426300][ T173] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.426303][ T173] init_module_from_file+0x11f/0x1a0 [ 10.426306][ T173] ? __ia32_sys_init_module+0xc0/0xc0 [ 10.426314][ T173] ? __rwlock_init+0x150/0x150 [ 10.426318][ T173] ? do_raw_spin_unlock+0x59/0x250 [ 10.426321][ T173] idempotent_init_module+0x37b/0x7c0 [ 10.426324][ T173] ? init_module_from_file+0x1a0/0x1a0 [ 10.426329][ T173] ? rcu_is_watching+0x16/0xd0 [ 10.426331][ T173] ? cap_capable+0x1d7/0x3d0 [ 10.426336][ T173] __x64_sys_finit_module+0xdf/0x190 [ 10.426338][ T173] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.426341][ T173] do_syscall_64+0x10e/0x570 [ 10.426343][ T173] ? exc_page_fault+0xee/0x100 [ 10.426346][ T173] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.426348][ T173] RIP: 0033:0x7f547afa337d [ 10.426352][ 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 [ 10.426353][ T173] RSP: 002b:00007fff79c949b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 10.426356][ T173] RAX: ffffffffffffffda RBX: 000055610a1b39c0 RCX: 00007f547afa337d [ 10.426357][ T173] RDX: 0000000000000000 RSI: 00005560f31ebffd RDI: 0000000000000007 [ 10.426358][ T173] RBP: 00007fff79c94a50 R08: 0000000000000000 R09: 0000000000000000 [ 10.426359][ T173] R10: 0000000000000000 R11: 0000000000000246 R12: 00005560f31ebffd [ 10.426360][ T173] R13: 000055610a1b3ae0 R14: 0000000000040000 R15: 0000000000000000 [ 10.426366][ T173] [ 10.776367][ T185] ip (185) used greatest stack depth: 24744 bytes left [ 11.436827][ T204] ip (204) used greatest stack depth: 24320 bytes left [ 11.436843][ T204] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.436845][ T204] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 204, name: ip [ 11.436847][ T204] preempt_count: 2, expected: 0 [ 11.436848][ T204] RCU nest depth: 0, expected: 0 [ 11.436849][ T204] locks held by ip/204: 5, last CPU#0: [ 11.436851][ T204] #0: ffffffff9ac02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 11.436863][ T204] #1: ffffffff9ad6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.436868][ T204] #2: ffffffff9ad6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.436872][ T204] #3: ffffffff9ac89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.436875][ T204] #4: ffffffff9ac89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.436878][ T204] irq event stamp: 37662 [ 11.436879][ T204] hardirqs last enabled at (37661): [] __down_trylock_console_sem+0x86/0xa0 [ 11.436883][ T204] hardirqs last disabled at (37662): [] console_emit_next_record+0x3d4/0x4c0 [ 11.436884][ T204] softirqs last enabled at (36572): [] handle_softirqs+0x67c/0x900 [ 11.436887][ T204] softirqs last disabled at (36567): [] __irq_exit_rcu+0x145/0x1c0 [ 11.436889][ T204] Preemption disabled at: [ 11.436890][ T204] [<0000000000000000>] 0x0 [ 11.436897][ T204] CPU: 0 UID: 0 PID: 204 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.436900][ T204] Tainted: [W]=WARN [ 11.436901][ T204] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.436903][ T204] Call Trace: [ 11.436904][ T204] [ 11.436906][ T204] dump_stack_lvl+0x6f/0xa0 [ 11.436911][ T204] __might_resched.cold+0x1fe/0x2c1 [ 11.436916][ T204] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.436919][ T204] ? __kmalloc_noprof+0xdb/0x760 [ 11.436924][ T204] __kmalloc_noprof+0x443/0x760 [ 11.436927][ T204] ? alloc_buf.isra.0+0x4b/0x260 [ 11.436933][ T204] ? do_raw_spin_unlock+0x59/0x250 [ 11.436936][ T204] alloc_buf.isra.0+0x4b/0x260 [ 11.436939][ T204] put_chars+0x1e1/0x2f0 [ 11.436942][ T204] ? __send_to_port+0x420/0x420 [ 11.436948][ T204] hvc_console_print+0x292/0x780 [ 11.436955][ T204] ? hvc_write+0x3a0/0x3a0 [ 11.436958][ T204] ? lock_acquire+0x13c/0x160 [ 11.436965][ T204] console_emit_next_record+0x22f/0x4c0 [ 11.436968][ T204] ? devkmsg_read+0x4b0/0x4b0 [ 11.436970][ T204] ? console_flush_one_record+0x106/0x710 [ 11.436972][ T204] ? rcu_is_watching+0x16/0xd0 [ 11.436975][ T204] ? lock_acquire+0x13c/0x160 [ 11.436979][ T204] console_flush_one_record+0x46f/0x710 [ 11.436983][ T204] ? console_emit_next_record+0x4c0/0x4c0 [ 11.436984][ T204] ? __lock_acquire+0x518/0xc20 [ 11.436990][ T204] console_unlock+0xee/0x1f0 [ 11.436992][ T204] ? console_flush_one_record+0x710/0x710 [ 11.436993][ T204] ? rcu_is_watching+0x16/0xd0 [ 11.436995][ T204] ? lock_acquire+0x60/0x160 [ 11.436999][ T204] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.437001][ T204] ? vprintk_emit+0x320/0x3e0 [ 11.437003][ T204] vprintk_emit+0x37c/0x3e0 [ 11.437006][ T204] ? wake_up_klogd_work_func+0x90/0x90 [ 11.437009][ T204] ? __lock_acquire+0x518/0xc20 [ 11.437013][ T204] _printk+0xc7/0x100 [ 11.437017][ T204] ? snapshot_read.cold+0x21/0x21 [ 11.437020][ T204] ? do_raw_spin_lock+0x131/0x280 [ 11.437022][ T204] ? __rwlock_init+0x150/0x150 [ 11.437026][ T204] ? do_raw_spin_lock+0x131/0x280 [ 11.437029][ T204] do_exit.cold+0x82/0x9c [ 11.437033][ T204] ? exit_notify+0x890/0x890 [ 11.437034][ T204] ? __lock_release.isra.0+0x69/0x1a0 [ 11.437037][ T204] ? rcu_is_watching+0x16/0xd0 [ 11.437041][ T204] do_group_exit+0xb8/0x370 [ 11.437044][ T204] __x64_sys_exit_group+0x3c/0x50 [ 11.437046][ T204] x64_sys_call+0x1567/0x1570 [ 11.437049][ T204] do_syscall_64+0x10e/0x570 [ 11.437053][ T204] ? exc_page_fault+0xee/0x100 [ 11.437056][ T204] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.437058][ T204] RIP: 0033:0x7f2eb9a051b8 [ 11.437061][ T204] Code: Unable to access opcode bytes at 0x7f2eb9a0518e. [ 11.437062][ T204] RSP: 002b:00007ffe8310b5d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.437064][ T204] RAX: ffffffffffffffda RBX: 00007f2eb9b35f88 RCX: 00007f2eb9a051b8 [ 11.437065][ T204] RDX: 00007f2eb974ffc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.437066][ T204] RBP: 00007ffe8310b630 R08: 0000000000000000 R09: 0000000000000000 [ 11.437067][ T204] R10: 00007ffe8310b3f0 R11: 0000000000000246 R12: 0000000000000001 [ 11.437068][ T204] R13: 0000000000000000 R14: 00007f2eb9b34680 R15: 00007f2eb9b35fa0 [ 11.437075][ T204] [ 31.232978][ C1] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.233012][ C1] [ 31.233013][ C1] ======================================================== [ 31.233014][ C1] WARNING: possible irq lock inversion dependency detected [ 31.233016][ C1] 7.2.0-virtme #1 Tainted: G W [ 31.233018][ C1] -------------------------------------------------------- [ 31.233019][ C1] connect_close/343 just changed the state of lock: [ 31.233020][ C1] ffffffff9ac89de0 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 31.233031][ C1] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 31.233033][ C1] (fs_reclaim){+.+.}-{0:0} [ 31.233034][ C1] [ 31.233034][ C1] [ 31.233034][ C1] and interrupts could create inverse lock ordering between them. [ 31.233034][ C1] [ 31.233035][ C1] [ 31.233035][ C1] other info that might help us debug this: [ 31.233035][ C1] Possible interrupt unsafe locking scenario: [ 31.233035][ C1] [ 31.233036][ C1] CPU0 CPU1 [ 31.233037][ C1] ---- ---- [ 31.233037][ C1] lock(fs_reclaim); [ 31.233038][ C1] local_irq_disable(); [ 31.233038][ C1] lock(console_owner); [ 31.233039][ C1] lock(fs_reclaim); [ 31.233040][ C1] [ 31.233041][ C1] lock(console_owner); [ 31.233041][ C1] [ 31.233041][ C1] *** DEADLOCK *** [ 31.233041][ C1] [ 31.233042][ C1] locks held by connect_close/343: 9, last CPU#1: [ 31.233043][ C1] #0: ff1100000d515390 (sk_lock-AF_INET){+.+.}-{0:0}, at: inet_stream_connect+0x44/0xb0 [ 31.233050][ C1] #1: ffffffff9ad81280 (rcu_read_lock){....}-{1:3}, at: __ip_queue_xmit+0x63/0x1650 [ 31.233054][ C1] #2: ffffffff9ad81280 (rcu_read_lock){....}-{1:3}, at: ip_output+0xa9/0x660 [ 31.233057][ C1] #3: ffffffff9ad81280 (rcu_read_lock){....}-{1:3}, at: ip_finish_output2+0x25c/0x1bc0 [ 31.233060][ C1] #4: ffffffff9ad81280 (rcu_read_lock){....}-{1:3}, at: process_backlog+0x3f1/0x14c0 [ 31.233065][ C1] #5: ffffffff9ad81280 (rcu_read_lock){....}-{1:3}, at: ip_local_deliver_finish+0x2ba/0x610 [ 31.233068][ C1] #6: ffffffff9ad81280 (rcu_read_lock){....}-{1:3}, at: tcp_rcv_listen_state_process+0x108/0x380 [ 31.233073][ C1] #7: ffffffff9ad6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 31.233076][ C1] #8: ffffffff9ad6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 31.233078][ C1] [ 31.233078][ C1] the shortest dependencies between 2nd lock and 1st lock: [ 31.233083][ C1] -> (fs_reclaim){+.+.}-{0:0} { [ 31.233085][ C1] HARDIRQ-ON-W at: [ 31.233087][ C1] __lock_acquire+0x388/0xc20 [ 31.233090][ C1] lock_acquire.part.0+0xd4/0x280 [ 31.233092][ C1] fs_reclaim_acquire+0xd5/0x120 [ 31.233095][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 31.233097][ C1] kthread_create_worker_on_node+0xea/0x210 [ 31.233100][ C1] workqueue_init+0x2a/0x680 [ 31.233104][ C1] kernel_init_freeable+0x2fe/0x630 [ 31.233107][ C1] kernel_init+0x21/0x150 [ 31.233110][ C1] ret_from_fork+0x4a4/0x720 [ 31.233113][ C1] ret_from_fork_asm+0x11/0x20 [ 31.233116][ C1] SOFTIRQ-ON-W at: [ 31.233117][ C1] __lock_acquire+0x388/0xc20 [ 31.233118][ C1] lock_acquire.part.0+0xd4/0x280 [ 31.233120][ C1] fs_reclaim_acquire+0xd5/0x120 [ 31.233121][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 31.233123][ C1] kthread_create_worker_on_node+0xea/0x210 [ 31.233124][ C1] workqueue_init+0x2a/0x680 [ 31.233126][ C1] kernel_init_freeable+0x2fe/0x630 [ 31.233127][ C1] kernel_init+0x21/0x150 [ 31.233128][ C1] ret_from_fork+0x4a4/0x720 [ 31.233130][ C1] ret_from_fork_asm+0x11/0x20 [ 31.233131][ C1] INITIAL USE at: [ 31.233132][ C1] __lock_acquire+0x388/0xc20 [ 31.233134][ C1] lock_acquire.part.0+0xd4/0x280 [ 31.233135][ C1] fs_reclaim_acquire+0xd5/0x120 [ 31.233136][ C1] __kmalloc_cache_noprof+0x6e/0x620 [ 31.233138][ C1] kthread_create_worker_on_node+0xea/0x210 [ 31.233139][ C1] workqueue_init+0x2a/0x680 [ 31.233141][ C1] kernel_init_freeable+0x2fe/0x630 [ 31.233142][ C1] kernel_init+0x21/0x150 [ 31.233143][ C1] ret_from_fork+0x4a4/0x720 [ 31.233145][ C1] ret_from_fork_asm+0x11/0x20 [ 31.233146][ C1] } [ 31.233147][ C1] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 31.233151][ C1] ... acquired at: [ 31.233152][ C1] __lock_acquire+0x518/0xc20 [ 31.233153][ C1] lock_acquire.part.0+0xd4/0x280 [ 31.233155][ C1] fs_reclaim_acquire+0xd5/0x120 [ 31.233156][ C1] __kmalloc_noprof+0xd3/0x760 [ 31.233158][ C1] alloc_buf.isra.0+0x4b/0x260 [ 31.233161][ C1] put_chars+0x1e1/0x2f0 [ 31.233162][ C1] hvc_console_print+0x292/0x780 [ 31.233165][ C1] console_emit_next_record+0x22f/0x4c0 [ 31.233166][ C1] console_flush_one_record+0x46f/0x710 [ 31.233167][ C1] console_unlock+0xee/0x1f0 [ 31.233168][ C1] vprintk_emit+0x37c/0x3e0 [ 31.233169][ C1] dev_vprintk_emit+0x27f/0x2c0 [ 31.233173][ C1] dev_printk_emit+0xb9/0xee [ 31.233174][ C1] _dev_info+0xe2/0x116 [ 31.233176][ C1] __devm_rtc_register_device.cold+0xc3/0x3a8 [ 31.233179][ C1] cmos_do_probe+0x73b/0x98a [ 31.233180][ C1] platform_probe+0xfe/0x1f0 [ 31.233183][ C1] call_driver_probe+0x61/0x1c0 [ 31.233185][ C1] really_probe+0x199/0x760 [ 31.233187][ C1] __driver_probe_device+0x24f/0x440 [ 31.233189][ C1] driver_probe_device+0x4a/0xf0 [ 31.233190][ C1] __driver_attach+0x1b8/0x540 [ 31.233192][ C1] bus_for_each_dev+0x130/0x1e0 [ 31.233193][ C1] bus_add_driver+0x2c8/0x530 [ 31.233195][ C1] driver_register+0x1a3/0x390 [ 31.233196][ C1] __platform_driver_probe+0x13f/0x270 [ 31.233198][ C1] cmos_init+0x31/0x40 [ 31.233201][ C1] do_one_initcall+0x124/0x4f0 [ 31.233202][ C1] kernel_init_freeable+0x596/0x630 [ 31.233203][ C1] kernel_init+0x21/0x150 [ 31.233205][ C1] ret_from_fork+0x4a4/0x720 [ 31.233206][ C1] ret_from_fork_asm+0x11/0x20 [ 31.233207][ C1] [ 31.233208][ C1] -> (console_owner){..-.}-{0:0} { [ 31.233210][ C1] IN-SOFTIRQ-W at: [ 31.233210][ C1] __lock_acquire+0x388/0xc20 [ 31.233212][ C1] lock_acquire.part.0+0xd4/0x280 [ 31.233214][ C1] console_lock_spinning_enable+0x5c/0x60 [ 31.233215][ C1] console_emit_next_record+0x1d1/0x4c0 [ 31.233216][ C1] console_flush_one_record+0x46f/0x710 [ 31.233217][ C1] console_unlock+0xee/0x1f0 [ 31.233218][ C1] vprintk_emit+0x37c/0x3e0 [ 31.233219][ C1] _printk+0xc7/0x100 [ 31.233222][ C1] tcp_syn_flood_action.cold+0xb4/0xe5 [ 31.233224][ C1] tcp_conn_request+0x13ff/0x2c00 [ 31.233226][ C1] tcp_rcv_listen_state_process+0x1ab/0x380 [ 31.233228][ C1] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 31.233230][ C1] tcp_v4_rcv+0x2881/0x2ef0 [ 31.233231][ C1] ip_protocol_deliver_rcu+0x82/0x350 [ 31.233232][ C1] ip_local_deliver_finish+0x36f/0x610 [ 31.233233][ C1] ip_local_deliver+0x184/0x4c0 [ 31.233234][ C1] ip_rcv+0xdc/0x3d0 [ 31.233235][ C1] __netif_receive_skb_one_core+0xfc/0x180 [ 31.233237][ C1] process_backlog+0x431/0x14c0 [ 31.233239][ C1] __napi_poll+0xa7/0x3b0 [ 31.233240][ C1] net_rx_action+0x513/0xf50 [ 31.233242][ C1] handle_softirqs+0x1d3/0x900 [ 31.233244][ C1] do_softirq+0xac/0xe0 [ 31.233245][ C1] __local_bh_enable_ip+0x118/0x150 [ 31.233247][ C1] __dev_queue_xmit+0x979/0x1b80 [ 31.233248][ C1] ip_finish_output2+0xd9b/0x1bc0 [ 31.233250][ C1] ip_output+0x1ca/0x660 [ 31.233251][ C1] __ip_queue_xmit+0x774/0x1650 [ 31.233252][ C1] __tcp_transmit_skb+0x1ad9/0x3a70 [ 31.233254][ C1] tcp_connect+0xec4/0x1880 [ 31.233256][ C1] tcp_v4_connect+0x12bd/0x1960 [ 31.233257][ C1] __inet_stream_connect+0x2ed/0xd00 [ 31.233259][ C1] inet_stream_connect+0x59/0xb0 [ 31.233260][ C1] __sys_connect+0x1c1/0x2c0 [ 31.233263][ C1] __x64_sys_connect+0x72/0xd0 [ 31.233265][ C1] do_syscall_64+0x10e/0x570 [ 31.233266][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.233268][ C1] INITIAL USE at: [ 31.233269][ C1] } [ 31.233269][ C1] ... key at: [] console_owner_dep_map+0x0/0x60 [ 31.233272][ C1] ... acquired at: [ 31.233273][ C1] mark_lock+0x1d7/0xa00 [ 31.233274][ C1] mark_usage+0x42/0x170 [ 31.233276][ C1] __lock_acquire+0x388/0xc20 [ 31.233278][ C1] lock_acquire.part.0+0xd4/0x280 [ 31.233279][ C1] console_lock_spinning_enable+0x5c/0x60 [ 31.233280][ C1] console_emit_next_record+0x1d1/0x4c0 [ 31.233281][ C1] console_flush_one_record+0x46f/0x710 [ 31.233282][ C1] console_unlock+0xee/0x1f0 [ 31.233283][ C1] vprintk_emit+0x37c/0x3e0 [ 31.233284][ C1] _printk+0xc7/0x100 [ 31.233286][ C1] tcp_syn_flood_action.cold+0xb4/0xe5 [ 31.233287][ C1] tcp_conn_request+0x13ff/0x2c00 [ 31.233289][ C1] tcp_rcv_listen_state_process+0x1ab/0x380 [ 31.233290][ C1] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 31.233292][ C1] tcp_v4_rcv+0x2881/0x2ef0 [ 31.233293][ C1] ip_protocol_deliver_rcu+0x82/0x350 [ 31.233294][ C1] ip_local_deliver_finish+0x36f/0x610 [ 31.233295][ C1] ip_local_deliver+0x184/0x4c0 [ 31.233296][ C1] ip_rcv+0xdc/0x3d0 [ 31.233297][ C1] __netif_receive_skb_one_core+0xfc/0x180 [ 31.233299][ C1] process_backlog+0x431/0x14c0 [ 31.233300][ C1] __napi_poll+0xa7/0x3b0 [ 31.233302][ C1] net_rx_action+0x513/0xf50 [ 31.233303][ C1] handle_softirqs+0x1d3/0x900 [ 31.233304][ C1] do_softirq+0xac/0xe0 [ 31.233306][ C1] __local_bh_enable_ip+0x118/0x150 [ 31.233307][ C1] __dev_queue_xmit+0x979/0x1b80 [ 31.233309][ C1] ip_finish_output2+0xd9b/0x1bc0 [ 31.233310][ C1] ip_output+0x1ca/0x660 [ 31.233311][ C1] __ip_queue_xmit+0x774/0x1650 [ 31.233312][ C1] __tcp_transmit_skb+0x1ad9/0x3a70 [ 31.233314][ C1] tcp_connect+0xec4/0x1880 [ 31.233315][ C1] tcp_v4_connect+0x12bd/0x1960 [ 31.233316][ C1] __inet_stream_connect+0x2ed/0xd00 [ 31.233318][ C1] inet_stream_connect+0x59/0xb0 [ 31.233320][ C1] __sys_connect+0x1c1/0x2c0 [ 31.233321][ C1] __x64_sys_connect+0x72/0xd0 [ 31.233322][ C1] do_syscall_64+0x10e/0x570 [ 31.233324][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.233325][ C1] [ 31.233325][ C1] [ 31.233325][ C1] stack backtrace: [ 31.233328][ C1] CPU: 1 UID: 0 PID: 343 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.233331][ C1] Tainted: [W]=WARN [ 31.233332][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.233334][ C1] Call Trace: [ 31.233335][ C1] [ 31.233336][ C1] dump_stack_lvl+0x6f/0xa0 [ 31.233339][ C1] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 31.233342][ C1] mark_lock_irq+0x989/0x9c0 [ 31.233345][ C1] mark_lock+0x1d7/0xa00 [ 31.233347][ C1] mark_usage+0x42/0x170 [ 31.233349][ C1] __lock_acquire+0x388/0xc20 [ 31.233352][ C1] lock_acquire.part.0+0xd4/0x280 [ 31.233353][ C1] ? console_lock_spinning_enable+0x40/0x60 [ 31.233355][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.233358][ C1] ? lock_acquire+0x13c/0x160 [ 31.233360][ C1] console_lock_spinning_enable+0x5c/0x60 [ 31.233361][ C1] ? console_lock_spinning_enable+0x40/0x60 [ 31.233362][ C1] console_emit_next_record+0x1d1/0x4c0 [ 31.233364][ C1] ? devkmsg_read+0x4b0/0x4b0 [ 31.233365][ C1] ? console_flush_one_record+0x106/0x710 [ 31.233367][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.233368][ C1] ? lock_acquire+0x13c/0x160 [ 31.233370][ C1] console_flush_one_record+0x46f/0x710 [ 31.233372][ C1] ? console_emit_next_record+0x4c0/0x4c0 [ 31.233373][ C1] ? __lock_acquire+0x518/0xc20 [ 31.233376][ C1] console_unlock+0xee/0x1f0 [ 31.233377][ C1] ? console_flush_one_record+0x710/0x710 [ 31.233378][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.233379][ C1] ? lock_acquire+0x60/0x160 [ 31.233381][ C1] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.233384][ C1] ? vprintk_emit+0x320/0x3e0 [ 31.233385][ C1] vprintk_emit+0x37c/0x3e0 [ 31.233387][ C1] ? wake_up_klogd_work_func+0x90/0x90 [ 31.233389][ C1] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 31.233392][ C1] _printk+0xc7/0x100 [ 31.233394][ C1] ? snapshot_read.cold+0x21/0x21 [ 31.233396][ C1] ? ___ratelimit+0x4e7/0xa00 [ 31.233399][ C1] ? idr_get_free+0x830/0x830 [ 31.233401][ C1] tcp_syn_flood_action.cold+0xb4/0xe5 [ 31.233403][ C1] tcp_conn_request+0x13ff/0x2c00 [ 31.233405][ C1] ? reuseport_select_sock+0x19e/0x3c0 [ 31.233408][ C1] ? reuseport_select_sock+0xe1/0x3c0 [ 31.233410][ C1] ? __lock_acquire+0x518/0xc20 [ 31.233412][ C1] ? tcp_get_syncookie_mss+0x300/0x300 [ 31.233414][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 31.233416][ C1] ? __lock_acquire+0x518/0xc20 [ 31.233418][ C1] ? save_trace+0x1f7/0x280 [ 31.233420][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.233422][ C1] ? lock_acquire+0x13c/0x160 [ 31.233424][ C1] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 31.233425][ C1] tcp_rcv_listen_state_process+0x1ab/0x380 [ 31.233427][ C1] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 31.233429][ C1] ? tcp_v4_fill_cb+0x33/0x430 [ 31.233430][ C1] tcp_v4_rcv+0x2881/0x2ef0 [ 31.233433][ C1] ? mark_usage+0x61/0x170 [ 31.233435][ C1] ? tcp_add_backlog+0x1e30/0x1e30 [ 31.233437][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 31.233439][ C1] ? ip_local_deliver_finish+0x2ba/0x610 [ 31.233440][ C1] ip_protocol_deliver_rcu+0x82/0x350 [ 31.233442][ C1] ? process_backlog+0x3f1/0x14c0 [ 31.233444][ C1] ip_local_deliver_finish+0x36f/0x610 [ 31.233446][ C1] ip_local_deliver+0x184/0x4c0 [ 31.233447][ C1] ? ip_local_deliver_finish+0x610/0x610 [ 31.233449][ C1] ? ip_protocol_deliver_rcu+0x350/0x350 [ 31.233450][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 31.233452][ C1] ? process_backlog+0x3f1/0x14c0 [ 31.233454][ C1] ip_rcv+0xdc/0x3d0 [ 31.233455][ C1] ? ip_local_deliver+0x4c0/0x4c0 [ 31.233457][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.233458][ C1] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 31.233460][ C1] ? __lock_acquire+0x518/0xc20 [ 31.233461][ C1] ? perf_trace_rcu_grace_period_init+0x227/0x580 [ 31.233464][ C1] ? process_backlog+0x3f1/0x14c0 [ 31.233466][ C1] __netif_receive_skb_one_core+0xfc/0x180 [ 31.233467][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 31.233469][ C1] ? process_backlog+0x3f1/0x14c0 [ 31.233471][ C1] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 31.233473][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.233474][ C1] process_backlog+0x431/0x14c0 [ 31.233477][ C1] __napi_poll+0xa7/0x3b0 [ 31.233479][ C1] net_rx_action+0x513/0xf50 [ 31.233481][ C1] ? __lock_acquire+0x518/0xc20 [ 31.233483][ C1] ? __napi_poll+0x3b0/0x3b0 [ 31.233487][ C1] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 31.233490][ C1] ? mark_held_locks+0x40/0x70 [ 31.233492][ C1] handle_softirqs+0x1d3/0x900 [ 31.233495][ C1] ? _local_bh_enable+0xc0/0xc0 [ 31.233496][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 31.233498][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.233499][ C1] ? __dev_queue_xmit+0x964/0x1b80 [ 31.233501][ C1] do_softirq+0xac/0xe0 [ 31.233503][ C1] [ 31.233504][ C1] [ 31.233504][ C1] __local_bh_enable_ip+0x118/0x150 [ 31.233509][ C1] __dev_queue_xmit+0x979/0x1b80 [ 31.233512][ C1] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 31.233514][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 31.233515][ C1] ? find_held_lock+0x2b/0x80 [ 31.233517][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 31.233519][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.233520][ C1] ? mark_held_locks+0x40/0x70 [ 31.233522][ C1] ? __asan_memcpy+0x3c/0x60 [ 31.233525][ C1] ? neigh_hh_output+0x152/0x4c0 [ 31.233527][ C1] ip_finish_output2+0xd9b/0x1bc0 [ 31.233528][ C1] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 31.233530][ C1] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 31.233533][ C1] ip_output+0x1ca/0x660 [ 31.233534][ C1] ? ip_finish_output+0x460/0x460 [ 31.233536][ C1] ? find_held_lock+0x2b/0x80 [ 31.233538][ C1] ? __ip_finish_output+0x720/0x720 [ 31.233539][ C1] ? ip4_dst_hoplimit+0x15b/0x320 [ 31.233541][ C1] __ip_queue_xmit+0x774/0x1650 [ 31.233544][ C1] __tcp_transmit_skb+0x1ad9/0x3a70 [ 31.233546][ C1] ? tcp_call_bpf+0x201/0x2e0 [ 31.233548][ C1] ? tcp_clone_payload+0x10b0/0x10b0 [ 31.233550][ C1] ? __tcp_select_window+0xf20/0xf20 [ 31.233552][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 31.233555][ C1] ? ktime_get+0x18e/0x2d0 [ 31.233556][ C1] ? kvm_clock_get_cycles+0x19/0x30 [ 31.233559][ C1] ? ktime_get+0x1dd/0x2d0 [ 31.233561][ C1] tcp_connect+0xec4/0x1880 [ 31.233564][ C1] tcp_v4_connect+0x12bd/0x1960 [ 31.233566][ C1] ? established_get_first+0x6b0/0x6b0 [ 31.233567][ C1] ? do_raw_spin_lock+0x131/0x280 [ 31.233569][ C1] ? find_held_lock+0x2b/0x80 [ 31.233571][ C1] __inet_stream_connect+0x2ed/0xd00 [ 31.233573][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 31.233575][ C1] inet_stream_connect+0x59/0xb0 [ 31.233578][ C1] __sys_connect+0x1c1/0x2c0 [ 31.233579][ C1] ? do_fcntl+0x36f/0xc50 [ 31.233582][ C1] ? __sys_connect_file+0x250/0x250 [ 31.233585][ C1] ? fdget_raw+0x4f/0x190 [ 31.233587][ C1] __x64_sys_connect+0x72/0xd0 [ 31.233589][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 31.233591][ C1] ? do_syscall_64+0xa6/0x570 [ 31.233592][ C1] do_syscall_64+0x10e/0x570 [ 31.233594][ C1] ? exc_page_fault+0xee/0x100 [ 31.233596][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.233597][ C1] RIP: 0033:0x7fa7ab66354e [ 31.233601][ C1] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 31.233603][ C1] RSP: 002b:00007ffd73f40510 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 31.233605][ C1] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa7ab66354e [ 31.233607][ C1] RDX: 0000000000000010 RSI: 00007ffd73f405a0 RDI: 0000000000000005 [ 31.233608][ C1] RBP: 00007ffd73f40520 R08: 0000000000000000 R09: 0000000000000000 [ 31.233608][ C1] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffd73f40718 [ 31.233609][ C1] R13: 0000000000000005 R14: 00007fa7ab834000 R15: 0000000000402e00 [ 31.233612][ C1] [ 31.233616][ C1] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.233617][ C1] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 343, name: connect_close [ 31.233618][ C1] preempt_count: 302, expected: 0 [ 31.233619][ C1] RCU nest depth: 6, expected: 0 [ 31.233620][ C1] INFO: lockdep is turned off. [ 31.233620][ C1] irq event stamp: 7345 [ 31.233621][ C1] hardirqs last enabled at (7344): [] __down_trylock_console_sem+0x86/0xa0 [ 31.233624][ C1] hardirqs last disabled at (7345): [] console_emit_next_record+0x3d4/0x4c0 [ 31.233625][ C1] softirqs last enabled at (7326): [] __dev_queue_xmit+0x964/0x1b80 [ 31.233627][ C1] softirqs last disabled at (7327): [] do_softirq+0xac/0xe0 [ 31.233629][ C1] Preemption disabled at: [ 31.233629][ C1] [] __dev_queue_xmit+0x204/0x1b80 [ 31.233632][ C1] CPU: 1 UID: 0 PID: 343 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.233634][ C1] Tainted: [W]=WARN [ 31.233635][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.233636][ C1] Call Trace: [ 31.233636][ C1] [ 31.233637][ C1] dump_stack_lvl+0x6f/0xa0 [ 31.233638][ C1] ? __dev_queue_xmit+0x204/0x1b80 [ 31.233640][ C1] __might_resched.cold+0x1fe/0x2c1 [ 31.233643][ C1] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.233645][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.233647][ C1] __kmalloc_noprof+0x443/0x760 [ 31.233649][ C1] ? __rwlock_init+0x150/0x150 [ 31.233651][ C1] ? alloc_buf.isra.0+0x4b/0x260 [ 31.233653][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 31.233654][ C1] alloc_buf.isra.0+0x4b/0x260 [ 31.233656][ C1] put_chars+0x1e1/0x2f0 [ 31.233658][ C1] ? __send_to_port+0x420/0x420 [ 31.233661][ C1] hvc_console_print+0x292/0x780 [ 31.233663][ C1] ? mark_usage+0x42/0x170 [ 31.233665][ C1] ? __lock_acquire+0x388/0xc20 [ 31.233667][ C1] ? hvc_write+0x3a0/0x3a0 [ 31.233668][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 31.233670][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.233672][ C1] ? lock_acquire+0x13c/0x160 [ 31.233674][ C1] console_emit_next_record+0x22f/0x4c0 [ 31.233675][ C1] ? devkmsg_read+0x4b0/0x4b0 [ 31.233677][ C1] ? console_flush_one_record+0x106/0x710 [ 31.233678][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.233679][ C1] ? lock_acquire+0x13c/0x160 [ 31.233681][ C1] console_flush_one_record+0x46f/0x710 [ 31.233683][ C1] ? console_emit_next_record+0x4c0/0x4c0 [ 31.233684][ C1] ? __lock_acquire+0x518/0xc20 [ 31.233687][ C1] console_unlock+0xee/0x1f0 [ 31.233688][ C1] ? console_flush_one_record+0x710/0x710 [ 31.233689][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.233691][ C1] ? lock_acquire+0x60/0x160 [ 31.233693][ C1] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.233694][ C1] ? vprintk_emit+0x320/0x3e0 [ 31.233696][ C1] vprintk_emit+0x37c/0x3e0 [ 31.233698][ C1] ? wake_up_klogd_work_func+0x90/0x90 [ 31.233699][ C1] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 31.233702][ C1] _printk+0xc7/0x100 [ 31.233703][ C1] ? snapshot_read.cold+0x21/0x21 [ 31.233705][ C1] ? ___ratelimit+0x4e7/0xa00 [ 31.233707][ C1] ? idr_get_free+0x830/0x830 [ 31.233709][ C1] tcp_syn_flood_action.cold+0xb4/0xe5 [ 31.233711][ C1] tcp_conn_request+0x13ff/0x2c00 [ 31.233713][ C1] ? reuseport_select_sock+0x19e/0x3c0 [ 31.233715][ C1] ? reuseport_select_sock+0xe1/0x3c0 [ 31.233717][ C1] ? __lock_acquire+0x518/0xc20 [ 31.233719][ C1] ? tcp_get_syncookie_mss+0x300/0x300 [ 31.233721][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 31.233723][ C1] ? __lock_acquire+0x518/0xc20 [ 31.233729][ C1] ? save_trace+0x1f7/0x280 [ 31.233732][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.233733][ C1] ? lock_acquire+0x13c/0x160 [ 31.233735][ C1] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 31.233737][ C1] tcp_rcv_listen_state_process+0x1ab/0x380 [ 31.233739][ C1] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 31.233741][ C1] ? tcp_v4_fill_cb+0x33/0x430 [ 31.233742][ C1] tcp_v4_rcv+0x2881/0x2ef0 [ 31.233744][ C1] ? mark_usage+0x61/0x170 [ 31.233746][ C1] ? tcp_add_backlog+0x1e30/0x1e30 [ 31.233748][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 31.233750][ C1] ? ip_local_deliver_finish+0x2ba/0x610 [ 31.233752][ C1] ip_protocol_deliver_rcu+0x82/0x350 [ 31.233753][ C1] ? process_backlog+0x3f1/0x14c0 [ 31.233755][ C1] ip_local_deliver_finish+0x36f/0x610 [ 31.233757][ C1] ip_local_deliver+0x184/0x4c0 [ 31.233759][ C1] ? ip_local_deliver_finish+0x610/0x610 [ 31.233760][ C1] ? ip_protocol_deliver_rcu+0x350/0x350 [ 31.233762][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 31.233764][ C1] ? process_backlog+0x3f1/0x14c0 [ 31.233766][ C1] ip_rcv+0xdc/0x3d0 [ 31.233767][ C1] ? ip_local_deliver+0x4c0/0x4c0 [ 31.233768][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.233770][ C1] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 31.233771][ C1] ? __lock_acquire+0x518/0xc20 [ 31.233773][ C1] ? perf_trace_rcu_grace_period_init+0x227/0x580 [ 31.233775][ C1] ? process_backlog+0x3f1/0x14c0 [ 31.233776][ C1] __netif_receive_skb_one_core+0xfc/0x180 [ 31.233778][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 31.233780][ C1] ? process_backlog+0x3f1/0x14c0 [ 31.233782][ C1] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 31.233783][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.233785][ C1] process_backlog+0x431/0x14c0 [ 31.233788][ C1] __napi_poll+0xa7/0x3b0 [ 31.233790][ C1] net_rx_action+0x513/0xf50 [ 31.233792][ C1] ? __lock_acquire+0x518/0xc20 [ 31.233794][ C1] ? __napi_poll+0x3b0/0x3b0 [ 31.233797][ C1] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 31.233799][ C1] ? mark_held_locks+0x40/0x70 [ 31.233802][ C1] handle_softirqs+0x1d3/0x900 [ 31.233804][ C1] ? _local_bh_enable+0xc0/0xc0 [ 31.233805][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 31.233807][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.233809][ C1] ? __dev_queue_xmit+0x964/0x1b80 [ 31.233810][ C1] do_softirq+0xac/0xe0 [ 31.233812][ C1] [ 31.233813][ C1] [ 31.233813][ C1] __local_bh_enable_ip+0x118/0x150 [ 31.233815][ C1] __dev_queue_xmit+0x979/0x1b80 [ 31.233818][ C1] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 31.233820][ C1] ? lock_acquire.part.0+0xd4/0x280 [ 31.233821][ C1] ? find_held_lock+0x2b/0x80 [ 31.233823][ C1] ? __lock_release.isra.0+0x69/0x1a0 [ 31.233825][ C1] ? rcu_is_watching+0x16/0xd0 [ 31.233826][ C1] ? mark_held_locks+0x40/0x70 [ 31.233828][ C1] ? __asan_memcpy+0x3c/0x60 [ 31.233829][ C1] ? neigh_hh_output+0x152/0x4c0 [ 31.233831][ C1] ip_finish_output2+0xd9b/0x1bc0 [ 31.233833][ C1] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 31.233835][ C1] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 31.233837][ C1] ip_output+0x1ca/0x660 [ 31.233839][ C1] ? ip_finish_output+0x460/0x460 [ 31.233840][ C1] ? find_held_lock+0x2b/0x80 [ 31.233842][ C1] ? __ip_finish_output+0x720/0x720 [ 31.233844][ C1] ? ip4_dst_hoplimit+0x15b/0x320 [ 31.233846][ C1] __ip_queue_xmit+0x774/0x1650 [ 31.233848][ C1] __tcp_transmit_skb+0x1ad9/0x3a70 [ 31.233851][ C1] ? tcp_call_bpf+0x201/0x2e0 [ 31.233852][ C1] ? tcp_clone_payload+0x10b0/0x10b0 [ 31.233854][ C1] ? __tcp_select_window+0xf20/0xf20 [ 31.233856][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 31.233858][ C1] ? ktime_get+0x18e/0x2d0 [ 31.233860][ C1] ? kvm_clock_get_cycles+0x19/0x30 [ 31.233861][ C1] ? ktime_get+0x1dd/0x2d0 [ 31.233863][ C1] tcp_connect+0xec4/0x1880 [ 31.233866][ C1] tcp_v4_connect+0x12bd/0x1960 [ 31.233868][ C1] ? established_get_first+0x6b0/0x6b0 [ 31.233869][ C1] ? do_raw_spin_lock+0x131/0x280 [ 31.233871][ C1] ? find_held_lock+0x2b/0x80 [ 31.233873][ C1] __inet_stream_connect+0x2ed/0xd00 [ 31.233875][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 31.233877][ C1] inet_stream_connect+0x59/0xb0 [ 31.233880][ C1] __sys_connect+0x1c1/0x2c0 [ 31.233881][ C1] ? do_fcntl+0x36f/0xc50 [ 31.233883][ C1] ? __sys_connect_file+0x250/0x250 [ 31.233886][ C1] ? fdget_raw+0x4f/0x190 [ 31.233888][ C1] __x64_sys_connect+0x72/0xd0 [ 31.233889][ C1] ? lockdep_hardirqs_on+0x91/0x130 [ 31.233891][ C1] ? do_syscall_64+0xa6/0x570 [ 31.233892][ C1] do_syscall_64+0x10e/0x570 [ 31.233894][ C1] ? exc_page_fault+0xee/0x100 [ 31.233896][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.233897][ C1] RIP: 0033:0x7fa7ab66354e [ 31.233898][ C1] Code: 4d 89 d8 e8 b4 bd 00 00 4c 8b 5d f8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 11 c9 c3 0f 1f 80 00 00 00 00 48 8b 45 10 0f 05 c3 83 e2 39 83 fa 08 75 e7 e8 03 ff ff ff 0f 1f 00 f3 0f 1e fa [ 31.233899][ C1] RSP: 002b:00007ffd73f40510 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 31.233901][ C1] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa7ab66354e [ 31.233902][ C1] RDX: 0000000000000010 RSI: 00007ffd73f405a0 RDI: 0000000000000005 [ 31.233902][ C1] RBP: 00007ffd73f40520 R08: 0000000000000000 R09: 0000000000000000 [ 31.233903][ C1] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffd73f40718 [ 31.233904][ C1] R13: 0000000000000005 R14: 00007fa7ab834000 R15: 0000000000402e00 [ 31.233906][ C1] [ 31.355552][ C3] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.384697][ C3] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.595936][ C3] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.770846][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.813499][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 31.853395][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 32.471395][ C2] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 32.471416][ C2] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 32.471418][ C2] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 343, name: connect_close [ 32.471420][ C2] preempt_count: 302, expected: 0 [ 32.471421][ C2] RCU nest depth: 6, expected: 0 [ 32.471422][ C2] INFO: lockdep is turned off. [ 32.471424][ C2] irq event stamp: 7345 [ 32.471424][ C2] hardirqs last enabled at (7344): [] __down_trylock_console_sem+0x86/0xa0 [ 32.471433][ C2] hardirqs last disabled at (7345): [] console_emit_next_record+0x3d4/0x4c0 [ 32.471435][ C2] softirqs last enabled at (7326): [] __dev_queue_xmit+0x964/0x1b80 [ 32.471439][ C2] softirqs last disabled at (7327): [] do_softirq+0xac/0xe0 [ 32.471443][ C2] Preemption disabled at: [ 32.471443][ C2] [] __dev_queue_xmit+0x204/0x1b80 [ 32.471449][ C2] CPU: 2 UID: 0 PID: 343 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 32.471453][ C2] Tainted: [W]=WARN [ 32.471454][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 32.471456][ C2] Call Trace: [ 32.471458][ C2] [ 32.471459][ C2] dump_stack_lvl+0x6f/0xa0 [ 32.471463][ C2] ? __dev_queue_xmit+0x204/0x1b80 [ 32.471465][ C2] __might_resched.cold+0x1fe/0x2c1 [ 32.471469][ C2] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 32.471471][ C2] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 32.471473][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471476][ C2] __kmalloc_noprof+0x443/0x760 [ 32.471479][ C2] ? __rwlock_init+0x150/0x150 [ 32.471482][ C2] ? alloc_buf.isra.0+0x4b/0x260 [ 32.471486][ C2] ? do_raw_spin_unlock+0x59/0x250 [ 32.471488][ C2] alloc_buf.isra.0+0x4b/0x260 [ 32.471491][ C2] put_chars+0x1e1/0x2f0 [ 32.471492][ C2] ? prb_final_commit+0x50/0x50 [ 32.471494][ C2] ? __send_to_port+0x420/0x420 [ 32.471496][ C2] ? printk_get_next_message+0x240/0x650 [ 32.471498][ C2] hvc_console_print+0x292/0x780 [ 32.471502][ C2] ? hvc_write+0x3a0/0x3a0 [ 32.471503][ C2] ? do_raw_spin_lock+0x131/0x280 [ 32.471505][ C2] ? vsnprintf+0x668/0x1700 [ 32.471509][ C2] ? __rwlock_init+0x150/0x150 [ 32.471511][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471512][ C2] ? lock_acquire+0x13c/0x160 [ 32.471515][ C2] console_emit_next_record+0x22f/0x4c0 [ 32.471517][ C2] ? devkmsg_read+0x4b0/0x4b0 [ 32.471518][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471519][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471520][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471521][ C2] ? lock_acquire+0x13c/0x160 [ 32.471523][ C2] ? console_flush_one_record+0x111/0x710 [ 32.471525][ C2] console_flush_one_record+0x46f/0x710 [ 32.471526][ C2] ? console_emit_next_record+0x4c0/0x4c0 [ 32.471529][ C2] console_unlock+0xee/0x1f0 [ 32.471530][ C2] ? lock_acquire+0x13c/0x160 [ 32.471532][ C2] ? console_flush_one_record+0x710/0x710 [ 32.471533][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471534][ C2] ? lock_release+0x184/0x1f0 [ 32.471535][ C2] ? lock_acquire+0x60/0x160 [ 32.471537][ C2] ? __rcu_read_lock+0x30/0x70 [ 32.471539][ C2] ? __down_trylock_console_sem+0x5e/0xa0 [ 32.471540][ C2] ? vprintk_emit+0x320/0x3e0 [ 32.471542][ C2] vprintk_emit+0x37c/0x3e0 [ 32.471544][ C2] ? wake_up_klogd_work_func+0x90/0x90 [ 32.471545][ C2] ? do_raw_spin_trylock+0xb6/0x180 [ 32.471547][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471548][ C2] ? lock_acquire+0x13c/0x160 [ 32.471550][ C2] _printk+0xc7/0x100 [ 32.471553][ C2] ? snapshot_read.cold+0x21/0x21 [ 32.471555][ C2] ? ___ratelimit+0x4e7/0xa00 [ 32.471557][ C2] ? idr_get_free+0x830/0x830 [ 32.471559][ C2] tcp_syn_flood_action.cold+0xb4/0xe5 [ 32.471563][ C2] tcp_conn_request+0x13ff/0x2c00 [ 32.471567][ C2] ? lock_acquire+0x13c/0x160 [ 32.471568][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471570][ C2] ? lock_release+0x184/0x1f0 [ 32.471572][ C2] ? reuseport_select_sock+0xe1/0x3c0 [ 32.471575][ C2] ? tcp_get_syncookie_mss+0x300/0x300 [ 32.471577][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471580][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471581][ C2] ? lock_acquire+0x13c/0x160 [ 32.471583][ C2] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 32.471585][ C2] tcp_rcv_listen_state_process+0x1ab/0x380 [ 32.471587][ C2] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 32.471589][ C2] ? tcp_v4_fill_cb+0x33/0x430 [ 32.471590][ C2] tcp_v4_rcv+0x2881/0x2ef0 [ 32.471593][ C2] ? tcp_add_backlog+0x1e30/0x1e30 [ 32.471595][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471596][ C2] ? process_backlog+0x3f1/0x14c0 [ 32.471598][ C2] ip_protocol_deliver_rcu+0x82/0x350 [ 32.471601][ C2] ? process_backlog+0x3f1/0x14c0 [ 32.471603][ C2] ip_local_deliver_finish+0x36f/0x610 [ 32.471605][ C2] ? lock_release+0x184/0x1f0 [ 32.471607][ C2] ip_local_deliver+0x184/0x4c0 [ 32.471608][ C2] ? ip_local_deliver_finish+0x610/0x610 [ 32.471610][ C2] ? ip_protocol_deliver_rcu+0x350/0x350 [ 32.471611][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471613][ C2] ? process_backlog+0x3f1/0x14c0 [ 32.471614][ C2] ip_rcv+0xdc/0x3d0 [ 32.471616][ C2] ? ip_local_deliver+0x4c0/0x4c0 [ 32.471617][ C2] ? tcp_v4_connect+0x12bd/0x1960 [ 32.471618][ C2] ? __inet_stream_connect+0x2ed/0xd00 [ 32.471621][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471622][ C2] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 32.471624][ C2] ? __update_load_avg_se+0x639/0x13a0 [ 32.471628][ C2] ? process_backlog+0x3f1/0x14c0 [ 32.471629][ C2] __netif_receive_skb_one_core+0xfc/0x180 [ 32.471631][ C2] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 32.471633][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471635][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471636][ C2] process_backlog+0x431/0x14c0 [ 32.471639][ C2] __napi_poll+0xa7/0x3b0 [ 32.471641][ C2] net_rx_action+0x513/0xf50 [ 32.471643][ C2] ? __napi_poll+0x3b0/0x3b0 [ 32.471645][ C2] ? do_raw_spin_lock+0xe0/0x280 [ 32.471647][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471648][ C2] ? timerqueue_linked_add+0x207/0x560 [ 32.471651][ C2] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 32.471655][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471656][ C2] handle_softirqs+0x1d3/0x900 [ 32.471658][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471660][ C2] ? _local_bh_enable+0xc0/0xc0 [ 32.471661][ C2] ? do_raw_spin_unlock+0x59/0x250 [ 32.471663][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471664][ C2] ? __dev_queue_xmit+0x964/0x1b80 [ 32.471666][ C2] do_softirq+0xac/0xe0 [ 32.471668][ C2] [ 32.471668][ C2] [ 32.471669][ C2] __local_bh_enable_ip+0x118/0x150 [ 32.471671][ C2] __dev_queue_xmit+0x979/0x1b80 [ 32.471674][ C2] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 32.471676][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471677][ C2] ? lock_acquire+0x13c/0x160 [ 32.471679][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471680][ C2] ? __asan_memcpy+0x3c/0x60 [ 32.471683][ C2] ? neigh_hh_output+0x152/0x4c0 [ 32.471685][ C2] ip_finish_output2+0xd9b/0x1bc0 [ 32.471687][ C2] ? ip_dst_mtu_maybe_forward+0x7c/0x670 [ 32.471688][ C2] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 32.471690][ C2] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 32.471692][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471693][ C2] ip_output+0x1ca/0x660 [ 32.471695][ C2] ? ip_finish_output+0x460/0x460 [ 32.471697][ C2] ? lock_acquire+0x13c/0x160 [ 32.471699][ C2] ? __ip_finish_output+0x720/0x720 [ 32.471700][ C2] ? lock_acquire+0x13c/0x160 [ 32.471702][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471703][ C2] ? lock_release+0x184/0x1f0 [ 32.471705][ C2] __ip_queue_xmit+0x774/0x1650 [ 32.471707][ C2] __tcp_transmit_skb+0x1ad9/0x3a70 [ 32.471710][ C2] ? tcp_call_bpf+0x201/0x2e0 [ 32.471712][ C2] ? tcp_clone_payload+0x10b0/0x10b0 [ 32.471714][ C2] ? __tcp_select_window+0xf20/0xf20 [ 32.471716][ C2] ? trace_hardirqs_on+0x36/0x40 [ 32.471718][ C2] ? kvm_clock_get_cycles+0x19/0x30 [ 32.471721][ C2] ? ktime_get+0x1dd/0x2d0 [ 32.471723][ C2] tcp_connect+0xec4/0x1880 [ 32.471726][ C2] tcp_v4_connect+0x12bd/0x1960 [ 32.471733][ C2] ? established_get_first+0x6b0/0x6b0 [ 32.471734][ C2] ? lockdep_init_map_type+0x5d/0x250 [ 32.471736][ C2] ? do_raw_spin_lock+0x131/0x280 [ 32.471738][ C2] ? __rwlock_init+0x150/0x150 [ 32.471740][ C2] __inet_stream_connect+0x2ed/0xd00 [ 32.471742][ C2] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 32.471744][ C2] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 32.471745][ C2] inet_stream_connect+0x59/0xb0 [ 32.471748][ C2] __sys_connect+0x1c1/0x2c0 [ 32.471751][ C2] ? do_fcntl+0x36f/0xc50 [ 32.471754][ C2] ? rcu_is_watching+0x16/0xd0 [ 32.471755][ C2] ? __sys_connect_file+0x250/0x250 [ 32.471758][ C2] ? fdget_raw+0x4f/0x190 [ 32.471761][ C2] __x64_sys_connect+0x72/0xd0 [ 32.471762][ C2] ? trace_hardirqs_on+0x36/0x40 [ 32.471764][ C2] do_syscall_64+0x10e/0x570 [ 32.471766][ C2] ? irq_exit_rcu+0x1a/0x30 [ 32.471768][ C2] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 32.471770][ C2] RIP: 0033:0x7fa7ab66354e [ 32.471774][ 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 [ 32.471775][ C2] RSP: 002b:00007ffd73f40510 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 32.471779][ C2] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa7ab66354e [ 32.471781][ C2] RDX: 0000000000000010 RSI: 00007ffd73f405a0 RDI: 0000000000000005 [ 32.471782][ C2] RBP: 00007ffd73f40520 R08: 0000000000000000 R09: 0000000000000000 [ 32.471782][ C2] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffd73f40718 [ 32.471783][ C2] R13: 0000000000000005 R14: 00007fa7ab834000 R15: 0000000000402e00 [ 32.471786][ C2] [ 32.911903][ C0] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 33.483862][ C1] TCP: request_sock_TCP: Possible SYN flooding on port 127.0.0.1:23456. Sending cookies. [ 33.483885][ C1] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 33.483889][ C1] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 343, name: connect_close [ 33.483891][ C1] preempt_count: 302, expected: 0 [ 33.483892][ C1] RCU nest depth: 6, expected: 0 [ 33.483894][ C1] INFO: lockdep is turned off. [ 33.483895][ C1] irq event stamp: 7345 [ 33.483897][ C1] hardirqs last enabled at (7344): [] __down_trylock_console_sem+0x86/0xa0 [ 33.483908][ C1] hardirqs last disabled at (7345): [] console_emit_next_record+0x3d4/0x4c0 [ 33.483910][ C1] softirqs last enabled at (7326): [] __dev_queue_xmit+0x964/0x1b80 [ 33.483916][ C1] softirqs last disabled at (7327): [] do_softirq+0xac/0xe0 [ 33.483921][ C1] Preemption disabled at: [ 33.483922][ C1] [] __dev_queue_xmit+0x204/0x1b80 [ 33.483929][ C1] CPU: 1 UID: 0 PID: 343 Comm: connect_close Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 33.483934][ C1] Tainted: [W]=WARN [ 33.483935][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 33.483938][ C1] Call Trace: [ 33.483940][ C1] [ 33.483942][ C1] dump_stack_lvl+0x6f/0xa0 [ 33.483947][ C1] ? __dev_queue_xmit+0x204/0x1b80 [ 33.483950][ C1] __might_resched.cold+0x1fe/0x2c1 [ 33.483955][ C1] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 33.483959][ C1] ? prb_next_reserve_seq+0x2d0/0x2d0 [ 33.483961][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.483968][ C1] __kmalloc_noprof+0x443/0x760 [ 33.483973][ C1] ? __rwlock_init+0x150/0x150 [ 33.483976][ C1] ? alloc_buf.isra.0+0x4b/0x260 [ 33.483981][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 33.483984][ C1] alloc_buf.isra.0+0x4b/0x260 [ 33.483987][ C1] put_chars+0x1e1/0x2f0 [ 33.483990][ C1] ? prb_final_commit+0x50/0x50 [ 33.483993][ C1] ? __send_to_port+0x420/0x420 [ 33.483996][ C1] ? printk_get_next_message+0x240/0x650 [ 33.483999][ C1] hvc_console_print+0x292/0x780 [ 33.484005][ C1] ? hvc_write+0x3a0/0x3a0 [ 33.484007][ C1] ? do_raw_spin_lock+0x131/0x280 [ 33.484010][ C1] ? vsnprintf+0x668/0x1700 [ 33.484014][ C1] ? __rwlock_init+0x150/0x150 [ 33.484017][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484019][ C1] ? lock_acquire+0x13c/0x160 [ 33.484023][ C1] console_emit_next_record+0x22f/0x4c0 [ 33.484026][ C1] ? devkmsg_read+0x4b0/0x4b0 [ 33.484028][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484030][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484032][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484034][ C1] ? lock_acquire+0x13c/0x160 [ 33.484037][ C1] ? console_flush_one_record+0x111/0x710 [ 33.484039][ C1] console_flush_one_record+0x46f/0x710 [ 33.484042][ C1] ? console_emit_next_record+0x4c0/0x4c0 [ 33.484046][ C1] console_unlock+0xee/0x1f0 [ 33.484048][ C1] ? lock_acquire+0x13c/0x160 [ 33.484051][ C1] ? console_flush_one_record+0x710/0x710 [ 33.484052][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484054][ C1] ? lock_release+0x184/0x1f0 [ 33.484057][ C1] ? lock_acquire+0x60/0x160 [ 33.484059][ C1] ? __rcu_read_lock+0x30/0x70 [ 33.484062][ C1] ? __down_trylock_console_sem+0x5e/0xa0 [ 33.484064][ C1] ? vprintk_emit+0x320/0x3e0 [ 33.484067][ C1] vprintk_emit+0x37c/0x3e0 [ 33.484070][ C1] ? wake_up_klogd_work_func+0x90/0x90 [ 33.484072][ C1] ? do_raw_spin_trylock+0xb6/0x180 [ 33.484075][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484077][ C1] ? lock_acquire+0x13c/0x160 [ 33.484080][ C1] _printk+0xc7/0x100 [ 33.484084][ C1] ? snapshot_read.cold+0x21/0x21 [ 33.484086][ C1] ? ___ratelimit+0x4e7/0xa00 [ 33.484090][ C1] ? idr_get_free+0x830/0x830 [ 33.484093][ C1] tcp_syn_flood_action.cold+0xb4/0xe5 [ 33.484098][ C1] tcp_conn_request+0x13ff/0x2c00 [ 33.484103][ C1] ? lock_acquire+0x13c/0x160 [ 33.484105][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484107][ C1] ? lock_release+0x184/0x1f0 [ 33.484110][ C1] ? reuseport_select_sock+0xe1/0x3c0 [ 33.484115][ C1] ? tcp_get_syncookie_mss+0x300/0x300 [ 33.484119][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484122][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484124][ C1] ? lock_acquire+0x13c/0x160 [ 33.484128][ C1] ? tcp_rcv_listen_state_process+0x1ab/0x380 [ 33.484130][ C1] tcp_rcv_listen_state_process+0x1ab/0x380 [ 33.484133][ C1] tcp_v4_rcv_listen.constprop.0.isra.0+0x13f/0x4f0 [ 33.484136][ C1] ? tcp_v4_fill_cb+0x33/0x430 [ 33.484139][ C1] tcp_v4_rcv+0x2881/0x2ef0 [ 33.484143][ C1] ? tcp_add_backlog+0x1e30/0x1e30 [ 33.484146][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484148][ C1] ? process_backlog+0x3f1/0x14c0 [ 33.484151][ C1] ip_protocol_deliver_rcu+0x82/0x350 [ 33.484156][ C1] ? process_backlog+0x3f1/0x14c0 [ 33.484158][ C1] ip_local_deliver_finish+0x36f/0x610 [ 33.484161][ C1] ? lock_release+0x184/0x1f0 [ 33.484163][ C1] ip_local_deliver+0x184/0x4c0 [ 33.484166][ C1] ? ip_local_deliver_finish+0x610/0x610 [ 33.484169][ C1] ? ip_protocol_deliver_rcu+0x350/0x350 [ 33.484171][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484174][ C1] ? process_backlog+0x3f1/0x14c0 [ 33.484176][ C1] ip_rcv+0xdc/0x3d0 [ 33.484178][ C1] ? ip_local_deliver+0x4c0/0x4c0 [ 33.484180][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484183][ C1] ? ip_rcv_finish_core+0x14c0/0x14c0 [ 33.484185][ C1] ? trace_pelt_se_tp+0x9b/0x190 [ 33.484190][ C1] ? process_backlog+0x3f1/0x14c0 [ 33.484192][ C1] __netif_receive_skb_one_core+0xfc/0x180 [ 33.484195][ C1] ? update_cfs_rq_load_avg+0x4b/0x660 [ 33.484199][ C1] ? __netif_receive_skb_list_core+0x9e0/0x9e0 [ 33.484201][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484204][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484206][ C1] process_backlog+0x431/0x14c0 [ 33.484210][ C1] __napi_poll+0xa7/0x3b0 [ 33.484213][ C1] net_rx_action+0x513/0xf50 [ 33.484217][ C1] ? __napi_poll+0x3b0/0x3b0 [ 33.484220][ C1] ? try_to_wake_up+0x153/0x1130 [ 33.484224][ C1] ? ktime_get_update_offsets_now+0x2a8/0x490 [ 33.484229][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484232][ C1] handle_softirqs+0x1d3/0x900 [ 33.484235][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484237][ C1] ? _local_bh_enable+0xc0/0xc0 [ 33.484239][ C1] ? do_raw_spin_unlock+0x59/0x250 [ 33.484242][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484244][ C1] ? __dev_queue_xmit+0x964/0x1b80 [ 33.484247][ C1] do_softirq+0xac/0xe0 [ 33.484250][ C1] [ 33.484250][ C1] [ 33.484251][ C1] __local_bh_enable_ip+0x118/0x150 [ 33.484255][ C1] __dev_queue_xmit+0x979/0x1b80 [ 33.484259][ C1] ? netdev_core_pick_tx+0x2c0/0x2c0 [ 33.484262][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484265][ C1] ? lock_acquire+0x13c/0x160 [ 33.484267][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484269][ C1] ? __asan_memcpy+0x3c/0x60 [ 33.484273][ C1] ? neigh_hh_output+0x152/0x4c0 [ 33.484276][ C1] ip_finish_output2+0xd9b/0x1bc0 [ 33.484279][ C1] ? ip_dst_mtu_maybe_forward+0x7c/0x670 [ 33.484281][ C1] ? ip_dst_mtu_maybe_forward+0x261/0x670 [ 33.484284][ C1] ? ip_fragment.constprop.0+0x2c0/0x2c0 [ 33.484287][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484290][ C1] ip_output+0x1ca/0x660 [ 33.484292][ C1] ? ip_finish_output+0x460/0x460 [ 33.484295][ C1] ? lock_acquire+0x13c/0x160 [ 33.484298][ C1] ? __ip_finish_output+0x720/0x720 [ 33.484300][ C1] ? lock_acquire+0x13c/0x160 [ 33.484302][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484305][ C1] ? lock_release+0x184/0x1f0 [ 33.484308][ C1] __ip_queue_xmit+0x774/0x1650 [ 33.484311][ C1] __tcp_transmit_skb+0x1ad9/0x3a70 [ 33.484315][ C1] ? tcp_call_bpf+0x201/0x2e0 [ 33.484318][ C1] ? tcp_clone_payload+0x10b0/0x10b0 [ 33.484321][ C1] ? __tcp_select_window+0xf20/0xf20 [ 33.484324][ C1] ? trace_hardirqs_on+0x36/0x40 [ 33.484327][ C1] ? kvm_clock_get_cycles+0x19/0x30 [ 33.484331][ C1] ? ktime_get+0x1dd/0x2d0 [ 33.484334][ C1] tcp_connect+0xec4/0x1880 [ 33.484338][ C1] tcp_v4_connect+0x12bd/0x1960 [ 33.484342][ C1] ? established_get_first+0x6b0/0x6b0 [ 33.484344][ C1] ? lockdep_init_map_type+0x5d/0x250 [ 33.484347][ C1] ? do_raw_spin_lock+0x131/0x280 [ 33.484349][ C1] ? __rwlock_init+0x150/0x150 [ 33.484353][ C1] __inet_stream_connect+0x2ed/0xd00 [ 33.484357][ C1] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 33.484359][ C1] ? trace_irq_disable.constprop.0+0x9b/0x160 [ 33.484362][ C1] inet_stream_connect+0x59/0xb0 [ 33.484365][ C1] __sys_connect+0x1c1/0x2c0 [ 33.484368][ C1] ? do_fcntl+0x36f/0xc50 [ 33.484372][ C1] ? rcu_is_watching+0x16/0xd0 [ 33.484374][ C1] ? __sys_connect_file+0x250/0x250 [ 33.484379][ C1] ? fdget_raw+0x4f/0x190 [ 33.484382][ C1] __x64_sys_connect+0x72/0xd0 [ 33.484385][ C1] ? trace_hardirqs_on+0x36/0x40 [ 33.484387][ C1] do_syscall_64+0x10e/0x570 [ 33.484390][ C1] ? irq_exit_rcu+0x1a/0x30 [ 33.484393][ C1] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 33.484396][ C1] RIP: 0033:0x7fa7ab66354e [ 33.484401][ 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 [ 33.484403][ C1] RSP: 002b:00007ffd73f40510 EFLAGS: 00000202 ORIG_RAX: 000000000000002a [ 33.484408][ C1] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa7ab66354e [ 33.484410][ C1] RDX: 0000000000000010 RSI: 00007ffd73f405a0 RDI: 0000000000000005 [ 33.484412][ C1] RBP: 00007ffd73f40520 R08: 0000000000000000 R09: 0000000000000000 [ 33.484413][ C1] R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffd73f40718 [ 33.484415][ C1] R13: 0000000000000005 R14: 00007fa7ab834000 R15: 0000000000402e00 [ 33.484418][ C1] [ 88.948069][ T993] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 88.948086][ T993] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 88.948089][ T993] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 993, name: modprobe [ 88.948090][ T993] preempt_count: 1, expected: 0 [ 88.948091][ T993] RCU nest depth: 0, expected: 0 [ 88.948092][ T993] INFO: lockdep is turned off. [ 88.948093][ T993] irq event stamp: 0 [ 88.948094][ T993] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 88.948099][ T993] hardirqs last disabled at (0): [] copy_process+0x1d01/0x62c0 [ 88.948105][ T993] softirqs last enabled at (0): [] copy_process+0x1d55/0x62c0 [ 88.948107][ T993] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 88.948108][ T993] Preemption disabled at: [ 88.948109][ T993] [] vprintk_emit+0x31b/0x3e0 [ 88.948117][ T993] CPU: 2 UID: 0 PID: 993 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 88.948120][ T993] Tainted: [W]=WARN [ 88.948121][ T993] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 88.948123][ T993] Call Trace: [ 88.948124][ T993] [ 88.948125][ T993] dump_stack_lvl+0x6f/0xa0 [ 88.948130][ T993] ? vprintk_emit+0x31b/0x3e0 [ 88.948131][ T993] __might_resched.cold+0x1fe/0x2c1 [ 88.948135][ T993] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 88.948137][ T993] ? rcu_is_watching+0x16/0xd0 [ 88.948140][ T993] __kmalloc_noprof+0x443/0x760 [ 88.948144][ T993] ? __rwlock_init+0x150/0x150 [ 88.948146][ T993] ? alloc_buf.isra.0+0x4b/0x260 [ 88.948150][ T993] ? do_raw_spin_unlock+0x59/0x250 [ 88.948152][ T993] alloc_buf.isra.0+0x4b/0x260 [ 88.948154][ T993] put_chars+0x1e1/0x2f0 [ 88.948156][ T993] ? __send_to_port+0x420/0x420 [ 88.948158][ T993] ? console_prepend_replay+0x20/0x20 [ 88.948160][ T993] hvc_console_print+0x292/0x780 [ 88.948164][ T993] ? hvc_write+0x3a0/0x3a0 [ 88.948165][ T993] ? rcu_is_watching+0x16/0xd0 [ 88.948166][ T993] ? rcu_is_watching+0x16/0xd0 [ 88.948167][ T993] ? lock_acquire+0x13c/0x160 [ 88.948170][ T993] console_emit_next_record+0x22f/0x4c0 [ 88.948172][ T993] ? devkmsg_read+0x4b0/0x4b0 [ 88.948173][ T993] ? rcu_is_watching+0x16/0xd0 [ 88.948174][ T993] ? rcu_is_watching+0x16/0xd0 [ 88.948175][ T993] ? rcu_is_watching+0x16/0xd0 [ 88.948176][ T993] ? lock_acquire+0x13c/0x160 [ 88.948178][ T993] ? console_flush_one_record+0x111/0x710 [ 88.948179][ T993] console_flush_one_record+0x46f/0x710 [ 88.948181][ T993] ? console_emit_next_record+0x4c0/0x4c0 [ 88.948183][ T993] console_unlock+0xee/0x1f0 [ 88.948184][ T993] ? lock_acquire+0x13c/0x160 [ 88.948186][ T993] ? console_flush_one_record+0x710/0x710 [ 88.948187][ T993] ? rcu_is_watching+0x16/0xd0 [ 88.948188][ T993] ? lock_release+0x184/0x1f0 [ 88.948189][ T993] ? lock_acquire+0x60/0x160 [ 88.948191][ T993] ? __rcu_read_lock+0x30/0x70 [ 88.948192][ T993] ? __down_trylock_console_sem+0x5e/0xa0 [ 88.948195][ T993] ? vprintk_emit+0x320/0x3e0 [ 88.948196][ T993] vprintk_emit+0x37c/0x3e0 [ 88.948198][ T993] ? wake_up_klogd_work_func+0x90/0x90 [ 88.948200][ T993] ? ww_mutex_lock+0x160/0x160 [ 88.948204][ T993] ? llc_exit+0x3e0/0x3e0 [llc] [ 88.948206][ T993] _printk+0xc7/0x100 [ 88.948209][ T993] ? snapshot_read.cold+0x21/0x21 [ 88.948211][ T993] ? __mutex_unlock_slowpath+0x5e5/0x740 [ 88.948212][ T993] ? _mutex_trylock_nest_lock+0x390/0x390 [ 88.948215][ T993] ? __mutex_unlock_slowpath+0x14d/0x740 [ 88.948217][ T993] br_init+0x98/0xc0 [bridge] [ 88.948233][ T993] do_one_initcall+0x124/0x4f0 [ 88.948236][ T993] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 88.948238][ T993] ? do_init_module+0xae/0x8a0 [ 88.948240][ T993] ? kasan_unpoison+0x44/0x70 [ 88.948243][ T993] do_init_module+0x2ad/0x8a0 [ 88.948245][ T993] ? free_module+0x470/0x470 [ 88.948246][ T993] ? kfree+0x123/0x590 [ 88.948249][ T993] load_module+0x154b/0x1d60 [ 88.948251][ T993] ? layout_and_allocate.isra.0+0x680/0x680 [ 88.948253][ T993] ? backing_file_read_iter+0x541/0x790 [ 88.948256][ T993] init_module_from_file+0x11f/0x1a0 [ 88.948258][ T993] ? __ia32_sys_init_module+0xc0/0xc0 [ 88.948260][ T993] ? ovl_mmap+0x270/0x270 [ 88.948264][ T993] ? __rwlock_init+0x150/0x150 [ 88.948266][ T993] ? rcu_is_watching+0x16/0xd0 [ 88.948267][ T993] ? lock_release+0x184/0x1f0 [ 88.948269][ T993] ? do_raw_spin_unlock+0x59/0x250 [ 88.948271][ T993] idempotent_init_module+0x37b/0x7c0 [ 88.948272][ T993] ? init_module_from_file+0x1a0/0x1a0 [ 88.948275][ T993] ? rcu_is_watching+0x16/0xd0 [ 88.948276][ T993] ? cap_capable+0x1d7/0x3d0 [ 88.948278][ T993] __x64_sys_finit_module+0xdf/0x190 [ 88.948280][ T993] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 88.948283][ T993] do_syscall_64+0x10e/0x570 [ 88.948285][ T993] ? exc_page_fault+0xee/0x100 [ 88.948287][ T993] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 88.948289][ T993] RIP: 0033:0x7fd79d57737d [ 88.948291][ T993] 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 [ 88.948293][ T993] RSP: 002b:00007fffd0036448 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 88.948296][ T993] RAX: ffffffffffffffda RBX: 000056534570a810 RCX: 00007fd79d57737d [ 88.948297][ T993] RDX: 0000000000000000 RSI: 000056532e58effd RDI: 0000000000000002 [ 88.948298][ T993] RBP: 00007fffd00364e0 R08: 0000000000000000 R09: 0000000000000000 [ 88.948299][ T993] R10: 0000000000000000 R11: 0000000000000246 R12: 000056532e58effd [ 88.948300][ T993] R13: 000056534570a9c0 R14: 0000000000040000 R15: 0000000000000000 [ 88.948302][ T993] [ 89.007754][ T996] br0: port 1(veth0) entered blocking state [ 89.008015][ T996] br0: port 1(veth0) entered disabled state [ 89.008246][ T996] veth0: entered allmulticast mode [ 89.009183][ T996] veth0: entered promiscuous mode [ 89.035835][ T997] br0: port 2(veth1) entered blocking state [ 89.036070][ T997] br0: port 2(veth1) entered disabled state [ 89.036271][ T997] veth1: entered allmulticast mode [ 89.037173][ T997] veth1: entered promiscuous mode [ 89.054548][ T998] br0: port 2(veth1) entered blocking state [ 89.054793][ T998] br0: port 2(veth1) entered forwarding state [ 89.055147][ T998] br0: port 1(veth0) entered blocking state [ 89.055359][ T998] br0: port 1(veth0) entered forwarding state [ 95.095013][ T1015] nf_queue (1015) used greatest stack depth: 23912 bytes left [ 95.095031][ T1015] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 95.095033][ T1015] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1015, name: nf_queue [ 95.095035][ T1015] preempt_count: 2, expected: 0 [ 95.095036][ T1015] RCU nest depth: 0, expected: 0 [ 95.095037][ T1015] INFO: lockdep is turned off. [ 95.095038][ T1015] irq event stamp: 0 [ 95.095039][ T1015] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 95.095044][ T1015] hardirqs last disabled at (0): [] copy_process+0x1d01/0x62c0 [ 95.095050][ T1015] softirqs last enabled at (0): [] copy_process+0x1d55/0x62c0 [ 95.095052][ T1015] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 95.095054][ T1015] Preemption disabled at: [ 95.095054][ T1015] [<0000000000000000>] 0x0 [ 95.095059][ T1015] CPU: 2 UID: 0 PID: 1015 Comm: nf_queue Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 95.095063][ T1015] Tainted: [W]=WARN [ 95.095064][ T1015] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 95.095065][ T1015] Call Trace: [ 95.095067][ T1015] [ 95.095068][ T1015] dump_stack_lvl+0x6f/0xa0 [ 95.095073][ T1015] __might_resched.cold+0x1fe/0x2c1 [ 95.095077][ T1015] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 95.095079][ T1015] ? rcu_is_watching+0x16/0xd0 [ 95.095082][ T1015] __kmalloc_noprof+0x443/0x760 [ 95.095086][ T1015] ? __rwlock_init+0x150/0x150 [ 95.095088][ T1015] ? alloc_buf.isra.0+0x4b/0x260 [ 95.095093][ T1015] ? do_raw_spin_unlock+0x59/0x250 [ 95.095094][ T1015] alloc_buf.isra.0+0x4b/0x260 [ 95.095096][ T1015] put_chars+0x1e1/0x2f0 [ 95.095098][ T1015] ? __send_to_port+0x420/0x420 [ 95.095100][ T1015] ? printk_get_next_message+0x240/0x650 [ 95.095102][ T1015] ? console_prepend_replay+0x20/0x20 [ 95.095104][ T1015] hvc_console_print+0x292/0x780 [ 95.095108][ T1015] ? hvc_write+0x3a0/0x3a0 [ 95.095109][ T1015] ? __rwlock_init+0x150/0x150 [ 95.095111][ T1015] ? lock_acquire+0x13c/0x160 [ 95.095113][ T1015] console_emit_next_record+0x22f/0x4c0 [ 95.095115][ T1015] ? devkmsg_read+0x4b0/0x4b0 [ 95.095117][ T1015] ? rcu_is_watching+0x16/0xd0 [ 95.095118][ T1015] ? rcu_is_watching+0x16/0xd0 [ 95.095119][ T1015] ? rcu_is_watching+0x16/0xd0 [ 95.095120][ T1015] ? lock_acquire+0x13c/0x160 [ 95.095122][ T1015] ? console_flush_one_record+0x111/0x710 [ 95.095123][ T1015] console_flush_one_record+0x46f/0x710 [ 95.095125][ T1015] ? console_emit_next_record+0x4c0/0x4c0 [ 95.095127][ T1015] console_unlock+0xee/0x1f0 [ 95.095128][ T1015] ? lock_acquire+0x13c/0x160 [ 95.095130][ T1015] ? console_flush_one_record+0x710/0x710 [ 95.095131][ T1015] ? rcu_is_watching+0x16/0xd0 [ 95.095132][ T1015] ? lock_release+0x184/0x1f0 [ 95.095133][ T1015] ? lock_acquire+0x60/0x160 [ 95.095135][ T1015] ? __rcu_read_lock+0x30/0x70 [ 95.095137][ T1015] ? __down_trylock_console_sem+0x5e/0xa0 [ 95.095139][ T1015] ? vprintk_emit+0x320/0x3e0 [ 95.095141][ T1015] vprintk_emit+0x37c/0x3e0 [ 95.095142][ T1015] ? wake_up_klogd_work_func+0x90/0x90 [ 95.095144][ T1015] ? do_raw_read_unlock+0x70/0x70 [ 95.095146][ T1015] ? forget_original_parent+0x5c/0xdb0 [ 95.095148][ T1015] _printk+0xc7/0x100 [ 95.095151][ T1015] ? snapshot_read.cold+0x21/0x21 [ 95.095152][ T1015] ? do_raw_spin_lock+0x131/0x280 [ 95.095154][ T1015] ? do_raw_spin_lock+0x131/0x280 [ 95.095156][ T1015] ? __rwlock_init+0x150/0x150 [ 95.095158][ T1015] ? do_raw_spin_lock+0x131/0x280 [ 95.095160][ T1015] do_exit.cold+0x82/0x9c [ 95.095162][ T1015] ? exit_notify+0x890/0x890 [ 95.095164][ T1015] ? posixtimer_sig_unignore.isra.0+0x5f0/0x5f0 [ 95.095166][ T1015] ? rcu_is_watching+0x16/0xd0 [ 95.095168][ T1015] do_group_exit+0xb8/0x370 [ 95.095170][ T1015] __x64_sys_exit_group+0x3c/0x50 [ 95.095172][ T1015] x64_sys_call+0x1567/0x1570 [ 95.095174][ T1015] do_syscall_64+0x10e/0x570 [ 95.095177][ T1015] ? exc_page_fault+0xee/0x100 [ 95.095180][ T1015] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 95.095182][ T1015] RIP: 0033:0x7f259ff311b8 [ 95.095184][ T1015] Code: Unable to access opcode bytes at 0x7f259ff3118e. [ 95.095185][ T1015] RSP: 002b:00007ffcb91a0bd8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 95.095188][ T1015] RAX: ffffffffffffffda RBX: 00007f25a0061f88 RCX: 00007f259ff311b8 [ 95.095189][ T1015] RDX: 00007f259fe6ea48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 95.095190][ T1015] RBP: 00007ffcb91a0c30 R08: 0000000000000000 R09: 0000000000000000 [ 95.095191][ T1015] R10: 00007ffcb91a0a70 R11: 0000000000000246 R12: 0000000000000001 [ 95.095192][ T1015] R13: 0000000000000000 R14: 00007f25a0060680 R15: 00007f25a0061fa0 [ 95.095195][ T1015] [ 95.108815][ T1016] nf_queue (1016) used greatest stack depth: 23776 bytes left [ 100.938525][ T71] br0: port 1(veth0) entered disabled state [ 100.938544][ T71] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 100.938546][ T71] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 71, name: kworker/u16:1 [ 100.938548][ T71] preempt_count: 202, expected: 0 [ 100.938548][ T71] RCU nest depth: 0, expected: 0 [ 100.938549][ T71] INFO: lockdep is turned off. [ 100.938551][ T71] irq event stamp: 15916 [ 100.938552][ T71] hardirqs last enabled at (15915): [] _raw_spin_unlock_irq+0x28/0x50 [ 100.938561][ T71] hardirqs last disabled at (15916): [] __schedule+0x1246/0x20e0 [ 100.938563][ T71] softirqs last enabled at (15878): [] instance_destroy_work+0x116/0x250 [nfnetlink_queue] [ 100.938568][ T71] softirqs last disabled at (15876): [] instance_destroy_work+0x6f/0x250 [nfnetlink_queue] [ 100.938570][ T71] Preemption disabled at: [ 100.938571][ T71] [<0000000000000000>] 0x0 [ 100.938577][ T71] CPU: 1 UID: 0 PID: 71 Comm: kworker/u16:1 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 100.938580][ T71] Tainted: [W]=WARN [ 100.938581][ T71] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 100.938583][ T71] Workqueue: netns cleanup_net [ 100.938590][ T71] Call Trace: [ 100.938591][ T71] [ 100.938593][ T71] dump_stack_lvl+0x6f/0xa0 [ 100.938598][ T71] __might_resched.cold+0x1fe/0x2c1 [ 100.938601][ T71] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 100.938604][ T71] ? rcu_is_watching+0x16/0xd0 [ 100.938608][ T71] __kmalloc_noprof+0x443/0x760 [ 100.938611][ T71] ? __rwlock_init+0x150/0x150 [ 100.938614][ T71] ? alloc_buf.isra.0+0x4b/0x260 [ 100.938619][ T71] ? do_raw_spin_unlock+0x59/0x250 [ 100.938621][ T71] alloc_buf.isra.0+0x4b/0x260 [ 100.938623][ T71] put_chars+0x1e1/0x2f0 [ 100.938625][ T71] ? __send_to_port+0x420/0x420 [ 100.938626][ T71] ? printk_get_next_message+0x240/0x650 [ 100.938629][ T71] ? console_prepend_replay+0x20/0x20 [ 100.938631][ T71] hvc_console_print+0x292/0x780 [ 100.938635][ T71] ? hvc_write+0x3a0/0x3a0 [ 100.938636][ T71] ? __rwlock_init+0x150/0x150 [ 100.938638][ T71] ? lock_acquire+0x13c/0x160 [ 100.938640][ T71] console_emit_next_record+0x22f/0x4c0 [ 100.938642][ T71] ? devkmsg_read+0x4b0/0x4b0 [ 100.938644][ T71] ? rcu_is_watching+0x16/0xd0 [ 100.938645][ T71] ? rcu_is_watching+0x16/0xd0 [ 100.938646][ T71] ? rcu_is_watching+0x16/0xd0 [ 100.938647][ T71] ? lock_acquire+0x13c/0x160 [ 100.938649][ T71] ? console_flush_one_record+0x111/0x710 [ 100.938650][ T71] console_flush_one_record+0x46f/0x710 [ 100.938652][ T71] ? console_emit_next_record+0x4c0/0x4c0 [ 100.938654][ T71] console_unlock+0xee/0x1f0 [ 100.938655][ T71] ? lock_acquire+0x13c/0x160 [ 100.938657][ T71] ? console_flush_one_record+0x710/0x710 [ 100.938658][ T71] ? rcu_is_watching+0x16/0xd0 [ 100.938659][ T71] ? lock_release+0x184/0x1f0 [ 100.938660][ T71] ? lock_acquire+0x60/0x160 [ 100.938662][ T71] ? __rcu_read_lock+0x30/0x70 [ 100.938664][ T71] ? __down_trylock_console_sem+0x5e/0xa0 [ 100.938666][ T71] ? vprintk_emit+0x320/0x3e0 [ 100.938668][ T71] vprintk_emit+0x37c/0x3e0 [ 100.938671][ T71] ? wake_up_klogd_work_func+0x90/0x90 [ 100.938672][ T71] ? rcu_is_watching+0x16/0xd0 [ 100.938674][ T71] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 100.938677][ T71] ? trace_hardirqs_on+0x36/0x40 [ 100.938678][ T71] _printk+0xc7/0x100 [ 100.938681][ T71] ? snapshot_read.cold+0x21/0x21 [ 100.938683][ T71] ? ipv6_mc_down+0x17e/0x2d0 [ 100.938688][ T71] br_set_state+0x22f/0x430 [bridge] [ 100.938701][ T71] br_stp_disable_port+0x11f/0x390 [bridge] [ 100.938713][ T71] br_device_event+0x7b5/0x8f0 [bridge] [ 100.938723][ T71] ? lock_release+0x184/0x1f0 [ 100.938725][ T71] ? _sub_I_65535_1+0x4d0/0x4d0 [stp] [ 100.938727][ T71] ? nfqnl_dev_drop+0x54/0x330 [nfnetlink_queue] [ 100.938729][ T71] ? nfqnl_dev_drop+0xf0/0x330 [nfnetlink_queue] [ 100.938731][ T71] notifier_call_chain+0xae/0x300 [ 100.938735][ T71] netif_close_many+0x366/0x770 [ 100.938738][ T71] ? trace_kfree+0xd2/0x100 [ 100.938740][ T71] ? lock_acquire+0x13c/0x160 [ 100.938742][ T71] ? __dev_close_many+0x680/0x680 [ 100.938743][ T71] ? netif_close_many_and_unlock+0x22/0x2c0 [ 100.938745][ T71] unregister_netdevice_many_notify+0x71a/0x1b40 [ 100.938748][ T71] ? ops_undo_list+0x2ce/0x8f0 [ 100.938750][ T71] ? worker_thread+0x4f1/0xd60 [ 100.938752][ T71] ? kthread+0x367/0x460 [ 100.938754][ T71] ? ret_from_fork+0x4a4/0x720 [ 100.938757][ T71] ? ret_from_fork_asm+0x11/0x20 [ 100.938760][ T71] ? unregister_netdevice_queued+0x80/0x80 [ 100.938762][ T71] ? get_rps_cpu+0x980/0x980 [ 100.938764][ T71] default_device_exit_batch+0x38b/0x600 [ 100.938766][ T71] ? generic_xdp_install+0x470/0x470 [ 100.938769][ T71] ? unregister_netdevice_queue+0x470/0x470 [ 100.938771][ T71] ? rtnl_is_locked+0x15/0x20 [ 100.938773][ T71] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 100.938775][ T71] ? mutex_is_locked+0x1c/0x50 [ 100.938777][ T71] ops_undo_list+0x2ce/0x8f0 [ 100.938779][ T71] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 100.938781][ T71] ? idr_destroy+0x121/0x250 [ 100.938784][ T71] cleanup_net+0x431/0x890 [ 100.938786][ T71] ? net_passive_dec+0x230/0x230 [ 100.938788][ T71] ? lock_acquire+0x13c/0x160 [ 100.938789][ T71] ? rcu_is_watching+0x16/0xd0 [ 100.938791][ T71] process_one_work+0xe3e/0x1560 [ 100.938793][ T71] ? __queue_delayed_work+0x470/0x470 [ 100.938794][ T71] ? find_held_lock+0x2b/0x80 [ 100.938797][ T71] ? __rwlock_init+0x150/0x150 [ 100.938799][ T71] worker_thread+0x4f1/0xd60 [ 100.938801][ T71] ? rescuer_thread+0x1340/0x1340 [ 100.938802][ T71] ? __kthread_parkme+0xbd/0x210 [ 100.938804][ T71] ? rescuer_thread+0x1340/0x1340 [ 100.938805][ T71] ? rescuer_thread+0x1340/0x1340 [ 100.938806][ T71] kthread+0x367/0x460 [ 100.938807][ T71] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 100.938809][ T71] ? kthread_affine_preferred+0x4c0/0x4c0 [ 100.938811][ T71] ret_from_fork+0x4a4/0x720 [ 100.938812][ T71] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 100.938814][ T71] ? __switch_to+0x5a3/0xe00 [ 100.938817][ T71] ? kthread_affine_preferred+0x4c0/0x4c0 [ 100.938819][ T71] ret_from_fork_asm+0x11/0x20 [ 100.938822][ T71] [ 100.964328][ T71] veth0 (unregistering): left allmulticast mode [ 100.964632][ T71] veth0 (unregistering): left promiscuous mode [ 100.964912][ T71] br0: port 1(veth0) entered disabled state [ 101.074461][ T71] br0: port 2(veth1) entered disabled state [ 101.080083][ T71] veth1 (unregistering): left allmulticast mode [ 101.080359][ T71] veth1 (unregistering): left promiscuous mode [ 101.080630][ T71] br0: port 2(veth1) entered disabled state