[ 10.689661][ T207] u32 classifier [ 10.689681][ T207] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.689684][ T207] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 207, name: modprobe [ 10.689685][ T207] preempt_count: 1, expected: 0 [ 10.689686][ T207] RCU nest depth: 0, expected: 0 [ 10.689687][ T207] locks held by modprobe/207: 4, last CPU#2: [ 10.689689][ T207] #0: ffffffffba57ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.689700][ T207] #1: ffffffffba57de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.689705][ T207] #2: ffffffffba49d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.689709][ T207] #3: ffffffffba49d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.689713][ T207] irq event stamp: 27048 [ 10.689714][ T207] hardirqs last enabled at (27047): [] __down_trylock_console_sem+0x86/0xa0 [ 10.689717][ T207] hardirqs last disabled at (27048): [] console_emit_next_record+0x3d4/0x4c0 [ 10.689719][ T207] softirqs last enabled at (23704): [] handle_softirqs+0x67c/0x900 [ 10.689723][ T207] softirqs last disabled at (23011): [] __irq_exit_rcu+0x145/0x1c0 [ 10.689725][ T207] Preemption disabled at: [ 10.689726][ T207] [] vprintk_emit+0x31b/0x3e0 [ 10.689731][ T207] CPU: 2 UID: 0 PID: 207 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.689735][ T207] Tainted: [W]=WARN [ 10.689735][ T207] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.689741][ T207] Call Trace: [ 10.689743][ T207] [ 10.689744][ T207] dump_stack_lvl+0x6f/0xa0 [ 10.689750][ T207] ? vprintk_emit+0x31b/0x3e0 [ 10.689751][ T207] __might_resched.cold+0x1fe/0x2c1 [ 10.689756][ T207] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.689760][ T207] ? __kmalloc_noprof+0xdb/0x760 [ 10.689764][ T207] __kmalloc_noprof+0x443/0x760 [ 10.689766][ T207] ? alloc_buf.isra.0+0x4b/0x260 [ 10.689772][ T207] ? do_raw_spin_unlock+0x59/0x250 [ 10.689775][ T207] alloc_buf.isra.0+0x4b/0x260 [ 10.689779][ T207] put_chars+0x1e1/0x2f0 [ 10.689781][ T207] ? __send_to_port+0x420/0x420 [ 10.689782][ T207] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.689786][ T207] ? validate_chain+0x38b/0xc20 [ 10.689791][ T207] hvc_console_print+0x292/0x780 [ 10.689798][ T207] ? hvc_write+0x3a0/0x3a0 [ 10.689801][ T207] ? rcu_is_watching+0x16/0xd0 [ 10.689802][ T207] ? lock_acquire+0x13c/0x160 [ 10.689806][ T207] console_emit_next_record+0x22f/0x4c0 [ 10.689810][ T207] ? devkmsg_read+0x4b0/0x4b0 [ 10.689812][ T207] ? console_flush_one_record+0x106/0x710 [ 10.689815][ T207] ? rcu_is_watching+0x16/0xd0 [ 10.689817][ T207] ? lock_acquire+0x13c/0x160 [ 10.689821][ T207] console_flush_one_record+0x46f/0x710 [ 10.689825][ T207] ? console_emit_next_record+0x4c0/0x4c0 [ 10.689827][ T207] ? __lock_acquire+0x518/0xc20 [ 10.689832][ T207] console_unlock+0xee/0x1f0 [ 10.689835][ T207] ? console_flush_one_record+0x710/0x710 [ 10.689837][ T207] ? rcu_is_watching+0x16/0xd0 [ 10.689838][ T207] ? lock_acquire+0xe0/0x160 [ 10.689842][ T207] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.689844][ T207] ? vprintk_emit+0x320/0x3e0 [ 10.689846][ T207] vprintk_emit+0x37c/0x3e0 [ 10.689850][ T207] ? wake_up_klogd_work_func+0x90/0x90 [ 10.689855][ T207] ? exit_u32+0x460/0x460 [cls_u32] [ 10.689858][ T207] _printk+0xc7/0x100 [ 10.689862][ T207] ? snapshot_read.cold+0x21/0x21 [ 10.689868][ T207] ? do_one_initcall+0x113/0x4f0 [ 10.689871][ T207] init_u32+0x1e/0x1000 [cls_u32] [ 10.689875][ T207] do_one_initcall+0x124/0x4f0 [ 10.689877][ T207] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 10.689882][ T207] ? do_init_module+0xae/0x8a0 [ 10.689884][ T207] ? kasan_unpoison+0x44/0x70 [ 10.689890][ T207] do_init_module+0x2ad/0x8a0 [ 10.689893][ T207] ? lockdep_hardirqs_on+0x91/0x130 [ 10.689897][ T207] ? free_module+0x470/0x470 [ 10.689899][ T207] ? kfree+0x123/0x590 [ 10.689903][ T207] load_module+0x1424/0x1bb0 [ 10.689907][ T207] ? security_kernel_post_read_file+0x2f/0x60 [ 10.689912][ T207] ? layout_and_allocate.isra.0+0x680/0x680 [ 10.689915][ T207] ? __ia32_sys_fsconfig+0x180/0x180 [ 10.689919][ T207] ? backing_file_read_iter+0x541/0x790 [ 10.689923][ T207] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.689926][ T207] init_module_from_file+0x11f/0x1a0 [ 10.689928][ T207] ? __do_sys_init_module+0x270/0x270 [ 10.689936][ T207] ? __rwlock_init+0x150/0x150 [ 10.689939][ T207] ? do_raw_spin_unlock+0x59/0x250 [ 10.689942][ T207] idempotent_init_module+0x37b/0x7c0 [ 10.689945][ T207] ? init_module_from_file+0x1a0/0x1a0 [ 10.689950][ T207] ? cap_capable+0x1d7/0x3d0 [ 10.689953][ T207] ? __x64_sys_pread64+0x18d/0x250 [ 10.689958][ T207] __x64_sys_finit_module+0xdf/0x190 [ 10.689959][ T207] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.689963][ T207] do_syscall_64+0xff/0x530 [ 10.689966][ T207] ? exc_page_fault+0xee/0x100 [ 10.689968][ T207] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.689970][ T207] RIP: 0033:0x7ff8002df37d [ 10.689974][ 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 [ 10.689975][ T207] RSP: 002b:00007fff8fea70e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 10.689978][ T207] RAX: ffffffffffffffda RBX: 0000558896870810 RCX: 00007ff8002df37d [ 10.689979][ T207] RDX: 0000000000000000 RSI: 0000558869fe8ffd RDI: 0000000000000000 [ 10.689980][ T207] RBP: 00007fff8fea7180 R08: 0000000000000000 R09: 0000000000000000 [ 10.689981][ T207] R10: 0000000000000000 R11: 0000000000000246 R12: 0000558869fe8ffd [ 10.689982][ T207] R13: 0000558896870950 R14: 0000000000040000 R15: 0000000000000000 [ 10.689988][ T207] [ 10.716404][ T207] input device check on [ 10.716651][ T207] Actions configured [ 10.751189][ T208] Mirror/redirect action on