[ 9.076662][ T198] ip (198) used greatest stack depth: 24360 bytes left [ 9.076677][ T198] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.076679][ T198] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 198, name: ip [ 9.076680][ T198] preempt_count: 2, expected: 0 [ 9.076681][ T198] RCU nest depth: 0, expected: 0 [ 9.076682][ T198] locks held by ip/198: 5, last CPU#3: [ 9.076684][ T198] #0: ffffffffb12167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.076695][ T198] #1: ffffffffb137ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.076700][ T198] #2: ffffffffb137de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.076704][ T198] #3: ffffffffb129d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.076707][ T198] #4: ffffffffb129d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.076711][ T198] irq event stamp: 23036 [ 9.076712][ T198] hardirqs last enabled at (23035): [] __down_trylock_console_sem+0x86/0xa0 [ 9.076715][ T198] hardirqs last disabled at (23036): [] console_emit_next_record+0x3d4/0x4c0 [ 9.076717][ T198] softirqs last enabled at (22792): [] handle_softirqs+0x67c/0x900 [ 9.076719][ T198] softirqs last disabled at (22787): [] __irq_exit_rcu+0x145/0x1c0 [ 9.076722][ T198] Preemption disabled at: [ 9.076722][ T198] [<0000000000000000>] 0x0 [ 9.076728][ T198] CPU: 3 UID: 0 PID: 198 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.076732][ T198] Tainted: [W]=WARN [ 9.076733][ T198] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.076734][ T198] Call Trace: [ 9.076736][ T198] [ 9.076737][ T198] dump_stack_lvl+0x6f/0xa0 [ 9.076744][ T198] __might_resched.cold+0x1fe/0x2c1 [ 9.076748][ T198] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.076752][ T198] ? __kmalloc_noprof+0xdb/0x760 [ 9.076757][ T198] __kmalloc_noprof+0x443/0x760 [ 9.076759][ T198] ? alloc_buf.isra.0+0x4b/0x260 [ 9.076765][ T198] ? do_raw_spin_unlock+0x59/0x250 [ 9.076768][ T198] alloc_buf.isra.0+0x4b/0x260 [ 9.076772][ T198] put_chars+0x1e1/0x2f0 [ 9.076774][ T198] ? __send_to_port+0x420/0x420 [ 9.076775][ T198] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.076779][ T198] ? validate_chain+0x38b/0xc20 [ 9.076784][ T198] hvc_console_print+0x292/0x780 [ 9.076792][ T198] ? hvc_write+0x3a0/0x3a0 [ 9.076794][ T198] ? rcu_is_watching+0x16/0xd0 [ 9.076796][ T198] ? lock_acquire+0x13c/0x160 [ 9.076800][ T198] console_emit_next_record+0x22f/0x4c0 [ 9.076804][ T198] ? devkmsg_read+0x4b0/0x4b0 [ 9.076806][ T198] ? console_flush_one_record+0x106/0x710 [ 9.076809][ T198] ? rcu_is_watching+0x16/0xd0 [ 9.076811][ T198] ? lock_acquire+0x13c/0x160 [ 9.076815][ T198] console_flush_one_record+0x46f/0x710 [ 9.076819][ T198] ? console_emit_next_record+0x4c0/0x4c0 [ 9.076821][ T198] ? __lock_acquire+0x518/0xc20 [ 9.076826][ T198] console_unlock+0xee/0x1f0 [ 9.076829][ T198] ? console_flush_one_record+0x710/0x710 [ 9.076831][ T198] ? rcu_is_watching+0x16/0xd0 [ 9.076832][ T198] ? lock_acquire+0xe0/0x160 [ 9.076836][ T198] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.076838][ T198] ? vprintk_emit+0x320/0x3e0 [ 9.076840][ T198] vprintk_emit+0x37c/0x3e0 [ 9.076844][ T198] ? wake_up_klogd_work_func+0x90/0x90 [ 9.076846][ T198] ? __lock_acquire+0x518/0xc20 [ 9.076850][ T198] _printk+0xc7/0x100 [ 9.076854][ T198] ? snapshot_read.cold+0x21/0x21 [ 9.076857][ T198] ? do_raw_spin_lock+0x131/0x280 [ 9.076859][ T198] ? __rwlock_init+0x150/0x150 [ 9.076863][ T198] ? do_raw_spin_lock+0x131/0x280 [ 9.076866][ T198] do_exit.cold+0x82/0x9c [ 9.076870][ T198] ? exit_notify+0x890/0x890 [ 9.076871][ T198] ? __lock_release.isra.0+0x69/0x1a0 [ 9.076874][ T198] ? rcu_is_watching+0x16/0xd0 [ 9.076877][ T198] do_group_exit+0xb8/0x370 [ 9.076880][ T198] __x64_sys_exit_group+0x3c/0x50 [ 9.076882][ T198] x64_sys_call+0x1567/0x1570 [ 9.076884][ T198] do_syscall_64+0xff/0x530 [ 9.076888][ T198] ? exc_page_fault+0xee/0x100 [ 9.076891][ T198] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.076893][ T198] RIP: 0033:0x7fa4cb0531b8 [ 9.076895][ T198] Code: Unable to access opcode bytes at 0x7fa4cb05318e. [ 9.076896][ T198] RSP: 002b:00007ffcb01a2298 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.076898][ T198] RAX: ffffffffffffffda RBX: 00007fa4cb183f88 RCX: 00007fa4cb0531b8 [ 9.076899][ T198] RDX: 00007fa4cad9dfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.076900][ T198] RBP: 00007ffcb01a22f0 R08: 0000000000000000 R09: 0000000000000050 [ 9.076901][ T198] R10: 00007ffcb01a20b0 R11: 0000000000000246 R12: 0000000000000001 [ 9.076902][ T198] R13: 0000000000000000 R14: 00007fa4cb182680 R15: 00007fa4cb183fa0 [ 9.076909][ T198] [ 9.376479][ T206] ip (206) used greatest stack depth: 24160 bytes left [ 9.661842][ T217] gre: GRE over IPv4 demultiplexer driver [ 9.700402][ T217] ip_gre: GRE over IPv4 tunneling driver [ 15.585018][ T254] ip6_gre: GRE over IPv6 tunneling driver [ 15.585035][ T254] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.585038][ T254] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 254, name: modprobe [ 15.585039][ T254] preempt_count: 1, expected: 0 [ 15.585040][ T254] RCU nest depth: 0, expected: 0 [ 15.585041][ T254] locks held by modprobe/254: 4, last CPU#2: [ 15.585043][ T254] #0: ffffffffb137ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.585054][ T254] #1: ffffffffb137de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.585059][ T254] #2: ffffffffb129d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.585063][ T254] #3: ffffffffb129d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.585067][ T254] irq event stamp: 21200 [ 15.585068][ T254] hardirqs last enabled at (21199): [] __down_trylock_console_sem+0x86/0xa0 [ 15.585071][ T254] hardirqs last disabled at (21200): [] console_emit_next_record+0x3d4/0x4c0 [ 15.585073][ T254] softirqs last enabled at (18174): [] handle_softirqs+0x67c/0x900 [ 15.585077][ T254] softirqs last disabled at (17029): [] __irq_exit_rcu+0x145/0x1c0 [ 15.585079][ T254] Preemption disabled at: [ 15.585080][ T254] [] vprintk_emit+0x31b/0x3e0 [ 15.585085][ T254] CPU: 2 UID: 0 PID: 254 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.585088][ T254] Tainted: [W]=WARN [ 15.585089][ T254] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.585091][ T254] Call Trace: [ 15.585093][ T254] [ 15.585094][ T254] dump_stack_lvl+0x6f/0xa0 [ 15.585100][ T254] ? vprintk_emit+0x31b/0x3e0 [ 15.585101][ T254] __might_resched.cold+0x1fe/0x2c1 [ 15.585105][ T254] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.585109][ T254] ? __kmalloc_noprof+0xdb/0x760 [ 15.585114][ T254] __kmalloc_noprof+0x443/0x760 [ 15.585115][ T254] ? alloc_buf.isra.0+0x4b/0x260 [ 15.585122][ T254] ? do_raw_spin_unlock+0x59/0x250 [ 15.585124][ T254] alloc_buf.isra.0+0x4b/0x260 [ 15.585128][ T254] put_chars+0x1e1/0x2f0 [ 15.585131][ T254] ? __send_to_port+0x420/0x420 [ 15.585132][ T254] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.585135][ T254] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.585138][ T254] ? validate_chain+0x38b/0xc20 [ 15.585143][ T254] hvc_console_print+0x292/0x780 [ 15.585147][ T254] ? __lock_acquire+0x518/0xc20 [ 15.585151][ T254] ? hvc_write+0x3a0/0x3a0 [ 15.585154][ T254] ? rcu_is_watching+0x16/0xd0 [ 15.585159][ T254] console_emit_next_record+0x22f/0x4c0 [ 15.585163][ T254] ? devkmsg_read+0x4b0/0x4b0 [ 15.585164][ T254] ? console_flush_one_record+0x106/0x710 [ 15.585168][ T254] ? rcu_is_watching+0x16/0xd0 [ 15.585169][ T254] ? lock_acquire+0x13c/0x160 [ 15.585173][ T254] console_flush_one_record+0x46f/0x710 [ 15.585177][ T254] ? console_emit_next_record+0x4c0/0x4c0 [ 15.585179][ T254] ? __lock_acquire+0x518/0xc20 [ 15.585184][ T254] console_unlock+0xee/0x1f0 [ 15.585187][ T254] ? console_flush_one_record+0x710/0x710 [ 15.585189][ T254] ? rcu_is_watching+0x16/0xd0 [ 15.585190][ T254] ? lock_acquire+0xe0/0x160 [ 15.585194][ T254] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.585196][ T254] ? vprintk_emit+0x320/0x3e0 [ 15.585198][ T254] vprintk_emit+0x37c/0x3e0 [ 15.585202][ T254] ? wake_up_klogd_work_func+0x90/0x90 [ 15.585206][ T254] ? ip6gre_fini+0xf40/0xf40 [ip6_gre] [ 15.585209][ T254] _printk+0xc7/0x100 [ 15.585213][ T254] ? snapshot_read.cold+0x21/0x21 [ 15.585219][ T254] ? do_one_initcall+0x113/0x4f0 [ 15.585222][ T254] ip6gre_init+0x16/0x1000 [ip6_gre] [ 15.585225][ T254] do_one_initcall+0x124/0x4f0 [ 15.585228][ T254] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 15.585232][ T254] ? do_init_module+0xae/0x8a0 [ 15.585235][ T254] ? kasan_unpoison+0x44/0x70 [ 15.585240][ T254] do_init_module+0x2ad/0x8a0 [ 15.585243][ T254] ? lockdep_hardirqs_on+0x91/0x130 [ 15.585247][ T254] ? free_module+0x470/0x470 [ 15.585250][ T254] ? kfree+0x123/0x590 [ 15.585253][ T254] load_module+0x1424/0x1bb0 [ 15.585258][ T254] ? security_kernel_post_read_file+0x2f/0x60 [ 15.585263][ T254] ? layout_and_allocate.isra.0+0x680/0x680 [ 15.585266][ T254] ? __ia32_sys_fsconfig+0x180/0x180 [ 15.585270][ T254] ? backing_file_read_iter+0x541/0x790 [ 15.585274][ T254] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.585277][ T254] init_module_from_file+0x11f/0x1a0 [ 15.585280][ T254] ? __do_sys_init_module+0x270/0x270 [ 15.585287][ T254] ? __rwlock_init+0x150/0x150 [ 15.585291][ T254] ? do_raw_spin_unlock+0x59/0x250 [ 15.585294][ T254] idempotent_init_module+0x37b/0x7c0 [ 15.585297][ T254] ? init_module_from_file+0x1a0/0x1a0 [ 15.585302][ T254] ? cap_capable+0x1d7/0x3d0 [ 15.585304][ T254] ? __x64_sys_pread64+0x18d/0x250 [ 15.585310][ T254] __x64_sys_finit_module+0xdf/0x190 [ 15.585311][ T254] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.585315][ T254] do_syscall_64+0xff/0x530 [ 15.585318][ T254] ? exc_page_fault+0xee/0x100 [ 15.585320][ T254] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.585322][ T254] RIP: 0033:0x7fdfb243f37d [ 15.585325][ T254] 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.585327][ T254] RSP: 002b:00007fff1e49c918 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 15.585329][ T254] RAX: ffffffffffffffda RBX: 000055d8593a6810 RCX: 00007fdfb243f37d [ 15.585331][ T254] RDX: 0000000000000000 RSI: 000055d844677ffd RDI: 0000000000000000 [ 15.585331][ T254] RBP: 00007fff1e49c9b0 R08: 0000000000000000 R09: 0000000000000000 [ 15.585332][ T254] R10: 0000000000000000 R11: 0000000000000246 R12: 000055d844677ffd [ 15.585333][ T254] R13: 000055d8593a69a0 R14: 0000000000040000 R15: 0000000000000000 [ 15.585340][ T254]