[ 10.650744][ T210] u32 classifier [ 10.650760][ T210] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.650763][ T210] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 210, name: modprobe [ 10.650764][ T210] preempt_count: 1, expected: 0 [ 10.650765][ T210] RCU nest depth: 0, expected: 0 [ 10.650766][ T210] locks held by modprobe/210: 4, last CPU#3: [ 10.650768][ T210] #0: ffffffff9817ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.650779][ T210] #1: ffffffff9817de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.650784][ T210] #2: ffffffff9809d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.650788][ T210] #3: ffffffff9809d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.650792][ T210] irq event stamp: 23748 [ 10.650793][ T210] hardirqs last enabled at (23747): [] __down_trylock_console_sem+0x86/0xa0 [ 10.650796][ T210] hardirqs last disabled at (23748): [] console_emit_next_record+0x3d4/0x4c0 [ 10.650798][ T210] softirqs last enabled at (23644): [] handle_softirqs+0x67c/0x900 [ 10.650802][ T210] softirqs last disabled at (22867): [] __irq_exit_rcu+0x145/0x1c0 [ 10.650804][ T210] Preemption disabled at: [ 10.650805][ T210] [] vprintk_emit+0x31b/0x3e0 [ 10.650810][ T210] CPU: 3 UID: 0 PID: 210 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.650813][ T210] Tainted: [W]=WARN [ 10.650814][ T210] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.650816][ T210] Call Trace: [ 10.650817][ T210] [ 10.650818][ T210] dump_stack_lvl+0x6f/0xa0 [ 10.650824][ T210] ? vprintk_emit+0x31b/0x3e0 [ 10.650826][ T210] __might_resched.cold+0x1fe/0x2c1 [ 10.650830][ T210] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.650834][ T210] ? __kmalloc_noprof+0xdb/0x760 [ 10.650838][ T210] __kmalloc_noprof+0x443/0x760 [ 10.650840][ T210] ? alloc_buf.isra.0+0x4b/0x260 [ 10.650847][ T210] ? do_raw_spin_unlock+0x59/0x250 [ 10.650849][ T210] alloc_buf.isra.0+0x4b/0x260 [ 10.650853][ T210] put_chars+0x1e1/0x2f0 [ 10.650855][ T210] ? __send_to_port+0x420/0x420 [ 10.650857][ T210] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.650860][ T210] ? validate_chain+0x38b/0xc20 [ 10.650865][ T210] hvc_console_print+0x292/0x780 [ 10.650873][ T210] ? hvc_write+0x3a0/0x3a0 [ 10.650875][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.650877][ T210] ? lock_acquire+0x13c/0x160 [ 10.650881][ T210] console_emit_next_record+0x22f/0x4c0 [ 10.650885][ T210] ? devkmsg_read+0x4b0/0x4b0 [ 10.650887][ T210] ? console_flush_one_record+0x106/0x710 [ 10.650890][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.650892][ T210] ? lock_acquire+0x13c/0x160 [ 10.650895][ T210] console_flush_one_record+0x46f/0x710 [ 10.650900][ T210] ? console_emit_next_record+0x4c0/0x4c0 [ 10.650901][ T210] ? __lock_acquire+0x518/0xc20 [ 10.650906][ T210] console_unlock+0xee/0x1f0 [ 10.650909][ T210] ? console_flush_one_record+0x710/0x710 [ 10.650911][ T210] ? rcu_is_watching+0x16/0xd0 [ 10.650913][ T210] ? lock_acquire+0xe0/0x160 [ 10.650916][ T210] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.650918][ T210] ? vprintk_emit+0x320/0x3e0 [ 10.650920][ T210] vprintk_emit+0x37c/0x3e0 [ 10.650924][ T210] ? wake_up_klogd_work_func+0x90/0x90 [ 10.650928][ T210] ? exit_u32+0x460/0x460 [cls_u32] [ 10.650931][ T210] _printk+0xc7/0x100 [ 10.650935][ T210] ? snapshot_read.cold+0x21/0x21 [ 10.650941][ T210] ? do_one_initcall+0x113/0x4f0 [ 10.650944][ T210] init_u32+0x1e/0x1000 [cls_u32] [ 10.650947][ T210] do_one_initcall+0x124/0x4f0 [ 10.650950][ T210] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 10.650955][ T210] ? do_init_module+0xae/0x8a0 [ 10.650957][ T210] ? kasan_unpoison+0x44/0x70 [ 10.650962][ T210] do_init_module+0x2ad/0x8a0 [ 10.650965][ T210] ? lockdep_hardirqs_on+0x91/0x130 [ 10.650970][ T210] ? free_module+0x470/0x470 [ 10.650972][ T210] ? kfree+0x123/0x590 [ 10.650976][ T210] load_module+0x1424/0x1bb0 [ 10.650981][ T210] ? security_kernel_post_read_file+0x2f/0x60 [ 10.650985][ T210] ? layout_and_allocate.isra.0+0x680/0x680 [ 10.650988][ T210] ? __ia32_sys_fsconfig+0x180/0x180 [ 10.650992][ T210] ? backing_file_read_iter+0x541/0x790 [ 10.651000][ T210] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.651004][ T210] init_module_from_file+0x11f/0x1a0 [ 10.651006][ T210] ? __do_sys_init_module+0x270/0x270 [ 10.651013][ T210] ? __rwlock_init+0x150/0x150 [ 10.651017][ T210] ? do_raw_spin_unlock+0x59/0x250 [ 10.651020][ T210] idempotent_init_module+0x37b/0x7c0 [ 10.651022][ T210] ? init_module_from_file+0x1a0/0x1a0 [ 10.651028][ T210] ? cap_capable+0x1d7/0x3d0 [ 10.651030][ T210] ? __x64_sys_pread64+0x18d/0x250 [ 10.651035][ T210] __x64_sys_finit_module+0xdf/0x190 [ 10.651036][ T210] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 10.651040][ T210] do_syscall_64+0xff/0x530 [ 10.651043][ T210] ? exc_page_fault+0xee/0x100 [ 10.651046][ T210] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.651048][ T210] RIP: 0033:0x7fed4117437d [ 10.651051][ T210] 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.651053][ T210] RSP: 002b:00007ffc51586768 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 10.651055][ T210] RAX: ffffffffffffffda RBX: 000055ca54600810 RCX: 00007fed4117437d [ 10.651057][ T210] RDX: 0000000000000000 RSI: 000055ca31c94ffd RDI: 0000000000000000 [ 10.651058][ T210] RBP: 00007ffc51586800 R08: 0000000000000000 R09: 0000000000000000 [ 10.651059][ T210] R10: 0000000000000000 R11: 0000000000000246 R12: 000055ca31c94ffd [ 10.651059][ T210] R13: 000055ca54600950 R14: 0000000000040000 R15: 0000000000000000 [ 10.651066][ T210] [ 10.671719][ T210] input device check on [ 10.671902][ T210] Actions configured [ 10.719598][ T211] Mirror/redirect action on [ 10.733867][ T208] tc (208) used greatest stack depth: 23872 bytes left