[ 9.292207][ T176] ip (176) used greatest stack depth: 24056 bytes left [ 9.292223][ T176] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.292225][ T176] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 176, name: ip [ 9.292226][ T176] preempt_count: 2, expected: 0 [ 9.292227][ T176] RCU nest depth: 0, expected: 0 [ 9.292228][ T176] locks held by ip/176: 5, last CPU#2: [ 9.292230][ T176] #0: ffffffff99402f58 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x8e7/0xef0 [ 9.292242][ T176] #1: ffffffff9956a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.292247][ T176] #2: ffffffff9956a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.292250][ T176] #3: ffffffff99489de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.292253][ T176] #4: ffffffff99489ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.292256][ T176] irq event stamp: 30472 [ 9.292257][ T176] hardirqs last enabled at (30471): [] __down_trylock_console_sem+0x86/0xa0 [ 9.292260][ T176] hardirqs last disabled at (30472): [] console_emit_next_record+0x3d4/0x4c0 [ 9.292262][ T176] softirqs last enabled at (30270): [] handle_softirqs+0x67c/0x900 [ 9.292265][ T176] softirqs last disabled at (29003): [] __irq_exit_rcu+0x145/0x1c0 [ 9.292267][ T176] Preemption disabled at: [ 9.292268][ T176] [<0000000000000000>] 0x0 [ 9.292275][ T176] CPU: 2 UID: 0 PID: 176 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.292278][ T176] Tainted: [W]=WARN [ 9.292279][ T176] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.292281][ T176] Call Trace: [ 9.292282][ T176] [ 9.292284][ T176] dump_stack_lvl+0x6f/0xa0 [ 9.292289][ T176] __might_resched.cold+0x1fe/0x2c1 [ 9.292293][ T176] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.292297][ T176] ? __kmalloc_noprof+0xdb/0x760 [ 9.292302][ T176] __kmalloc_noprof+0x443/0x760 [ 9.292304][ T176] ? alloc_buf.isra.0+0x4b/0x260 [ 9.292314][ T176] ? do_raw_spin_unlock+0x59/0x250 [ 9.292317][ T176] alloc_buf.isra.0+0x4b/0x260 [ 9.292320][ T176] put_chars+0x1e1/0x2f0 [ 9.292323][ T176] ? __send_to_port+0x420/0x420 [ 9.292330][ T176] hvc_console_print+0x292/0x780 [ 9.292336][ T176] ? hvc_write+0x3a0/0x3a0 [ 9.292339][ T176] ? lock_acquire+0x13c/0x160 [ 9.292344][ T176] console_emit_next_record+0x22f/0x4c0 [ 9.292347][ T176] ? devkmsg_read+0x4b0/0x4b0 [ 9.292349][ T176] ? console_flush_one_record+0x106/0x710 [ 9.292351][ T176] ? rcu_is_watching+0x16/0xd0 [ 9.292355][ T176] ? lock_acquire+0x13c/0x160 [ 9.292359][ T176] console_flush_one_record+0x46f/0x710 [ 9.292362][ T176] ? console_emit_next_record+0x4c0/0x4c0 [ 9.292363][ T176] ? __lock_acquire+0x518/0xc20 [ 9.292369][ T176] console_unlock+0xee/0x1f0 [ 9.292371][ T176] ? console_flush_one_record+0x710/0x710 [ 9.292372][ T176] ? rcu_is_watching+0x16/0xd0 [ 9.292374][ T176] ? lock_acquire+0x60/0x160 [ 9.292378][ T176] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.292380][ T176] ? vprintk_emit+0x320/0x3e0 [ 9.292383][ T176] vprintk_emit+0x37c/0x3e0 [ 9.292386][ T176] ? wake_up_klogd_work_func+0x90/0x90 [ 9.292389][ T176] ? __lock_acquire+0x518/0xc20 [ 9.292392][ T176] _printk+0xc7/0x100 [ 9.292396][ T176] ? snapshot_read.cold+0x21/0x21 [ 9.292399][ T176] ? do_raw_spin_lock+0x131/0x280 [ 9.292401][ T176] ? __rwlock_init+0x150/0x150 [ 9.292405][ T176] ? do_raw_spin_lock+0x131/0x280 [ 9.292408][ T176] do_exit.cold+0x82/0x9c [ 9.292412][ T176] ? exit_notify+0x890/0x890 [ 9.292413][ T176] ? __lock_release.isra.0+0x69/0x1a0 [ 9.292416][ T176] ? rcu_is_watching+0x16/0xd0 [ 9.292420][ T176] do_group_exit+0xb8/0x370 [ 9.292423][ T176] __x64_sys_exit_group+0x3c/0x50 [ 9.292425][ T176] x64_sys_call+0x1567/0x1570 [ 9.292428][ T176] do_syscall_64+0x10e/0x570 [ 9.292431][ T176] ? exc_page_fault+0xee/0x100 [ 9.292435][ T176] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.292437][ T176] RIP: 0033:0x7ff59eed91b8 [ 9.292439][ T176] Code: Unable to access opcode bytes at 0x7ff59eed918e. [ 9.292440][ T176] RSP: 002b:00007ffdc1ecb228 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.292442][ T176] RAX: ffffffffffffffda RBX: 00007ff59f009f88 RCX: 00007ff59eed91b8 [ 9.292443][ T176] RDX: 00007ff59ec23fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.292444][ T176] RBP: 00007ffdc1ecb280 R08: 0000000000000000 R09: 0000000000000050 [ 9.292445][ T176] R10: 00007ffdc1ecb040 R11: 0000000000000246 R12: 0000000000000001 [ 9.292446][ T176] R13: 0000000000000000 R14: 00007ff59f008680 R15: 00007ff59f009fa0 [ 9.292453][ T176] [ 10.300287][ T206] ipip: IPv4 and MPLS over IPv4 tunneling driver [ 10.300302][ T206] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.300304][ T206] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 206, name: modprobe [ 10.300306][ T206] preempt_count: 1, expected: 0 [ 10.300307][ T206] RCU nest depth: 0, expected: 0 [ 10.300308][ T206] locks held by modprobe/206: 4, last CPU#1: [ 10.300310][ T206] #0: ffffffff9956a440 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.300326][ T206] #1: ffffffff9956a4b8 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.300330][ T206] #2: ffffffff99489de0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.300333][ T206] #3: ffffffff99489ce0 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.300337][ T206] irq event stamp: 27720 [ 10.300337][ T206] hardirqs last enabled at (27719): [] __down_trylock_console_sem+0x86/0xa0 [ 10.300341][ T206] hardirqs last disabled at (27720): [] console_emit_next_record+0x3d4/0x4c0 [ 10.300342][ T206] softirqs last enabled at (26660): [] handle_softirqs+0x67c/0x900 [ 10.300346][ T206] softirqs last disabled at (26519): [] __irq_exit_rcu+0x145/0x1c0 [ 10.300348][ T206] Preemption disabled at: [ 10.300349][ T206] [] vprintk_emit+0x31b/0x3e0 [ 10.300355][ T206] CPU: 1 UID: 0 PID: 206 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.300358][ T206] Tainted: [W]=WARN [ 10.300359][ T206] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.300361][ T206] Call Trace: [ 10.300363][ T206] [ 10.300364][ T206] dump_stack_lvl+0x6f/0xa0 [ 10.300369][ T206] ? vprintk_emit+0x31b/0x3e0 [ 10.300371][ T206] __might_resched.cold+0x1fe/0x2c1 [ 10.300375][ T206] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.300378][ T206] ? __kmalloc_noprof+0xdb/0x760 [ 10.300383][ T206] __kmalloc_noprof+0x443/0x760 [ 10.300385][ T206] ? alloc_buf.isra.0+0x4b/0x260 [ 10.300392][ T206] ? do_raw_spin_unlock+0x59/0x250 [ 10.300395][ T206] alloc_buf.isra.0+0x4b/0x260 [ 10.300398][ T206] put_chars+0x1e1/0x2f0 [ 10.300401][ T206] ? __send_to_port+0x420/0x420 [ 10.300404][ T206] ? validate_chain+0x38b/0xc20 [ 10.300409][ T206] hvc_console_print+0x292/0x780 [ 10.300416][ T206] ? hvc_write+0x3a0/0x3a0 [ 10.300418][ T206] ? rcu_is_watching+0x16/0xd0 [ 10.300422][ T206] ? lock_acquire+0x13c/0x160 [ 10.300426][ T206] console_emit_next_record+0x22f/0x4c0 [ 10.300429][ T206] ? devkmsg_read+0x4b0/0x4b0 [ 10.300430][ T206] ? console_flush_one_record+0x106/0x710 [ 10.300433][ T206] ? rcu_is_watching+0x16/0xd0 [ 10.300435][ T206] ? lock_acquire+0x13c/0x160 [ 10.300439][ T206] console_flush_one_record+0x46f/0x710 [ 10.300442][ T206] ? console_emit_next_record+0x4c0/0x4c0 [ 10.300444][ T206] ? __lock_acquire+0x518/0xc20 [ 10.300449][ T206] console_unlock+0xee/0x1f0 [ 10.300451][ T206] ? console_flush_one_record+0x710/0x710 [ 10.300453][ T206] ? rcu_is_watching+0x16/0xd0 [ 10.300454][ T206] ? lock_acquire+0x60/0x160 [ 10.300458][ T206] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.300460][ T206] ? vprintk_emit+0x320/0x3e0 [ 10.300463][ T206] vprintk_emit+0x37c/0x3e0 [ 10.300466][ T206] ? wake_up_klogd_work_func+0x90/0x90 [ 10.300471][ T206] ? ipip_fini+0xa0/0xa0 [ipip] [ 10.300474][ T206] _printk+0xc7/0x100 [ 10.300477][ T206] ? snapshot_read.cold+0x21/0x21 [ 10.300483][ T206] ? do_one_initcall+0x113/0x4f0 [ 10.300487][ T206] ipip_init+0x16/0x1000 [ipip] [ 10.300489][ T206] do_one_initcall+0x124/0x4f0 [ 10.300492][ T206] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 10.300497][ T206] ? do_init_module+0xae/0x8a0 [ 10.300499][ T206] ? kasan_unpoison+0x44/0x70 [ 10.300504][ T206] do_init_module+0x2ad/0x8a0 [ 10.300507][ T206] ? lockdep_hardirqs_on+0x91/0x130 [ 10.300512][ T206] ? free_module+0x470/0x470 [ 10.300514][ T206] ? kfree+0x123/0x590 [ 10.300518][ T206] load_module+0x154b/0x1d60 [ 10.300525][ T206] ? layout_and_allocate.isra.0+0x680/0x680 [ 10.300528][ T206] ? __ia32_sys_fsconfig+0x180/0x180 [ 10.300531][ T206] ? ovl_real_file+0x172/0x1e0 [ 10.300536][ T206] ? backing_file_read_iter+0x541/0x790 [ 10.300539][ T206] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.300542][ T206] init_module_from_file+0x11f/0x1a0 [ 10.300545][ T206] ? __ia32_sys_init_module+0xc0/0xc0 [ 10.300553][ T206] ? __rwlock_init+0x150/0x150 [ 10.300556][ T206] ? do_raw_spin_unlock+0x59/0x250 [ 10.300560][ T206] idempotent_init_module+0x37b/0x7c0 [ 10.300563][ T206] ? init_module_from_file+0x1a0/0x1a0 [ 10.300568][ T206] ? rcu_is_watching+0x16/0xd0 [ 10.300570][ T206] ? cap_capable+0x1d7/0x3d0 [ 10.300579][ T206] __x64_sys_finit_module+0xdf/0x190 [ 10.300580][ T206] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.300584][ T206] do_syscall_64+0x10e/0x570 [ 10.300586][ T206] ? exc_page_fault+0xee/0x100 [ 10.300589][ T206] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.300591][ T206] RIP: 0033:0x7faa5bb8337d [ 10.300594][ T206] 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 [ 10.300596][ T206] RSP: 002b:00007ffdf58b9958 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 10.300598][ T206] RAX: ffffffffffffffda RBX: 000055b719679810 RCX: 00007faa5bb8337d [ 10.300599][ T206] RDX: 0000000000000000 RSI: 000055b6db82bffd RDI: 0000000000000002 [ 10.300600][ T206] RBP: 00007ffdf58b99f0 R08: 0000000000000000 R09: 0000000000000000 [ 10.300601][ T206] R10: 0000000000000000 R11: 0000000000000246 R12: 000055b6db82bffd [ 10.300602][ T206] R13: 000055b7196799b0 R14: 0000000000040000 R15: 0000000000000000 [ 10.300609][ T206]