[ 9.938844][ T186] ip (186) used greatest stack depth: 24144 bytes left [ 9.938861][ T186] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.938863][ T186] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 186, name: ip [ 9.938865][ T186] preempt_count: 2, expected: 0 [ 9.938865][ T186] RCU nest depth: 0, expected: 0 [ 9.938866][ T186] locks held by ip/186: 5, last CPU#2: [ 9.938869][ T186] #0: ffffffff9c0027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.938881][ T186] #1: ffffffff9c169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.938887][ T186] #2: ffffffff9c169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.938891][ T186] #3: ffffffff9c089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.938895][ T186] #4: ffffffff9c089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.938898][ T186] irq event stamp: 41324 [ 9.938899][ T186] hardirqs last enabled at (41323): [] __down_trylock_console_sem+0x86/0xa0 [ 9.938902][ T186] hardirqs last disabled at (41324): [] console_emit_next_record+0x3d4/0x4c0 [ 9.938904][ T186] softirqs last enabled at (40822): [] handle_softirqs+0x67c/0x900 [ 9.938905][ T186] softirqs last disabled at (40817): [] __irq_exit_rcu+0x145/0x1c0 [ 9.938908][ T186] Preemption disabled at: [ 9.938909][ T186] [<0000000000000000>] 0x0 [ 9.938916][ T186] CPU: 2 UID: 0 PID: 186 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.938919][ T186] Tainted: [W]=WARN [ 9.938920][ T186] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.938922][ T186] Call Trace: [ 9.938924][ T186] [ 9.938925][ T186] dump_stack_lvl+0x6f/0xa0 [ 9.938931][ T186] __might_resched.cold+0x1fe/0x2c1 [ 9.938936][ T186] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.938940][ T186] ? __kmalloc_noprof+0xdb/0x760 [ 9.938945][ T186] __kmalloc_noprof+0x443/0x760 [ 9.938947][ T186] ? alloc_buf.isra.0+0x4b/0x260 [ 9.938953][ T186] ? do_raw_spin_unlock+0x59/0x250 [ 9.938956][ T186] alloc_buf.isra.0+0x4b/0x260 [ 9.938959][ T186] put_chars+0x1e1/0x2f0 [ 9.938961][ T186] ? __send_to_port+0x420/0x420 [ 9.938963][ T186] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.938967][ T186] ? validate_chain+0x38b/0xc20 [ 9.938972][ T186] hvc_console_print+0x292/0x780 [ 9.938978][ T186] ? hvc_write+0x3a0/0x3a0 [ 9.938981][ T186] ? rcu_is_watching+0x16/0xd0 [ 9.938983][ T186] ? lock_acquire+0x13c/0x160 [ 9.938987][ T186] console_emit_next_record+0x22f/0x4c0 [ 9.938991][ T186] ? devkmsg_read+0x4b0/0x4b0 [ 9.938992][ T186] ? console_flush_one_record+0x106/0x710 [ 9.938995][ T186] ? rcu_is_watching+0x16/0xd0 [ 9.938998][ T186] ? lock_acquire+0x13c/0x160 [ 9.939001][ T186] console_flush_one_record+0x46f/0x710 [ 9.939006][ T186] ? console_emit_next_record+0x4c0/0x4c0 [ 9.939007][ T186] ? __lock_acquire+0x518/0xc20 [ 9.939012][ T186] console_unlock+0xee/0x1f0 [ 9.939015][ T186] ? console_flush_one_record+0x710/0x710 [ 9.939017][ T186] ? rcu_is_watching+0x16/0xd0 [ 9.939019][ T186] ? lock_acquire+0x60/0x160 [ 9.939023][ T186] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.939024][ T186] ? vprintk_emit+0x320/0x3e0 [ 9.939028][ T186] vprintk_emit+0x37c/0x3e0 [ 9.939031][ T186] ? wake_up_klogd_work_func+0x90/0x90 [ 9.939034][ T186] ? __lock_acquire+0x518/0xc20 [ 9.939038][ T186] _printk+0xc7/0x100 [ 9.939042][ T186] ? snapshot_read.cold+0x21/0x21 [ 9.939045][ T186] ? do_raw_spin_lock+0x131/0x280 [ 9.939047][ T186] ? __rwlock_init+0x150/0x150 [ 9.939051][ T186] ? do_raw_spin_lock+0x131/0x280 [ 9.939053][ T186] do_exit.cold+0x82/0x9c [ 9.939057][ T186] ? exit_notify+0x890/0x890 [ 9.939059][ T186] ? __lock_release.isra.0+0x69/0x1a0 [ 9.939061][ T186] ? rcu_is_watching+0x16/0xd0 [ 9.939068][ T186] do_group_exit+0xb8/0x370 [ 9.939070][ T186] __x64_sys_exit_group+0x3c/0x50 [ 9.939072][ T186] x64_sys_call+0x1567/0x1570 [ 9.939074][ T186] do_syscall_64+0xff/0x530 [ 9.939077][ T186] ? exc_page_fault+0xee/0x100 [ 9.939081][ T186] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.939083][ T186] RIP: 0033:0x7fae2ba3e1b8 [ 9.939085][ T186] Code: Unable to access opcode bytes at 0x7fae2ba3e18e. [ 9.939086][ T186] RSP: 002b:00007ffe1ff2b8e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.939088][ T186] RAX: ffffffffffffffda RBX: 00007fae2bb6ef88 RCX: 00007fae2ba3e1b8 [ 9.939090][ T186] RDX: 00007fae2b788fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.939091][ T186] RBP: 00007ffe1ff2b940 R08: 0000000000000000 R09: 0000000000008010 [ 9.939092][ T186] R10: 00007ffe1ff2b700 R11: 0000000000000246 R12: 0000000000000001 [ 9.939092][ T186] R13: 0000000000000000 R14: 00007fae2bb6d680 R15: 00007fae2bb6efa0 [ 9.939099][ T186] [ 10.627019][ T215] ip (215) used greatest stack depth: 24064 bytes left [ 12.055810][ T261] gre: GRE over IPv4 demultiplexer driver [ 12.055826][ T261] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.055828][ T261] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 261, name: modprobe [ 12.055830][ T261] preempt_count: 1, expected: 0 [ 12.055831][ T261] RCU nest depth: 0, expected: 0 [ 12.055832][ T261] locks held by modprobe/261: 4, last CPU#3: [ 12.055834][ T261] #0: ffffffff9c169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.055846][ T261] #1: ffffffff9c169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.055850][ T261] #2: ffffffff9c089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.055854][ T261] #3: ffffffff9c089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.055858][ T261] irq event stamp: 25468 [ 12.055858][ T261] hardirqs last enabled at (25467): [] __down_trylock_console_sem+0x86/0xa0 [ 12.055861][ T261] hardirqs last disabled at (25468): [] console_emit_next_record+0x3d4/0x4c0 [ 12.055863][ T261] softirqs last enabled at (23832): [] handle_softirqs+0x67c/0x900 [ 12.055866][ T261] softirqs last disabled at (23341): [] __irq_exit_rcu+0x145/0x1c0 [ 12.055869][ T261] Preemption disabled at: [ 12.055869][ T261] [] vprintk_emit+0x31b/0x3e0 [ 12.055875][ T261] CPU: 3 UID: 0 PID: 261 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.055878][ T261] Tainted: [W]=WARN [ 12.055879][ T261] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.055881][ T261] Call Trace: [ 12.055883][ T261] [ 12.055884][ T261] dump_stack_lvl+0x6f/0xa0 [ 12.055889][ T261] ? vprintk_emit+0x31b/0x3e0 [ 12.055891][ T261] __might_resched.cold+0x1fe/0x2c1 [ 12.055896][ T261] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.055900][ T261] ? __kmalloc_noprof+0xdb/0x760 [ 12.055905][ T261] __kmalloc_noprof+0x443/0x760 [ 12.055908][ T261] ? alloc_buf.isra.0+0x4b/0x260 [ 12.055913][ T261] ? do_raw_spin_unlock+0x59/0x250 [ 12.055916][ T261] alloc_buf.isra.0+0x4b/0x260 [ 12.055919][ T261] put_chars+0x1e1/0x2f0 [ 12.055921][ T261] ? desc_read_finalized_seq+0x79/0x120 [ 12.055923][ T261] ? __send_to_port+0x420/0x420 [ 12.055926][ T261] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.055929][ T261] ? validate_chain+0x38b/0xc20 [ 12.055933][ T261] hvc_console_print+0x292/0x780 [ 12.055936][ T261] ? __lock_acquire+0x518/0xc20 [ 12.055937][ T261] ? __lock_acquire+0x518/0xc20 [ 12.055942][ T261] ? hvc_write+0x3a0/0x3a0 [ 12.055943][ T261] ? console_emit_next_record+0x1df/0x4c0 [ 12.055946][ T261] ? rcu_is_watching+0x16/0xd0 [ 12.055950][ T261] ? lock_acquire+0x13c/0x160 [ 12.055953][ T261] console_emit_next_record+0x22f/0x4c0 [ 12.055957][ T261] ? devkmsg_read+0x4b0/0x4b0 [ 12.055959][ T261] ? console_flush_one_record+0x106/0x710 [ 12.055962][ T261] ? rcu_is_watching+0x16/0xd0 [ 12.055964][ T261] ? lock_acquire+0x13c/0x160 [ 12.055968][ T261] console_flush_one_record+0x46f/0x710 [ 12.055972][ T261] ? console_emit_next_record+0x4c0/0x4c0 [ 12.055974][ T261] ? __lock_acquire+0x518/0xc20 [ 12.055979][ T261] console_unlock+0xee/0x1f0 [ 12.055982][ T261] ? console_flush_one_record+0x710/0x710 [ 12.055983][ T261] ? rcu_is_watching+0x16/0xd0 [ 12.055986][ T261] ? lock_acquire+0x60/0x160 [ 12.055989][ T261] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.055991][ T261] ? vprintk_emit+0x320/0x3e0 [ 12.055994][ T261] vprintk_emit+0x37c/0x3e0 [ 12.055998][ T261] ? wake_up_klogd_work_func+0x90/0x90 [ 12.056003][ T261] ? gre_exit+0x3f0/0x3f0 [gre] [ 12.056006][ T261] _printk+0xc7/0x100 [ 12.056010][ T261] ? snapshot_read.cold+0x21/0x21 [ 12.056016][ T261] ? do_one_initcall+0x113/0x4f0 [ 12.056019][ T261] gre_init+0x15/0x1000 [gre] [ 12.056021][ T261] do_one_initcall+0x124/0x4f0 [ 12.056023][ T261] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.056028][ T261] ? do_init_module+0xae/0x8a0 [ 12.056031][ T261] ? kasan_unpoison+0x44/0x70 [ 12.056036][ T261] do_init_module+0x2ad/0x8a0 [ 12.056039][ T261] ? lockdep_hardirqs_on+0x91/0x130 [ 12.056043][ T261] ? free_module+0x470/0x470 [ 12.056047][ T261] ? kfree+0x123/0x590 [ 12.056050][ T261] load_module+0x1424/0x1bb0 [ 12.056057][ T261] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.056062][ T261] ? backing_file_read_iter+0x541/0x790 [ 12.056068][ T261] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.056072][ T261] init_module_from_file+0x11f/0x1a0 [ 12.056076][ T261] ? __do_sys_init_module+0x220/0x220 [ 12.056084][ T261] ? __rwlock_init+0x150/0x150 [ 12.056087][ T261] ? do_raw_spin_unlock+0x59/0x250 [ 12.056090][ T261] idempotent_init_module+0x37b/0x7c0 [ 12.056094][ T261] ? init_module_from_file+0x1a0/0x1a0 [ 12.056100][ T261] ? rcu_is_watching+0x16/0xd0 [ 12.056102][ T261] ? cap_capable+0x1d7/0x3d0 [ 12.056107][ T261] __x64_sys_finit_module+0xdf/0x190 [ 12.056110][ T261] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.056113][ T261] do_syscall_64+0xff/0x530 [ 12.056115][ T261] ? exc_page_fault+0xee/0x100 [ 12.056118][ T261] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.056120][ T261] RIP: 0033:0x7f6c89bc737d [ 12.056123][ T261] 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 [ 12.056125][ T261] RSP: 002b:00007ffd81b383a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.056128][ T261] RAX: ffffffffffffffda RBX: 000055c738fdea40 RCX: 00007f6c89bc737d [ 12.056129][ T261] RDX: 0000000000000000 RSI: 000055c7316cfffd RDI: 0000000000000001 [ 12.056130][ T261] RBP: 00007ffd81b38440 R08: 0000000000000000 R09: 0000000000000000 [ 12.056131][ T261] R10: 0000000000000000 R11: 0000000000000246 R12: 000055c7316cfffd [ 12.056131][ T261] R13: 000055c738fdea00 R14: 0000000000040000 R15: 0000000000000000 [ 12.056138][ T261] [ 12.100642][ T261] ip_gre: GRE over IPv4 tunneling driver [ 12.706175][ T284] 8021q: 802.1Q VLAN Support v1.8 [ 13.893413][ T322] GACT probability NOT on [ 13.893430][ T322] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.893433][ T322] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 322, name: modprobe [ 13.893435][ T322] preempt_count: 1, expected: 0 [ 13.893436][ T322] RCU nest depth: 0, expected: 0 [ 13.893437][ T322] locks held by modprobe/322: 4, last CPU#3: [ 13.893439][ T322] #0: ffffffff9c169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.893451][ T322] #1: ffffffff9c169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.893455][ T322] #2: ffffffff9c089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.893460][ T322] #3: ffffffff9c089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.893464][ T322] irq event stamp: 20430 [ 13.893465][ T322] hardirqs last enabled at (20429): [] __down_trylock_console_sem+0x86/0xa0 [ 13.893468][ T322] hardirqs last disabled at (20430): [] console_emit_next_record+0x3d4/0x4c0 [ 13.893469][ T322] softirqs last enabled at (19184): [] handle_softirqs+0x67c/0x900 [ 13.893472][ T322] softirqs last disabled at (19175): [] __irq_exit_rcu+0x145/0x1c0 [ 13.893475][ T322] Preemption disabled at: [ 13.893476][ T322] [] vprintk_emit+0x31b/0x3e0 [ 13.893481][ T322] CPU: 3 UID: 0 PID: 322 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.893485][ T322] Tainted: [W]=WARN [ 13.893486][ T322] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.893487][ T322] Call Trace: [ 13.893489][ T322] [ 13.893490][ T322] dump_stack_lvl+0x6f/0xa0 [ 13.893496][ T322] ? vprintk_emit+0x31b/0x3e0 [ 13.893498][ T322] __might_resched.cold+0x1fe/0x2c1 [ 13.893502][ T322] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.893506][ T322] ? __kmalloc_noprof+0xdb/0x760 [ 13.893511][ T322] __kmalloc_noprof+0x443/0x760 [ 13.893513][ T322] ? alloc_buf.isra.0+0x4b/0x260 [ 13.893519][ T322] ? do_raw_spin_unlock+0x59/0x250 [ 13.893522][ T322] alloc_buf.isra.0+0x4b/0x260 [ 13.893525][ T322] put_chars+0x1e1/0x2f0 [ 13.893527][ T322] ? desc_read_finalized_seq+0x79/0x120 [ 13.893529][ T322] ? __send_to_port+0x420/0x420 [ 13.893532][ T322] ? rcu_read_lock_any_held+0x3c/0x90 [ 13.893535][ T322] ? validate_chain+0x38b/0xc20 [ 13.893539][ T322] hvc_console_print+0x292/0x780 [ 13.893542][ T322] ? __lock_acquire+0x518/0xc20 [ 13.893543][ T322] ? __lock_acquire+0x518/0xc20 [ 13.893548][ T322] ? hvc_write+0x3a0/0x3a0 [ 13.893549][ T322] ? console_emit_next_record+0x1df/0x4c0 [ 13.893552][ T322] ? rcu_is_watching+0x16/0xd0 [ 13.893555][ T322] ? lock_acquire+0x13c/0x160 [ 13.893559][ T322] console_emit_next_record+0x22f/0x4c0 [ 13.893563][ T322] ? devkmsg_read+0x4b0/0x4b0 [ 13.893565][ T322] ? console_flush_one_record+0x106/0x710 [ 13.893568][ T322] ? rcu_is_watching+0x16/0xd0 [ 13.893570][ T322] ? lock_acquire+0x13c/0x160 [ 13.893574][ T322] console_flush_one_record+0x46f/0x710 [ 13.893578][ T322] ? console_emit_next_record+0x4c0/0x4c0 [ 13.893580][ T322] ? __lock_acquire+0x518/0xc20 [ 13.893585][ T322] console_unlock+0xee/0x1f0 [ 13.893588][ T322] ? console_flush_one_record+0x710/0x710 [ 13.893590][ T322] ? rcu_is_watching+0x16/0xd0 [ 13.893592][ T322] ? lock_acquire+0x60/0x160 [ 13.893595][ T322] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.893597][ T322] ? vprintk_emit+0x320/0x3e0 [ 13.893600][ T322] vprintk_emit+0x37c/0x3e0 [ 13.893604][ T322] ? wake_up_klogd_work_func+0x90/0x90 [ 13.893610][ T322] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 13.893613][ T322] _printk+0xc7/0x100 [ 13.893617][ T322] ? snapshot_read.cold+0x21/0x21 [ 13.893623][ T322] ? do_one_initcall+0x113/0x4f0 [ 13.893626][ T322] gact_init_module+0x15/0x1000 [act_gact] [ 13.893628][ T322] do_one_initcall+0x124/0x4f0 [ 13.893631][ T322] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 13.893635][ T322] ? do_init_module+0xae/0x8a0 [ 13.893638][ T322] ? kasan_unpoison+0x44/0x70 [ 13.893643][ T322] do_init_module+0x2ad/0x8a0 [ 13.893647][ T322] ? lockdep_hardirqs_on+0x91/0x130 [ 13.893651][ T322] ? free_module+0x470/0x470 [ 13.893654][ T322] ? kfree+0x123/0x590 [ 13.893658][ T322] load_module+0x1424/0x1bb0 [ 13.893665][ T322] ? layout_and_allocate.isra.0+0x680/0x680 [ 13.893669][ T322] ? __ia32_sys_fsconfig+0x180/0x180 [ 13.893672][ T322] ? ovl_real_file+0x172/0x1e0 [ 13.893676][ T322] ? backing_file_read_iter+0x541/0x790 [ 13.893679][ T322] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.893683][ T322] init_module_from_file+0x11f/0x1a0 [ 13.893686][ T322] ? __do_sys_init_module+0x220/0x220 [ 13.893694][ T322] ? __rwlock_init+0x150/0x150 [ 13.893697][ T322] ? do_raw_spin_unlock+0x59/0x250 [ 13.893700][ T322] idempotent_init_module+0x37b/0x7c0 [ 13.893704][ T322] ? init_module_from_file+0x1a0/0x1a0 [ 13.893710][ T322] ? rcu_is_watching+0x16/0xd0 [ 13.893712][ T322] ? cap_capable+0x1d7/0x3d0 [ 13.893718][ T322] __x64_sys_finit_module+0xdf/0x190 [ 13.893720][ T322] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.893724][ T322] do_syscall_64+0xff/0x530 [ 13.893725][ T322] ? exc_page_fault+0xee/0x100 [ 13.893728][ T322] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.893731][ T322] RIP: 0033:0x7f9c31b1137d [ 13.893734][ T322] 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 [ 13.893736][ T322] RSP: 002b:00007ffefc3727f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 13.893738][ T322] RAX: ffffffffffffffda RBX: 000055d370fe3810 RCX: 00007f9c31b1137d [ 13.893740][ T322] RDX: 0000000000000000 RSI: 000055d331735ffd RDI: 0000000000000000 [ 13.893741][ T322] RBP: 00007ffefc372890 R08: 0000000000000000 R09: 0000000000000000 [ 13.893742][ T322] R10: 0000000000000000 R11: 0000000000000246 R12: 000055d331735ffd [ 13.893742][ T322] R13: 000055d370fe3960 R14: 0000000000040000 R15: 0000000000000000 [ 13.893749][ T322] [ 97.630357][ T546] ip (546) used greatest stack depth: 24016 bytes left [ 97.630374][ T546] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 97.630377][ T546] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 546, name: ip [ 97.630378][ T546] preempt_count: 2, expected: 0 [ 97.630379][ T546] RCU nest depth: 0, expected: 0 [ 97.630380][ T546] locks held by ip/546: 5, last CPU#2: [ 97.630382][ T546] #0: ffffffff9c0027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 97.630394][ T546] #1: ffffffff9c169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 97.630400][ T546] #2: ffffffff9c169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 97.630404][ T546] #3: ffffffff9c089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 97.630408][ T546] #4: ffffffff9c089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 97.630412][ T546] irq event stamp: 23616 [ 97.630413][ T546] hardirqs last enabled at (23615): [] __down_trylock_console_sem+0x86/0xa0 [ 97.630415][ T546] hardirqs last disabled at (23616): [] console_emit_next_record+0x3d4/0x4c0 [ 97.630417][ T546] softirqs last enabled at (23440): [] handle_softirqs+0x67c/0x900 [ 97.630419][ T546] softirqs last disabled at (23433): [] __irq_exit_rcu+0x145/0x1c0 [ 97.630421][ T546] Preemption disabled at: [ 97.630422][ T546] [<0000000000000000>] 0x0 [ 97.630428][ T546] CPU: 2 UID: 0 PID: 546 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 97.630432][ T546] Tainted: [W]=WARN [ 97.630433][ T546] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 97.630434][ T546] Call Trace: [ 97.630436][ T546] [ 97.630438][ T546] dump_stack_lvl+0x6f/0xa0 [ 97.630444][ T546] __might_resched.cold+0x1fe/0x2c1 [ 97.630448][ T546] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 97.630453][ T546] ? __kmalloc_noprof+0xdb/0x760 [ 97.630457][ T546] __kmalloc_noprof+0x443/0x760 [ 97.630460][ T546] ? alloc_buf.isra.0+0x4b/0x260 [ 97.630465][ T546] ? do_raw_spin_unlock+0x59/0x250 [ 97.630468][ T546] alloc_buf.isra.0+0x4b/0x260 [ 97.630471][ T546] put_chars+0x1e1/0x2f0 [ 97.630474][ T546] ? __send_to_port+0x420/0x420 [ 97.630475][ T546] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 97.630480][ T546] ? validate_chain+0x38b/0xc20 [ 97.630484][ T546] hvc_console_print+0x292/0x780 [ 97.630491][ T546] ? hvc_write+0x3a0/0x3a0 [ 97.630492][ T546] ? rcu_is_watching+0x16/0xd0 [ 97.630495][ T546] ? lock_acquire+0x13c/0x160 [ 97.630499][ T546] console_emit_next_record+0x22f/0x4c0 [ 97.630502][ T546] ? devkmsg_read+0x4b0/0x4b0 [ 97.630504][ T546] ? console_flush_one_record+0x106/0x710 [ 97.630507][ T546] ? rcu_is_watching+0x16/0xd0 [ 97.630509][ T546] ? lock_acquire+0x13c/0x160 [ 97.630513][ T546] console_flush_one_record+0x46f/0x710 [ 97.630517][ T546] ? console_emit_next_record+0x4c0/0x4c0 [ 97.630519][ T546] ? __lock_acquire+0x518/0xc20 [ 97.630524][ T546] console_unlock+0xee/0x1f0 [ 97.630527][ T546] ? console_flush_one_record+0x710/0x710 [ 97.630528][ T546] ? rcu_is_watching+0x16/0xd0 [ 97.630530][ T546] ? lock_acquire+0x60/0x160 [ 97.630534][ T546] ? __down_trylock_console_sem+0x5e/0xa0 [ 97.630536][ T546] ? vprintk_emit+0x320/0x3e0 [ 97.630544][ T546] vprintk_emit+0x37c/0x3e0 [ 97.630547][ T546] ? wake_up_klogd_work_func+0x90/0x90 [ 97.630551][ T546] ? __lock_acquire+0x518/0xc20 [ 97.630554][ T546] _printk+0xc7/0x100 [ 97.630558][ T546] ? snapshot_read.cold+0x21/0x21 [ 97.630561][ T546] ? do_raw_spin_lock+0x131/0x280 [ 97.630563][ T546] ? __rwlock_init+0x150/0x150 [ 97.630567][ T546] ? do_raw_spin_lock+0x131/0x280 [ 97.630570][ T546] do_exit.cold+0x82/0x9c [ 97.630573][ T546] ? exit_notify+0x890/0x890 [ 97.630575][ T546] ? __lock_release.isra.0+0x69/0x1a0 [ 97.630578][ T546] ? rcu_is_watching+0x16/0xd0 [ 97.630582][ T546] do_group_exit+0xb8/0x370 [ 97.630584][ T546] __x64_sys_exit_group+0x3c/0x50 [ 97.630586][ T546] x64_sys_call+0x1567/0x1570 [ 97.630588][ T546] do_syscall_64+0xff/0x530 [ 97.630591][ T546] ? exc_page_fault+0xee/0x100 [ 97.630594][ T546] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 97.630597][ T546] RIP: 0033:0x7fbaec8e51b8 [ 97.630599][ T546] Code: Unable to access opcode bytes at 0x7fbaec8e518e. [ 97.630600][ T546] RSP: 002b:00007ffed0a12a78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 97.630602][ T546] RAX: ffffffffffffffda RBX: 00007fbaeca15f88 RCX: 00007fbaec8e51b8 [ 97.630604][ T546] RDX: 00007fbaec62ffc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 97.630605][ T546] RBP: 00007ffed0a12ad0 R08: 0000000000000000 R09: 0000000000000060 [ 97.630605][ T546] R10: 00007ffed0a12890 R11: 0000000000000246 R12: 0000000000000001 [ 97.630606][ T546] R13: 0000000000000000 R14: 00007fbaeca14680 R15: 00007fbaeca15fa0 [ 97.630613][ T546]