[ 10.122815][ T198] ip (198) used greatest stack depth: 23952 bytes left [ 10.122832][ T198] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.122834][ T198] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 198, name: ip [ 10.122835][ T198] preempt_count: 2, expected: 0 [ 10.122836][ T198] RCU nest depth: 0, expected: 0 [ 10.122837][ T198] locks held by ip/198: 5, last CPU#2: [ 10.122839][ T198] #0: ffffffffaea167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.122850][ T198] #1: ffffffffaeb7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.122855][ T198] #2: ffffffffaeb7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.122859][ T198] #3: ffffffffaea9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.122862][ T198] #4: ffffffffaea9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.122866][ T198] irq event stamp: 22988 [ 10.122867][ T198] hardirqs last enabled at (22987): [] __down_trylock_console_sem+0x86/0xa0 [ 10.122870][ T198] hardirqs last disabled at (22988): [] console_emit_next_record+0x3d4/0x4c0 [ 10.122872][ T198] softirqs last enabled at (21394): [] netlink_release+0x17b/0xcf0 [ 10.122876][ T198] softirqs last disabled at (21392): [] netlink_release+0xd2/0xcf0 [ 10.122878][ T198] Preemption disabled at: [ 10.122879][ T198] [<0000000000000000>] 0x0 [ 10.122886][ T198] CPU: 2 UID: 0 PID: 198 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.122889][ T198] Tainted: [W]=WARN [ 10.122890][ T198] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.122891][ T198] Call Trace: [ 10.122893][ T198] [ 10.122894][ T198] dump_stack_lvl+0x6f/0xa0 [ 10.122901][ T198] __might_resched.cold+0x1fe/0x2c1 [ 10.122905][ T198] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.122909][ T198] ? __kmalloc_noprof+0xdb/0x760 [ 10.122913][ T198] __kmalloc_noprof+0x443/0x760 [ 10.122915][ T198] ? alloc_buf.isra.0+0x4b/0x260 [ 10.122921][ T198] ? do_raw_spin_unlock+0x59/0x250 [ 10.122924][ T198] alloc_buf.isra.0+0x4b/0x260 [ 10.122928][ T198] put_chars+0x1e1/0x2f0 [ 10.122930][ T198] ? __send_to_port+0x420/0x420 [ 10.122931][ T198] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.122935][ T198] ? validate_chain+0x38b/0xc20 [ 10.122940][ T198] hvc_console_print+0x292/0x780 [ 10.122947][ T198] ? hvc_write+0x3a0/0x3a0 [ 10.122950][ T198] ? rcu_is_watching+0x16/0xd0 [ 10.122952][ T198] ? lock_acquire+0x13c/0x160 [ 10.122956][ T198] console_emit_next_record+0x22f/0x4c0 [ 10.122960][ T198] ? devkmsg_read+0x4b0/0x4b0 [ 10.122962][ T198] ? console_flush_one_record+0x106/0x710 [ 10.122965][ T198] ? rcu_is_watching+0x16/0xd0 [ 10.122966][ T198] ? lock_acquire+0x13c/0x160 [ 10.122970][ T198] console_flush_one_record+0x46f/0x710 [ 10.122974][ T198] ? console_emit_next_record+0x4c0/0x4c0 [ 10.122976][ T198] ? __lock_acquire+0x518/0xc20 [ 10.122981][ T198] console_unlock+0xee/0x1f0 [ 10.122984][ T198] ? console_flush_one_record+0x710/0x710 [ 10.122986][ T198] ? rcu_is_watching+0x16/0xd0 [ 10.122988][ T198] ? lock_acquire+0xe0/0x160 [ 10.122991][ T198] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.122993][ T198] ? vprintk_emit+0x320/0x3e0 [ 10.122996][ T198] vprintk_emit+0x37c/0x3e0 [ 10.122999][ T198] ? wake_up_klogd_work_func+0x90/0x90 [ 10.123001][ T198] ? __lock_acquire+0x518/0xc20 [ 10.123005][ T198] _printk+0xc7/0x100 [ 10.123009][ T198] ? snapshot_read.cold+0x21/0x21 [ 10.123011][ T198] ? do_raw_spin_lock+0x131/0x280 [ 10.123014][ T198] ? __rwlock_init+0x150/0x150 [ 10.123018][ T198] ? do_raw_spin_lock+0x131/0x280 [ 10.123020][ T198] do_exit.cold+0x82/0x9c [ 10.123024][ T198] ? exit_notify+0x890/0x890 [ 10.123025][ T198] ? __lock_release.isra.0+0x69/0x1a0 [ 10.123028][ T198] ? rcu_is_watching+0x16/0xd0 [ 10.123032][ T198] do_group_exit+0xb8/0x370 [ 10.123034][ T198] __x64_sys_exit_group+0x3c/0x50 [ 10.123036][ T198] x64_sys_call+0x1567/0x1570 [ 10.123039][ T198] do_syscall_64+0xff/0x530 [ 10.123043][ T198] ? exc_page_fault+0xee/0x100 [ 10.123046][ T198] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.123048][ T198] RIP: 0033:0x7fca13e851b8 [ 10.123050][ T198] Code: Unable to access opcode bytes at 0x7fca13e8518e. [ 10.123051][ T198] RSP: 002b:00007fffece45ac8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.123053][ T198] RAX: ffffffffffffffda RBX: 00007fca13fb5f88 RCX: 00007fca13e851b8 [ 10.123054][ T198] RDX: 00007fca13bcffc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.123055][ T198] RBP: 00007fffece45b20 R08: 0000000000000000 R09: 0000000000000050 [ 10.123056][ T198] R10: 00007fffece458e0 R11: 0000000000000246 R12: 0000000000000001 [ 10.123057][ T198] R13: 0000000000000000 R14: 00007fca13fb4680 R15: 00007fca13fb5fa0 [ 10.123063][ T198] [ 10.378554][ T205] gre: GRE over IPv4 demultiplexer driver [ 10.407999][ T205] ip_gre: GRE over IPv4 tunneling driver [ 22.724427][ T699] ip6_gre: GRE over IPv6 tunneling driver [ 22.724444][ T699] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 22.724446][ T699] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 699, name: modprobe [ 22.724448][ T699] preempt_count: 1, expected: 0 [ 22.724448][ T699] RCU nest depth: 0, expected: 0 [ 22.724449][ T699] locks held by modprobe/699: 4, last CPU#3: [ 22.724451][ T699] #0: ffffffffaeb7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 22.724462][ T699] #1: ffffffffaeb7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 22.724467][ T699] #2: ffffffffaea9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 22.724471][ T699] #3: ffffffffaea9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 22.724475][ T699] irq event stamp: 32130 [ 22.724476][ T699] hardirqs last enabled at (32129): [] __down_trylock_console_sem+0x86/0xa0 [ 22.724479][ T699] hardirqs last disabled at (32130): [] console_emit_next_record+0x3d4/0x4c0 [ 22.724481][ T699] softirqs last enabled at (23948): [] handle_softirqs+0x67c/0x900 [ 22.724484][ T699] softirqs last disabled at (23419): [] __irq_exit_rcu+0x145/0x1c0 [ 22.724487][ T699] Preemption disabled at: [ 22.724487][ T699] [] vprintk_emit+0x31b/0x3e0 [ 22.724492][ T699] CPU: 3 UID: 0 PID: 699 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 22.724495][ T699] Tainted: [W]=WARN [ 22.724496][ T699] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.724498][ T699] Call Trace: [ 22.724499][ T699] [ 22.724501][ T699] dump_stack_lvl+0x6f/0xa0 [ 22.724507][ T699] ? vprintk_emit+0x31b/0x3e0 [ 22.724508][ T699] __might_resched.cold+0x1fe/0x2c1 [ 22.724512][ T699] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 22.724516][ T699] ? __kmalloc_noprof+0xdb/0x760 [ 22.724520][ T699] __kmalloc_noprof+0x443/0x760 [ 22.724522][ T699] ? alloc_buf.isra.0+0x4b/0x260 [ 22.724529][ T699] ? do_raw_spin_unlock+0x59/0x250 [ 22.724531][ T699] alloc_buf.isra.0+0x4b/0x260 [ 22.724535][ T699] put_chars+0x1e1/0x2f0 [ 22.724537][ T699] ? __send_to_port+0x420/0x420 [ 22.724538][ T699] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 22.724542][ T699] ? rcu_read_lock_any_held+0x3c/0x90 [ 22.724545][ T699] ? validate_chain+0x38b/0xc20 [ 22.724549][ T699] hvc_console_print+0x292/0x780 [ 22.724553][ T699] ? __lock_acquire+0x518/0xc20 [ 22.724558][ T699] ? hvc_write+0x3a0/0x3a0 [ 22.724561][ T699] ? rcu_is_watching+0x16/0xd0 [ 22.724565][ T699] console_emit_next_record+0x22f/0x4c0 [ 22.724569][ T699] ? devkmsg_read+0x4b0/0x4b0 [ 22.724571][ T699] ? console_flush_one_record+0x106/0x710 [ 22.724574][ T699] ? rcu_is_watching+0x16/0xd0 [ 22.724576][ T699] ? lock_acquire+0x13c/0x160 [ 22.724579][ T699] console_flush_one_record+0x46f/0x710 [ 22.724583][ T699] ? console_emit_next_record+0x4c0/0x4c0 [ 22.724585][ T699] ? __lock_acquire+0x518/0xc20 [ 22.724590][ T699] console_unlock+0xee/0x1f0 [ 22.724593][ T699] ? console_flush_one_record+0x710/0x710 [ 22.724595][ T699] ? rcu_is_watching+0x16/0xd0 [ 22.724596][ T699] ? lock_acquire+0xe0/0x160 [ 22.724600][ T699] ? __down_trylock_console_sem+0x5e/0xa0 [ 22.724602][ T699] ? vprintk_emit+0x320/0x3e0 [ 22.724604][ T699] vprintk_emit+0x37c/0x3e0 [ 22.724608][ T699] ? wake_up_klogd_work_func+0x90/0x90 [ 22.724612][ T699] ? ip6gre_fini+0xfb0/0xfb0 [ip6_gre] [ 22.724616][ T699] _printk+0xc7/0x100 [ 22.724619][ T699] ? snapshot_read.cold+0x21/0x21 [ 22.724625][ T699] ? do_one_initcall+0x113/0x4f0 [ 22.724628][ T699] ip6gre_init+0x16/0x1000 [ip6_gre] [ 22.724631][ T699] do_one_initcall+0x124/0x4f0 [ 22.724634][ T699] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 22.724638][ T699] ? do_init_module+0xae/0x8a0 [ 22.724641][ T699] ? kasan_unpoison+0x44/0x70 [ 22.724646][ T699] do_init_module+0x2ad/0x8a0 [ 22.724649][ T699] ? lockdep_hardirqs_on+0x91/0x130 [ 22.724653][ T699] ? free_module+0x470/0x470 [ 22.724656][ T699] ? kfree+0x123/0x590 [ 22.724659][ T699] load_module+0x1424/0x1bb0 [ 22.724664][ T699] ? security_kernel_post_read_file+0x2f/0x60 [ 22.724669][ T699] ? layout_and_allocate.isra.0+0x680/0x680 [ 22.724672][ T699] ? __ia32_sys_fsconfig+0x180/0x180 [ 22.724676][ T699] ? backing_file_read_iter+0x541/0x790 [ 22.724680][ T699] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 22.724683][ T699] init_module_from_file+0x11f/0x1a0 [ 22.724685][ T699] ? __do_sys_init_module+0x270/0x270 [ 22.724693][ T699] ? __rwlock_init+0x150/0x150 [ 22.724696][ T699] ? do_raw_spin_unlock+0x59/0x250 [ 22.724699][ T699] idempotent_init_module+0x37b/0x7c0 [ 22.724702][ T699] ? init_module_from_file+0x1a0/0x1a0 [ 22.724707][ T699] ? cap_capable+0x1d7/0x3d0 [ 22.724709][ T699] ? __x64_sys_pread64+0x18d/0x250 [ 22.724715][ T699] __x64_sys_finit_module+0xdf/0x190 [ 22.724716][ T699] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 22.724720][ T699] do_syscall_64+0xff/0x530 [ 22.724723][ T699] ? exc_page_fault+0xee/0x100 [ 22.724725][ T699] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.724727][ T699] RIP: 0033:0x7f0595ca237d [ 22.724731][ T699] 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 [ 22.724733][ T699] RSP: 002b:00007fffeb961c58 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 22.724735][ T699] RAX: ffffffffffffffda RBX: 000055a62cc28810 RCX: 00007f0595ca237d [ 22.724736][ T699] RDX: 0000000000000000 RSI: 000055a61d7c5ffd RDI: 0000000000000000 [ 22.724737][ T699] RBP: 00007fffeb961cf0 R08: 0000000000000000 R09: 0000000000000000 [ 22.724738][ T699] R10: 0000000000000000 R11: 0000000000000246 R12: 000055a61d7c5ffd [ 22.724739][ T699] R13: 000055a62cc289a0 R14: 0000000000040000 R15: 0000000000000000 [ 22.724749][ T699]