[ 9.537979][ T205] ip (205) used greatest stack depth: 24544 bytes left [ 9.537993][ T205] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.537995][ T205] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 205, name: ip [ 9.537996][ T205] preempt_count: 2, expected: 0 [ 9.537997][ T205] RCU nest depth: 0, expected: 0 [ 9.537998][ T205] locks held by ip/205: 5, last CPU#0: [ 9.538000][ T205] #0: ffffffffbbc167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.538011][ T205] #1: ffffffffbbd7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.538016][ T205] #2: ffffffffbbd7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.538020][ T205] #3: ffffffffbbc9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.538024][ T205] #4: ffffffffbbc9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.538028][ T205] irq event stamp: 33814 [ 9.538029][ T205] hardirqs last enabled at (33813): [] __down_trylock_console_sem+0x86/0xa0 [ 9.538032][ T205] hardirqs last disabled at (33814): [] console_emit_next_record+0x3d4/0x4c0 [ 9.538034][ T205] softirqs last enabled at (33434): [] handle_softirqs+0x67c/0x900 [ 9.538036][ T205] softirqs last disabled at (33425): [] __irq_exit_rcu+0x145/0x1c0 [ 9.538039][ T205] Preemption disabled at: [ 9.538040][ T205] [<0000000000000000>] 0x0 [ 9.538047][ T205] CPU: 0 UID: 0 PID: 205 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.538050][ T205] Tainted: [W]=WARN [ 9.538051][ T205] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.538052][ T205] Call Trace: [ 9.538054][ T205] [ 9.538055][ T205] dump_stack_lvl+0x6f/0xa0 [ 9.538062][ T205] __might_resched.cold+0x1fe/0x2c1 [ 9.538066][ T205] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.538070][ T205] ? __kmalloc_noprof+0xdb/0x760 [ 9.538074][ T205] __kmalloc_noprof+0x443/0x760 [ 9.538076][ T205] ? alloc_buf.isra.0+0x4b/0x260 [ 9.538083][ T205] ? do_raw_spin_unlock+0x59/0x250 [ 9.538086][ T205] alloc_buf.isra.0+0x4b/0x260 [ 9.538089][ T205] put_chars+0x1e1/0x2f0 [ 9.538092][ T205] ? __send_to_port+0x420/0x420 [ 9.538093][ T205] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.538096][ T205] ? validate_chain+0x38b/0xc20 [ 9.538102][ T205] hvc_console_print+0x292/0x780 [ 9.538109][ T205] ? hvc_write+0x3a0/0x3a0 [ 9.538112][ T205] ? rcu_is_watching+0x16/0xd0 [ 9.538114][ T205] ? lock_acquire+0x13c/0x160 [ 9.538118][ T205] console_emit_next_record+0x22f/0x4c0 [ 9.538122][ T205] ? devkmsg_read+0x4b0/0x4b0 [ 9.538124][ T205] ? console_flush_one_record+0x106/0x710 [ 9.538127][ T205] ? rcu_is_watching+0x16/0xd0 [ 9.538128][ T205] ? lock_acquire+0x13c/0x160 [ 9.538132][ T205] console_flush_one_record+0x46f/0x710 [ 9.538137][ T205] ? console_emit_next_record+0x4c0/0x4c0 [ 9.538138][ T205] ? __lock_acquire+0x518/0xc20 [ 9.538144][ T205] console_unlock+0xee/0x1f0 [ 9.538147][ T205] ? console_flush_one_record+0x710/0x710 [ 9.538148][ T205] ? rcu_is_watching+0x16/0xd0 [ 9.538150][ T205] ? lock_acquire+0xe0/0x160 [ 9.538154][ T205] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.538156][ T205] ? vprintk_emit+0x320/0x3e0 [ 9.538158][ T205] vprintk_emit+0x37c/0x3e0 [ 9.538161][ T205] ? wake_up_klogd_work_func+0x90/0x90 [ 9.538164][ T205] ? __lock_acquire+0x518/0xc20 [ 9.538168][ T205] _printk+0xc7/0x100 [ 9.538172][ T205] ? snapshot_read.cold+0x21/0x21 [ 9.538174][ T205] ? do_raw_spin_lock+0x131/0x280 [ 9.538177][ T205] ? __rwlock_init+0x150/0x150 [ 9.538181][ T205] ? do_raw_spin_lock+0x131/0x280 [ 9.538184][ T205] do_exit.cold+0x82/0x9c [ 9.538187][ T205] ? exit_notify+0x890/0x890 [ 9.538189][ T205] ? __lock_release.isra.0+0x69/0x1a0 [ 9.538191][ T205] ? rcu_is_watching+0x16/0xd0 [ 9.538195][ T205] do_group_exit+0xb8/0x370 [ 9.538198][ T205] __x64_sys_exit_group+0x3c/0x50 [ 9.538200][ T205] x64_sys_call+0x1567/0x1570 [ 9.538202][ T205] do_syscall_64+0xff/0x530 [ 9.538206][ T205] ? exc_page_fault+0xee/0x100 [ 9.538209][ T205] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.538211][ T205] RIP: 0033:0x7ff0bbb531b8 [ 9.538213][ T205] Code: Unable to access opcode bytes at 0x7ff0bbb5318e. [ 9.538214][ T205] RSP: 002b:00007ffcc232ccf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.538216][ T205] RAX: ffffffffffffffda RBX: 00007ff0bbc83f88 RCX: 00007ff0bbb531b8 [ 9.538218][ T205] RDX: 00007ff0bb89dfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.538219][ T205] RBP: 00007ffcc232cd50 R08: 0000000000000000 R09: 0000000000000000 [ 9.538220][ T205] R10: 00007ffcc232cb10 R11: 0000000000000246 R12: 0000000000000001 [ 9.538220][ T205] R13: 0000000000000000 R14: 00007ff0bbc82680 R15: 00007ff0bbc83fa0 [ 9.538227][ T205] [ 9.852132][ T215] gre: GRE over IPv4 demultiplexer driver [ 9.874158][ T215] ip_gre: GRE over IPv4 tunneling driver [ 15.883444][ T251] ip6_gre: GRE over IPv6 tunneling driver [ 15.883461][ T251] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.883463][ T251] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 251, name: modprobe [ 15.883464][ T251] preempt_count: 1, expected: 0 [ 15.883465][ T251] RCU nest depth: 0, expected: 0 [ 15.883466][ T251] locks held by modprobe/251: 4, last CPU#0: [ 15.883468][ T251] #0: ffffffffbbd7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.883480][ T251] #1: ffffffffbbd7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.883484][ T251] #2: ffffffffbbc9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.883489][ T251] #3: ffffffffbbc9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.883493][ T251] irq event stamp: 23188 [ 15.883494][ T251] hardirqs last enabled at (23187): [] __down_trylock_console_sem+0x86/0xa0 [ 15.883497][ T251] hardirqs last disabled at (23188): [] console_emit_next_record+0x3d4/0x4c0 [ 15.883499][ T251] softirqs last enabled at (23022): [] handle_softirqs+0x67c/0x900 [ 15.883503][ T251] softirqs last disabled at (23015): [] __irq_exit_rcu+0x145/0x1c0 [ 15.883505][ T251] Preemption disabled at: [ 15.883506][ T251] [] vprintk_emit+0x31b/0x3e0 [ 15.883510][ T251] CPU: 0 UID: 0 PID: 251 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.883514][ T251] Tainted: [W]=WARN [ 15.883515][ T251] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.883517][ T251] Call Trace: [ 15.883518][ T251] [ 15.883520][ T251] dump_stack_lvl+0x6f/0xa0 [ 15.883525][ T251] ? vprintk_emit+0x31b/0x3e0 [ 15.883527][ T251] __might_resched.cold+0x1fe/0x2c1 [ 15.883531][ T251] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.883535][ T251] ? __kmalloc_noprof+0xdb/0x760 [ 15.883540][ T251] __kmalloc_noprof+0x443/0x760 [ 15.883542][ T251] ? alloc_buf.isra.0+0x4b/0x260 [ 15.883548][ T251] ? do_raw_spin_unlock+0x59/0x250 [ 15.883551][ T251] alloc_buf.isra.0+0x4b/0x260 [ 15.883555][ T251] put_chars+0x1e1/0x2f0 [ 15.883557][ T251] ? __send_to_port+0x420/0x420 [ 15.883558][ T251] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.883562][ T251] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.883565][ T251] ? validate_chain+0x38b/0xc20 [ 15.883570][ T251] hvc_console_print+0x292/0x780 [ 15.883573][ T251] ? __lock_acquire+0x518/0xc20 [ 15.883578][ T251] ? hvc_write+0x3a0/0x3a0 [ 15.883581][ T251] ? rcu_is_watching+0x16/0xd0 [ 15.883586][ T251] console_emit_next_record+0x22f/0x4c0 [ 15.883590][ T251] ? devkmsg_read+0x4b0/0x4b0 [ 15.883592][ T251] ? console_flush_one_record+0x106/0x710 [ 15.883595][ T251] ? rcu_is_watching+0x16/0xd0 [ 15.883597][ T251] ? lock_acquire+0x13c/0x160 [ 15.883601][ T251] console_flush_one_record+0x46f/0x710 [ 15.883605][ T251] ? console_emit_next_record+0x4c0/0x4c0 [ 15.883607][ T251] ? __lock_acquire+0x518/0xc20 [ 15.883612][ T251] console_unlock+0xee/0x1f0 [ 15.883615][ T251] ? console_flush_one_record+0x710/0x710 [ 15.883616][ T251] ? rcu_is_watching+0x16/0xd0 [ 15.883618][ T251] ? lock_acquire+0xe0/0x160 [ 15.883622][ T251] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.883623][ T251] ? vprintk_emit+0x320/0x3e0 [ 15.883626][ T251] vprintk_emit+0x37c/0x3e0 [ 15.883630][ T251] ? wake_up_klogd_work_func+0x90/0x90 [ 15.883635][ T251] ? ip6gre_fini+0xf40/0xf40 [ip6_gre] [ 15.883638][ T251] _printk+0xc7/0x100 [ 15.883641][ T251] ? snapshot_read.cold+0x21/0x21 [ 15.883647][ T251] ? do_one_initcall+0x113/0x4f0 [ 15.883651][ T251] ip6gre_init+0x16/0x1000 [ip6_gre] [ 15.883653][ T251] do_one_initcall+0x124/0x4f0 [ 15.883656][ T251] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 15.883661][ T251] ? do_init_module+0xae/0x8a0 [ 15.883663][ T251] ? kasan_unpoison+0x44/0x70 [ 15.883669][ T251] do_init_module+0x2ad/0x8a0 [ 15.883672][ T251] ? lockdep_hardirqs_on+0x91/0x130 [ 15.883675][ T251] ? free_module+0x470/0x470 [ 15.883678][ T251] ? kfree+0x123/0x590 [ 15.883681][ T251] load_module+0x1424/0x1bb0 [ 15.883686][ T251] ? security_kernel_post_read_file+0x2f/0x60 [ 15.883691][ T251] ? layout_and_allocate.isra.0+0x680/0x680 [ 15.883694][ T251] ? __ia32_sys_fsconfig+0x180/0x180 [ 15.883698][ T251] ? backing_file_read_iter+0x541/0x790 [ 15.883702][ T251] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.883705][ T251] init_module_from_file+0x11f/0x1a0 [ 15.883707][ T251] ? __do_sys_init_module+0x270/0x270 [ 15.883714][ T251] ? __rwlock_init+0x150/0x150 [ 15.883718][ T251] ? do_raw_spin_unlock+0x59/0x250 [ 15.883721][ T251] idempotent_init_module+0x37b/0x7c0 [ 15.883724][ T251] ? init_module_from_file+0x1a0/0x1a0 [ 15.883729][ T251] ? cap_capable+0x1d7/0x3d0 [ 15.883731][ T251] ? __x64_sys_pread64+0x18d/0x250 [ 15.883736][ T251] __x64_sys_finit_module+0xdf/0x190 [ 15.883738][ T251] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.883742][ T251] do_syscall_64+0xff/0x530 [ 15.883745][ T251] ? exc_page_fault+0xee/0x100 [ 15.883747][ T251] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.883750][ T251] RIP: 0033:0x7f29e68ee37d [ 15.883752][ T251] 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.883754][ T251] RSP: 002b:00007ffd27e73e58 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 15.883757][ T251] RAX: ffffffffffffffda RBX: 000055711c42f810 RCX: 00007f29e68ee37d [ 15.883758][ T251] RDX: 0000000000000000 RSI: 0000557107973ffd RDI: 0000000000000000 [ 15.883759][ T251] RBP: 00007ffd27e73ef0 R08: 0000000000000000 R09: 0000000000000000 [ 15.883760][ T251] R10: 0000000000000000 R11: 0000000000000246 R12: 0000557107973ffd [ 15.883761][ T251] R13: 000055711c42f9a0 R14: 0000000000040000 R15: 0000000000000000 [ 15.883767][ T251]