[ 11.798669][ T252] ip (252) used greatest stack depth: 23472 bytes left [ 11.798687][ T252] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.798689][ T252] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 252, name: ip [ 11.798691][ T252] preempt_count: 2, expected: 0 [ 11.798692][ T252] RCU nest depth: 0, expected: 0 [ 11.798692][ T252] locks held by ip/252: 5, last CPU#0: [ 11.798694][ T252] #0: ffffffff884167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.798706][ T252] #1: ffffffff8857ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.798711][ T252] #2: ffffffff8857de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.798715][ T252] #3: ffffffff8849d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.798719][ T252] #4: ffffffff8849d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.798723][ T252] irq event stamp: 19224 [ 11.798724][ T252] hardirqs last enabled at (19223): [] __down_trylock_console_sem+0x86/0xa0 [ 11.798727][ T252] hardirqs last disabled at (19224): [] console_emit_next_record+0x3d4/0x4c0 [ 11.798729][ T252] softirqs last enabled at (18114): [] handle_softirqs+0x67c/0x900 [ 11.798731][ T252] softirqs last disabled at (17753): [] __irq_exit_rcu+0x145/0x1c0 [ 11.798734][ T252] Preemption disabled at: [ 11.798734][ T252] [<0000000000000000>] 0x0 [ 11.798741][ T252] CPU: 0 UID: 0 PID: 252 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.798744][ T252] Tainted: [W]=WARN [ 11.798745][ T252] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.798747][ T252] Call Trace: [ 11.798749][ T252] [ 11.798750][ T252] dump_stack_lvl+0x6f/0xa0 [ 11.798757][ T252] __might_resched.cold+0x1fe/0x2c1 [ 11.798761][ T252] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.798765][ T252] ? __kmalloc_noprof+0xdb/0x760 [ 11.798770][ T252] __kmalloc_noprof+0x443/0x760 [ 11.798771][ T252] ? alloc_buf.isra.0+0x4b/0x260 [ 11.798778][ T252] ? do_raw_spin_unlock+0x59/0x250 [ 11.798781][ T252] alloc_buf.isra.0+0x4b/0x260 [ 11.798785][ T252] put_chars+0x1e1/0x2f0 [ 11.798788][ T252] ? __send_to_port+0x420/0x420 [ 11.798789][ T252] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.798793][ T252] ? validate_chain+0x38b/0xc20 [ 11.798798][ T252] hvc_console_print+0x292/0x780 [ 11.798805][ T252] ? hvc_write+0x3a0/0x3a0 [ 11.798808][ T252] ? rcu_is_watching+0x16/0xd0 [ 11.798810][ T252] ? lock_acquire+0x13c/0x160 [ 11.798814][ T252] console_emit_next_record+0x22f/0x4c0 [ 11.798818][ T252] ? devkmsg_read+0x4b0/0x4b0 [ 11.798820][ T252] ? console_flush_one_record+0x106/0x710 [ 11.798823][ T252] ? rcu_is_watching+0x16/0xd0 [ 11.798825][ T252] ? lock_acquire+0x13c/0x160 [ 11.798829][ T252] console_flush_one_record+0x46f/0x710 [ 11.798833][ T252] ? console_emit_next_record+0x4c0/0x4c0 [ 11.798835][ T252] ? __lock_acquire+0x518/0xc20 [ 11.798840][ T252] console_unlock+0xee/0x1f0 [ 11.798843][ T252] ? console_flush_one_record+0x710/0x710 [ 11.798845][ T252] ? rcu_is_watching+0x16/0xd0 [ 11.798846][ T252] ? lock_acquire+0xe0/0x160 [ 11.798850][ T252] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.798852][ T252] ? vprintk_emit+0x320/0x3e0 [ 11.798854][ T252] vprintk_emit+0x37c/0x3e0 [ 11.798858][ T252] ? wake_up_klogd_work_func+0x90/0x90 [ 11.798860][ T252] ? __lock_acquire+0x518/0xc20 [ 11.798864][ T252] _printk+0xc7/0x100 [ 11.798868][ T252] ? snapshot_read.cold+0x21/0x21 [ 11.798870][ T252] ? do_raw_spin_lock+0x131/0x280 [ 11.798873][ T252] ? __rwlock_init+0x150/0x150 [ 11.798877][ T252] ? do_raw_spin_lock+0x131/0x280 [ 11.798879][ T252] do_exit.cold+0x82/0x9c [ 11.798883][ T252] ? exit_notify+0x890/0x890 [ 11.798885][ T252] ? __lock_release.isra.0+0x69/0x1a0 [ 11.798887][ T252] ? rcu_is_watching+0x16/0xd0 [ 11.798891][ T252] do_group_exit+0xb8/0x370 [ 11.798894][ T252] __x64_sys_exit_group+0x3c/0x50 [ 11.798896][ T252] x64_sys_call+0x1567/0x1570 [ 11.798898][ T252] do_syscall_64+0xff/0x530 [ 11.798902][ T252] ? exc_page_fault+0xee/0x100 [ 11.798905][ T252] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.798907][ T252] RIP: 0033:0x7f76c02151b8 [ 11.798909][ T252] Code: Unable to access opcode bytes at 0x7f76c021518e. [ 11.798910][ T252] RSP: 002b:00007fff68c083b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.798913][ T252] RAX: ffffffffffffffda RBX: 00007f76c0345f88 RCX: 00007f76c02151b8 [ 11.798914][ T252] RDX: 00007f76bff5ffc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.798915][ T252] RBP: 00007fff68c08410 R08: 0000000000000000 R09: 0000000000000050 [ 11.798916][ T252] R10: 00007fff68c081d0 R11: 0000000000000246 R12: 0000000000000001 [ 11.798916][ T252] R13: 0000000000000000 R14: 00007f76c0344680 R15: 00007f76c0345fa0 [ 11.798923][ T252] [ 16.439118][ T385] GACT probability NOT on [ 16.439135][ T385] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.439137][ T385] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 385, name: modprobe [ 16.439139][ T385] preempt_count: 1, expected: 0 [ 16.439140][ T385] RCU nest depth: 0, expected: 0 [ 16.439141][ T385] locks held by modprobe/385: 4, last CPU#2: [ 16.439143][ T385] #0: ffffffff8857ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.439154][ T385] #1: ffffffff8857de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.439159][ T385] #2: ffffffff8849d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.439163][ T385] #3: ffffffff8849d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.439167][ T385] irq event stamp: 24252 [ 16.439168][ T385] hardirqs last enabled at (24251): [] __down_trylock_console_sem+0x86/0xa0 [ 16.439171][ T385] hardirqs last disabled at (24252): [] console_emit_next_record+0x3d4/0x4c0 [ 16.439174][ T385] softirqs last enabled at (23536): [] handle_softirqs+0x67c/0x900 [ 16.439177][ T385] softirqs last disabled at (23529): [] __irq_exit_rcu+0x145/0x1c0 [ 16.439179][ T385] Preemption disabled at: [ 16.439180][ T385] [] vprintk_emit+0x31b/0x3e0 [ 16.439185][ T385] CPU: 2 UID: 0 PID: 385 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.439189][ T385] Tainted: [W]=WARN [ 16.439190][ T385] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.439192][ T385] Call Trace: [ 16.439194][ T385] [ 16.439195][ T385] dump_stack_lvl+0x6f/0xa0 [ 16.439201][ T385] ? vprintk_emit+0x31b/0x3e0 [ 16.439202][ T385] __might_resched.cold+0x1fe/0x2c1 [ 16.439207][ T385] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.439211][ T385] ? __kmalloc_noprof+0xdb/0x760 [ 16.439215][ T385] __kmalloc_noprof+0x443/0x760 [ 16.439217][ T385] ? alloc_buf.isra.0+0x4b/0x260 [ 16.439224][ T385] ? do_raw_spin_unlock+0x59/0x250 [ 16.439227][ T385] alloc_buf.isra.0+0x4b/0x260 [ 16.439230][ T385] put_chars+0x1e1/0x2f0 [ 16.439232][ T385] ? desc_read_finalized_seq+0x79/0x120 [ 16.439234][ T385] ? __send_to_port+0x420/0x420 [ 16.439237][ T385] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.439241][ T385] ? validate_chain+0x38b/0xc20 [ 16.439246][ T385] hvc_console_print+0x292/0x780 [ 16.439250][ T385] ? __lock_acquire+0x518/0xc20 [ 16.439252][ T385] ? __lock_acquire+0x518/0xc20 [ 16.439257][ T385] ? hvc_write+0x3a0/0x3a0 [ 16.439259][ T385] ? console_emit_next_record+0x1df/0x4c0 [ 16.439262][ T385] ? rcu_is_watching+0x16/0xd0 [ 16.439264][ T385] ? lock_acquire+0x13c/0x160 [ 16.439268][ T385] console_emit_next_record+0x22f/0x4c0 [ 16.439272][ T385] ? devkmsg_read+0x4b0/0x4b0 [ 16.439274][ T385] ? console_flush_one_record+0x106/0x710 [ 16.439278][ T385] ? rcu_is_watching+0x16/0xd0 [ 16.439279][ T385] ? lock_acquire+0x13c/0x160 [ 16.439284][ T385] console_flush_one_record+0x46f/0x710 [ 16.439288][ T385] ? console_emit_next_record+0x4c0/0x4c0 [ 16.439290][ T385] ? __lock_acquire+0x518/0xc20 [ 16.439295][ T385] console_unlock+0xee/0x1f0 [ 16.439298][ T385] ? console_flush_one_record+0x710/0x710 [ 16.439300][ T385] ? rcu_is_watching+0x16/0xd0 [ 16.439301][ T385] ? lock_acquire+0xe0/0x160 [ 16.439305][ T385] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.439307][ T385] ? vprintk_emit+0x320/0x3e0 [ 16.439310][ T385] vprintk_emit+0x37c/0x3e0 [ 16.439313][ T385] ? wake_up_klogd_work_func+0x90/0x90 [ 16.439318][ T385] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 16.439321][ T385] _printk+0xc7/0x100 [ 16.439325][ T385] ? snapshot_read.cold+0x21/0x21 [ 16.439331][ T385] ? do_one_initcall+0x113/0x4f0 [ 16.439335][ T385] gact_init_module+0x15/0x1000 [act_gact] [ 16.439337][ T385] do_one_initcall+0x124/0x4f0 [ 16.439340][ T385] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 16.439345][ T385] ? do_init_module+0xae/0x8a0 [ 16.439347][ T385] ? kasan_unpoison+0x44/0x70 [ 16.439353][ T385] do_init_module+0x2ad/0x8a0 [ 16.439356][ T385] ? lockdep_hardirqs_on+0x91/0x130 [ 16.439360][ T385] ? free_module+0x470/0x470 [ 16.439363][ T385] ? kfree+0x123/0x590 [ 16.439366][ T385] load_module+0x1424/0x1bb0 [ 16.439372][ T385] ? security_kernel_post_read_file+0x2f/0x60 [ 16.439376][ T385] ? layout_and_allocate.isra.0+0x680/0x680 [ 16.439380][ T385] ? __ia32_sys_fsconfig+0x180/0x180 [ 16.439384][ T385] ? backing_file_read_iter+0x541/0x790 [ 16.439388][ T385] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.439391][ T385] init_module_from_file+0x11f/0x1a0 [ 16.439394][ T385] ? __do_sys_init_module+0x270/0x270 [ 16.439401][ T385] ? __rwlock_init+0x150/0x150 [ 16.439405][ T385] ? do_raw_spin_unlock+0x59/0x250 [ 16.439408][ T385] idempotent_init_module+0x37b/0x7c0 [ 16.439411][ T385] ? init_module_from_file+0x1a0/0x1a0 [ 16.439417][ T385] ? cap_capable+0x1d7/0x3d0 [ 16.439419][ T385] ? __x64_sys_pread64+0x18d/0x250 [ 16.439424][ T385] __x64_sys_finit_module+0xdf/0x190 [ 16.439426][ T385] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.439430][ T385] do_syscall_64+0xff/0x530 [ 16.439433][ T385] ? exc_page_fault+0xee/0x100 [ 16.439435][ T385] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.439438][ T385] RIP: 0033:0x7f874540137d [ 16.439441][ T385] 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 [ 16.439442][ T385] RSP: 002b:00007ffeae634728 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 16.439445][ T385] RAX: ffffffffffffffda RBX: 0000562b4149d810 RCX: 00007f874540137d [ 16.439447][ T385] RDX: 0000000000000000 RSI: 0000562b10b17ffd RDI: 0000000000000000 [ 16.439447][ T385] RBP: 00007ffeae6347c0 R08: 0000000000000000 R09: 0000000000000000 [ 16.439448][ T385] R10: 0000000000000000 R11: 0000000000000246 R12: 0000562b10b17ffd [ 16.439449][ T385] R13: 0000562b4149d960 R14: 0000000000040000 R15: 0000000000000000 [ 16.439456][ T385]