[ 10.463864][ T177] ip (177) used greatest stack depth: 24272 bytes left [ 10.463883][ T177] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.463885][ T177] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 177, name: ip [ 10.463886][ T177] preempt_count: 2, expected: 0 [ 10.463888][ T177] RCU nest depth: 0, expected: 0 [ 10.463889][ T177] locks held by ip/177: 5, last CPU#3: [ 10.463891][ T177] #0: ffffffff88c02f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 10.463902][ T177] #1: ffffffff88d6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.463907][ T177] #2: ffffffff88d6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.463910][ T177] #3: ffffffff88c89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.463913][ T177] #4: ffffffff88c89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.463916][ T177] irq event stamp: 22960 [ 10.463917][ T177] hardirqs last enabled at (22959): [] __down_trylock_console_sem+0x86/0xa0 [ 10.463921][ T177] hardirqs last disabled at (22960): [] console_emit_next_record+0x3d4/0x4c0 [ 10.463922][ T177] softirqs last enabled at (21396): [] netlink_release+0x17b/0xcf0 [ 10.463926][ T177] softirqs last disabled at (21394): [] netlink_release+0xd2/0xcf0 [ 10.463928][ T177] Preemption disabled at: [ 10.463929][ T177] [<0000000000000000>] 0x0 [ 10.463936][ T177] CPU: 3 UID: 0 PID: 177 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.463939][ T177] Tainted: [W]=WARN [ 10.463940][ T177] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.463942][ T177] Call Trace: [ 10.463944][ T177] [ 10.463945][ T177] dump_stack_lvl+0x6f/0xa0 [ 10.463951][ T177] __might_resched.cold+0x1fe/0x2c1 [ 10.463956][ T177] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.463959][ T177] ? __kmalloc_noprof+0xdb/0x760 [ 10.463964][ T177] __kmalloc_noprof+0x443/0x760 [ 10.463967][ T177] ? alloc_buf.isra.0+0x4b/0x260 [ 10.463973][ T177] ? do_raw_spin_unlock+0x59/0x250 [ 10.463976][ T177] alloc_buf.isra.0+0x4b/0x260 [ 10.463979][ T177] put_chars+0x1e1/0x2f0 [ 10.463982][ T177] ? __send_to_port+0x420/0x420 [ 10.463988][ T177] hvc_console_print+0x292/0x780 [ 10.463995][ T177] ? hvc_write+0x3a0/0x3a0 [ 10.463997][ T177] ? lock_acquire+0x13c/0x160 [ 10.464002][ T177] console_emit_next_record+0x22f/0x4c0 [ 10.464005][ T177] ? devkmsg_read+0x4b0/0x4b0 [ 10.464006][ T177] ? console_flush_one_record+0x106/0x710 [ 10.464009][ T177] ? rcu_is_watching+0x16/0xd0 [ 10.464012][ T177] ? lock_acquire+0x13c/0x160 [ 10.464019][ T177] console_flush_one_record+0x46f/0x710 [ 10.464022][ T177] ? console_emit_next_record+0x4c0/0x4c0 [ 10.464024][ T177] ? __lock_acquire+0x518/0xc20 [ 10.464029][ T177] console_unlock+0xee/0x1f0 [ 10.464031][ T177] ? console_flush_one_record+0x710/0x710 [ 10.464032][ T177] ? rcu_is_watching+0x16/0xd0 [ 10.464034][ T177] ? lock_acquire+0x60/0x160 [ 10.464038][ T177] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.464040][ T177] ? vprintk_emit+0x320/0x3e0 [ 10.464043][ T177] vprintk_emit+0x37c/0x3e0 [ 10.464046][ T177] ? wake_up_klogd_work_func+0x90/0x90 [ 10.464049][ T177] ? __lock_acquire+0x518/0xc20 [ 10.464053][ T177] _printk+0xc7/0x100 [ 10.464056][ T177] ? snapshot_read.cold+0x21/0x21 [ 10.464059][ T177] ? do_raw_spin_lock+0x131/0x280 [ 10.464062][ T177] ? __rwlock_init+0x150/0x150 [ 10.464066][ T177] ? do_raw_spin_lock+0x131/0x280 [ 10.464068][ T177] do_exit.cold+0x82/0x9c [ 10.464072][ T177] ? exit_notify+0x890/0x890 [ 10.464074][ T177] ? __lock_release.isra.0+0x69/0x1a0 [ 10.464076][ T177] ? rcu_is_watching+0x16/0xd0 [ 10.464080][ T177] do_group_exit+0xb8/0x370 [ 10.464083][ T177] __x64_sys_exit_group+0x3c/0x50 [ 10.464085][ T177] x64_sys_call+0x1567/0x1570 [ 10.464088][ T177] do_syscall_64+0x10e/0x570 [ 10.464091][ T177] ? exc_page_fault+0xee/0x100 [ 10.464094][ T177] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.464097][ T177] RIP: 0033:0x7f5a40f241b8 [ 10.464099][ T177] Code: Unable to access opcode bytes at 0x7f5a40f2418e. [ 10.464100][ T177] RSP: 002b:00007ffcd307eb78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.464103][ T177] RAX: ffffffffffffffda RBX: 00007f5a41054f88 RCX: 00007f5a40f241b8 [ 10.464104][ T177] RDX: 00007f5a40c6efc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.464105][ T177] RBP: 00007ffcd307ebd0 R08: 0000000000000000 R09: 0000000000000050 [ 10.464106][ T177] R10: 00007ffcd307e990 R11: 0000000000000246 R12: 0000000000000001 [ 10.464107][ T177] R13: 0000000000000000 R14: 00007f5a41053680 R15: 00007f5a41054fa0 [ 10.464113][ T177] [ 10.874235][ T186] ip (186) used greatest stack depth: 23968 bytes left [ 11.564998][ T223] ip_local_port_range: prefer different parity for start/end values. [ 11.565269][ T223] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.565272][ T223] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 223, name: sysctl [ 11.565273][ T223] preempt_count: 1, expected: 0 [ 11.565274][ T223] RCU nest depth: 0, expected: 0 [ 11.565275][ T223] locks held by sysctl/223: 5, last CPU#0: [ 11.565278][ T223] #0: ff11000009f84430 (sb_writers#3){.+.+}-{0:0}, at: ksys_write+0x116/0x250 [ 11.565289][ T223] #1: ffffffff88d6a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.565294][ T223] #2: ffffffff88d6a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.565297][ T223] #3: ffffffff88c89de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.565301][ T223] #4: ffffffff88c89ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.565304][ T223] irq event stamp: 29196 [ 11.565305][ T223] hardirqs last enabled at (29195): [] irqentry_exit+0x21c/0x790 [ 11.565311][ T223] hardirqs last disabled at (29196): [] console_emit_next_record+0x3d4/0x4c0 [ 11.565312][ T223] softirqs last enabled at (27790): [] handle_softirqs+0x67c/0x900 [ 11.565315][ T223] softirqs last disabled at (27783): [] __irq_exit_rcu+0x145/0x1c0 [ 11.565318][ T223] Preemption disabled at: [ 11.565318][ T223] [] vprintk_emit+0x31b/0x3e0 [ 11.565324][ T223] CPU: 0 UID: 0 PID: 223 Comm: sysctl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.565327][ T223] Tainted: [W]=WARN [ 11.565328][ T223] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.565330][ T223] Call Trace: [ 11.565331][ T223] [ 11.565333][ T223] dump_stack_lvl+0x6f/0xa0 [ 11.565338][ T223] ? vprintk_emit+0x31b/0x3e0 [ 11.565340][ T223] __might_resched.cold+0x1fe/0x2c1 [ 11.565344][ T223] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.565347][ T223] ? __kmalloc_noprof+0xdb/0x760 [ 11.565352][ T223] __kmalloc_noprof+0x443/0x760 [ 11.565355][ T223] ? alloc_buf.isra.0+0x4b/0x260 [ 11.565361][ T223] ? do_raw_spin_unlock+0x59/0x250 [ 11.565364][ T223] alloc_buf.isra.0+0x4b/0x260 [ 11.565367][ T223] put_chars+0x1e1/0x2f0 [ 11.565370][ T223] ? __send_to_port+0x420/0x420 [ 11.565374][ T223] ? validate_chain+0x34a/0xc20 [ 11.565380][ T223] hvc_console_print+0x292/0x780 [ 11.565383][ T223] ? __lock_acquire+0x518/0xc20 [ 11.565388][ T223] ? hvc_write+0x3a0/0x3a0 [ 11.565391][ T223] ? rcu_is_watching+0x16/0xd0 [ 11.565398][ T223] console_emit_next_record+0x22f/0x4c0 [ 11.565401][ T223] ? devkmsg_read+0x4b0/0x4b0 [ 11.565405][ T223] ? console_flush_one_record+0x106/0x710 [ 11.565409][ T223] console_flush_one_record+0x46f/0x710 [ 11.565413][ T223] ? console_emit_next_record+0x4c0/0x4c0 [ 11.565415][ T223] ? __lock_acquire+0x518/0xc20 [ 11.565420][ T223] console_unlock+0xee/0x1f0 [ 11.565423][ T223] ? console_flush_one_record+0x710/0x710 [ 11.565424][ T223] ? rcu_is_watching+0x16/0xd0 [ 11.565426][ T223] ? lock_acquire+0x60/0x160 [ 11.565430][ T223] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.565433][ T223] ? vprintk_emit+0x320/0x3e0 [ 11.565436][ T223] vprintk_emit+0x37c/0x3e0 [ 11.565439][ T223] ? wake_up_klogd_work_func+0x90/0x90 [ 11.565441][ T223] ? __lock_release.isra.0+0x69/0x1a0 [ 11.565446][ T223] _printk+0xc7/0x100 [ 11.565449][ T223] ? snapshot_read.cold+0x21/0x21 [ 11.565451][ T223] ? ___ratelimit+0x4e7/0xa00 [ 11.565457][ T223] ? idr_get_free+0x830/0x830 [ 11.565458][ T223] ? __might_fault+0x97/0x140 [ 11.565464][ T223] ipv4_local_port_range.cold+0xf/0x44 [ 11.565468][ T223] ? proc_tcp_ehash_entries+0x2d0/0x2d0 [ 11.565474][ T223] ? __kvmalloc_node_noprof+0x33e/0x8b0 [ 11.565477][ T223] ? proc_sys_call_handler+0x25d/0x480 [ 11.565482][ T223] proc_sys_call_handler+0x31b/0x480 [ 11.565485][ T223] ? proc_sys_lookup+0x3d0/0x3d0 [ 11.565487][ T223] ? rcu_read_unlock+0x20/0x70 [ 11.565489][ T223] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.565492][ T223] ? rcu_read_lock_any_held+0x3c/0x90 [ 11.565495][ T223] ? validate_chain+0x38b/0xc20 [ 11.565497][ T223] ? proc_sys_call_handler+0x480/0x480 [ 11.565500][ T223] new_sync_write+0x33e/0x760 [ 11.565503][ T223] ? __lock_acquire+0x518/0xc20 [ 11.565506][ T223] ? new_sync_read+0x750/0x750 [ 11.565510][ T223] ? lock_acquire.part.0+0xd4/0x280 [ 11.565512][ T223] ? ksys_write+0x116/0x250 [ 11.565518][ T223] vfs_write+0x6a2/0xbd0 [ 11.565522][ T223] ksys_write+0x116/0x250 [ 11.565524][ T223] ? __ia32_sys_read+0xc0/0xc0 [ 11.565526][ T223] ? rcu_is_watching+0x16/0xd0 [ 11.565528][ T223] ? rcu_is_watching+0x16/0xd0 [ 11.565531][ T223] do_syscall_64+0x10e/0x570 [ 11.565533][ T223] ? exc_page_fault+0xee/0x100 [ 11.565536][ T223] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.565539][ T223] RIP: 0033:0x7f6abb43354e [ 11.565543][ T223] 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 [ 11.565544][ T223] RSP: 002b:00007ffc63db3fe0 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 11.565547][ T223] RAX: ffffffffffffffda RBX: 000000000000000c RCX: 00007f6abb43354e [ 11.565548][ T223] RDX: 000000000000000c RSI: 0000564e9be334b0 RDI: 0000000000000005 [ 11.565549][ T223] RBP: 00007ffc63db3ff0 R08: 0000000000000000 R09: 0000000000000000 [ 11.565550][ T223] R10: 0000000000000000 R11: 0000000000000202 R12: 0000564e9be355e0 [ 11.565551][ T223] R13: 0000564e9be33470 R14: 000000000000000c R15: 0000000000000000 [ 11.565558][ T223]