[ 9.548696][ T207] u32 classifier [ 9.548711][ T207] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.548713][ T207] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 207, name: modprobe [ 9.548715][ T207] preempt_count: 1, expected: 0 [ 9.548715][ T207] RCU nest depth: 0, expected: 0 [ 9.548716][ T207] locks held by modprobe/207: 4, last CPU#3: [ 9.548718][ T207] #0: ffffffff9db7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.548729][ T207] #1: ffffffff9db7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.548734][ T207] #2: ffffffff9da9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.548738][ T207] #3: ffffffff9da9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.548742][ T207] irq event stamp: 25710 [ 9.548743][ T207] hardirqs last enabled at (25709): [] __down_trylock_console_sem+0x86/0xa0 [ 9.548746][ T207] hardirqs last disabled at (25710): [] console_emit_next_record+0x3d4/0x4c0 [ 9.548748][ T207] softirqs last enabled at (24616): [] handle_softirqs+0x67c/0x900 [ 9.548752][ T207] softirqs last disabled at (23907): [] __irq_exit_rcu+0x145/0x1c0 [ 9.548754][ T207] Preemption disabled at: [ 9.548755][ T207] [] vprintk_emit+0x31b/0x3e0 [ 9.548760][ T207] CPU: 3 UID: 0 PID: 207 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.548763][ T207] Tainted: [W]=WARN [ 9.548764][ T207] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.548765][ T207] Call Trace: [ 9.548767][ T207] [ 9.548768][ T207] dump_stack_lvl+0x6f/0xa0 [ 9.548774][ T207] ? vprintk_emit+0x31b/0x3e0 [ 9.548775][ T207] __might_resched.cold+0x1fe/0x2c1 [ 9.548779][ T207] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.548783][ T207] ? __kmalloc_noprof+0xdb/0x760 [ 9.548788][ T207] __kmalloc_noprof+0x443/0x760 [ 9.548789][ T207] ? alloc_buf.isra.0+0x4b/0x260 [ 9.548796][ T207] ? do_raw_spin_unlock+0x59/0x250 [ 9.548799][ T207] alloc_buf.isra.0+0x4b/0x260 [ 9.548802][ T207] put_chars+0x1e1/0x2f0 [ 9.548805][ T207] ? __send_to_port+0x420/0x420 [ 9.548806][ T207] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.548809][ T207] ? validate_chain+0x38b/0xc20 [ 9.548815][ T207] hvc_console_print+0x292/0x780 [ 9.548822][ T207] ? hvc_write+0x3a0/0x3a0 [ 9.548824][ T207] ? rcu_is_watching+0x16/0xd0 [ 9.548826][ T207] ? lock_acquire+0x13c/0x160 [ 9.548830][ T207] console_emit_next_record+0x22f/0x4c0 [ 9.548834][ T207] ? devkmsg_read+0x4b0/0x4b0 [ 9.548836][ T207] ? console_flush_one_record+0x106/0x710 [ 9.548839][ T207] ? rcu_is_watching+0x16/0xd0 [ 9.548841][ T207] ? lock_acquire+0x13c/0x160 [ 9.548845][ T207] console_flush_one_record+0x46f/0x710 [ 9.548849][ T207] ? console_emit_next_record+0x4c0/0x4c0 [ 9.548850][ T207] ? __lock_acquire+0x518/0xc20 [ 9.548856][ T207] console_unlock+0xee/0x1f0 [ 9.548858][ T207] ? console_flush_one_record+0x710/0x710 [ 9.548860][ T207] ? rcu_is_watching+0x16/0xd0 [ 9.548862][ T207] ? lock_acquire+0xe0/0x160 [ 9.548865][ T207] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.548867][ T207] ? vprintk_emit+0x320/0x3e0 [ 9.548870][ T207] vprintk_emit+0x37c/0x3e0 [ 9.548873][ T207] ? wake_up_klogd_work_func+0x90/0x90 [ 9.548878][ T207] ? exit_u32+0x460/0x460 [cls_u32] [ 9.548881][ T207] _printk+0xc7/0x100 [ 9.548884][ T207] ? snapshot_read.cold+0x21/0x21 [ 9.548890][ T207] ? do_one_initcall+0x113/0x4f0 [ 9.548893][ T207] init_u32+0x1e/0x1000 [cls_u32] [ 9.548897][ T207] do_one_initcall+0x124/0x4f0 [ 9.548899][ T207] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 9.548904][ T207] ? do_init_module+0xae/0x8a0 [ 9.548906][ T207] ? kasan_unpoison+0x44/0x70 [ 9.548912][ T207] do_init_module+0x2ad/0x8a0 [ 9.548915][ T207] ? lockdep_hardirqs_on+0x91/0x130 [ 9.548919][ T207] ? free_module+0x470/0x470 [ 9.548921][ T207] ? kfree+0x123/0x590 [ 9.548924][ T207] load_module+0x1424/0x1bb0 [ 9.548929][ T207] ? security_kernel_post_read_file+0x2f/0x60 [ 9.548934][ T207] ? layout_and_allocate.isra.0+0x680/0x680 [ 9.548937][ T207] ? __ia32_sys_fsconfig+0x180/0x180 [ 9.548940][ T207] ? find_held_lock+0x2b/0x80 [ 9.548943][ T207] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.548946][ T207] init_module_from_file+0x11f/0x1a0 [ 9.548949][ T207] ? __do_sys_init_module+0x270/0x270 [ 9.548956][ T207] ? __rwlock_init+0x150/0x150 [ 9.548960][ T207] ? do_raw_spin_unlock+0x59/0x250 [ 9.548963][ T207] idempotent_init_module+0x37b/0x7c0 [ 9.548965][ T207] ? init_module_from_file+0x1a0/0x1a0 [ 9.548970][ T207] ? cap_capable+0x1d7/0x3d0 [ 9.548972][ T207] ? exc_page_fault+0x87/0x100 [ 9.548977][ T207] __x64_sys_finit_module+0xdf/0x190 [ 9.548979][ T207] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 9.548982][ T207] do_syscall_64+0xff/0x530 [ 9.548985][ T207] ? exc_page_fault+0xee/0x100 [ 9.548987][ T207] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.548989][ T207] RIP: 0033:0x7f0fc79b837d [ 9.548992][ 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.548994][ T207] RSP: 002b:00007ffd8fd90458 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 9.548996][ T207] RAX: ffffffffffffffda RBX: 0000563a7b3db810 RCX: 00007f0fc79b837d [ 9.548998][ T207] RDX: 0000000000000000 RSI: 0000563a65c02ffd RDI: 0000000000000000 [ 9.548999][ T207] RBP: 00007ffd8fd904f0 R08: 0000000000000000 R09: 0000000000000000 [ 9.548999][ T207] R10: 0000000000000000 R11: 0000000000000246 R12: 0000563a65c02ffd [ 9.549000][ T207] R13: 0000563a7b3db950 R14: 0000000000040000 R15: 0000000000000000 [ 9.549007][ T207] [ 9.568787][ T207] input device check on [ 9.568970][ T207] Actions configured [ 9.604893][ T209] Mirror/redirect action on [ 9.616530][ T206] tc (206) used greatest stack depth: 23736 bytes left