[ 10.232138][ T187] ip (187) used greatest stack depth: 24048 bytes left [ 10.232153][ T187] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.232155][ T187] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 187, name: ip [ 10.232157][ T187] preempt_count: 2, expected: 0 [ 10.232158][ T187] RCU nest depth: 0, expected: 0 [ 10.232159][ T187] locks held by ip/187: 5, last CPU#0: [ 10.232161][ T187] #0: ffffffffb12027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.232173][ T187] #1: ffffffffb1369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.232178][ T187] #2: ffffffffb1369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.232182][ T187] #3: ffffffffb1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.232186][ T187] #4: ffffffffb1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.232190][ T187] irq event stamp: 36562 [ 10.232191][ T187] hardirqs last enabled at (36561): [] __down_trylock_console_sem+0x86/0xa0 [ 10.232193][ T187] hardirqs last disabled at (36562): [] console_emit_next_record+0x3d4/0x4c0 [ 10.232195][ T187] softirqs last enabled at (35280): [] netlink_release+0x17b/0xcf0 [ 10.232199][ T187] softirqs last disabled at (35278): [] netlink_release+0xd2/0xcf0 [ 10.232201][ T187] Preemption disabled at: [ 10.232202][ T187] [<0000000000000000>] 0x0 [ 10.232209][ T187] CPU: 0 UID: 0 PID: 187 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.232212][ T187] Tainted: [W]=WARN [ 10.232213][ T187] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.232215][ T187] Call Trace: [ 10.232216][ T187] [ 10.232218][ T187] dump_stack_lvl+0x6f/0xa0 [ 10.232224][ T187] __might_resched.cold+0x1fe/0x2c1 [ 10.232229][ T187] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.232233][ T187] ? __kmalloc_noprof+0xdb/0x760 [ 10.232238][ T187] __kmalloc_noprof+0x443/0x760 [ 10.232240][ T187] ? alloc_buf.isra.0+0x4b/0x260 [ 10.232246][ T187] ? do_raw_spin_unlock+0x59/0x250 [ 10.232248][ T187] alloc_buf.isra.0+0x4b/0x260 [ 10.232251][ T187] put_chars+0x1e1/0x2f0 [ 10.232254][ T187] ? __send_to_port+0x420/0x420 [ 10.232256][ T187] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.232260][ T187] ? validate_chain+0x38b/0xc20 [ 10.232266][ T187] hvc_console_print+0x292/0x780 [ 10.232272][ T187] ? hvc_write+0x3a0/0x3a0 [ 10.232274][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.232277][ T187] ? lock_acquire+0x13c/0x160 [ 10.232281][ T187] console_emit_next_record+0x22f/0x4c0 [ 10.232284][ T187] ? devkmsg_read+0x4b0/0x4b0 [ 10.232286][ T187] ? console_flush_one_record+0x106/0x710 [ 10.232290][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.232292][ T187] ? lock_acquire+0x13c/0x160 [ 10.232296][ T187] console_flush_one_record+0x46f/0x710 [ 10.232300][ T187] ? console_emit_next_record+0x4c0/0x4c0 [ 10.232302][ T187] ? __lock_acquire+0x518/0xc20 [ 10.232307][ T187] console_unlock+0xee/0x1f0 [ 10.232310][ T187] ? console_flush_one_record+0x710/0x710 [ 10.232312][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.232314][ T187] ? lock_acquire+0x60/0x160 [ 10.232318][ T187] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.232319][ T187] ? vprintk_emit+0x320/0x3e0 [ 10.232323][ T187] vprintk_emit+0x37c/0x3e0 [ 10.232327][ T187] ? wake_up_klogd_work_func+0x90/0x90 [ 10.232330][ T187] ? __lock_acquire+0x518/0xc20 [ 10.232334][ T187] _printk+0xc7/0x100 [ 10.232338][ T187] ? snapshot_read.cold+0x21/0x21 [ 10.232340][ T187] ? do_raw_spin_lock+0x131/0x280 [ 10.232343][ T187] ? __rwlock_init+0x150/0x150 [ 10.232347][ T187] ? do_raw_spin_lock+0x131/0x280 [ 10.232349][ T187] do_exit.cold+0x82/0x9c [ 10.232353][ T187] ? exit_notify+0x890/0x890 [ 10.232355][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 10.232358][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.232362][ T187] do_group_exit+0xb8/0x370 [ 10.232365][ T187] __x64_sys_exit_group+0x3c/0x50 [ 10.232366][ T187] x64_sys_call+0x1567/0x1570 [ 10.232368][ T187] do_syscall_64+0xff/0x530 [ 10.232372][ T187] ? exc_page_fault+0xee/0x100 [ 10.232375][ T187] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.232377][ T187] RIP: 0033:0x7fcb7d32d1b8 [ 10.232379][ T187] Code: Unable to access opcode bytes at 0x7fcb7d32d18e. [ 10.232380][ T187] RSP: 002b:00007ffe2630f108 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.232383][ T187] RAX: ffffffffffffffda RBX: 00007fcb7d45df88 RCX: 00007fcb7d32d1b8 [ 10.232384][ T187] RDX: 00007fcb7d077fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.232385][ T187] RBP: 00007ffe2630f160 R08: 0000000000000000 R09: 0000000000008010 [ 10.232386][ T187] R10: 00007ffe2630ef20 R11: 0000000000000246 R12: 0000000000000001 [ 10.232387][ T187] R13: 0000000000000000 R14: 00007fcb7d45c680 R15: 00007fcb7d45dfa0 [ 10.232393][ T187] [ 10.442536][ T201] ip (201) used greatest stack depth: 23920 bytes left [ 17.909240][ T313] GACT probability NOT on [ 17.909260][ T313] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.909263][ T313] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 313, name: modprobe [ 17.909265][ T313] preempt_count: 1, expected: 0 [ 17.909266][ T313] RCU nest depth: 0, expected: 0 [ 17.909267][ T313] locks held by modprobe/313: 4, last CPU#0: [ 17.909269][ T313] #0: ffffffffb1369cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.909282][ T313] #1: ffffffffb1369d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.909286][ T313] #2: ffffffffb1289660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.909290][ T313] #3: ffffffffb1289560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.909294][ T313] irq event stamp: 24982 [ 17.909295][ T313] hardirqs last enabled at (24981): [] __down_trylock_console_sem+0x86/0xa0 [ 17.909297][ T313] hardirqs last disabled at (24982): [] console_emit_next_record+0x3d4/0x4c0 [ 17.909299][ T313] softirqs last enabled at (24022): [] handle_softirqs+0x67c/0x900 [ 17.909302][ T313] softirqs last disabled at (24013): [] __irq_exit_rcu+0x145/0x1c0 [ 17.909304][ T313] Preemption disabled at: [ 17.909305][ T313] [] vprintk_emit+0x31b/0x3e0 [ 17.909311][ T313] CPU: 0 UID: 0 PID: 313 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.909314][ T313] Tainted: [W]=WARN [ 17.909315][ T313] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.909317][ T313] Call Trace: [ 17.909318][ T313] [ 17.909320][ T313] dump_stack_lvl+0x6f/0xa0 [ 17.909325][ T313] ? vprintk_emit+0x31b/0x3e0 [ 17.909328][ T313] __might_resched.cold+0x1fe/0x2c1 [ 17.909332][ T313] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.909336][ T313] ? __kmalloc_noprof+0xdb/0x760 [ 17.909341][ T313] __kmalloc_noprof+0x443/0x760 [ 17.909343][ T313] ? alloc_buf.isra.0+0x4b/0x260 [ 17.909349][ T313] ? do_raw_spin_unlock+0x59/0x250 [ 17.909351][ T313] alloc_buf.isra.0+0x4b/0x260 [ 17.909355][ T313] put_chars+0x1e1/0x2f0 [ 17.909356][ T313] ? desc_read_finalized_seq+0x79/0x120 [ 17.909359][ T313] ? __send_to_port+0x420/0x420 [ 17.909361][ T313] ? rcu_read_lock_any_held+0x3c/0x90 [ 17.909365][ T313] ? validate_chain+0x38b/0xc20 [ 17.909369][ T313] hvc_console_print+0x292/0x780 [ 17.909372][ T313] ? __lock_acquire+0x518/0xc20 [ 17.909373][ T313] ? __lock_acquire+0x518/0xc20 [ 17.909378][ T313] ? hvc_write+0x3a0/0x3a0 [ 17.909379][ T313] ? console_emit_next_record+0x1df/0x4c0 [ 17.909382][ T313] ? rcu_is_watching+0x16/0xd0 [ 17.909385][ T313] ? lock_acquire+0x13c/0x160 [ 17.909389][ T313] console_emit_next_record+0x22f/0x4c0 [ 17.909393][ T313] ? devkmsg_read+0x4b0/0x4b0 [ 17.909394][ T313] ? console_flush_one_record+0x106/0x710 [ 17.909398][ T313] ? rcu_is_watching+0x16/0xd0 [ 17.909400][ T313] ? lock_acquire+0x13c/0x160 [ 17.909404][ T313] console_flush_one_record+0x46f/0x710 [ 17.909408][ T313] ? console_emit_next_record+0x4c0/0x4c0 [ 17.909410][ T313] ? __lock_acquire+0x518/0xc20 [ 17.909415][ T313] console_unlock+0xee/0x1f0 [ 17.909417][ T313] ? console_flush_one_record+0x710/0x710 [ 17.909419][ T313] ? rcu_is_watching+0x16/0xd0 [ 17.909421][ T313] ? lock_acquire+0x60/0x160 [ 17.909425][ T313] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.909427][ T313] ? vprintk_emit+0x320/0x3e0 [ 17.909430][ T313] vprintk_emit+0x37c/0x3e0 [ 17.909434][ T313] ? wake_up_klogd_work_func+0x90/0x90 [ 17.909440][ T313] ? udp_tunnel_nic_cleanup_module+0xb40/0xb40 [udp_tunnel] [ 17.909443][ T313] _printk+0xc7/0x100 [ 17.909447][ T313] ? snapshot_read.cold+0x21/0x21 [ 17.909453][ T313] ? do_one_initcall+0x113/0x4f0 [ 17.909456][ T313] gact_init_module+0x15/0x1000 [act_gact] [ 17.909459][ T313] do_one_initcall+0x124/0x4f0 [ 17.909462][ T313] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 17.909466][ T313] ? do_init_module+0xae/0x8a0 [ 17.909469][ T313] ? kasan_unpoison+0x44/0x70 [ 17.909474][ T313] do_init_module+0x2ad/0x8a0 [ 17.909478][ T313] ? lockdep_hardirqs_on+0x91/0x130 [ 17.909484][ T313] ? free_module+0x470/0x470 [ 17.909487][ T313] ? kfree+0x123/0x590 [ 17.909491][ T313] load_module+0x1424/0x1bb0 [ 17.909498][ T313] ? layout_and_allocate.isra.0+0x680/0x680 [ 17.909502][ T313] ? __ia32_sys_fsconfig+0x180/0x180 [ 17.909504][ T313] ? ovl_real_file+0x172/0x1e0 [ 17.909508][ T313] ? backing_file_read_iter+0x541/0x790 [ 17.909511][ T313] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.909515][ T313] init_module_from_file+0x11f/0x1a0 [ 17.909518][ T313] ? __do_sys_init_module+0x220/0x220 [ 17.909526][ T313] ? __rwlock_init+0x150/0x150 [ 17.909529][ T313] ? do_raw_spin_unlock+0x59/0x250 [ 17.909532][ T313] idempotent_init_module+0x37b/0x7c0 [ 17.909536][ T313] ? init_module_from_file+0x1a0/0x1a0 [ 17.909542][ T313] ? rcu_is_watching+0x16/0xd0 [ 17.909544][ T313] ? cap_capable+0x1d7/0x3d0 [ 17.909550][ T313] __x64_sys_finit_module+0xdf/0x190 [ 17.909552][ T313] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 17.909555][ T313] do_syscall_64+0xff/0x530 [ 17.909557][ T313] ? exc_page_fault+0xee/0x100 [ 17.909560][ T313] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.909562][ T313] RIP: 0033:0x7f27044b037d [ 17.909566][ T313] 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.909568][ T313] RSP: 002b:00007ffd54b33b08 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 17.909570][ T313] RAX: ffffffffffffffda RBX: 000055e10be14810 RCX: 00007f27044b037d [ 17.909572][ T313] RDX: 0000000000000000 RSI: 000055e0ddc71ffd RDI: 0000000000000000 [ 17.909572][ T313] RBP: 00007ffd54b33ba0 R08: 0000000000000000 R09: 0000000000000000 [ 17.909573][ T313] R10: 0000000000000000 R11: 0000000000000246 R12: 000055e0ddc71ffd [ 17.909574][ T313] R13: 000055e10be14960 R14: 0000000000040000 R15: 0000000000000000 [ 17.909581][ T313]