[ 9.744793][ T225] modprobe (225) used greatest stack depth: 24128 bytes left [ 9.744808][ T225] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.744810][ T225] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 225, name: modprobe [ 9.744811][ T225] preempt_count: 2, expected: 0 [ 9.744812][ T225] RCU nest depth: 0, expected: 0 [ 9.744813][ T225] locks held by modprobe/225: 5, last CPU#0: [ 9.744815][ T225] #0: ffffffffaec167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.744826][ T225] #1: ffffffffaed7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.744831][ T225] #2: ffffffffaed7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.744835][ T225] #3: ffffffffaec9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.744838][ T225] #4: ffffffffaec9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.744842][ T225] irq event stamp: 28214 [ 9.744843][ T225] hardirqs last enabled at (28213): [] __down_trylock_console_sem+0x86/0xa0 [ 9.744846][ T225] hardirqs last disabled at (28214): [] console_emit_next_record+0x3d4/0x4c0 [ 9.744848][ T225] softirqs last enabled at (24310): [] handle_softirqs+0x67c/0x900 [ 9.744854][ T225] softirqs last disabled at (24301): [] __irq_exit_rcu+0x145/0x1c0 [ 9.744856][ T225] Preemption disabled at: [ 9.744857][ T225] [<0000000000000000>] 0x0 [ 9.744863][ T225] CPU: 0 UID: 0 PID: 225 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.744867][ T225] Tainted: [W]=WARN [ 9.744868][ T225] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.744869][ T225] Call Trace: [ 9.744871][ T225] [ 9.744872][ T225] dump_stack_lvl+0x6f/0xa0 [ 9.744879][ T225] __might_resched.cold+0x1fe/0x2c1 [ 9.744883][ T225] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.744887][ T225] ? __kmalloc_noprof+0xdb/0x760 [ 9.744891][ T225] __kmalloc_noprof+0x443/0x760 [ 9.744893][ T225] ? alloc_buf.isra.0+0x4b/0x260 [ 9.744900][ T225] ? do_raw_spin_unlock+0x59/0x250 [ 9.744903][ T225] alloc_buf.isra.0+0x4b/0x260 [ 9.744906][ T225] put_chars+0x1e1/0x2f0 [ 9.744908][ T225] ? __send_to_port+0x420/0x420 [ 9.744910][ T225] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.744913][ T225] ? validate_chain+0x38b/0xc20 [ 9.744918][ T225] hvc_console_print+0x292/0x780 [ 9.744926][ T225] ? hvc_write+0x3a0/0x3a0 [ 9.744929][ T225] ? rcu_is_watching+0x16/0xd0 [ 9.744930][ T225] ? lock_acquire+0x13c/0x160 [ 9.744934][ T225] console_emit_next_record+0x22f/0x4c0 [ 9.744938][ T225] ? devkmsg_read+0x4b0/0x4b0 [ 9.744940][ T225] ? console_flush_one_record+0x106/0x710 [ 9.744943][ T225] ? rcu_is_watching+0x16/0xd0 [ 9.744945][ T225] ? lock_acquire+0x13c/0x160 [ 9.744949][ T225] console_flush_one_record+0x46f/0x710 [ 9.744953][ T225] ? console_emit_next_record+0x4c0/0x4c0 [ 9.744955][ T225] ? __lock_acquire+0x518/0xc20 [ 9.744960][ T225] console_unlock+0xee/0x1f0 [ 9.744963][ T225] ? console_flush_one_record+0x710/0x710 [ 9.744965][ T225] ? rcu_is_watching+0x16/0xd0 [ 9.744966][ T225] ? lock_acquire+0xe0/0x160 [ 9.744970][ T225] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.744972][ T225] ? vprintk_emit+0x320/0x3e0 [ 9.744974][ T225] vprintk_emit+0x37c/0x3e0 [ 9.744977][ T225] ? wake_up_klogd_work_func+0x90/0x90 [ 9.744980][ T225] ? __lock_acquire+0x518/0xc20 [ 9.744984][ T225] _printk+0xc7/0x100 [ 9.744987][ T225] ? snapshot_read.cold+0x21/0x21 [ 9.744990][ T225] ? do_raw_spin_lock+0x131/0x280 [ 9.744993][ T225] ? __rwlock_init+0x150/0x150 [ 9.744996][ T225] ? do_raw_spin_lock+0x131/0x280 [ 9.744999][ T225] do_exit.cold+0x82/0x9c [ 9.745003][ T225] ? exit_notify+0x890/0x890 [ 9.745004][ T225] ? __lock_release.isra.0+0x69/0x1a0 [ 9.745007][ T225] ? rcu_is_watching+0x16/0xd0 [ 9.745010][ T225] do_group_exit+0xb8/0x370 [ 9.745013][ T225] __x64_sys_exit_group+0x3c/0x50 [ 9.745015][ T225] x64_sys_call+0x1567/0x1570 [ 9.745017][ T225] do_syscall_64+0xff/0x530 [ 9.745021][ T225] ? exc_page_fault+0xee/0x100 [ 9.745024][ T225] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.745026][ T225] RIP: 0033:0x7f3efec6e1b8 [ 9.745028][ T225] Code: Unable to access opcode bytes at 0x7f3efec6e18e. [ 9.745030][ T225] RSP: 002b:00007fffe24fdd68 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.745032][ T225] RAX: ffffffffffffffda RBX: 00007f3efed9ef88 RCX: 00007f3efec6e1b8 [ 9.745033][ T225] RDX: 00007f3efeba9a88 RSI: ffffffffffffffa8 RDI: 0000000000000001 [ 9.745034][ T225] RBP: 00007fffe24fddc0 R08: 0000000000000000 R09: 00000000000000a0 [ 9.745035][ T225] R10: 00007fffe24fdbc0 R11: 0000000000000246 R12: 0000000000000001 [ 9.745036][ T225] R13: 0000000000000001 R14: 00007f3efed9d680 R15: 00007f3efed9efa0 [ 9.745042][ T225]