[ 10.386381][ T187] ip (187) used greatest stack depth: 24256 bytes left [ 10.386413][ T187] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.386415][ T187] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 187, name: ip [ 10.386417][ T187] preempt_count: 2, expected: 0 [ 10.386418][ T187] RCU nest depth: 0, expected: 0 [ 10.386419][ T187] locks held by ip/187: 5, last CPU#0: [ 10.386421][ T187] #0: ffffffff8ec027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.386434][ T187] #1: ffffffff8ed69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.386440][ T187] #2: ffffffff8ed69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.386444][ T187] #3: ffffffff8ec89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.386447][ T187] #4: ffffffff8ec89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.386451][ T187] irq event stamp: 45948 [ 10.386452][ T187] hardirqs last enabled at (45947): [] __down_trylock_console_sem+0x86/0xa0 [ 10.386455][ T187] hardirqs last disabled at (45948): [] console_emit_next_record+0x3d4/0x4c0 [ 10.386457][ T187] softirqs last enabled at (44858): [] handle_softirqs+0x67c/0x900 [ 10.386459][ T187] softirqs last disabled at (44853): [] __irq_exit_rcu+0x145/0x1c0 [ 10.386461][ T187] Preemption disabled at: [ 10.386462][ T187] [<0000000000000000>] 0x0 [ 10.386469][ T187] CPU: 0 UID: 0 PID: 187 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.386472][ T187] Tainted: [W]=WARN [ 10.386473][ T187] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.386474][ T187] Call Trace: [ 10.386476][ T187] [ 10.386478][ T187] dump_stack_lvl+0x6f/0xa0 [ 10.386484][ T187] __might_resched.cold+0x1fe/0x2c1 [ 10.386488][ T187] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.386492][ T187] ? __kmalloc_noprof+0xdb/0x760 [ 10.386498][ T187] __kmalloc_noprof+0x443/0x760 [ 10.386500][ T187] ? alloc_buf.isra.0+0x4b/0x260 [ 10.386506][ T187] ? do_raw_spin_unlock+0x59/0x250 [ 10.386509][ T187] alloc_buf.isra.0+0x4b/0x260 [ 10.386512][ T187] put_chars+0x1e1/0x2f0 [ 10.386515][ T187] ? __send_to_port+0x420/0x420 [ 10.386516][ T187] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.386522][ T187] ? validate_chain+0x38b/0xc20 [ 10.386527][ T187] hvc_console_print+0x292/0x780 [ 10.386534][ T187] ? hvc_write+0x3a0/0x3a0 [ 10.386536][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.386538][ T187] ? lock_acquire+0x13c/0x160 [ 10.386542][ T187] console_emit_next_record+0x22f/0x4c0 [ 10.386546][ T187] ? devkmsg_read+0x4b0/0x4b0 [ 10.386548][ T187] ? console_flush_one_record+0x106/0x710 [ 10.386551][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.386554][ T187] ? lock_acquire+0x13c/0x160 [ 10.386558][ T187] console_flush_one_record+0x46f/0x710 [ 10.386562][ T187] ? console_emit_next_record+0x4c0/0x4c0 [ 10.386564][ T187] ? __lock_acquire+0x518/0xc20 [ 10.386569][ T187] console_unlock+0xee/0x1f0 [ 10.386572][ T187] ? console_flush_one_record+0x710/0x710 [ 10.386573][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.386576][ T187] ? lock_acquire+0x60/0x160 [ 10.386579][ T187] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.386581][ T187] ? vprintk_emit+0x320/0x3e0 [ 10.386585][ T187] vprintk_emit+0x37c/0x3e0 [ 10.386588][ T187] ? wake_up_klogd_work_func+0x90/0x90 [ 10.386592][ T187] ? __lock_acquire+0x518/0xc20 [ 10.386595][ T187] _printk+0xc7/0x100 [ 10.386599][ T187] ? snapshot_read.cold+0x21/0x21 [ 10.386602][ T187] ? do_raw_spin_lock+0x131/0x280 [ 10.386604][ T187] ? __rwlock_init+0x150/0x150 [ 10.386608][ T187] ? do_raw_spin_lock+0x131/0x280 [ 10.386611][ T187] do_exit.cold+0x82/0x9c [ 10.386615][ T187] ? exit_notify+0x890/0x890 [ 10.386617][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 10.386619][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.386623][ T187] do_group_exit+0xb8/0x370 [ 10.386626][ T187] __x64_sys_exit_group+0x3c/0x50 [ 10.386628][ T187] x64_sys_call+0x1567/0x1570 [ 10.386630][ T187] do_syscall_64+0xff/0x530 [ 10.386633][ T187] ? exc_page_fault+0xee/0x100 [ 10.386636][ T187] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.386639][ T187] RIP: 0033:0x7fb3646071b8 [ 10.386641][ T187] Code: Unable to access opcode bytes at 0x7fb36460718e. [ 10.386642][ T187] RSP: 002b:00007ffc70ffa9c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.386645][ T187] RAX: ffffffffffffffda RBX: 00007fb364737f88 RCX: 00007fb3646071b8 [ 10.386646][ T187] RDX: 00007fb364351fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.386647][ T187] RBP: 00007ffc70ffaa20 R08: 0000000000000000 R09: 0000000000008010 [ 10.386648][ T187] R10: 00007ffc70ffa7e0 R11: 0000000000000246 R12: 0000000000000001 [ 10.386649][ T187] R13: 0000000000000000 R14: 00007fb364736680 R15: 00007fb364737fa0 [ 10.386656][ T187] [ 12.347676][ T274] 8021q: 802.1Q VLAN Support v1.8 [ 12.347697][ T274] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.347699][ T274] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 274, name: modprobe [ 12.347701][ T274] preempt_count: 1, expected: 0 [ 12.347702][ T274] RCU nest depth: 0, expected: 0 [ 12.347703][ T274] locks held by modprobe/274: 4, last CPU#2: [ 12.347705][ T274] #0: ffffffff8ed69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.347719][ T274] #1: ffffffff8ed69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.347723][ T274] #2: ffffffff8ec89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.347727][ T274] #3: ffffffff8ec89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.347731][ T274] irq event stamp: 21882 [ 12.347732][ T274] hardirqs last enabled at (21881): [] __down_trylock_console_sem+0x86/0xa0 [ 12.347735][ T274] hardirqs last disabled at (21882): [] console_emit_next_record+0x3d4/0x4c0 [ 12.347737][ T274] softirqs last enabled at (18886): [] handle_softirqs+0x67c/0x900 [ 12.347740][ T274] softirqs last disabled at (18251): [] __irq_exit_rcu+0x145/0x1c0 [ 12.347742][ T274] Preemption disabled at: [ 12.347743][ T274] [] vprintk_emit+0x31b/0x3e0 [ 12.347749][ T274] CPU: 2 UID: 0 PID: 274 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.347753][ T274] Tainted: [W]=WARN [ 12.347754][ T274] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.347756][ T274] Call Trace: [ 12.347757][ T274] [ 12.347759][ T274] dump_stack_lvl+0x6f/0xa0 [ 12.347765][ T274] ? vprintk_emit+0x31b/0x3e0 [ 12.347767][ T274] __might_resched.cold+0x1fe/0x2c1 [ 12.347771][ T274] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.347776][ T274] ? __kmalloc_noprof+0xdb/0x760 [ 12.347781][ T274] __kmalloc_noprof+0x443/0x760 [ 12.347783][ T274] ? alloc_buf.isra.0+0x4b/0x260 [ 12.347789][ T274] ? do_raw_spin_unlock+0x59/0x250 [ 12.347792][ T274] alloc_buf.isra.0+0x4b/0x260 [ 12.347795][ T274] put_chars+0x1e1/0x2f0 [ 12.347798][ T274] ? __send_to_port+0x420/0x420 [ 12.347799][ T274] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.347804][ T274] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.347806][ T274] ? validate_chain+0x38b/0xc20 [ 12.347811][ T274] hvc_console_print+0x292/0x780 [ 12.347814][ T274] ? __lock_acquire+0x518/0xc20 [ 12.347819][ T274] ? hvc_write+0x3a0/0x3a0 [ 12.347821][ T274] ? rcu_is_watching+0x16/0xd0 [ 12.347826][ T274] console_emit_next_record+0x22f/0x4c0 [ 12.347830][ T274] ? devkmsg_read+0x4b0/0x4b0 [ 12.347832][ T274] ? console_flush_one_record+0x106/0x710 [ 12.347835][ T274] ? rcu_is_watching+0x16/0xd0 [ 12.347837][ T274] ? lock_acquire+0x13c/0x160 [ 12.347841][ T274] console_flush_one_record+0x46f/0x710 [ 12.347846][ T274] ? console_emit_next_record+0x4c0/0x4c0 [ 12.347847][ T274] ? __lock_acquire+0x518/0xc20 [ 12.347853][ T274] console_unlock+0xee/0x1f0 [ 12.347855][ T274] ? console_flush_one_record+0x710/0x710 [ 12.347857][ T274] ? rcu_is_watching+0x16/0xd0 [ 12.347860][ T274] ? lock_acquire+0x60/0x160 [ 12.347863][ T274] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.347865][ T274] ? vprintk_emit+0x320/0x3e0 [ 12.347868][ T274] vprintk_emit+0x37c/0x3e0 [ 12.347873][ T274] ? wake_up_klogd_work_func+0x90/0x90 [ 12.347878][ T274] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 12.347882][ T274] _printk+0xc7/0x100 [ 12.347886][ T274] ? snapshot_read.cold+0x21/0x21 [ 12.347893][ T274] ? do_one_initcall+0x113/0x4f0 [ 12.347895][ T274] vlan_proto_init+0x24/0x90 [8021q] [ 12.347899][ T274] do_one_initcall+0x124/0x4f0 [ 12.347901][ T274] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.347906][ T274] ? do_init_module+0xae/0x8a0 [ 12.347909][ T274] ? kasan_unpoison+0x44/0x70 [ 12.347914][ T274] do_init_module+0x2ad/0x8a0 [ 12.347917][ T274] ? lockdep_hardirqs_on+0x91/0x130 [ 12.347922][ T274] ? free_module+0x470/0x470 [ 12.347925][ T274] ? kfree+0x123/0x590 [ 12.347929][ T274] load_module+0x1424/0x1bb0 [ 12.347936][ T274] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.347945][ T274] ? __ia32_sys_fsconfig+0x180/0x180 [ 12.347947][ T274] ? ovl_real_file+0x172/0x1e0 [ 12.347951][ T274] ? backing_file_read_iter+0x541/0x790 [ 12.347955][ T274] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.347959][ T274] init_module_from_file+0x11f/0x1a0 [ 12.347962][ T274] ? __do_sys_init_module+0x220/0x220 [ 12.347970][ T274] ? __rwlock_init+0x150/0x150 [ 12.347974][ T274] ? do_raw_spin_unlock+0x59/0x250 [ 12.347977][ T274] idempotent_init_module+0x37b/0x7c0 [ 12.347980][ T274] ? init_module_from_file+0x1a0/0x1a0 [ 12.347986][ T274] ? rcu_is_watching+0x16/0xd0 [ 12.347989][ T274] ? cap_capable+0x1d7/0x3d0 [ 12.347995][ T274] __x64_sys_finit_module+0xdf/0x190 [ 12.347997][ T274] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.348000][ T274] do_syscall_64+0xff/0x530 [ 12.348002][ T274] ? exc_page_fault+0xee/0x100 [ 12.348005][ T274] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.348008][ T274] RIP: 0033:0x7f3d3556737d [ 12.348011][ T274] 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.348013][ T274] RSP: 002b:00007fff9e9a1f58 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.348016][ T274] RAX: ffffffffffffffda RBX: 000055ea2f722810 RCX: 00007f3d3556737d [ 12.348017][ T274] RDX: 0000000000000000 RSI: 000055e9f89feffd RDI: 0000000000000000 [ 12.348018][ T274] RBP: 00007fff9e9a1ff0 R08: 0000000000000000 R09: 0000000000000000 [ 12.348019][ T274] R10: 0000000000000000 R11: 0000000000000246 R12: 000055e9f89feffd [ 12.348020][ T274] R13: 000055ea2f722960 R14: 0000000000040000 R15: 0000000000000000 [ 12.348027][ T274] [ 12.505997][ T279] gre: GRE over IPv4 demultiplexer driver [ 12.536976][ T279] ip6_gre: GRE over IPv6 tunneling driver [ 19.267287][ T364] GACT probability NOT on [ 19.267306][ T364] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 19.267309][ T364] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 364, name: modprobe [ 19.267311][ T364] preempt_count: 1, expected: 0 [ 19.267312][ T364] RCU nest depth: 0, expected: 0 [ 19.267313][ T364] locks held by modprobe/364: 4, last CPU#2: [ 19.267315][ T364] #0: ffffffff8ed69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 19.267328][ T364] #1: ffffffff8ed69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 19.267333][ T364] #2: ffffffff8ec89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 19.267337][ T364] #3: ffffffff8ec89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 19.267342][ T364] irq event stamp: 20996 [ 19.267343][ T364] hardirqs last enabled at (20995): [] __down_trylock_console_sem+0x86/0xa0 [ 19.267345][ T364] hardirqs last disabled at (20996): [] console_emit_next_record+0x3d4/0x4c0 [ 19.267347][ T364] softirqs last enabled at (19686): [] handle_softirqs+0x67c/0x900 [ 19.267351][ T364] softirqs last disabled at (19203): [] __irq_exit_rcu+0x145/0x1c0 [ 19.267353][ T364] Preemption disabled at: [ 19.267354][ T364] [] vprintk_emit+0x31b/0x3e0 [ 19.267360][ T364] CPU: 2 UID: 0 PID: 364 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 19.267364][ T364] Tainted: [W]=WARN [ 19.267365][ T364] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.267366][ T364] Call Trace: [ 19.267368][ T364] [ 19.267369][ T364] dump_stack_lvl+0x6f/0xa0 [ 19.267375][ T364] ? vprintk_emit+0x31b/0x3e0 [ 19.267377][ T364] __might_resched.cold+0x1fe/0x2c1 [ 19.267382][ T364] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 19.267386][ T364] ? __kmalloc_noprof+0xdb/0x760 [ 19.267391][ T364] __kmalloc_noprof+0x443/0x760 [ 19.267394][ T364] ? alloc_buf.isra.0+0x4b/0x260 [ 19.267400][ T364] ? do_raw_spin_unlock+0x59/0x250 [ 19.267403][ T364] alloc_buf.isra.0+0x4b/0x260 [ 19.267406][ T364] put_chars+0x1e1/0x2f0 [ 19.267408][ T364] ? desc_read_finalized_seq+0x79/0x120 [ 19.267410][ T364] ? __send_to_port+0x420/0x420 [ 19.267413][ T364] ? rcu_read_lock_any_held+0x3c/0x90 [ 19.267417][ T364] ? validate_chain+0x38b/0xc20 [ 19.267421][ T364] hvc_console_print+0x292/0x780 [ 19.267424][ T364] ? __lock_acquire+0x518/0xc20 [ 19.267426][ T364] ? __lock_acquire+0x518/0xc20 [ 19.267430][ T364] ? hvc_write+0x3a0/0x3a0 [ 19.267432][ T364] ? console_emit_next_record+0x1df/0x4c0 [ 19.267435][ T364] ? rcu_is_watching+0x16/0xd0 [ 19.267438][ T364] ? lock_acquire+0x13c/0x160 [ 19.267442][ T364] console_emit_next_record+0x22f/0x4c0 [ 19.267446][ T364] ? devkmsg_read+0x4b0/0x4b0 [ 19.267448][ T364] ? console_flush_one_record+0x106/0x710 [ 19.267451][ T364] ? rcu_is_watching+0x16/0xd0 [ 19.267454][ T364] ? lock_acquire+0x13c/0x160 [ 19.267458][ T364] console_flush_one_record+0x46f/0x710 [ 19.267462][ T364] ? console_emit_next_record+0x4c0/0x4c0 [ 19.267464][ T364] ? __lock_acquire+0x518/0xc20 [ 19.267470][ T364] console_unlock+0xee/0x1f0 [ 19.267472][ T364] ? console_flush_one_record+0x710/0x710 [ 19.267474][ T364] ? rcu_is_watching+0x16/0xd0 [ 19.267477][ T364] ? lock_acquire+0x60/0x160 [ 19.267480][ T364] ? __down_trylock_console_sem+0x5e/0xa0 [ 19.267482][ T364] ? vprintk_emit+0x320/0x3e0 [ 19.267486][ T364] vprintk_emit+0x37c/0x3e0 [ 19.267490][ T364] ? wake_up_klogd_work_func+0x90/0x90 [ 19.267496][ T364] ? gre_exit+0x3f0/0x3f0 [gre] [ 19.267499][ T364] _printk+0xc7/0x100 [ 19.267503][ T364] ? snapshot_read.cold+0x21/0x21 [ 19.267509][ T364] ? do_one_initcall+0x113/0x4f0 [ 19.267512][ T364] gact_init_module+0x15/0x1000 [act_gact] [ 19.267515][ T364] do_one_initcall+0x124/0x4f0 [ 19.267518][ T364] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 19.267525][ T364] ? do_init_module+0xae/0x8a0 [ 19.267528][ T364] ? kasan_unpoison+0x44/0x70 [ 19.267533][ T364] do_init_module+0x2ad/0x8a0 [ 19.267537][ T364] ? lockdep_hardirqs_on+0x91/0x130 [ 19.267541][ T364] ? free_module+0x470/0x470 [ 19.267544][ T364] ? kfree+0x123/0x590 [ 19.267549][ T364] load_module+0x1424/0x1bb0 [ 19.267556][ T364] ? layout_and_allocate.isra.0+0x680/0x680 [ 19.267560][ T364] ? __ia32_sys_fsconfig+0x180/0x180 [ 19.267563][ T364] ? ovl_real_file+0x172/0x1e0 [ 19.267567][ T364] ? backing_file_read_iter+0x541/0x790 [ 19.267570][ T364] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 19.267574][ T364] init_module_from_file+0x11f/0x1a0 [ 19.267578][ T364] ? __do_sys_init_module+0x220/0x220 [ 19.267586][ T364] ? __rwlock_init+0x150/0x150 [ 19.267590][ T364] ? do_raw_spin_unlock+0x59/0x250 [ 19.267593][ T364] idempotent_init_module+0x37b/0x7c0 [ 19.267596][ T364] ? init_module_from_file+0x1a0/0x1a0 [ 19.267603][ T364] ? rcu_is_watching+0x16/0xd0 [ 19.267605][ T364] ? cap_capable+0x1d7/0x3d0 [ 19.267612][ T364] __x64_sys_finit_module+0xdf/0x190 [ 19.267614][ T364] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 19.267618][ T364] do_syscall_64+0xff/0x530 [ 19.267620][ T364] ? exc_page_fault+0xee/0x100 [ 19.267622][ T364] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 19.267625][ T364] RIP: 0033:0x7f50cda9d37d [ 19.267628][ T364] 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 [ 19.267630][ T364] RSP: 002b:00007fff1cce8bf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 19.267633][ T364] RAX: ffffffffffffffda RBX: 000055d742267810 RCX: 00007f50cda9d37d [ 19.267634][ T364] RDX: 0000000000000000 RSI: 000055d739112ffd RDI: 0000000000000000 [ 19.267635][ T364] RBP: 00007fff1cce8c90 R08: 0000000000000000 R09: 0000000000000000 [ 19.267636][ T364] R10: 0000000000000000 R11: 0000000000000246 R12: 000055d739112ffd [ 19.267637][ T364] R13: 000055d742267960 R14: 0000000000040000 R15: 0000000000000000 [ 19.267644][ T364] [ 26.676093][ T603] ip (603) used greatest stack depth: 23952 bytes left [ 26.676118][ T603] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.676120][ T603] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 603, name: ip [ 26.676123][ T603] preempt_count: 2, expected: 0 [ 26.676124][ T603] RCU nest depth: 0, expected: 0 [ 26.676126][ T603] locks held by ip/603: 5, last CPU#0: [ 26.676128][ T603] #0: ffffffff8ec027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 26.676144][ T603] #1: ffffffff8ed69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 26.676152][ T603] #2: ffffffff8ed69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 26.676158][ T603] #3: ffffffff8ec89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 26.676164][ T603] #4: ffffffff8ec89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 26.676170][ T603] irq event stamp: 27338 [ 26.676171][ T603] hardirqs last enabled at (27337): [] __down_trylock_console_sem+0x86/0xa0 [ 26.676175][ T603] hardirqs last disabled at (27338): [] console_emit_next_record+0x3d4/0x4c0 [ 26.676178][ T603] softirqs last enabled at (27048): [] handle_softirqs+0x67c/0x900 [ 26.676181][ T603] softirqs last disabled at (25973): [] __irq_exit_rcu+0x145/0x1c0 [ 26.676184][ T603] Preemption disabled at: [ 26.676185][ T603] [<0000000000000000>] 0x0 [ 26.676194][ T603] CPU: 0 UID: 0 PID: 603 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.676199][ T603] Tainted: [W]=WARN [ 26.676200][ T603] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.676202][ T603] Call Trace: [ 26.676205][ T603] [ 26.676207][ T603] dump_stack_lvl+0x6f/0xa0 [ 26.676215][ T603] __might_resched.cold+0x1fe/0x2c1 [ 26.676221][ T603] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.676227][ T603] ? __kmalloc_noprof+0xdb/0x760 [ 26.676234][ T603] __kmalloc_noprof+0x443/0x760 [ 26.676238][ T603] ? alloc_buf.isra.0+0x4b/0x260 [ 26.676246][ T603] ? do_raw_spin_unlock+0x59/0x250 [ 26.676250][ T603] alloc_buf.isra.0+0x4b/0x260 [ 26.676255][ T603] put_chars+0x1e1/0x2f0 [ 26.676259][ T603] ? __send_to_port+0x420/0x420 [ 26.676261][ T603] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.676267][ T603] ? validate_chain+0x38b/0xc20 [ 26.676276][ T603] hvc_console_print+0x292/0x780 [ 26.676286][ T603] ? hvc_write+0x3a0/0x3a0 [ 26.676289][ T603] ? rcu_is_watching+0x16/0xd0 [ 26.676293][ T603] ? lock_acquire+0x13c/0x160 [ 26.676299][ T603] console_emit_next_record+0x22f/0x4c0 [ 26.676306][ T603] ? devkmsg_read+0x4b0/0x4b0 [ 26.676308][ T603] ? console_flush_one_record+0x106/0x710 [ 26.676313][ T603] ? rcu_is_watching+0x16/0xd0 [ 26.676317][ T603] ? lock_acquire+0x13c/0x160 [ 26.676324][ T603] console_flush_one_record+0x46f/0x710 [ 26.676330][ T603] ? console_emit_next_record+0x4c0/0x4c0 [ 26.676333][ T603] ? __lock_acquire+0x518/0xc20 [ 26.676342][ T603] console_unlock+0xee/0x1f0 [ 26.676346][ T603] ? console_flush_one_record+0x710/0x710 [ 26.676348][ T603] ? rcu_is_watching+0x16/0xd0 [ 26.676352][ T603] ? lock_acquire+0x60/0x160 [ 26.676358][ T603] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.676360][ T603] ? vprintk_emit+0x320/0x3e0 [ 26.676366][ T603] vprintk_emit+0x37c/0x3e0 [ 26.676372][ T603] ? wake_up_klogd_work_func+0x90/0x90 [ 26.676377][ T603] ? __lock_acquire+0x518/0xc20 [ 26.676383][ T603] _printk+0xc7/0x100 [ 26.676388][ T603] ? snapshot_read.cold+0x21/0x21 [ 26.676393][ T603] ? do_raw_spin_lock+0x131/0x280 [ 26.676397][ T603] ? __rwlock_init+0x150/0x150 [ 26.676403][ T603] ? do_raw_spin_lock+0x131/0x280 [ 26.676407][ T603] do_exit.cold+0x82/0x9c [ 26.676413][ T603] ? exit_notify+0x890/0x890 [ 26.676415][ T603] ? __lock_release.isra.0+0x69/0x1a0 [ 26.676420][ T603] ? rcu_is_watching+0x16/0xd0 [ 26.676427][ T603] do_group_exit+0xb8/0x370 [ 26.676432][ T603] __x64_sys_exit_group+0x3c/0x50 [ 26.676435][ T603] x64_sys_call+0x1567/0x1570 [ 26.676438][ T603] do_syscall_64+0xff/0x530 [ 26.676442][ T603] ? exc_page_fault+0xee/0x100 [ 26.676447][ T603] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.676450][ T603] RIP: 0033:0x7fa6e5bff1b8 [ 26.676453][ T603] Code: Unable to access opcode bytes at 0x7fa6e5bff18e. [ 26.676455][ T603] RSP: 002b:00007ffdf76dcb98 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 26.676459][ T603] RAX: ffffffffffffffda RBX: 00007fa6e5d2ff88 RCX: 00007fa6e5bff1b8 [ 26.676460][ T603] RDX: 00007fa6e5949fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 26.676462][ T603] RBP: 00007ffdf76dcbf0 R08: 0000000000000000 R09: 0000000000000050 [ 26.676463][ T603] R10: 00007ffdf76dc9b0 R11: 0000000000000246 R12: 0000000000000001 [ 26.676465][ T603] R13: 0000000000000000 R14: 00007fa6e5d2e680 R15: 00007fa6e5d2ffa0 [ 26.676478][ T603]