[ 9.719114][ T208] u32 classifier [ 9.719130][ T208] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.719132][ T208] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 208, name: modprobe [ 9.719134][ T208] preempt_count: 1, expected: 0 [ 9.719135][ T208] RCU nest depth: 0, expected: 0 [ 9.719136][ T208] locks held by modprobe/208: 4, last CPU#0: [ 9.719138][ T208] #0: ffffffff8f97ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.719150][ T208] #1: ffffffff8f97de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.719155][ T208] #2: ffffffff8f89d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.719159][ T208] #3: ffffffff8f89d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.719162][ T208] irq event stamp: 25930 [ 9.719163][ T208] hardirqs last enabled at (25929): [] __down_trylock_console_sem+0x86/0xa0 [ 9.719166][ T208] hardirqs last disabled at (25930): [] console_emit_next_record+0x3d4/0x4c0 [ 9.719168][ T208] softirqs last enabled at (24260): [] handle_softirqs+0x67c/0x900 [ 9.719172][ T208] softirqs last disabled at (24255): [] __irq_exit_rcu+0x145/0x1c0 [ 9.719174][ T208] Preemption disabled at: [ 9.719175][ T208] [] vprintk_emit+0x31b/0x3e0 [ 9.719180][ T208] CPU: 0 UID: 0 PID: 208 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.719184][ T208] Tainted: [W]=WARN [ 9.719185][ T208] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.719187][ T208] Call Trace: [ 9.719188][ T208] [ 9.719190][ T208] dump_stack_lvl+0x6f/0xa0 [ 9.719195][ T208] ? vprintk_emit+0x31b/0x3e0 [ 9.719197][ T208] __might_resched.cold+0x1fe/0x2c1 [ 9.719201][ T208] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.719205][ T208] ? __kmalloc_noprof+0xdb/0x760 [ 9.719209][ T208] __kmalloc_noprof+0x443/0x760 [ 9.719211][ T208] ? alloc_buf.isra.0+0x4b/0x260 [ 9.719218][ T208] ? do_raw_spin_unlock+0x59/0x250 [ 9.719220][ T208] alloc_buf.isra.0+0x4b/0x260 [ 9.719224][ T208] put_chars+0x1e1/0x2f0 [ 9.719227][ T208] ? __send_to_port+0x420/0x420 [ 9.719228][ T208] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.719231][ T208] ? validate_chain+0x38b/0xc20 [ 9.719237][ T208] hvc_console_print+0x292/0x780 [ 9.719244][ T208] ? hvc_write+0x3a0/0x3a0 [ 9.719247][ T208] ? rcu_is_watching+0x16/0xd0 [ 9.719249][ T208] ? lock_acquire+0x13c/0x160 [ 9.719253][ T208] console_emit_next_record+0x22f/0x4c0 [ 9.719257][ T208] ? devkmsg_read+0x4b0/0x4b0 [ 9.719259][ T208] ? console_flush_one_record+0x106/0x710 [ 9.719262][ T208] ? rcu_is_watching+0x16/0xd0 [ 9.719263][ T208] ? lock_acquire+0x13c/0x160 [ 9.719267][ T208] console_flush_one_record+0x46f/0x710 [ 9.719271][ T208] ? console_emit_next_record+0x4c0/0x4c0 [ 9.719273][ T208] ? __lock_acquire+0x518/0xc20 [ 9.719279][ T208] console_unlock+0xee/0x1f0 [ 9.719281][ T208] ? console_flush_one_record+0x710/0x710 [ 9.719283][ T208] ? rcu_is_watching+0x16/0xd0 [ 9.719285][ T208] ? lock_acquire+0xe0/0x160 [ 9.719288][ T208] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.719290][ T208] ? vprintk_emit+0x320/0x3e0 [ 9.719293][ T208] vprintk_emit+0x37c/0x3e0 [ 9.719296][ T208] ? wake_up_klogd_work_func+0x90/0x90 [ 9.719301][ T208] ? exit_u32+0x460/0x460 [cls_u32] [ 9.719305][ T208] _printk+0xc7/0x100 [ 9.719308][ T208] ? snapshot_read.cold+0x21/0x21 [ 9.719314][ T208] ? do_one_initcall+0x113/0x4f0 [ 9.719317][ T208] init_u32+0x1e/0x1000 [cls_u32] [ 9.719321][ T208] do_one_initcall+0x124/0x4f0 [ 9.719324][ T208] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 9.719328][ T208] ? do_init_module+0xae/0x8a0 [ 9.719331][ T208] ? kasan_unpoison+0x44/0x70 [ 9.719336][ T208] do_init_module+0x2ad/0x8a0 [ 9.719339][ T208] ? lockdep_hardirqs_on+0x91/0x130 [ 9.719343][ T208] ? free_module+0x470/0x470 [ 9.719346][ T208] ? kfree+0x123/0x590 [ 9.719349][ T208] load_module+0x1424/0x1bb0 [ 9.719355][ T208] ? security_kernel_post_read_file+0x2f/0x60 [ 9.719359][ T208] ? layout_and_allocate.isra.0+0x680/0x680 [ 9.719362][ T208] ? __ia32_sys_fsconfig+0x180/0x180 [ 9.719366][ T208] ? backing_file_read_iter+0x541/0x790 [ 9.719370][ T208] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.719373][ T208] init_module_from_file+0x11f/0x1a0 [ 9.719376][ T208] ? __do_sys_init_module+0x270/0x270 [ 9.719384][ T208] ? __rwlock_init+0x150/0x150 [ 9.719387][ T208] ? do_raw_spin_unlock+0x59/0x250 [ 9.719390][ T208] idempotent_init_module+0x37b/0x7c0 [ 9.719393][ T208] ? init_module_from_file+0x1a0/0x1a0 [ 9.719398][ T208] ? cap_capable+0x1d7/0x3d0 [ 9.719401][ T208] ? __x64_sys_pread64+0x18d/0x250 [ 9.719406][ T208] __x64_sys_finit_module+0xdf/0x190 [ 9.719407][ T208] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.719411][ T208] do_syscall_64+0xff/0x530 [ 9.719414][ T208] ? exc_page_fault+0xee/0x100 [ 9.719417][ T208] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.719419][ T208] RIP: 0033:0x7f1ba2c3637d [ 9.719422][ T208] 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.719424][ T208] RSP: 002b:00007ffcd07a71f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 9.719426][ T208] RAX: ffffffffffffffda RBX: 000055b0c1995810 RCX: 00007f1ba2c3637d [ 9.719427][ T208] RDX: 0000000000000000 RSI: 000055b0845b2ffd RDI: 0000000000000000 [ 9.719428][ T208] RBP: 00007ffcd07a7290 R08: 0000000000000000 R09: 0000000000000000 [ 9.719429][ T208] R10: 0000000000000000 R11: 0000000000000246 R12: 000055b0845b2ffd [ 9.719430][ T208] R13: 000055b0c1995950 R14: 0000000000040000 R15: 0000000000000000 [ 9.719436][ T208] [ 9.739953][ T208] input device check on [ 9.740142][ T208] Actions configured [ 9.769300][ T209] Mirror/redirect action on [ 9.781722][ T207] tc (207) used greatest stack depth: 24080 bytes left