[ 22.207614][ T216] modprobe (216) used greatest stack depth: 23728 bytes left [ 22.207630][ T216] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 22.207632][ T216] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 216, name: modprobe [ 22.207634][ T216] preempt_count: 2, expected: 0 [ 22.207634][ T216] RCU nest depth: 0, expected: 0 [ 22.207635][ T216] locks held by modprobe/216: 5, last CPU#1: [ 22.207637][ T216] #0: ffffffffa0a167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 22.207649][ T216] #1: ffffffffa0b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 22.207654][ T216] #2: ffffffffa0b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 22.207658][ T216] #3: ffffffffa0a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 22.207662][ T216] #4: ffffffffa0a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 22.207666][ T216] irq event stamp: 53250 [ 22.207666][ T216] hardirqs last enabled at (53249): [] __down_trylock_console_sem+0x86/0xa0 [ 22.207669][ T216] hardirqs last disabled at (53250): [] console_emit_next_record+0x3d4/0x4c0 [ 22.207672][ T216] softirqs last enabled at (52660): [] handle_softirqs+0x67c/0x900 [ 22.207674][ T216] softirqs last disabled at (51699): [] __irq_exit_rcu+0x145/0x1c0 [ 22.207676][ T216] Preemption disabled at: [ 22.207677][ T216] [<0000000000000000>] 0x0 [ 22.207683][ T216] CPU: 1 UID: 0 PID: 216 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 22.207686][ T216] Tainted: [W]=WARN [ 22.207687][ T216] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 22.207689][ T216] Call Trace: [ 22.207690][ T216] [ 22.207692][ T216] dump_stack_lvl+0x6f/0xa0 [ 22.207698][ T216] __might_resched.cold+0x1fe/0x2c1 [ 22.207702][ T216] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 22.207706][ T216] ? __kmalloc_noprof+0xdb/0x760 [ 22.207710][ T216] __kmalloc_noprof+0x443/0x760 [ 22.207712][ T216] ? alloc_buf.isra.0+0x4b/0x260 [ 22.207719][ T216] ? do_raw_spin_unlock+0x59/0x250 [ 22.207721][ T216] alloc_buf.isra.0+0x4b/0x260 [ 22.207725][ T216] put_chars+0x1e1/0x2f0 [ 22.207727][ T216] ? __send_to_port+0x420/0x420 [ 22.207728][ T216] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 22.207732][ T216] ? validate_chain+0x38b/0xc20 [ 22.207737][ T216] hvc_console_print+0x292/0x780 [ 22.207745][ T216] ? hvc_write+0x3a0/0x3a0 [ 22.207747][ T216] ? rcu_is_watching+0x16/0xd0 [ 22.207749][ T216] ? lock_acquire+0x13c/0x160 [ 22.207753][ T216] console_emit_next_record+0x22f/0x4c0 [ 22.207757][ T216] ? devkmsg_read+0x4b0/0x4b0 [ 22.207759][ T216] ? console_flush_one_record+0x106/0x710 [ 22.207762][ T216] ? rcu_is_watching+0x16/0xd0 [ 22.207763][ T216] ? lock_acquire+0x13c/0x160 [ 22.207767][ T216] console_flush_one_record+0x46f/0x710 [ 22.207771][ T216] ? console_emit_next_record+0x4c0/0x4c0 [ 22.207773][ T216] ? __lock_acquire+0x518/0xc20 [ 22.207778][ T216] console_unlock+0xee/0x1f0 [ 22.207781][ T216] ? console_flush_one_record+0x710/0x710 [ 22.207783][ T216] ? rcu_is_watching+0x16/0xd0 [ 22.207784][ T216] ? lock_acquire+0xe0/0x160 [ 22.207788][ T216] ? __down_trylock_console_sem+0x5e/0xa0 [ 22.207790][ T216] ? vprintk_emit+0x320/0x3e0 [ 22.207792][ T216] vprintk_emit+0x37c/0x3e0 [ 22.207795][ T216] ? wake_up_klogd_work_func+0x90/0x90 [ 22.207798][ T216] ? __lock_acquire+0x518/0xc20 [ 22.207802][ T216] _printk+0xc7/0x100 [ 22.207806][ T216] ? snapshot_read.cold+0x21/0x21 [ 22.207808][ T216] ? do_raw_spin_lock+0x131/0x280 [ 22.207811][ T216] ? __rwlock_init+0x150/0x150 [ 22.207815][ T216] ? do_raw_spin_lock+0x131/0x280 [ 22.207817][ T216] do_exit.cold+0x82/0x9c [ 22.207821][ T216] ? exit_notify+0x890/0x890 [ 22.207822][ T216] ? __lock_release.isra.0+0x69/0x1a0 [ 22.207825][ T216] ? rcu_is_watching+0x16/0xd0 [ 22.207828][ T216] do_group_exit+0xb8/0x370 [ 22.207831][ T216] __x64_sys_exit_group+0x3c/0x50 [ 22.207833][ T216] x64_sys_call+0x1567/0x1570 [ 22.207835][ T216] do_syscall_64+0xff/0x530 [ 22.207839][ T216] ? exc_page_fault+0xee/0x100 [ 22.207842][ T216] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 22.207844][ T216] RIP: 0033:0x7f3ab5dc31b8 [ 22.207846][ T216] Code: Unable to access opcode bytes at 0x7f3ab5dc318e. [ 22.207847][ T216] RSP: 002b:00007ffd8f284378 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 22.207849][ T216] RAX: ffffffffffffffda RBX: 00007f3ab5ef3f88 RCX: 00007f3ab5dc31b8 [ 22.207851][ T216] RDX: 00007f3ab5cfea88 RSI: ffffffffffffffa8 RDI: 0000000000000000 [ 22.207852][ T216] RBP: 00007ffd8f2843d0 R08: 0000000000000000 R09: 0000000000000050 [ 22.207852][ T216] R10: 00007ffd8f2841d0 R11: 0000000000000246 R12: 0000000000000001 [ 22.207853][ T216] R13: 0000000000000000 R14: 00007f3ab5ef2680 R15: 00007f3ab5ef3fa0 [ 22.207860][ T216]