[ 34.189456][ T174] modprobe (174) used greatest stack depth: 24352 bytes left [ 34.189477][ T174] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 34.189479][ T174] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 174, name: modprobe [ 34.189481][ T174] preempt_count: 2, expected: 0 [ 34.189482][ T174] RCU nest depth: 0, expected: 0 [ 34.189483][ T174] locks held by modprobe/174: 5, last CPU#3: [ 34.189485][ T174] #0: ffffffff902127b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 34.189496][ T174] #1: ffffffff90379cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 34.189502][ T174] #2: ffffffff90379d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 34.189506][ T174] #3: ffffffff90299660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 34.189510][ T174] #4: ffffffff90299560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 34.189514][ T174] irq event stamp: 18878 [ 34.189515][ T174] hardirqs last enabled at (18877): [] __down_trylock_console_sem+0x86/0xa0 [ 34.189517][ T174] hardirqs last disabled at (18878): [] console_emit_next_record+0x3d4/0x4c0 [ 34.189519][ T174] softirqs last enabled at (16136): [] handle_softirqs+0x67c/0x900 [ 34.189521][ T174] softirqs last disabled at (16131): [] __irq_exit_rcu+0x145/0x1c0 [ 34.189523][ T174] Preemption disabled at: [ 34.189524][ T174] [<0000000000000000>] 0x0 [ 34.189531][ T174] CPU: 3 UID: 0 PID: 174 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 34.189535][ T174] Tainted: [W]=WARN [ 34.189536][ T174] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 34.189538][ T174] Call Trace: [ 34.189539][ T174] [ 34.189541][ T174] dump_stack_lvl+0x6f/0xa0 [ 34.189547][ T174] __might_resched.cold+0x1fe/0x2c1 [ 34.189552][ T174] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 34.189556][ T174] ? __kmalloc_noprof+0xdb/0x760 [ 34.189561][ T174] __kmalloc_noprof+0x443/0x760 [ 34.189563][ T174] ? alloc_buf.isra.0+0x4b/0x260 [ 34.189569][ T174] ? do_raw_spin_unlock+0x59/0x250 [ 34.189572][ T174] alloc_buf.isra.0+0x4b/0x260 [ 34.189575][ T174] put_chars+0x1e1/0x2f0 [ 34.189578][ T174] ? __send_to_port+0x420/0x420 [ 34.189579][ T174] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 34.189584][ T174] ? validate_chain+0x38b/0xc20 [ 34.189589][ T174] hvc_console_print+0x292/0x780 [ 34.189596][ T174] ? hvc_write+0x3a0/0x3a0 [ 34.189598][ T174] ? rcu_is_watching+0x16/0xd0 [ 34.189601][ T174] ? lock_acquire+0x13c/0x160 [ 34.189605][ T174] console_emit_next_record+0x22f/0x4c0 [ 34.189608][ T174] ? devkmsg_read+0x4b0/0x4b0 [ 34.189610][ T174] ? console_flush_one_record+0x106/0x710 [ 34.189614][ T174] ? rcu_is_watching+0x16/0xd0 [ 34.189616][ T174] ? lock_acquire+0x13c/0x160 [ 34.189620][ T174] console_flush_one_record+0x46f/0x710 [ 34.189624][ T174] ? console_emit_next_record+0x4c0/0x4c0 [ 34.189625][ T174] ? __lock_acquire+0x518/0xc20 [ 34.189631][ T174] console_unlock+0xee/0x1f0 [ 34.189633][ T174] ? console_flush_one_record+0x710/0x710 [ 34.189635][ T174] ? rcu_is_watching+0x16/0xd0 [ 34.189638][ T174] ? lock_acquire+0x60/0x160 [ 34.189641][ T174] ? __down_trylock_console_sem+0x5e/0xa0 [ 34.189643][ T174] ? vprintk_emit+0x320/0x3e0 [ 34.189646][ T174] vprintk_emit+0x37c/0x3e0 [ 34.189650][ T174] ? wake_up_klogd_work_func+0x90/0x90 [ 34.189653][ T174] ? __lock_acquire+0x518/0xc20 [ 34.189657][ T174] _printk+0xc7/0x100 [ 34.189660][ T174] ? snapshot_read.cold+0x21/0x21 [ 34.189663][ T174] ? do_raw_spin_lock+0x131/0x280 [ 34.189665][ T174] ? __rwlock_init+0x150/0x150 [ 34.189669][ T174] ? do_raw_spin_lock+0x131/0x280 [ 34.189672][ T174] do_exit.cold+0x82/0x9c [ 34.189676][ T174] ? exit_notify+0x890/0x890 [ 34.189677][ T174] ? __lock_release.isra.0+0x69/0x1a0 [ 34.189679][ T174] ? rcu_is_watching+0x16/0xd0 [ 34.189683][ T174] do_group_exit+0xb8/0x370 [ 34.189686][ T174] __x64_sys_exit_group+0x3c/0x50 [ 34.189688][ T174] x64_sys_call+0x1567/0x1570 [ 34.189691][ T174] do_syscall_64+0xff/0x530 [ 34.189695][ T174] ? exc_page_fault+0xee/0x100 [ 34.189698][ T174] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 34.189700][ T174] RIP: 0033:0x7fbadd4f71b8 [ 34.189702][ T174] Code: Unable to access opcode bytes at 0x7fbadd4f718e. [ 34.189703][ T174] RSP: 002b:00007fff42d06f28 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 34.189706][ T174] RAX: ffffffffffffffda RBX: 00007fbadd627f88 RCX: 00007fbadd4f71b8 [ 34.189707][ T174] RDX: 00007fbadd432a88 RSI: ffffffffffffffa8 RDI: 0000000000000001 [ 34.189708][ T174] RBP: 00007fff42d06f80 R08: 0000000000000000 R09: 00000000000000a0 [ 34.189709][ T174] R10: 00007fff42d06d80 R11: 0000000000000246 R12: 0000000000000001 [ 34.189710][ T174] R13: 0000000000000001 R14: 00007fbadd626680 R15: 00007fbadd627fa0 [ 34.189716][ T174] [ 34.524694][