[ 11.277848][ T287] u32 classifier [ 11.277863][ T287] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.277865][ T287] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 287, name: modprobe [ 11.277867][ T287] preempt_count: 1, expected: 0 [ 11.277868][ T287] RCU nest depth: 0, expected: 0 [ 11.277869][ T287] locks held by modprobe/287: 4, last CPU#0: [ 11.277871][ T287] #0: ffffffffb9b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.277881][ T287] #1: ffffffffb9b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.277886][ T287] #2: ffffffffb9a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.277890][ T287] #3: ffffffffb9a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.277894][ T287] irq event stamp: 18626 [ 11.277895][ T287] hardirqs last enabled at (18625): [] __down_trylock_console_sem+0x86/0xa0 [ 11.277898][ T287] hardirqs last disabled at (18626): [] console_emit_next_record+0x3d4/0x4c0 [ 11.277899][ T287] softirqs last enabled at (17072): [] handle_softirqs+0x67c/0x900 [ 11.277903][ T287] softirqs last disabled at (17065): [] __irq_exit_rcu+0x145/0x1c0 [ 11.277905][ T287] Preemption disabled at: [ 11.277906][ T287] [] vprintk_emit+0x31b/0x3e0 [ 11.277911][ T287] CPU: 0 UID: 0 PID: 287 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.277914][ T287] Tainted: [W]=WARN [ 11.277915][ T287] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.277917][ T287] Call Trace: [ 11.277918][ T287] [ 11.277920][ T287] dump_stack_lvl+0x6f/0xa0 [ 11.277925][ T287] ? vprintk_emit+0x31b/0x3e0 [ 11.277926][ T287] __might_resched.cold+0x1fe/0x2c1 [ 11.277931][ T287] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.277935][ T287] ? __kmalloc_noprof+0xdb/0x760 [ 11.277939][ T287] __kmalloc_noprof+0x443/0x760 [ 11.277941][ T287] ? alloc_buf.isra.0+0x4b/0x260 [ 11.277947][ T287] ? do_raw_spin_unlock+0x59/0x250 [ 11.277950][ T287] alloc_buf.isra.0+0x4b/0x260 [ 11.277954][ T287] put_chars+0x1e1/0x2f0 [ 11.277956][ T287] ? __send_to_port+0x420/0x420 [ 11.277957][ T287] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.277961][ T287] ? validate_chain+0x38b/0xc20 [ 11.277966][ T287] hvc_console_print+0x292/0x780 [ 11.277974][ T287] ? hvc_write+0x3a0/0x3a0 [ 11.277977][ T287] ? rcu_is_watching+0x16/0xd0 [ 11.277978][ T287] ? lock_acquire+0x13c/0x160 [ 11.277982][ T287] console_emit_next_record+0x22f/0x4c0 [ 11.277986][ T287] ? devkmsg_read+0x4b0/0x4b0 [ 11.277988][ T287] ? console_flush_one_record+0x106/0x710 [ 11.277991][ T287] ? rcu_is_watching+0x16/0xd0 [ 11.277993][ T287] ? lock_acquire+0x13c/0x160 [ 11.277997][ T287] console_flush_one_record+0x46f/0x710 [ 11.278001][ T287] ? console_emit_next_record+0x4c0/0x4c0 [ 11.278003][ T287] ? __lock_acquire+0x518/0xc20 [ 11.278008][ T287] console_unlock+0xee/0x1f0 [ 11.278011][ T287] ? console_flush_one_record+0x710/0x710 [ 11.278012][ T287] ? rcu_is_watching+0x16/0xd0 [ 11.278014][ T287] ? lock_acquire+0xe0/0x160 [ 11.278018][ T287] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.278019][ T287] ? vprintk_emit+0x320/0x3e0 [ 11.278022][ T287] vprintk_emit+0x37c/0x3e0 [ 11.278025][ T287] ? wake_up_klogd_work_func+0x90/0x90 [ 11.278030][ T287] ? exit_u32+0x460/0x460 [cls_u32] [ 11.278033][ T287] _printk+0xc7/0x100 [ 11.278037][ T287] ? snapshot_read.cold+0x21/0x21 [ 11.278043][ T287] ? do_one_initcall+0x113/0x4f0 [ 11.278046][ T287] init_u32+0x1e/0x1000 [cls_u32] [ 11.278049][ T287] do_one_initcall+0x124/0x4f0 [ 11.278052][ T287] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 11.278057][ T287] ? do_init_module+0xae/0x8a0 [ 11.278059][ T287] ? kasan_unpoison+0x44/0x70 [ 11.278065][ T287] do_init_module+0x2ad/0x8a0 [ 11.278071][ T287] ? lockdep_hardirqs_on+0x91/0x130 [ 11.278075][ T287] ? free_module+0x470/0x470 [ 11.278078][ T287] ? kfree+0x123/0x590 [ 11.278082][ T287] load_module+0x1424/0x1bb0 [ 11.278087][ T287] ? security_kernel_post_read_file+0x2f/0x60 [ 11.278091][ T287] ? layout_and_allocate.isra.0+0x680/0x680 [ 11.278094][ T287] ? __ia32_sys_fsconfig+0x180/0x180 [ 11.278099][ T287] ? backing_file_read_iter+0x541/0x790 [ 11.278102][ T287] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.278105][ T287] init_module_from_file+0x11f/0x1a0 [ 11.278108][ T287] ? __do_sys_init_module+0x270/0x270 [ 11.278115][ T287] ? __rwlock_init+0x150/0x150 [ 11.278119][ T287] ? do_raw_spin_unlock+0x59/0x250 [ 11.278122][ T287] idempotent_init_module+0x37b/0x7c0 [ 11.278124][ T287] ? init_module_from_file+0x1a0/0x1a0 [ 11.278130][ T287] ? cap_capable+0x1d7/0x3d0 [ 11.278132][ T287] ? __x64_sys_pread64+0x18d/0x250 [ 11.278137][ T287] __x64_sys_finit_module+0xdf/0x190 [ 11.278139][ T287] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 11.278143][ T287] do_syscall_64+0xff/0x530 [ 11.278146][ T287] ? exc_page_fault+0xee/0x100 [ 11.278148][ T287] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.278150][ T287] RIP: 0033:0x7fd4f5e8537d [ 11.278153][ T287] 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 [ 11.278155][ T287] RSP: 002b:00007fff25ac0178 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 11.278158][ T287] RAX: ffffffffffffffda RBX: 0000558df17d2810 RCX: 00007fd4f5e8537d [ 11.278159][ T287] RDX: 0000000000000000 RSI: 0000558dc43c6ffd RDI: 0000000000000000 [ 11.278160][ T287] RBP: 00007fff25ac0210 R08: 0000000000000000 R09: 0000000000000000 [ 11.278161][ T287] R10: 0000000000000000 R11: 0000000000000246 R12: 0000558dc43c6ffd [ 11.278161][ T287] R13: 0000558df17d2950 R14: 0000000000040000 R15: 0000000000000000 [ 11.278168][ T287] [ 11.299506][ T287] input device check on [ 11.299765][ T287] Actions configured [ 11.335799][ T288] GACT probability NOT on [ 35.678759][ T1331] ip (1331) used greatest stack depth: 23840 bytes left [ 35.678776][ T1331] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 35.678778][ T1331] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1331, name: ip [ 35.678779][ T1331] preempt_count: 2, expected: 0 [ 35.678780][ T1331] RCU nest depth: 0, expected: 0 [ 35.678781][ T1331] locks held by ip/1331: 5, last CPU#2: [ 35.678783][ T1331] #0: ffffffffb9a167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 35.678794][ T1331] #1: ffffffffb9b7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 35.678799][ T1331] #2: ffffffffb9b7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 35.678804][ T1331] #3: ffffffffb9a9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 35.678808][ T1331] #4: ffffffffb9a9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 35.678812][ T1331] irq event stamp: 23290 [ 35.678813][ T1331] hardirqs last enabled at (23289): [] __down_trylock_console_sem+0x86/0xa0 [ 35.678816][ T1331] hardirqs last disabled at (23290): [] console_emit_next_record+0x3d4/0x4c0 [ 35.678818][ T1331] softirqs last enabled at (23156): [] handle_softirqs+0x67c/0x900 [ 35.678820][ T1331] softirqs last disabled at (23151): [] __irq_exit_rcu+0x145/0x1c0 [ 35.678822][ T1331] Preemption disabled at: [ 35.678823][ T1331] [<0000000000000000>] 0x0 [ 35.678829][ T1331] CPU: 2 UID: 0 PID: 1331 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 35.678833][ T1331] Tainted: [W]=WARN [ 35.678834][ T1331] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 35.678835][ T1331] Call Trace: [ 35.678837][ T1331] [ 35.678838][ T1331] dump_stack_lvl+0x6f/0xa0 [ 35.678844][ T1331] __might_resched.cold+0x1fe/0x2c1 [ 35.678849][ T1331] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 35.678853][ T1331] ? __kmalloc_noprof+0xdb/0x760 [ 35.678858][ T1331] __kmalloc_noprof+0x443/0x760 [ 35.678859][ T1331] ? alloc_buf.isra.0+0x4b/0x260 [ 35.678866][ T1331] ? do_raw_spin_unlock+0x59/0x250 [ 35.678869][ T1331] alloc_buf.isra.0+0x4b/0x260 [ 35.678873][ T1331] put_chars+0x1e1/0x2f0 [ 35.678875][ T1331] ? __send_to_port+0x420/0x420 [ 35.678876][ T1331] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 35.678880][ T1331] ? validate_chain+0x38b/0xc20 [ 35.678885][ T1331] hvc_console_print+0x292/0x780 [ 35.678893][ T1331] ? hvc_write+0x3a0/0x3a0 [ 35.678895][ T1331] ? rcu_is_watching+0x16/0xd0 [ 35.678897][ T1331] ? lock_acquire+0x13c/0x160 [ 35.678901][ T1331] console_emit_next_record+0x22f/0x4c0 [ 35.678905][ T1331] ? devkmsg_read+0x4b0/0x4b0 [ 35.678907][ T1331] ? console_flush_one_record+0x106/0x710 [ 35.678910][ T1331] ? rcu_is_watching+0x16/0xd0 [ 35.678912][ T1331] ? lock_acquire+0x13c/0x160 [ 35.678916][ T1331] console_flush_one_record+0x46f/0x710 [ 35.678920][ T1331] ? console_emit_next_record+0x4c0/0x4c0 [ 35.678922][ T1331] ? __lock_acquire+0x518/0xc20 [ 35.678927][ T1331] console_unlock+0xee/0x1f0 [ 35.678930][ T1331] ? console_flush_one_record+0x710/0x710 [ 35.678932][ T1331] ? rcu_is_watching+0x16/0xd0 [ 35.678933][ T1331] ? lock_acquire+0xe0/0x160 [ 35.678937][ T1331] ? __down_trylock_console_sem+0x5e/0xa0 [ 35.678939][ T1331] ? vprintk_emit+0x320/0x3e0 [ 35.678941][ T1331] vprintk_emit+0x37c/0x3e0 [ 35.678944][ T1331] ? wake_up_klogd_work_func+0x90/0x90 [ 35.678947][ T1331] ? __lock_acquire+0x518/0xc20 [ 35.678951][ T1331] _printk+0xc7/0x100 [ 35.678954][ T1331] ? snapshot_read.cold+0x21/0x21 [ 35.678957][ T1331] ? do_raw_spin_lock+0x131/0x280 [ 35.678960][ T1331] ? __rwlock_init+0x150/0x150 [ 35.678963][ T1331] ? do_raw_spin_lock+0x131/0x280 [ 35.678966][ T1331] do_exit.cold+0x82/0x9c [ 35.678970][ T1331] ? exit_notify+0x890/0x890 [ 35.678971][ T1331] ? __lock_release.isra.0+0x69/0x1a0 [ 35.678974][ T1331] ? rcu_is_watching+0x16/0xd0 [ 35.678977][ T1331] do_group_exit+0xb8/0x370 [ 35.678980][ T1331] __x64_sys_exit_group+0x3c/0x50 [ 35.678982][ T1331] x64_sys_call+0x1567/0x1570 [ 35.678985][ T1331] do_syscall_64+0xff/0x530 [ 35.678989][ T1331] ? exc_page_fault+0xee/0x100 [ 35.678992][ T1331] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 35.678994][ T1331] RIP: 0033:0x7ff5a11131b8 [ 35.678996][ T1331] Code: Unable to access opcode bytes at 0x7ff5a111318e. [ 35.678997][ T1331] RSP: 002b:00007ffc58177a98 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 35.678999][ T1331] RAX: ffffffffffffffda RBX: 00007ff5a1243f88 RCX: 00007ff5a11131b8 [ 35.679000][ T1331] RDX: 00007ff5a0e5dfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 35.679001][ T1331] RBP: 00007ffc58177af0 R08: 0000000000000000 R09: 0000000000008010 [ 35.679002][ T1331] R10: 00007ffc581778b0 R11: 0000000000000246 R12: 0000000000000001 [ 35.679003][ T1331] R13: 0000000000000000 R14: 00007ff5a1242680 R15: 00007ff5a1243fa0 [ 35.679009][ T1331]