[ 8.669137][ T178] modprobe (178) used greatest stack depth: 24304 bytes left [ 8.669154][ T178] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 8.669156][ T178] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 178, name: modprobe [ 8.669158][ T178] preempt_count: 2, expected: 0 [ 8.669158][ T178] RCU nest depth: 0, expected: 0 [ 8.669159][ T178] locks held by modprobe/178: 5, last CPU#0: [ 8.669162][ T178] #0: ffffffffaf6027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 8.669174][ T178] #1: ffffffffaf799cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 8.669179][ T178] #2: ffffffffaf799d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 8.669183][ T178] #3: ffffffffaf689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 8.669186][ T178] #4: ffffffffaf689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x202/0x4f0 [ 8.669190][ T178] irq event stamp: 53894 [ 8.669190][ T178] hardirqs last enabled at (53893): [] __down_trylock_console_sem+0x86/0xa0 [ 8.669192][ T178] hardirqs last disabled at (53894): [] console_emit_next_record+0x3f8/0x4f0 [ 8.669194][ T178] softirqs last enabled at (52636): [] handle_softirqs+0x67c/0x900 [ 8.669197][ T178] softirqs last disabled at (52631): [] __irq_exit_rcu+0x145/0x1c0 [ 8.669199][ T178] Preemption disabled at: [ 8.669200][ T178] [<0000000000000000>] 0x0 [ 8.669206][ T178] CPU: 0 UID: 0 PID: 178 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 8.669209][ T178] Tainted: [W]=WARN [ 8.669210][ T178] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 8.669212][ T178] Call Trace: [ 8.669213][ T178] [ 8.669215][ T178] dump_stack_lvl+0x6f/0xa0 [ 8.669221][ T178] __might_resched.cold+0x1fe/0x2c1 [ 8.669225][ T178] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 8.669229][ T178] ? __kmalloc_noprof+0xdb/0x760 [ 8.669234][ T178] __kmalloc_noprof+0x443/0x760 [ 8.669236][ T178] ? alloc_buf.isra.0+0x4b/0x260 [ 8.669241][ T178] ? do_raw_spin_unlock+0x59/0x250 [ 8.669244][ T178] alloc_buf.isra.0+0x4b/0x260 [ 8.669247][ T178] put_chars+0x1e1/0x2f0 [ 8.669249][ T178] ? __send_to_port+0x420/0x420 [ 8.669251][ T178] ? printk_get_next_message+0x2fe/0x7d0 [ 8.669254][ T178] ? rcu_read_lock_any_held+0x3c/0x90 [ 8.669257][ T178] ? validate_chain+0x38b/0xc20 [ 8.669261][ T178] hvc_console_print+0x292/0x780 [ 8.669263][ T178] ? __lock_acquire+0x518/0xc20 [ 8.669265][ T178] ? __lock_acquire+0x518/0xc20 [ 8.669269][ T178] ? hvc_write+0x3a0/0x3a0 [ 8.669272][ T178] ? rcu_is_watching+0x16/0xd0 [ 8.669274][ T178] ? lock_acquire+0x13c/0x160 [ 8.669278][ T178] console_emit_next_record+0x252/0x4f0 [ 8.669281][ T178] ? devkmsg_read+0x4e0/0x4e0 [ 8.669285][ T178] ? rcu_is_watching+0x16/0xd0 [ 8.669287][ T178] ? lock_acquire+0x13c/0x160 [ 8.669291][ T178] console_flush_one_record+0x46f/0x710 [ 8.669295][ T178] ? console_emit_next_record+0x4f0/0x4f0 [ 8.669296][ T178] ? __lock_acquire+0x518/0xc20 [ 8.669301][ T178] console_unlock+0xee/0x1f0 [ 8.669304][ T178] ? console_flush_one_record+0x710/0x710 [ 8.669305][ T178] ? rcu_is_watching+0x16/0xd0 [ 8.669307][ T178] ? lock_acquire+0x60/0x160 [ 8.669311][ T178] ? __down_trylock_console_sem+0x5e/0xa0 [ 8.669312][ T178] ? vprintk_emit+0x320/0x3e0 [ 8.669315][ T178] vprintk_emit+0x37c/0x3e0 [ 8.669319][ T178] ? wake_up_klogd_work_func+0x90/0x90 [ 8.669322][ T178] ? __lock_acquire+0x518/0xc20 [ 8.669325][ T178] _printk+0xc7/0x100 [ 8.669329][ T178] ? snapshot_read.cold+0x21/0x21 [ 8.669331][ T178] ? do_raw_spin_lock+0x131/0x280 [ 8.669334][ T178] ? __rwlock_init+0x150/0x150 [ 8.669337][ T178] ? do_raw_spin_lock+0x131/0x280 [ 8.669339][ T178] do_exit.cold+0x82/0x9c [ 8.669343][ T178] ? exit_notify+0x890/0x890 [ 8.669345][ T178] ? __lock_release.isra.0+0x69/0x1a0 [ 8.669348][ T178] ? rcu_is_watching+0x16/0xd0 [ 8.669352][ T178] do_group_exit+0xb8/0x370 [ 8.669355][ T178] __x64_sys_exit_group+0x3c/0x50 [ 8.669357][ T178] x64_sys_call+0x1567/0x1570 [ 8.669359][ T178] do_syscall_64+0xff/0x530 [ 8.669363][ T178] ? exc_page_fault+0xee/0x100 [ 8.669366][ T178] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 8.669369][ T178] RIP: 0033:0x7f9ee1cbd1b8 [ 8.669371][ T178] Code: Unable to access opcode bytes at 0x7f9ee1cbd18e. [ 8.669372][ T178] RSP: 002b:00007fff6c9bea08 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 8.669374][ T178] RAX: ffffffffffffffda RBX: 00007f9ee1dedf88 RCX: 00007f9ee1cbd1b8 [ 8.669375][ T178] RDX: 00007f9ee1bfbec8 RSI: ffffffffffffffa8 RDI: 0000000000000000 [ 8.669376][ T178] RBP: 00007fff6c9bea60 R08: 0000000000000000 R09: 00000000000000a0 [ 8.669377][ T178] R10: 00007fff6c9be860 R11: 0000000000000246 R12: 0000000000000001 [ 8.669378][ T178] R13: 0000000000000000 R14: 00007f9ee1dec680 R15: 00007f9ee1dedfa0 [ 8.669385][ T178]