[ 9.542901][ T209] u32 classifier [ 9.542916][ T209] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.542918][ T209] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 209, name: modprobe [ 9.542920][ T209] preempt_count: 1, expected: 0 [ 9.542921][ T209] RCU nest depth: 0, expected: 0 [ 9.542922][ T209] locks held by modprobe/209: 4, last CPU#3: [ 9.542924][ T209] #0: ffffffff8cf7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.542934][ T209] #1: ffffffff8cf7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.542939][ T209] #2: ffffffff8ce9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.542943][ T209] #3: ffffffff8ce9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.542947][ T209] irq event stamp: 19712 [ 9.542948][ T209] hardirqs last enabled at (19711): [] __down_trylock_console_sem+0x86/0xa0 [ 9.542951][ T209] hardirqs last disabled at (19712): [] console_emit_next_record+0x3d4/0x4c0 [ 9.542953][ T209] softirqs last enabled at (18854): [] handle_softirqs+0x67c/0x900 [ 9.542956][ T209] softirqs last disabled at (17711): [] __irq_exit_rcu+0x145/0x1c0 [ 9.542963][ T209] Preemption disabled at: [ 9.542963][ T209] [] vprintk_emit+0x31b/0x3e0 [ 9.542968][ T209] CPU: 3 UID: 0 PID: 209 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.542972][ T209] Tainted: [W]=WARN [ 9.542972][ T209] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.542974][ T209] Call Trace: [ 9.542976][ T209] [ 9.542977][ T209] dump_stack_lvl+0x6f/0xa0 [ 9.542983][ T209] ? vprintk_emit+0x31b/0x3e0 [ 9.542984][ T209] __might_resched.cold+0x1fe/0x2c1 [ 9.542989][ T209] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.542992][ T209] ? __kmalloc_noprof+0xdb/0x760 [ 9.542997][ T209] __kmalloc_noprof+0x443/0x760 [ 9.542999][ T209] ? alloc_buf.isra.0+0x4b/0x260 [ 9.543005][ T209] ? do_raw_spin_unlock+0x59/0x250 [ 9.543008][ T209] alloc_buf.isra.0+0x4b/0x260 [ 9.543012][ T209] put_chars+0x1e1/0x2f0 [ 9.543014][ T209] ? __send_to_port+0x420/0x420 [ 9.543015][ T209] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.543018][ T209] ? validate_chain+0x38b/0xc20 [ 9.543023][ T209] hvc_console_print+0x292/0x780 [ 9.543031][ T209] ? hvc_write+0x3a0/0x3a0 [ 9.543033][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.543035][ T209] ? lock_acquire+0x13c/0x160 [ 9.543039][ T209] console_emit_next_record+0x22f/0x4c0 [ 9.543043][ T209] ? devkmsg_read+0x4b0/0x4b0 [ 9.543044][ T209] ? console_flush_one_record+0x106/0x710 [ 9.543047][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.543049][ T209] ? lock_acquire+0x13c/0x160 [ 9.543053][ T209] console_flush_one_record+0x46f/0x710 [ 9.543057][ T209] ? console_emit_next_record+0x4c0/0x4c0 [ 9.543058][ T209] ? __lock_acquire+0x518/0xc20 [ 9.543063][ T209] console_unlock+0xee/0x1f0 [ 9.543066][ T209] ? console_flush_one_record+0x710/0x710 [ 9.543068][ T209] ? rcu_is_watching+0x16/0xd0 [ 9.543069][ T209] ? lock_acquire+0xe0/0x160 [ 9.543073][ T209] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.543075][ T209] ? vprintk_emit+0x320/0x3e0 [ 9.543077][ T209] vprintk_emit+0x37c/0x3e0 [ 9.543080][ T209] ? wake_up_klogd_work_func+0x90/0x90 [ 9.543085][ T209] ? exit_u32+0x460/0x460 [cls_u32] [ 9.543088][ T209] _printk+0xc7/0x100 [ 9.543091][ T209] ? snapshot_read.cold+0x21/0x21 [ 9.543097][ T209] ? do_one_initcall+0x113/0x4f0 [ 9.543101][ T209] init_u32+0x1e/0x1000 [cls_u32] [ 9.543104][ T209] do_one_initcall+0x124/0x4f0 [ 9.543106][ T209] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 9.543111][ T209] ? do_init_module+0xae/0x8a0 [ 9.543113][ T209] ? kasan_unpoison+0x44/0x70 [ 9.543119][ T209] do_init_module+0x2ad/0x8a0 [ 9.543122][ T209] ? lockdep_hardirqs_on+0x91/0x130 [ 9.543125][ T209] ? free_module+0x470/0x470 [ 9.543128][ T209] ? kfree+0x123/0x590 [ 9.543131][ T209] load_module+0x1424/0x1bb0 [ 9.543136][ T209] ? security_kernel_post_read_file+0x2f/0x60 [ 9.543141][ T209] ? layout_and_allocate.isra.0+0x680/0x680 [ 9.543144][ T209] ? __ia32_sys_fsconfig+0x180/0x180 [ 9.543148][ T209] ? backing_file_read_iter+0x541/0x790 [ 9.543151][ T209] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.543154][ T209] init_module_from_file+0x11f/0x1a0 [ 9.543157][ T209] ? __do_sys_init_module+0x270/0x270 [ 9.543164][ T209] ? __rwlock_init+0x150/0x150 [ 9.543167][ T209] ? do_raw_spin_unlock+0x59/0x250 [ 9.543170][ T209] idempotent_init_module+0x37b/0x7c0 [ 9.543173][ T209] ? init_module_from_file+0x1a0/0x1a0 [ 9.543178][ T209] ? cap_capable+0x1d7/0x3d0 [ 9.543181][ T209] ? __x64_sys_pread64+0x18d/0x250 [ 9.543186][ T209] __x64_sys_finit_module+0xdf/0x190 [ 9.543187][ T209] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.543191][ T209] do_syscall_64+0xff/0x530 [ 9.543194][ T209] ? exc_page_fault+0xee/0x100 [ 9.543196][ T209] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.543198][ T209] RIP: 0033:0x7f36696b237d [ 9.543201][ 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.543203][ T209] RSP: 002b:00007ffca9f60668 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 9.543206][ T209] RAX: ffffffffffffffda RBX: 000055b563498810 RCX: 00007f36696b237d [ 9.543207][ T209] RDX: 0000000000000000 RSI: 000055b53158affd RDI: 0000000000000000 [ 9.543208][ T209] RBP: 00007ffca9f60700 R08: 0000000000000000 R09: 0000000000000000 [ 9.543208][ T209] R10: 0000000000000000 R11: 0000000000000246 R12: 000055b53158affd [ 9.543209][ T209] R13: 000055b563498950 R14: 0000000000040000 R15: 0000000000000000 [ 9.543216][ T209] [ 9.563263][ T209] input device check on [ 9.563479][ T209] Actions configured [ 9.597881][ T210] Mirror/redirect action on