[ 49.930482][ T264] modprobe (264) used greatest stack depth: 24672 bytes left [ 49.930500][ T264] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 49.930502][ T264] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 264, name: modprobe [ 49.930504][ T264] preempt_count: 2, expected: 0 [ 49.930505][ T264] RCU nest depth: 0, expected: 0 [ 49.930506][ T264] locks held by modprobe/264: 5, last CPU#2: [ 49.930508][ T264] #0: ffffffff84a027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 49.930519][ T264] #1: ffffffff84b69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 49.930524][ T264] #2: ffffffff84b69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 49.930528][ T264] #3: ffffffff84a89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 49.930531][ T264] #4: ffffffff84a89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 49.930534][ T264] irq event stamp: 21374 [ 49.930535][ T264] hardirqs last enabled at (21373): [] __down_trylock_console_sem+0x86/0xa0 [ 49.930538][ T264] hardirqs last disabled at (21374): [] console_emit_next_record+0x3d4/0x4c0 [ 49.930540][ T264] softirqs last enabled at (19486): [] handle_softirqs+0x67c/0x900 [ 49.930542][ T264] softirqs last disabled at (18365): [] __irq_exit_rcu+0x145/0x1c0 [ 49.930544][ T264] Preemption disabled at: [ 49.930545][ T264] [<0000000000000000>] 0x0 [ 49.930552][ T264] CPU: 2 UID: 0 PID: 264 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 49.930555][ T264] Tainted: [W]=WARN [ 49.930556][ T264] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 49.930558][ T264] Call Trace: [ 49.930560][ T264] [ 49.930561][ T264] dump_stack_lvl+0x6f/0xa0 [ 49.930566][ T264] __might_resched.cold+0x1fe/0x2c1 [ 49.930571][ T264] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 49.930574][ T264] ? __kmalloc_noprof+0xdb/0x760 [ 49.930579][ T264] __kmalloc_noprof+0x443/0x760 [ 49.930581][ T264] ? alloc_buf.isra.0+0x4b/0x260 [ 49.930587][ T264] ? do_raw_spin_unlock+0x59/0x250 [ 49.930590][ T264] alloc_buf.isra.0+0x4b/0x260 [ 49.930593][ T264] put_chars+0x1e1/0x2f0 [ 49.930596][ T264] ? __send_to_port+0x420/0x420 [ 49.930598][ T264] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 49.930602][ T264] ? validate_chain+0x38b/0xc20 [ 49.930607][ T264] hvc_console_print+0x292/0x780 [ 49.930614][ T264] ? hvc_write+0x3a0/0x3a0 [ 49.930616][ T264] ? rcu_is_watching+0x16/0xd0 [ 49.930618][ T264] ? lock_acquire+0x13c/0x160 [ 49.930622][ T264] console_emit_next_record+0x22f/0x4c0 [ 49.930625][ T264] ? devkmsg_read+0x4b0/0x4b0 [ 49.930626][ T264] ? console_flush_one_record+0x106/0x710 [ 49.930629][ T264] ? rcu_is_watching+0x16/0xd0 [ 49.930631][ T264] ? lock_acquire+0x13c/0x160 [ 49.930635][ T264] console_flush_one_record+0x46f/0x710 [ 49.930638][ T264] ? console_emit_next_record+0x4c0/0x4c0 [ 49.930639][ T264] ? __lock_acquire+0x518/0xc20 [ 49.930644][ T264] console_unlock+0xee/0x1f0 [ 49.930647][ T264] ? console_flush_one_record+0x710/0x710 [ 49.930648][ T264] ? rcu_is_watching+0x16/0xd0 [ 49.930650][ T264] ? lock_acquire+0x60/0x160 [ 49.930653][ T264] ? __down_trylock_console_sem+0x5e/0xa0 [ 49.930655][ T264] ? vprintk_emit+0x320/0x3e0 [ 49.930658][ T264] vprintk_emit+0x37c/0x3e0 [ 49.930661][ T264] ? wake_up_klogd_work_func+0x90/0x90 [ 49.930664][ T264] ? __lock_acquire+0x518/0xc20 [ 49.930667][ T264] _printk+0xc7/0x100 [ 49.930671][ T264] ? snapshot_read.cold+0x21/0x21 [ 49.930674][ T264] ? do_raw_spin_lock+0x131/0x280 [ 49.930677][ T264] ? __rwlock_init+0x150/0x150 [ 49.930681][ T264] ? do_raw_spin_lock+0x131/0x280 [ 49.930683][ T264] do_exit.cold+0x82/0x9c [ 49.930687][ T264] ? exit_notify+0x890/0x890 [ 49.930688][ T264] ? __lock_release.isra.0+0x69/0x1a0 [ 49.930691][ T264] ? rcu_is_watching+0x16/0xd0 [ 49.930694][ T264] do_group_exit+0xb8/0x370 [ 49.930697][ T264] __x64_sys_exit_group+0x3c/0x50 [ 49.930699][ T264] x64_sys_call+0x1567/0x1570 [ 49.930702][ T264] do_syscall_64+0xff/0x530 [ 49.930706][ T264] ? exc_page_fault+0xee/0x100 [ 49.930708][ T264] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 49.930711][ T264] RIP: 0033:0x7efd650301b8 [ 49.930713][ T264] Code: Unable to access opcode bytes at 0x7efd6503018e. [ 49.930714][ T264] RSP: 002b:00007fffd40ff958 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 49.930716][ T264] RAX: ffffffffffffffda RBX: 00007efd65160f88 RCX: 00007efd650301b8 [ 49.930717][ T264] RDX: 00007efd64f6ba88 RSI: ffffffffffffffa8 RDI: 0000000000000001 [ 49.930718][ T264] RBP: 00007fffd40ff9b0 R08: 0000000000000000 R09: 00000000000000a0 [ 49.930719][ T264] R10: 00007fffd40ff7b0 R11: 0000000000000246 R12: 0000000000000001 [ 49.930720][ T264] R13: 0000000000000001 R14: 00007efd6515f680 R15: 00007efd65160fa0 [ 49.930726][ T264] [ 50.005878][ T110] su (110) used greatest stack depth: 24104 bytes left