[ 31.106980][ T173] modprobe (173) used greatest stack depth: 24352 bytes left [ 31.107000][ T173] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 31.107003][ T173] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 173, name: modprobe [ 31.107004][ T173] preempt_count: 2, expected: 0 [ 31.107005][ T173] RCU nest depth: 0, expected: 0 [ 31.107006][ T173] locks held by modprobe/173: 5, last CPU#0: [ 31.107008][ T173] #0: ffffffffae8127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 31.107019][ T173] #1: ffffffffae979cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 31.107025][ T173] #2: ffffffffae979d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 31.107028][ T173] #3: ffffffffae899660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 31.107032][ T173] #4: ffffffffae899560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 31.107036][ T173] irq event stamp: 18700 [ 31.107037][ T173] hardirqs last enabled at (18699): [] __down_trylock_console_sem+0x86/0xa0 [ 31.107039][ T173] hardirqs last disabled at (18700): [] console_emit_next_record+0x3d4/0x4c0 [ 31.107041][ T173] softirqs last enabled at (18208): [] handle_softirqs+0x67c/0x900 [ 31.107043][ T173] softirqs last disabled at (18203): [] __irq_exit_rcu+0x145/0x1c0 [ 31.107046][ T173] Preemption disabled at: [ 31.107046][ T173] [<0000000000000000>] 0x0 [ 31.107053][ T173] CPU: 0 UID: 0 PID: 173 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 31.107057][ T173] Tainted: [W]=WARN [ 31.107058][ T173] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.107059][ T173] Call Trace: [ 31.107061][ T173] [ 31.107063][ T173] dump_stack_lvl+0x6f/0xa0 [ 31.107069][ T173] __might_resched.cold+0x1fe/0x2c1 [ 31.107073][ T173] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 31.107078][ T173] ? __kmalloc_noprof+0xdb/0x760 [ 31.107083][ T173] __kmalloc_noprof+0x443/0x760 [ 31.107085][ T173] ? alloc_buf.isra.0+0x4b/0x260 [ 31.107091][ T173] ? do_raw_spin_unlock+0x59/0x250 [ 31.107093][ T173] alloc_buf.isra.0+0x4b/0x260 [ 31.107097][ T173] put_chars+0x1e1/0x2f0 [ 31.107100][ T173] ? __send_to_port+0x420/0x420 [ 31.107101][ T173] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 31.107106][ T173] ? validate_chain+0x38b/0xc20 [ 31.107111][ T173] hvc_console_print+0x292/0x780 [ 31.107118][ T173] ? hvc_write+0x3a0/0x3a0 [ 31.107120][ T173] ? rcu_is_watching+0x16/0xd0 [ 31.107122][ T173] ? lock_acquire+0x13c/0x160 [ 31.107126][ T173] console_emit_next_record+0x22f/0x4c0 [ 31.107130][ T173] ? devkmsg_read+0x4b0/0x4b0 [ 31.107132][ T173] ? console_flush_one_record+0x106/0x710 [ 31.107135][ T173] ? rcu_is_watching+0x16/0xd0 [ 31.107137][ T173] ? lock_acquire+0x13c/0x160 [ 31.107141][ T173] console_flush_one_record+0x46f/0x710 [ 31.107145][ T173] ? console_emit_next_record+0x4c0/0x4c0 [ 31.107146][ T173] ? __lock_acquire+0x518/0xc20 [ 31.107151][ T173] console_unlock+0xee/0x1f0 [ 31.107154][ T173] ? console_flush_one_record+0x710/0x710 [ 31.107156][ T173] ? rcu_is_watching+0x16/0xd0 [ 31.107158][ T173] ? lock_acquire+0x60/0x160 [ 31.107161][ T173] ? __down_trylock_console_sem+0x5e/0xa0 [ 31.107163][ T173] ? vprintk_emit+0x320/0x3e0 [ 31.107166][ T173] vprintk_emit+0x37c/0x3e0 [ 31.107170][ T173] ? wake_up_klogd_work_func+0x90/0x90 [ 31.107173][ T173] ? __lock_acquire+0x518/0xc20 [ 31.107177][ T173] _printk+0xc7/0x100 [ 31.107180][ T173] ? snapshot_read.cold+0x21/0x21 [ 31.107183][ T173] ? do_raw_spin_lock+0x131/0x280 [ 31.107185][ T173] ? __rwlock_init+0x150/0x150 [ 31.107189][ T173] ? do_raw_spin_lock+0x131/0x280 [ 31.107192][ T173] do_exit.cold+0x82/0x9c [ 31.107195][ T173] ? exit_notify+0x890/0x890 [ 31.107196][ T173] ? __lock_release.isra.0+0x69/0x1a0 [ 31.107199][ T173] ? rcu_is_watching+0x16/0xd0 [ 31.107203][ T173] do_group_exit+0xb8/0x370 [ 31.107206][ T173] __x64_sys_exit_group+0x3c/0x50 [ 31.107208][ T173] x64_sys_call+0x1567/0x1570 [ 31.107210][ T173] do_syscall_64+0xff/0x530 [ 31.107214][ T173] ? exc_page_fault+0xee/0x100 [ 31.107217][ T173] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 31.107219][ T173] RIP: 0033:0x7f259ee6e1b8 [ 31.107221][ T173] Code: Unable to access opcode bytes at 0x7f259ee6e18e. [ 31.107223][ T173] RSP: 002b:00007ffcafb99c28 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 31.107225][ T173] RAX: ffffffffffffffda RBX: 00007f259ef9ef88 RCX: 00007f259ee6e1b8 [ 31.107226][ T173] RDX: 00007f259eda9a88 RSI: ffffffffffffffa8 RDI: 0000000000000001 [ 31.107227][ T173] RBP: 00007ffcafb99c80 R08: 0000000000000000 R09: 00000000000000a0 [ 31.107228][ T173] R10: 00007ffcafb99a80 R11: 0000000000000246 R12: 0000000000000001 [ 31.107229][ T173] R13: 0000000000000001 R14: 00007f259ef9d680 R15: 00007f259ef9efa0 [ 31.107237][ T173] [ 31.250608][ T112] su (112) used greatest stack depth: 24104 bytes left