[ 10.012687][ T189] modprobe (189) used greatest stack depth: 23952 bytes left [ 10.012708][ T189] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.012710][ T189] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 189, name: modprobe [ 10.012712][ T189] preempt_count: 2, expected: 0 [ 10.012713][ T189] RCU nest depth: 0, expected: 0 [ 10.012714][ T189] locks held by modprobe/189: 5, last CPU#1: [ 10.012717][ T189] #0: ffffffff9ee027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.012730][ T189] #1: ffffffff9ef69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.012736][ T189] #2: ffffffff9ef69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.012740][ T189] #3: ffffffff9ee89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.012744][ T189] #4: ffffffff9ee89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.012748][ T189] irq event stamp: 42804 [ 10.012749][ T189] hardirqs last enabled at (42803): [] __down_trylock_console_sem+0x86/0xa0 [ 10.012752][ T189] hardirqs last disabled at (42804): [] console_emit_next_record+0x3d4/0x4c0 [ 10.012754][ T189] softirqs last enabled at (41166): [] handle_softirqs+0x67c/0x900 [ 10.012756][ T189] softirqs last disabled at (39283): [] __irq_exit_rcu+0x145/0x1c0 [ 10.012758][ T189] Preemption disabled at: [ 10.012759][ T189] [<0000000000000000>] 0x0 [ 10.012766][ T189] CPU: 1 UID: 0 PID: 189 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.012770][ T189] Tainted: [W]=WARN [ 10.012771][ T189] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.012773][ T189] Call Trace: [ 10.012775][ T189] [ 10.012776][ T189] dump_stack_lvl+0x6f/0xa0 [ 10.012783][ T189] __might_resched.cold+0x1fe/0x2c1 [ 10.012788][ T189] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.012793][ T189] ? __kmalloc_noprof+0xdb/0x760 [ 10.012798][ T189] __kmalloc_noprof+0x443/0x760 [ 10.012800][ T189] ? alloc_buf.isra.0+0x4b/0x260 [ 10.012807][ T189] ? do_raw_spin_unlock+0x59/0x250 [ 10.012809][ T189] alloc_buf.isra.0+0x4b/0x260 [ 10.012813][ T189] put_chars+0x1e1/0x2f0 [ 10.012816][ T189] ? __send_to_port+0x420/0x420 [ 10.012817][ T189] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.012822][ T189] ? validate_chain+0x38b/0xc20 [ 10.012828][ T189] hvc_console_print+0x292/0x780 [ 10.012834][ T189] ? hvc_write+0x3a0/0x3a0 [ 10.012837][ T189] ? rcu_is_watching+0x16/0xd0 [ 10.012839][ T189] ? lock_acquire+0x13c/0x160 [ 10.012843][ T189] console_emit_next_record+0x22f/0x4c0 [ 10.012847][ T189] ? devkmsg_read+0x4b0/0x4b0 [ 10.012849][ T189] ? console_flush_one_record+0x106/0x710 [ 10.012853][ T189] ? rcu_is_watching+0x16/0xd0 [ 10.012855][ T189] ? lock_acquire+0x13c/0x160 [ 10.012859][ T189] console_flush_one_record+0x46f/0x710 [ 10.012863][ T189] ? console_emit_next_record+0x4c0/0x4c0 [ 10.012865][ T189] ? __lock_acquire+0x518/0xc20 [ 10.012871][ T189] console_unlock+0xee/0x1f0 [ 10.012874][ T189] ? console_flush_one_record+0x710/0x710 [ 10.012876][ T189] ? rcu_is_watching+0x16/0xd0 [ 10.012878][ T189] ? lock_acquire+0x60/0x160 [ 10.012882][ T189] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.012884][ T189] ? vprintk_emit+0x320/0x3e0 [ 10.012894][ T189] vprintk_emit+0x37c/0x3e0 [ 10.012898][ T189] ? wake_up_klogd_work_func+0x90/0x90 [ 10.012902][ T189] ? __lock_acquire+0x518/0xc20 [ 10.012906][ T189] _printk+0xc7/0x100 [ 10.012910][ T189] ? snapshot_read.cold+0x21/0x21 [ 10.012913][ T189] ? do_raw_spin_lock+0x131/0x280 [ 10.012915][ T189] ? __rwlock_init+0x150/0x150 [ 10.012919][ T189] ? do_raw_spin_lock+0x131/0x280 [ 10.012922][ T189] do_exit.cold+0x82/0x9c [ 10.012926][ T189] ? exit_notify+0x890/0x890 [ 10.012928][ T189] ? __lock_release.isra.0+0x69/0x1a0 [ 10.012931][ T189] ? rcu_is_watching+0x16/0xd0 [ 10.012935][ T189] do_group_exit+0xb8/0x370 [ 10.012939][ T189] __x64_sys_exit_group+0x3c/0x50 [ 10.012940][ T189] x64_sys_call+0x1567/0x1570 [ 10.012943][ T189] do_syscall_64+0xff/0x530 [ 10.012946][ T189] ? exc_page_fault+0xee/0x100 [ 10.012950][ T189] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.012952][ T189] RIP: 0033:0x7fcde75ca1b8 [ 10.012954][ T189] Code: Unable to access opcode bytes at 0x7fcde75ca18e. [ 10.012956][ T189] RSP: 002b:00007fffae79ca78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.012958][ T189] RAX: ffffffffffffffda RBX: 00007fcde76faf88 RCX: 00007fcde75ca1b8 [ 10.012960][ T189] RDX: 00007fcde7505a88 RSI: ffffffffffffffa8 RDI: 0000000000000000 [ 10.012961][ T189] RBP: 00007fffae79cad0 R08: 0000000000000000 R09: 00000000000000a0 [ 10.012962][ T189] R10: 00007fffae79c8d0 R11: 0000000000000246 R12: 0000000000000001 [ 10.012963][ T189] R13: 0000000000000000 R14: 00007fcde76f9680 R15: 00007fcde76fafa0 [ 10.012970][ T189]