[ 9.827206][ T209] u32 classifier [ 9.827221][ T209] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.827223][ T209] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 209, name: modprobe [ 9.827225][ T209] preempt_count: 1, expected: 0 [ 9.827226][ T209] RCU nest depth: 0, expected: 0 [ 9.827227][ T209] locks held by modprobe/209: 4, last CPU#2: [ 9.827229][ T209] #0: ffffffffbcd7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.827240][ T209] #1: ffffffffbcd7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.827245][ T209] #2: ffffffffbcc9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.827249][ T209] #3: ffffffffbcc9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.827253][ T209] irq event stamp: 18228 [ 9.827254][ T209] hardirqs last enabled at (18227): [] __down_trylock_console_sem+0x86/0xa0 [ 9.827257][ T209] hardirqs last disabled at (18228): [] console_emit_next_record+0x3d4/0x4c0 [ 9.827259][ T209] softirqs last enabled at (16132): [] handle_softirqs+0x67c/0x900 [ 9.827263][ T209] softirqs last disabled at (15233): [] __irq_exit_rcu+0x145/0x1c0 [ 9.827265][ T209] Preemption disabled at: [ 9.827266][ T209] [] vprintk_emit+0x31b/0x3e0 [ 9.827271][ T209] CPU: 2 UID: 0 PID: 209 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.827274][ T209] Tainted: [W]=WARN [ 9.827275][ T209] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.827277][ T209] Call Trace: [ 9.827279][ T209] [ 9.827280][ T209] dump_stack_lvl+0x6f/0xa0 [ 9.827286][ T209] ? vprintk_emit+0x31b/0x3e0 [ 9.827288][ T209] __might_resched.cold+0x1fe/0x2c1 [ 9.827292][ T209] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.827296][ T209] ? __kmalloc_noprof+0xdb/0x760 [ 9.827300][ T209] __kmalloc_noprof+0x443/0x760 [ 9.827302][ T209] ? alloc_buf.isra.0+0x4b/0x260 [ 9.827309][ T209] ? do_raw_spin_unlock+0x59/0x250 [ 9.827312][ T209] alloc_buf.isra.0+0x4b/0x260 [ 9.827315][ T209] put_chars+0x1e1/0x2f0 [ 9.827318][ T209] ? __send_to_port+0x420/0x420 [ 9.827319][ T209] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.827323][ T209] ? validate_chain+0x38b/0xc20 [ 9.827328][ T209] hvc_console_print+0x292/0x780 [ 9.827335][ T209] ? hvc_write+0x3a0/0x3a0 [ 9.827338][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.827340][ T209] ? lock_acquire+0x13c/0x160 [ 9.827344][ T209] console_emit_next_record+0x22f/0x4c0 [ 9.827348][ T209] ? devkmsg_read+0x4b0/0x4b0 [ 9.827349][ T209] ? console_flush_one_record+0x106/0x710 [ 9.827353][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.827354][ T209] ? lock_acquire+0x13c/0x160 [ 9.827358][ T209] console_flush_one_record+0x46f/0x710 [ 9.827362][ T209] ? console_emit_next_record+0x4c0/0x4c0 [ 9.827364][ T209] ? __lock_acquire+0x518/0xc20 [ 9.827369][ T209] console_unlock+0xee/0x1f0 [ 9.827372][ T209] ? console_flush_one_record+0x710/0x710 [ 9.827374][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.827376][ T209] ? lock_acquire+0xe0/0x160 [ 9.827379][ T209] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.827381][ T209] ? vprintk_emit+0x320/0x3e0 [ 9.827384][ T209] vprintk_emit+0x37c/0x3e0 [ 9.827387][ T209] ? wake_up_klogd_work_func+0x90/0x90 [ 9.827392][ T209] ? exit_u32+0x460/0x460 [cls_u32] [ 9.827394][ T209] _printk+0xc7/0x100 [ 9.827398][ T209] ? snapshot_read.cold+0x21/0x21 [ 9.827404][ T209] ? do_one_initcall+0x113/0x4f0 [ 9.827407][ T209] init_u32+0x1e/0x1000 [cls_u32] [ 9.827410][ T209] do_one_initcall+0x124/0x4f0 [ 9.827413][ T209] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 9.827417][ T209] ? do_init_module+0xae/0x8a0 [ 9.827420][ T209] ? kasan_unpoison+0x44/0x70 [ 9.827425][ T209] do_init_module+0x2ad/0x8a0 [ 9.827428][ T209] ? lockdep_hardirqs_on+0x91/0x130 [ 9.827432][ T209] ? free_module+0x470/0x470 [ 9.827435][ T209] ? kfree+0x123/0x590 [ 9.827438][ T209] load_module+0x1424/0x1bb0 [ 9.827443][ T209] ? security_kernel_post_read_file+0x2f/0x60 [ 9.827447][ T209] ? layout_and_allocate.isra.0+0x680/0x680 [ 9.827450][ T209] ? __ia32_sys_fsconfig+0x180/0x180 [ 9.827454][ T209] ? backing_file_read_iter+0x541/0x790 [ 9.827458][ T209] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.827461][ T209] init_module_from_file+0x11f/0x1a0 [ 9.827464][ T209] ? __do_sys_init_module+0x270/0x270 [ 9.827471][ T209] ? __rwlock_init+0x150/0x150 [ 9.827474][ T209] ? do_raw_spin_unlock+0x59/0x250 [ 9.827477][ T209] idempotent_init_module+0x37b/0x7c0 [ 9.827480][ T209] ? init_module_from_file+0x1a0/0x1a0 [ 9.827485][ T209] ? cap_capable+0x1d7/0x3d0 [ 9.827488][ T209] ? __x64_sys_pread64+0x18d/0x250 [ 9.827493][ T209] __x64_sys_finit_module+0xdf/0x190 [ 9.827494][ T209] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.827498][ T209] do_syscall_64+0xff/0x530 [ 9.827501][ T209] ? exc_page_fault+0xee/0x100 [ 9.827503][ T209] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.827505][ T209] RIP: 0033:0x7f7bbdbaf37d [ 9.827509][ T209] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4b aa 0f 00 f7 d8 64 89 01 48 [ 9.827510][ T209] RSP: 002b:00007fffab1ca5a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 9.827513][ T209] RAX: ffffffffffffffda RBX: 00005595c61af810 RCX: 00007f7bbdbaf37d [ 9.827514][ T209] RDX: 0000000000000000 RSI: 00005595886b0ffd RDI: 0000000000000000 [ 9.827515][ T209] RBP: 00007fffab1ca640 R08: 0000000000000000 R09: 0000000000000000 [ 9.827516][ T209] R10: 0000000000000000 R11: 0000000000000246 R12: 00005595886b0ffd [ 9.827517][ T209] R13: 00005595c61af950 R14: 0000000000040000 R15: 0000000000000000 [ 9.827523][ T209] [ 9.857878][ T209] input device check on [ 9.858104][ T209] Actions configured [ 9.891963][ T210] Mirror/redirect action on [ 9.915515][ T208] tc (208) used greatest stack depth: 23840 bytes left