[ 11.383621][ T207] u32 classifier [ 11.383642][ T207] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.383645][ T207] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 207, name: modprobe [ 11.383648][ T207] preempt_count: 1, expected: 0 [ 11.383649][ T207] RCU nest depth: 0, expected: 0 [ 11.383651][ T207] locks held by modprobe/207: 4, last CPU#2: [ 11.383654][ T207] #0: ffffffff9e57ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.383668][ T207] #1: ffffffff9e57de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.383675][ T207] #2: ffffffff9e49d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.383681][ T207] #3: ffffffff9e49d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.383690][ T207] irq event stamp: 18752 [ 11.383691][ T207] hardirqs last enabled at (18751): [] __down_trylock_console_sem+0x86/0xa0 [ 11.383695][ T207] hardirqs last disabled at (18752): [] console_emit_next_record+0x3d4/0x4c0 [ 11.383698][ T207] softirqs last enabled at (17188): [] handle_softirqs+0x67c/0x900 [ 11.383703][ T207] softirqs last disabled at (17181): [] __irq_exit_rcu+0x145/0x1c0 [ 11.383706][ T207] Preemption disabled at: [ 11.383707][ T207] [] vprintk_emit+0x31b/0x3e0 [ 11.383713][ T207] CPU: 2 UID: 0 PID: 207 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.383718][ T207] Tainted: [W]=WARN [ 11.383719][ T207] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.383722][ T207] Call Trace: [ 11.383724][ T207] [ 11.383726][ T207] dump_stack_lvl+0x6f/0xa0 [ 11.383733][ T207] ? vprintk_emit+0x31b/0x3e0 [ 11.383735][ T207] __might_resched.cold+0x1fe/0x2c1 [ 11.383742][ T207] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.383747][ T207] ? __kmalloc_noprof+0xdb/0x760 [ 11.383754][ T207] __kmalloc_noprof+0x443/0x760 [ 11.383757][ T207] ? alloc_buf.isra.0+0x4b/0x260 [ 11.383766][ T207] ? do_raw_spin_unlock+0x59/0x250 [ 11.383769][ T207] alloc_buf.isra.0+0x4b/0x260 [ 11.383775][ T207] put_chars+0x1e1/0x2f0 [ 11.383779][ T207] ? __send_to_port+0x420/0x420 [ 11.383781][ T207] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.383786][ T207] ? validate_chain+0x38b/0xc20 [ 11.383795][ T207] hvc_console_print+0x292/0x780 [ 11.383807][ T207] ? hvc_write+0x3a0/0x3a0 [ 11.383811][ T207] ? rcu_is_watching+0x16/0xd0 [ 11.383814][ T207] ? lock_acquire+0x13c/0x160 [ 11.383821][ T207] console_emit_next_record+0x22f/0x4c0 [ 11.383827][ T207] ? devkmsg_read+0x4b0/0x4b0 [ 11.383829][ T207] ? console_flush_one_record+0x106/0x710 [ 11.383834][ T207] ? rcu_is_watching+0x16/0xd0 [ 11.383837][ T207] ? lock_acquire+0x13c/0x160 [ 11.383844][ T207] console_flush_one_record+0x46f/0x710 [ 11.383851][ T207] ? console_emit_next_record+0x4c0/0x4c0 [ 11.383853][ T207] ? __lock_acquire+0x518/0xc20 [ 11.383862][ T207] console_unlock+0xee/0x1f0 [ 11.383866][ T207] ? console_flush_one_record+0x710/0x710 [ 11.383869][ T207] ? rcu_is_watching+0x16/0xd0 [ 11.383872][ T207] ? lock_acquire+0xe0/0x160 [ 11.383878][ T207] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.383880][ T207] ? vprintk_emit+0x320/0x3e0 [ 11.383885][ T207] vprintk_emit+0x37c/0x3e0 [ 11.383891][ T207] ? wake_up_klogd_work_func+0x90/0x90 [ 11.383900][ T207] ? exit_u32+0x460/0x460 [cls_u32] [ 11.383904][ T207] _printk+0xc7/0x100 [ 11.383909][ T207] ? snapshot_read.cold+0x21/0x21 [ 11.383919][ T207] ? do_one_initcall+0x113/0x4f0 [ 11.383924][ T207] init_u32+0x1e/0x1000 [cls_u32] [ 11.383930][ T207] do_one_initcall+0x124/0x4f0 [ 11.383934][ T207] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 11.383942][ T207] ? do_init_module+0xae/0x8a0 [ 11.383945][ T207] ? kasan_unpoison+0x44/0x70 [ 11.383953][ T207] do_init_module+0x2ad/0x8a0 [ 11.383958][ T207] ? lockdep_hardirqs_on+0x91/0x130 [ 11.383963][ T207] ? free_module+0x470/0x470 [ 11.383967][ T207] ? kfree+0x123/0x590 [ 11.383973][ T207] load_module+0x1424/0x1bb0 [ 11.383981][ T207] ? security_kernel_post_read_file+0x2f/0x60 [ 11.383988][ T207] ? layout_and_allocate.isra.0+0x680/0x680 [ 11.383993][ T207] ? __ia32_sys_fsconfig+0x180/0x180 [ 11.383999][ T207] ? backing_file_read_iter+0x541/0x790 [ 11.384004][ T207] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.384009][ T207] init_module_from_file+0x11f/0x1a0 [ 11.384013][ T207] ? __do_sys_init_module+0x270/0x270 [ 11.384025][ T207] ? __rwlock_init+0x150/0x150 [ 11.384030][ T207] ? do_raw_spin_unlock+0x59/0x250 [ 11.384035][ T207] idempotent_init_module+0x37b/0x7c0 [ 11.384039][ T207] ? init_module_from_file+0x1a0/0x1a0 [ 11.384047][ T207] ? cap_capable+0x1d7/0x3d0 [ 11.384051][ T207] ? __x64_sys_pread64+0x18d/0x250 [ 11.384059][ T207] __x64_sys_finit_module+0xdf/0x190 [ 11.384061][ T207] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.384067][ T207] do_syscall_64+0xff/0x530 [ 11.384070][ T207] ? exc_page_fault+0xee/0x100 [ 11.384074][ T207] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.384078][ T207] RIP: 0033:0x7f4ebba5037d [ 11.384082][ T207] 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 [ 11.384084][ T207] RSP: 002b:00007ffde70c7898 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 11.384088][ T207] RAX: ffffffffffffffda RBX: 000055c5e8763810 RCX: 00007f4ebba5037d [ 11.384089][ T207] RDX: 0000000000000000 RSI: 000055c5e3070ffd RDI: 0000000000000000 [ 11.384090][ T207] RBP: 00007ffde70c7930 R08: 0000000000000000 R09: 0000000000000000 [ 11.384092][ T207] R10: 0000000000000000 R11: 0000000000000246 R12: 000055c5e3070ffd [ 11.384093][ T207] R13: 000055c5e8763950 R14: 0000000000040000 R15: 0000000000000000 [ 11.384104][ T207] [ 11.422642][ T207] input device check on [ 11.422997][ T207] Actions configured [ 11.492814][ T208] Mirror/redirect action on