[ 9.756715][ T194] ip (194) used greatest stack depth: 24112 bytes left [ 9.756731][ T194] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.756733][ T194] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 194, name: ip [ 9.756734][ T194] preempt_count: 2, expected: 0 [ 9.756735][ T194] RCU nest depth: 0, expected: 0 [ 9.756736][ T194] locks held by ip/194: 5, last CPU#2: [ 9.756738][ T194] #0: ffffffff940027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.756750][ T194] #1: ffffffff94169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.756756][ T194] #2: ffffffff94169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.756760][ T194] #3: ffffffff94089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.756764][ T194] #4: ffffffff94089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.756767][ T194] irq event stamp: 28024 [ 9.756768][ T194] hardirqs last enabled at (28023): [] __down_trylock_console_sem+0x86/0xa0 [ 9.756771][ T194] hardirqs last disabled at (28024): [] console_emit_next_record+0x3d4/0x4c0 [ 9.756773][ T194] softirqs last enabled at (27518): [] handle_softirqs+0x67c/0x900 [ 9.756775][ T194] softirqs last disabled at (27509): [] __irq_exit_rcu+0x145/0x1c0 [ 9.756777][ T194] Preemption disabled at: [ 9.756777][ T194] [<0000000000000000>] 0x0 [ 9.756784][ T194] CPU: 2 UID: 0 PID: 194 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.756788][ T194] Tainted: [W]=WARN [ 9.756789][ T194] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.756790][ T194] Call Trace: [ 9.756792][ T194] [ 9.756793][ T194] dump_stack_lvl+0x6f/0xa0 [ 9.756800][ T194] __might_resched.cold+0x1fe/0x2c1 [ 9.756804][ T194] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.756811][ T194] ? __kmalloc_noprof+0xdb/0x760 [ 9.756815][ T194] __kmalloc_noprof+0x443/0x760 [ 9.756818][ T194] ? alloc_buf.isra.0+0x4b/0x260 [ 9.756824][ T194] ? do_raw_spin_unlock+0x59/0x250 [ 9.756826][ T194] alloc_buf.isra.0+0x4b/0x260 [ 9.756829][ T194] put_chars+0x1e1/0x2f0 [ 9.756832][ T194] ? __send_to_port+0x420/0x420 [ 9.756834][ T194] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.756838][ T194] ? validate_chain+0x38b/0xc20 [ 9.756843][ T194] hvc_console_print+0x292/0x780 [ 9.756849][ T194] ? hvc_write+0x3a0/0x3a0 [ 9.756851][ T194] ? rcu_is_watching+0x16/0xd0 [ 9.756854][ T194] ? lock_acquire+0x13c/0x160 [ 9.756857][ T194] console_emit_next_record+0x22f/0x4c0 [ 9.756861][ T194] ? devkmsg_read+0x4b0/0x4b0 [ 9.756863][ T194] ? console_flush_one_record+0x106/0x710 [ 9.756866][ T194] ? rcu_is_watching+0x16/0xd0 [ 9.756869][ T194] ? lock_acquire+0x13c/0x160 [ 9.756872][ T194] console_flush_one_record+0x46f/0x710 [ 9.756876][ T194] ? console_emit_next_record+0x4c0/0x4c0 [ 9.756878][ T194] ? __lock_acquire+0x518/0xc20 [ 9.756883][ T194] console_unlock+0xee/0x1f0 [ 9.756886][ T194] ? console_flush_one_record+0x710/0x710 [ 9.756888][ T194] ? rcu_is_watching+0x16/0xd0 [ 9.756890][ T194] ? lock_acquire+0x60/0x160 [ 9.756894][ T194] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.756895][ T194] ? vprintk_emit+0x320/0x3e0 [ 9.756899][ T194] vprintk_emit+0x37c/0x3e0 [ 9.756902][ T194] ? wake_up_klogd_work_func+0x90/0x90 [ 9.756906][ T194] ? __lock_acquire+0x518/0xc20 [ 9.756909][ T194] _printk+0xc7/0x100 [ 9.756913][ T194] ? snapshot_read.cold+0x21/0x21 [ 9.756916][ T194] ? do_raw_spin_lock+0x131/0x280 [ 9.756919][ T194] ? __rwlock_init+0x150/0x150 [ 9.756922][ T194] ? do_raw_spin_lock+0x131/0x280 [ 9.756925][ T194] do_exit.cold+0x82/0x9c [ 9.756929][ T194] ? exit_notify+0x890/0x890 [ 9.756931][ T194] ? __lock_release.isra.0+0x69/0x1a0 [ 9.756933][ T194] ? rcu_is_watching+0x16/0xd0 [ 9.756937][ T194] do_group_exit+0xb8/0x370 [ 9.756940][ T194] __x64_sys_exit_group+0x3c/0x50 [ 9.756942][ T194] x64_sys_call+0x1567/0x1570 [ 9.756944][ T194] do_syscall_64+0xff/0x530 [ 9.756947][ T194] ? exc_page_fault+0xee/0x100 [ 9.756950][ T194] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.756953][ T194] RIP: 0033:0x7fb1ce2891b8 [ 9.756955][ T194] Code: Unable to access opcode bytes at 0x7fb1ce28918e. [ 9.756956][ T194] RSP: 002b:00007fff4ee187f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.756958][ T194] RAX: ffffffffffffffda RBX: 00007fb1ce3b9f88 RCX: 00007fb1ce2891b8 [ 9.756959][ T194] RDX: 00007fb1cdfd3fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.756960][ T194] RBP: 00007fff4ee18850 R08: 0000000000000000 R09: 0000000000008010 [ 9.756961][ T194] R10: 00007fff4ee18610 R11: 0000000000000246 R12: 0000000000000001 [ 9.756962][ T194] R13: 0000000000000000 R14: 00007fb1ce3b8680 R15: 00007fb1ce3b9fa0 [ 9.756969][ T194] [ 17.200031][ T316] GACT probability NOT on [ 17.200052][ T316] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.200055][ T316] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 316, name: modprobe [ 17.200057][ T316] preempt_count: 1, expected: 0 [ 17.200059][ T316] RCU nest depth: 0, expected: 0 [ 17.200060][ T316] locks held by modprobe/316: 4, last CPU#1: [ 17.200063][ T316] #0: ffffffff94169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.200078][ T316] #1: ffffffff94169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.200085][ T316] #2: ffffffff94089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.200092][ T316] #3: ffffffff94089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.200098][ T316] irq event stamp: 24018 [ 17.200099][ T316] hardirqs last enabled at (24017): [] __down_trylock_console_sem+0x86/0xa0 [ 17.200103][ T316] hardirqs last disabled at (24018): [] console_emit_next_record+0x3d4/0x4c0 [ 17.200106][ T316] softirqs last enabled at (22758): [] handle_softirqs+0x67c/0x900 [ 17.200110][ T316] softirqs last disabled at (22753): [] __irq_exit_rcu+0x145/0x1c0 [ 17.200113][ T316] Preemption disabled at: [ 17.200114][ T316] [] vprintk_emit+0x31b/0x3e0 [ 17.200121][ T316] CPU: 1 UID: 0 PID: 316 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.200126][ T316] Tainted: [W]=WARN [ 17.200127][ T316] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.200129][ T316] Call Trace: [ 17.200131][ T316] [ 17.200133][ T316] dump_stack_lvl+0x6f/0xa0 [ 17.200141][ T316] ? vprintk_emit+0x31b/0x3e0 [ 17.200144][ T316] __might_resched.cold+0x1fe/0x2c1 [ 17.200151][ T316] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.200156][ T316] ? __kmalloc_noprof+0xdb/0x760 [ 17.200164][ T316] __kmalloc_noprof+0x443/0x760 [ 17.200167][ T316] ? alloc_buf.isra.0+0x4b/0x260 [ 17.200176][ T316] ? do_raw_spin_unlock+0x59/0x250 [ 17.200180][ T316] alloc_buf.isra.0+0x4b/0x260 [ 17.200185][ T316] put_chars+0x1e1/0x2f0 [ 17.200188][ T316] ? desc_read_finalized_seq+0x79/0x120 [ 17.200192][ T316] ? __send_to_port+0x420/0x420 [ 17.200197][ T316] ? rcu_read_lock_any_held+0x3c/0x90 [ 17.200202][ T316] ? validate_chain+0x38b/0xc20 [ 17.200209][ T316] hvc_console_print+0x292/0x780 [ 17.200213][ T316] ? __lock_acquire+0x518/0xc20 [ 17.200215][ T316] ? __lock_acquire+0x518/0xc20 [ 17.200224][ T316] ? hvc_write+0x3a0/0x3a0 [ 17.200226][ T316] ? console_emit_next_record+0x1df/0x4c0 [ 17.200231][ T316] ? rcu_is_watching+0x16/0xd0 [ 17.200235][ T316] ? lock_acquire+0x13c/0x160 [ 17.200242][ T316] console_emit_next_record+0x22f/0x4c0 [ 17.200249][ T316] ? devkmsg_read+0x4b0/0x4b0 [ 17.200252][ T316] ? console_flush_one_record+0x106/0x710 [ 17.200257][ T316] ? rcu_is_watching+0x16/0xd0 [ 17.200261][ T316] ? lock_acquire+0x13c/0x160 [ 17.200267][ T316] console_flush_one_record+0x46f/0x710 [ 17.200274][ T316] ? console_emit_next_record+0x4c0/0x4c0 [ 17.200277][ T316] ? __lock_acquire+0x518/0xc20 [ 17.200287][ T316] console_unlock+0xee/0x1f0 [ 17.200291][ T316] ? console_flush_one_record+0x710/0x710 [ 17.200294][ T316] ? rcu_is_watching+0x16/0xd0 [ 17.200297][ T316] ? lock_acquire+0x60/0x160 [ 17.200304][ T316] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.200307][ T316] ? vprintk_emit+0x320/0x3e0 [ 17.200313][ T316] vprintk_emit+0x37c/0x3e0 [ 17.200319][ T316] ? wake_up_klogd_work_func+0x90/0x90 [ 17.200329][ T316] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 17.200333][ T316] _printk+0xc7/0x100 [ 17.200338][ T316] ? snapshot_read.cold+0x21/0x21 [ 17.200350][ T316] ? do_one_initcall+0x113/0x4f0 [ 17.200355][ T316] gact_init_module+0x15/0x1000 [act_gact] [ 17.200358][ T316] do_one_initcall+0x124/0x4f0 [ 17.200363][ T316] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 17.200371][ T316] ? do_init_module+0xae/0x8a0 [ 17.200375][ T316] ? kasan_unpoison+0x44/0x70 [ 17.200383][ T316] do_init_module+0x2ad/0x8a0 [ 17.200389][ T316] ? lockdep_hardirqs_on+0x91/0x130 [ 17.200395][ T316] ? free_module+0x470/0x470 [ 17.200400][ T316] ? kfree+0x123/0x590 [ 17.200407][ T316] load_module+0x1424/0x1bb0 [ 17.200420][ T316] ? layout_and_allocate.isra.0+0x680/0x680 [ 17.200427][ T316] ? __ia32_sys_fsconfig+0x180/0x180 [ 17.200432][ T316] ? find_held_lock+0x2b/0x80 [ 17.200436][ T316] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.200443][ T316] init_module_from_file+0x11f/0x1a0 [ 17.200448][ T316] ? __do_sys_init_module+0x220/0x220 [ 17.200463][ T316] ? __rwlock_init+0x150/0x150 [ 17.200470][ T316] ? do_raw_spin_unlock+0x59/0x250 [ 17.200475][ T316] idempotent_init_module+0x37b/0x7c0 [ 17.200481][ T316] ? init_module_from_file+0x1a0/0x1a0 [ 17.200493][ T316] ? rcu_is_watching+0x16/0xd0 [ 17.200497][ T316] ? cap_capable+0x1d7/0x3d0 [ 17.200507][ T316] __x64_sys_finit_module+0xdf/0x190 [ 17.200510][ T316] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 17.200515][ T316] do_syscall_64+0xff/0x530 [ 17.200518][ T316] ? exc_page_fault+0xee/0x100 [ 17.200522][ T316] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.200526][ T316] RIP: 0033:0x7f37be88937d [ 17.200530][ T316] 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 [ 17.200533][ T316] RSP: 002b:00007ffc9697b2e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 17.200537][ T316] RAX: ffffffffffffffda RBX: 000056035e1cc810 RCX: 00007f37be88937d [ 17.200539][ T316] RDX: 0000000000000000 RSI: 0000560332be3ffd RDI: 0000000000000000 [ 17.200541][ T316] RBP: 00007ffc9697b380 R08: 0000000000000000 R09: 0000000000000000 [ 17.200542][ T316] R10: 0000000000000000 R11: 0000000000000246 R12: 0000560332be3ffd [ 17.200544][ T316] R13: 000056035e1cc960 R14: 0000000000040000 R15: 0000000000000000 [ 17.200561][ T316]