[ 9.525278][ T207] u32 classifier [ 9.525292][ T207] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.525295][ T207] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 207, name: modprobe [ 9.525296][ T207] preempt_count: 1, expected: 0 [ 9.525297][ T207] RCU nest depth: 0, expected: 0 [ 9.525298][ T207] locks held by modprobe/207: 4, last CPU#2: [ 9.525300][ T207] #0: ffffffff96b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.525311][ T207] #1: ffffffff96b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.525316][ T207] #2: ffffffff96a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.525320][ T207] #3: ffffffff96a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.525323][ T207] irq event stamp: 17590 [ 9.525324][ T207] hardirqs last enabled at (17589): [] __down_trylock_console_sem+0x86/0xa0 [ 9.525327][ T207] hardirqs last disabled at (17590): [] console_emit_next_record+0x3d4/0x4c0 [ 9.525329][ T207] softirqs last enabled at (15752): [] handle_softirqs+0x67c/0x900 [ 9.525332][ T207] softirqs last disabled at (15743): [] __irq_exit_rcu+0x145/0x1c0 [ 9.525335][ T207] Preemption disabled at: [ 9.525336][ T207] [] vprintk_emit+0x31b/0x3e0 [ 9.525340][ T207] CPU: 2 UID: 0 PID: 207 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.525344][ T207] Tainted: [W]=WARN [ 9.525345][ T207] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.525346][ T207] Call Trace: [ 9.525348][ T207] [ 9.525349][ T207] dump_stack_lvl+0x6f/0xa0 [ 9.525355][ T207] ? vprintk_emit+0x31b/0x3e0 [ 9.525356][ T207] __might_resched.cold+0x1fe/0x2c1 [ 9.525361][ T207] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.525364][ T207] ? __kmalloc_noprof+0xdb/0x760 [ 9.525369][ T207] __kmalloc_noprof+0x443/0x760 [ 9.525371][ T207] ? alloc_buf.isra.0+0x4b/0x260 [ 9.525377][ T207] ? do_raw_spin_unlock+0x59/0x250 [ 9.525380][ T207] alloc_buf.isra.0+0x4b/0x260 [ 9.525383][ T207] put_chars+0x1e1/0x2f0 [ 9.525386][ T207] ? __send_to_port+0x420/0x420 [ 9.525387][ T207] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.525390][ T207] ? validate_chain+0x38b/0xc20 [ 9.525395][ T207] hvc_console_print+0x292/0x780 [ 9.525403][ T207] ? hvc_write+0x3a0/0x3a0 [ 9.525405][ T207] ? rcu_is_watching+0x16/0xd0 [ 9.525407][ T207] ? lock_acquire+0x13c/0x160 [ 9.525411][ T207] console_emit_next_record+0x22f/0x4c0 [ 9.525415][ T207] ? devkmsg_read+0x4b0/0x4b0 [ 9.525417][ T207] ? console_flush_one_record+0x106/0x710 [ 9.525420][ T207] ? rcu_is_watching+0x16/0xd0 [ 9.525421][ T207] ? lock_acquire+0x13c/0x160 [ 9.525425][ T207] console_flush_one_record+0x46f/0x710 [ 9.525431][ T207] ? console_emit_next_record+0x4c0/0x4c0 [ 9.525433][ T207] ? __lock_acquire+0x518/0xc20 [ 9.525438][ T207] console_unlock+0xee/0x1f0 [ 9.525441][ T207] ? console_flush_one_record+0x710/0x710 [ 9.525443][ T207] ? rcu_is_watching+0x16/0xd0 [ 9.525444][ T207] ? lock_acquire+0xe0/0x160 [ 9.525448][ T207] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.525450][ T207] ? vprintk_emit+0x320/0x3e0 [ 9.525452][ T207] vprintk_emit+0x37c/0x3e0 [ 9.525456][ T207] ? wake_up_klogd_work_func+0x90/0x90 [ 9.525460][ T207] ? exit_u32+0x460/0x460 [cls_u32] [ 9.525463][ T207] _printk+0xc7/0x100 [ 9.525467][ T207] ? snapshot_read.cold+0x21/0x21 [ 9.525473][ T207] ? do_one_initcall+0x113/0x4f0 [ 9.525476][ T207] init_u32+0x1e/0x1000 [cls_u32] [ 9.525479][ T207] do_one_initcall+0x124/0x4f0 [ 9.525482][ T207] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 9.525486][ T207] ? do_init_module+0xae/0x8a0 [ 9.525488][ T207] ? kasan_unpoison+0x44/0x70 [ 9.525494][ T207] do_init_module+0x2ad/0x8a0 [ 9.525497][ T207] ? lockdep_hardirqs_on+0x91/0x130 [ 9.525501][ T207] ? free_module+0x470/0x470 [ 9.525503][ T207] ? kfree+0x123/0x590 [ 9.525507][ T207] load_module+0x1424/0x1bb0 [ 9.525512][ T207] ? security_kernel_post_read_file+0x2f/0x60 [ 9.525517][ T207] ? layout_and_allocate.isra.0+0x680/0x680 [ 9.525520][ T207] ? __ia32_sys_fsconfig+0x180/0x180 [ 9.525523][ T207] ? find_held_lock+0x2b/0x80 [ 9.525526][ T207] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.525529][ T207] init_module_from_file+0x11f/0x1a0 [ 9.525531][ T207] ? __do_sys_init_module+0x270/0x270 [ 9.525543][ T207] ? __rwlock_init+0x150/0x150 [ 9.525547][ T207] ? do_raw_spin_unlock+0x59/0x250 [ 9.525550][ T207] idempotent_init_module+0x37b/0x7c0 [ 9.525553][ T207] ? init_module_from_file+0x1a0/0x1a0 [ 9.525558][ T207] ? cap_capable+0x1d7/0x3d0 [ 9.525559][ T207] ? exc_page_fault+0x87/0x100 [ 9.525564][ T207] __x64_sys_finit_module+0xdf/0x190 [ 9.525566][ T207] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.525570][ T207] do_syscall_64+0xff/0x530 [ 9.525572][ T207] ? exc_page_fault+0xee/0x100 [ 9.525575][ T207] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.525577][ T207] RIP: 0033:0x7fa2974b837d [ 9.525580][ 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 [ 9.525581][ T207] RSP: 002b:00007ffd719649c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 9.525584][ T207] RAX: ffffffffffffffda RBX: 000055975c90c810 RCX: 00007fa2974b837d [ 9.525585][ T207] RDX: 0000000000000000 RSI: 000055973fd21ffd RDI: 0000000000000000 [ 9.525586][ T207] RBP: 00007ffd71964a60 R08: 0000000000000000 R09: 0000000000000000 [ 9.525587][ T207] R10: 0000000000000000 R11: 0000000000000246 R12: 000055973fd21ffd [ 9.525588][ T207] R13: 000055975c90c950 R14: 0000000000040000 R15: 0000000000000000 [ 9.525594][ T207] [ 9.550379][ T207] input device check on [ 9.550881][ T207] Actions configured [ 9.587683][ T208] Mirror/redirect action on