[ 9.615445][ T205] ip (205) used greatest stack depth: 24288 bytes left [ 9.615459][ T205] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.615461][ T205] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 205, name: ip [ 9.615463][ T205] preempt_count: 2, expected: 0 [ 9.615463][ T205] RCU nest depth: 0, expected: 0 [ 9.615464][ T205] locks held by ip/205: 5, last CPU#3: [ 9.615466][ T205] #0: ffffffff9b6167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.615477][ T205] #1: ffffffff9b77ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.615482][ T205] #2: ffffffff9b77de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.615487][ T205] #3: ffffffff9b69d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.615490][ T205] #4: ffffffff9b69d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.615494][ T205] irq event stamp: 33280 [ 9.615495][ T205] hardirqs last enabled at (33279): [] __down_trylock_console_sem+0x86/0xa0 [ 9.615498][ T205] hardirqs last disabled at (33280): [] console_emit_next_record+0x3d4/0x4c0 [ 9.615500][ T205] softirqs last enabled at (31988): [] netlink_release+0x17b/0xcf0 [ 9.615505][ T205] softirqs last disabled at (31986): [] netlink_release+0xd2/0xcf0 [ 9.615508][ T205] Preemption disabled at: [ 9.615509][ T205] [<0000000000000000>] 0x0 [ 9.615515][ T205] CPU: 3 UID: 0 PID: 205 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.615518][ T205] Tainted: [W]=WARN [ 9.615519][ T205] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.615521][ T205] Call Trace: [ 9.615523][ T205] [ 9.615524][ T205] dump_stack_lvl+0x6f/0xa0 [ 9.615530][ T205] __might_resched.cold+0x1fe/0x2c1 [ 9.615535][ T205] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.615539][ T205] ? __kmalloc_noprof+0xdb/0x760 [ 9.615543][ T205] __kmalloc_noprof+0x443/0x760 [ 9.615545][ T205] ? alloc_buf.isra.0+0x4b/0x260 [ 9.615551][ T205] ? do_raw_spin_unlock+0x59/0x250 [ 9.615554][ T205] alloc_buf.isra.0+0x4b/0x260 [ 9.615557][ T205] put_chars+0x1e1/0x2f0 [ 9.615560][ T205] ? __send_to_port+0x420/0x420 [ 9.615561][ T205] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.615565][ T205] ? validate_chain+0x38b/0xc20 [ 9.615570][ T205] hvc_console_print+0x292/0x780 [ 9.615577][ T205] ? hvc_write+0x3a0/0x3a0 [ 9.615580][ T205] ? rcu_is_watching+0x16/0xd0 [ 9.615582][ T205] ? lock_acquire+0x13c/0x160 [ 9.615586][ T205] console_emit_next_record+0x22f/0x4c0 [ 9.615589][ T205] ? devkmsg_read+0x4b0/0x4b0 [ 9.615591][ T205] ? console_flush_one_record+0x106/0x710 [ 9.615594][ T205] ? rcu_is_watching+0x16/0xd0 [ 9.615596][ T205] ? lock_acquire+0x13c/0x160 [ 9.615600][ T205] console_flush_one_record+0x46f/0x710 [ 9.615604][ T205] ? console_emit_next_record+0x4c0/0x4c0 [ 9.615606][ T205] ? __lock_acquire+0x518/0xc20 [ 9.615611][ T205] console_unlock+0xee/0x1f0 [ 9.615614][ T205] ? console_flush_one_record+0x710/0x710 [ 9.615616][ T205] ? rcu_is_watching+0x16/0xd0 [ 9.615617][ T205] ? lock_acquire+0xe0/0x160 [ 9.615621][ T205] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.615623][ T205] ? vprintk_emit+0x320/0x3e0 [ 9.615625][ T205] vprintk_emit+0x37c/0x3e0 [ 9.615628][ T205] ? wake_up_klogd_work_func+0x90/0x90 [ 9.615631][ T205] ? __lock_acquire+0x518/0xc20 [ 9.615635][ T205] _printk+0xc7/0x100 [ 9.615638][ T205] ? snapshot_read.cold+0x21/0x21 [ 9.615641][ T205] ? do_raw_spin_lock+0x131/0x280 [ 9.615644][ T205] ? __rwlock_init+0x150/0x150 [ 9.615647][ T205] ? do_raw_spin_lock+0x131/0x280 [ 9.615650][ T205] do_exit.cold+0x82/0x9c [ 9.615654][ T205] ? exit_notify+0x890/0x890 [ 9.615655][ T205] ? __lock_release.isra.0+0x69/0x1a0 [ 9.615658][ T205] ? rcu_is_watching+0x16/0xd0 [ 9.615661][ T205] do_group_exit+0xb8/0x370 [ 9.615664][ T205] __x64_sys_exit_group+0x3c/0x50 [ 9.615666][ T205] x64_sys_call+0x1567/0x1570 [ 9.615668][ T205] do_syscall_64+0xff/0x530 [ 9.615672][ T205] ? exc_page_fault+0xee/0x100 [ 9.615675][ T205] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.615677][ T205] RIP: 0033:0x7f82b79501b8 [ 9.615679][ T205] Code: Unable to access opcode bytes at 0x7f82b795018e. [ 9.615680][ T205] RSP: 002b:00007ffefdec7518 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.615682][ T205] RAX: ffffffffffffffda RBX: 00007f82b7a80f88 RCX: 00007f82b79501b8 [ 9.615684][ T205] RDX: 00007f82b769afc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.615684][ T205] RBP: 00007ffefdec7570 R08: 0000000000000000 R09: 0000000000000000 [ 9.615685][ T205] R10: 00007ffefdec7330 R11: 0000000000000246 R12: 0000000000000001 [ 9.615686][ T205] R13: 0000000000000000 R14: 00007f82b7a7f680 R15: 00007f82b7a80fa0 [ 9.615693][ T205] [ 9.930915][ T216] gre: GRE over IPv4 demultiplexer driver [ 9.969469][ T216] ip_gre: GRE over IPv4 tunneling driver [ 15.956931][ T252] ip6_gre: GRE over IPv6 tunneling driver [ 15.956948][ T252] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.956950][ T252] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 252, name: modprobe [ 15.956952][ T252] preempt_count: 1, expected: 0 [ 15.956953][ T252] RCU nest depth: 0, expected: 0 [ 15.956953][ T252] locks held by modprobe/252: 4, last CPU#3: [ 15.956956][ T252] #0: ffffffff9b77ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.956966][ T252] #1: ffffffff9b77de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.956971][ T252] #2: ffffffff9b69d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.956975][ T252] #3: ffffffff9b69d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.956979][ T252] irq event stamp: 27776 [ 15.956980][ T252] hardirqs last enabled at (27775): [] __down_trylock_console_sem+0x86/0xa0 [ 15.956983][ T252] hardirqs last disabled at (27776): [] console_emit_next_record+0x3d4/0x4c0 [ 15.956985][ T252] softirqs last enabled at (25558): [] handle_softirqs+0x67c/0x900 [ 15.956988][ T252] softirqs last disabled at (24589): [] __irq_exit_rcu+0x145/0x1c0 [ 15.956991][ T252] Preemption disabled at: [ 15.956991][ T252] [] vprintk_emit+0x31b/0x3e0 [ 15.956996][ T252] CPU: 3 UID: 0 PID: 252 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.957000][ T252] Tainted: [W]=WARN [ 15.957001][ T252] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.957003][ T252] Call Trace: [ 15.957004][ T252] [ 15.957005][ T252] dump_stack_lvl+0x6f/0xa0 [ 15.957011][ T252] ? vprintk_emit+0x31b/0x3e0 [ 15.957013][ T252] __might_resched.cold+0x1fe/0x2c1 [ 15.957017][ T252] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.957021][ T252] ? __kmalloc_noprof+0xdb/0x760 [ 15.957026][ T252] __kmalloc_noprof+0x443/0x760 [ 15.957027][ T252] ? alloc_buf.isra.0+0x4b/0x260 [ 15.957034][ T252] ? do_raw_spin_unlock+0x59/0x250 [ 15.957037][ T252] alloc_buf.isra.0+0x4b/0x260 [ 15.957041][ T252] put_chars+0x1e1/0x2f0 [ 15.957043][ T252] ? __send_to_port+0x420/0x420 [ 15.957044][ T252] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.957047][ T252] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.957050][ T252] ? validate_chain+0x38b/0xc20 [ 15.957055][ T252] hvc_console_print+0x292/0x780 [ 15.957059][ T252] ? __lock_acquire+0x518/0xc20 [ 15.957064][ T252] ? hvc_write+0x3a0/0x3a0 [ 15.957067][ T252] ? rcu_is_watching+0x16/0xd0 [ 15.957071][ T252] console_emit_next_record+0x22f/0x4c0 [ 15.957075][ T252] ? devkmsg_read+0x4b0/0x4b0 [ 15.957077][ T252] ? console_flush_one_record+0x106/0x710 [ 15.957080][ T252] ? rcu_is_watching+0x16/0xd0 [ 15.957082][ T252] ? lock_acquire+0x13c/0x160 [ 15.957085][ T252] console_flush_one_record+0x46f/0x710 [ 15.957089][ T252] ? console_emit_next_record+0x4c0/0x4c0 [ 15.957091][ T252] ? __lock_acquire+0x518/0xc20 [ 15.957096][ T252] console_unlock+0xee/0x1f0 [ 15.957099][ T252] ? console_flush_one_record+0x710/0x710 [ 15.957101][ T252] ? rcu_is_watching+0x16/0xd0 [ 15.957103][ T252] ? lock_acquire+0xe0/0x160 [ 15.957106][ T252] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.957108][ T252] ? vprintk_emit+0x320/0x3e0 [ 15.957111][ T252] vprintk_emit+0x37c/0x3e0 [ 15.957114][ T252] ? wake_up_klogd_work_func+0x90/0x90 [ 15.957119][ T252] ? ip6gre_fini+0xfb0/0xfb0 [ip6_gre] [ 15.957122][ T252] _printk+0xc7/0x100 [ 15.957125][ T252] ? snapshot_read.cold+0x21/0x21 [ 15.957131][ T252] ? do_one_initcall+0x113/0x4f0 [ 15.957135][ T252] ip6gre_init+0x16/0x1000 [ip6_gre] [ 15.957137][ T252] do_one_initcall+0x124/0x4f0 [ 15.957140][ T252] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 15.957144][ T252] ? do_init_module+0xae/0x8a0 [ 15.957147][ T252] ? kasan_unpoison+0x44/0x70 [ 15.957152][ T252] do_init_module+0x2ad/0x8a0 [ 15.957155][ T252] ? lockdep_hardirqs_on+0x91/0x130 [ 15.957159][ T252] ? free_module+0x470/0x470 [ 15.957162][ T252] ? kfree+0x123/0x590 [ 15.957165][ T252] load_module+0x1424/0x1bb0 [ 15.957170][ T252] ? security_kernel_post_read_file+0x2f/0x60 [ 15.957175][ T252] ? layout_and_allocate.isra.0+0x680/0x680 [ 15.957178][ T252] ? __ia32_sys_fsconfig+0x180/0x180 [ 15.957182][ T252] ? backing_file_read_iter+0x541/0x790 [ 15.957186][ T252] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.957189][ T252] init_module_from_file+0x11f/0x1a0 [ 15.957191][ T252] ? __do_sys_init_module+0x270/0x270 [ 15.957198][ T252] ? __rwlock_init+0x150/0x150 [ 15.957202][ T252] ? do_raw_spin_unlock+0x59/0x250 [ 15.957205][ T252] idempotent_init_module+0x37b/0x7c0 [ 15.957207][ T252] ? init_module_from_file+0x1a0/0x1a0 [ 15.957213][ T252] ? cap_capable+0x1d7/0x3d0 [ 15.957215][ T252] ? __x64_sys_pread64+0x18d/0x250 [ 15.957220][ T252] __x64_sys_finit_module+0xdf/0x190 [ 15.957221][ T252] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.957225][ T252] do_syscall_64+0xff/0x530 [ 15.957228][ T252] ? exc_page_fault+0xee/0x100 [ 15.957230][ T252] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.957232][ T252] RIP: 0033:0x7f173ed7b37d [ 15.957235][ T252] 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 [ 15.957237][ T252] RSP: 002b:00007ffd7f08a758 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 15.957240][ T252] RAX: ffffffffffffffda RBX: 0000559a6b852810 RCX: 00007f173ed7b37d [ 15.957241][ T252] RDX: 0000000000000000 RSI: 0000559a4ac75ffd RDI: 0000000000000000 [ 15.957242][ T252] RBP: 00007ffd7f08a7f0 R08: 0000000000000000 R09: 0000000000000000 [ 15.957243][ T252] R10: 0000000000000000 R11: 0000000000000246 R12: 0000559a4ac75ffd [ 15.957243][ T252] R13: 0000559a6b8529a0 R14: 0000000000040000 R15: 0000000000000000 [ 15.957250][ T252] [ 16.010874][ T251] ip (251) used greatest stack depth: 23808 bytes left