[ 9.958267][ T188] ip (188) used greatest stack depth: 23872 bytes left [ 9.958283][ T188] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.958285][ T188] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 188, name: ip [ 9.958287][ T188] preempt_count: 2, expected: 0 [ 9.958288][ T188] RCU nest depth: 0, expected: 0 [ 9.958289][ T188] locks held by ip/188: 5, last CPU#3: [ 9.958291][ T188] #0: ffffffff926027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.958304][ T188] #1: ffffffff92769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.958310][ T188] #2: ffffffff92769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.958314][ T188] #3: ffffffff92689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.958318][ T188] #4: ffffffff92689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.958322][ T188] irq event stamp: 48360 [ 9.958323][ T188] hardirqs last enabled at (48359): [] __down_trylock_console_sem+0x86/0xa0 [ 9.958325][ T188] hardirqs last disabled at (48360): [] console_emit_next_record+0x3d4/0x4c0 [ 9.958327][ T188] softirqs last enabled at (47994): [] handle_softirqs+0x67c/0x900 [ 9.958329][ T188] softirqs last disabled at (47987): [] __irq_exit_rcu+0x145/0x1c0 [ 9.958332][ T188] Preemption disabled at: [ 9.958332][ T188] [<0000000000000000>] 0x0 [ 9.958339][ T188] CPU: 3 UID: 0 PID: 188 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.958343][ T188] Tainted: [W]=WARN [ 9.958344][ T188] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.958345][ T188] Call Trace: [ 9.958347][ T188] [ 9.958349][ T188] dump_stack_lvl+0x6f/0xa0 [ 9.958355][ T188] __might_resched.cold+0x1fe/0x2c1 [ 9.958359][ T188] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.958364][ T188] ? __kmalloc_noprof+0xdb/0x760 [ 9.958369][ T188] __kmalloc_noprof+0x443/0x760 [ 9.958372][ T188] ? alloc_buf.isra.0+0x4b/0x260 [ 9.958377][ T188] ? do_raw_spin_unlock+0x59/0x250 [ 9.958380][ T188] alloc_buf.isra.0+0x4b/0x260 [ 9.958383][ T188] put_chars+0x1e1/0x2f0 [ 9.958386][ T188] ? __send_to_port+0x420/0x420 [ 9.958388][ T188] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.958393][ T188] ? validate_chain+0x38b/0xc20 [ 9.958398][ T188] hvc_console_print+0x292/0x780 [ 9.958404][ T188] ? hvc_write+0x3a0/0x3a0 [ 9.958406][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.958409][ T188] ? lock_acquire+0x13c/0x160 [ 9.958413][ T188] console_emit_next_record+0x22f/0x4c0 [ 9.958417][ T188] ? devkmsg_read+0x4b0/0x4b0 [ 9.958419][ T188] ? console_flush_one_record+0x106/0x710 [ 9.958422][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.958425][ T188] ? lock_acquire+0x13c/0x160 [ 9.958429][ T188] console_flush_one_record+0x46f/0x710 [ 9.958433][ T188] ? console_emit_next_record+0x4c0/0x4c0 [ 9.958435][ T188] ? __lock_acquire+0x518/0xc20 [ 9.958440][ T188] console_unlock+0xee/0x1f0 [ 9.958443][ T188] ? console_flush_one_record+0x710/0x710 [ 9.958445][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.958447][ T188] ? lock_acquire+0x60/0x160 [ 9.958451][ T188] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.958453][ T188] ? vprintk_emit+0x320/0x3e0 [ 9.958457][ T188] vprintk_emit+0x37c/0x3e0 [ 9.958460][ T188] ? wake_up_klogd_work_func+0x90/0x90 [ 9.958464][ T188] ? __lock_acquire+0x518/0xc20 [ 9.958468][ T188] _printk+0xc7/0x100 [ 9.958471][ T188] ? snapshot_read.cold+0x21/0x21 [ 9.958474][ T188] ? do_raw_spin_lock+0x131/0x280 [ 9.958477][ T188] ? __rwlock_init+0x150/0x150 [ 9.958481][ T188] ? do_raw_spin_lock+0x131/0x280 [ 9.958484][ T188] do_exit.cold+0x82/0x9c [ 9.958488][ T188] ? exit_notify+0x890/0x890 [ 9.958490][ T188] ? __lock_release.isra.0+0x69/0x1a0 [ 9.958492][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.958497][ T188] do_group_exit+0xb8/0x370 [ 9.958500][ T188] __x64_sys_exit_group+0x3c/0x50 [ 9.958501][ T188] x64_sys_call+0x1567/0x1570 [ 9.958504][ T188] do_syscall_64+0xff/0x530 [ 9.958507][ T188] ? exc_page_fault+0xee/0x100 [ 9.958510][ T188] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.958513][ T188] RIP: 0033:0x7f7bad6d31b8 [ 9.958515][ T188] Code: Unable to access opcode bytes at 0x7f7bad6d318e. [ 9.958516][ T188] RSP: 002b:00007ffe62fac018 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.958519][ T188] RAX: ffffffffffffffda RBX: 00007f7bad803f88 RCX: 00007f7bad6d31b8 [ 9.958520][ T188] RDX: 00007f7bad41dfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.958521][ T188] RBP: 00007ffe62fac070 R08: 0000000000000000 R09: 0000000000008010 [ 9.958522][ T188] R10: 00007ffe62fabe30 R11: 0000000000000246 R12: 0000000000000001 [ 9.958523][ T188] R13: 0000000000000000 R14: 00007f7bad802680 R15: 00007f7bad803fa0 [ 9.958530][ T188] [ 17.759451][ T315] GACT probability NOT on [ 17.759473][ T315] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.759476][ T315] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 315, name: modprobe [ 17.759478][ T315] preempt_count: 1, expected: 0 [ 17.759479][ T315] RCU nest depth: 0, expected: 0 [ 17.759481][ T315] locks held by modprobe/315: 4, last CPU#3: [ 17.759484][ T315] #0: ffffffff92769cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.759499][ T315] #1: ffffffff92769d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.759505][ T315] #2: ffffffff92689660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.759512][ T315] #3: ffffffff92689560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.759518][ T315] irq event stamp: 23438 [ 17.759519][ T315] hardirqs last enabled at (23437): [] __down_trylock_console_sem+0x86/0xa0 [ 17.759523][ T315] hardirqs last disabled at (23438): [] console_emit_next_record+0x3d4/0x4c0 [ 17.759526][ T315] softirqs last enabled at (22614): [] handle_softirqs+0x67c/0x900 [ 17.759530][ T315] softirqs last disabled at (22377): [] __irq_exit_rcu+0x145/0x1c0 [ 17.759533][ T315] Preemption disabled at: [ 17.759534][ T315] [] vprintk_emit+0x31b/0x3e0 [ 17.759541][ T315] CPU: 3 UID: 0 PID: 315 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.759546][ T315] Tainted: [W]=WARN [ 17.759547][ T315] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.759550][ T315] Call Trace: [ 17.759552][ T315] [ 17.759554][ T315] dump_stack_lvl+0x6f/0xa0 [ 17.759561][ T315] ? vprintk_emit+0x31b/0x3e0 [ 17.759564][ T315] __might_resched.cold+0x1fe/0x2c1 [ 17.759571][ T315] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.759576][ T315] ? __kmalloc_noprof+0xdb/0x760 [ 17.759584][ T315] __kmalloc_noprof+0x443/0x760 [ 17.759587][ T315] ? alloc_buf.isra.0+0x4b/0x260 [ 17.759595][ T315] ? do_raw_spin_unlock+0x59/0x250 [ 17.759599][ T315] alloc_buf.isra.0+0x4b/0x260 [ 17.759604][ T315] put_chars+0x1e1/0x2f0 [ 17.759607][ T315] ? desc_read_finalized_seq+0x79/0x120 [ 17.759611][ T315] ? __send_to_port+0x420/0x420 [ 17.759616][ T315] ? rcu_read_lock_any_held+0x3c/0x90 [ 17.759620][ T315] ? validate_chain+0x38b/0xc20 [ 17.759634][ T315] hvc_console_print+0x292/0x780 [ 17.759637][ T315] ? __lock_acquire+0x518/0xc20 [ 17.759640][ T315] ? __lock_acquire+0x518/0xc20 [ 17.759648][ T315] ? hvc_write+0x3a0/0x3a0 [ 17.759650][ T315] ? console_emit_next_record+0x1df/0x4c0 [ 17.759655][ T315] ? rcu_is_watching+0x16/0xd0 [ 17.759659][ T315] ? lock_acquire+0x13c/0x160 [ 17.759666][ T315] console_emit_next_record+0x22f/0x4c0 [ 17.759672][ T315] ? devkmsg_read+0x4b0/0x4b0 [ 17.759674][ T315] ? console_flush_one_record+0x106/0x710 [ 17.759679][ T315] ? rcu_is_watching+0x16/0xd0 [ 17.759683][ T315] ? lock_acquire+0x13c/0x160 [ 17.759690][ T315] console_flush_one_record+0x46f/0x710 [ 17.759697][ T315] ? console_emit_next_record+0x4c0/0x4c0 [ 17.759699][ T315] ? __lock_acquire+0x518/0xc20 [ 17.759708][ T315] console_unlock+0xee/0x1f0 [ 17.759712][ T315] ? console_flush_one_record+0x710/0x710 [ 17.759715][ T315] ? rcu_is_watching+0x16/0xd0 [ 17.759719][ T315] ? lock_acquire+0x60/0x160 [ 17.759725][ T315] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.759727][ T315] ? vprintk_emit+0x320/0x3e0 [ 17.759733][ T315] vprintk_emit+0x37c/0x3e0 [ 17.759739][ T315] ? wake_up_klogd_work_func+0x90/0x90 [ 17.759748][ T315] ? udp_tunnel_nic_cleanup_module+0xb40/0xb40 [udp_tunnel] [ 17.759753][ T315] _printk+0xc7/0x100 [ 17.759759][ T315] ? snapshot_read.cold+0x21/0x21 [ 17.759769][ T315] ? do_one_initcall+0x113/0x4f0 [ 17.759774][ T315] gact_init_module+0x15/0x1000 [act_gact] [ 17.759778][ T315] do_one_initcall+0x124/0x4f0 [ 17.759782][ T315] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 17.759790][ T315] ? do_init_module+0xae/0x8a0 [ 17.759794][ T315] ? kasan_unpoison+0x44/0x70 [ 17.759801][ T315] do_init_module+0x2ad/0x8a0 [ 17.759807][ T315] ? lockdep_hardirqs_on+0x91/0x130 [ 17.759812][ T315] ? free_module+0x470/0x470 [ 17.759817][ T315] ? kfree+0x123/0x590 [ 17.759824][ T315] load_module+0x1424/0x1bb0 [ 17.759836][ T315] ? layout_and_allocate.isra.0+0x680/0x680 [ 17.759843][ T315] ? __ia32_sys_fsconfig+0x180/0x180 [ 17.759847][ T315] ? find_held_lock+0x2b/0x80 [ 17.759851][ T315] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.759858][ T315] init_module_from_file+0x11f/0x1a0 [ 17.759863][ T315] ? __do_sys_init_module+0x220/0x220 [ 17.759877][ T315] ? __rwlock_init+0x150/0x150 [ 17.759883][ T315] ? do_raw_spin_unlock+0x59/0x250 [ 17.759888][ T315] idempotent_init_module+0x37b/0x7c0 [ 17.759893][ T315] ? init_module_from_file+0x1a0/0x1a0 [ 17.759904][ T315] ? rcu_is_watching+0x16/0xd0 [ 17.759908][ T315] ? cap_capable+0x1d7/0x3d0 [ 17.759918][ T315] __x64_sys_finit_module+0xdf/0x190 [ 17.759921][ T315] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 17.759926][ T315] do_syscall_64+0xff/0x530 [ 17.759928][ T315] ? exc_page_fault+0xee/0x100 [ 17.759933][ T315] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.759936][ T315] RIP: 0033:0x7f4e31ba837d [ 17.759941][ T315] 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.759943][ T315] RSP: 002b:00007fff1a1c7098 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 17.759947][ T315] RAX: ffffffffffffffda RBX: 000055dcc50c7810 RCX: 00007f4e31ba837d [ 17.759949][ T315] RDX: 0000000000000000 RSI: 000055dcbff75ffd RDI: 0000000000000000 [ 17.759951][ T315] RBP: 00007fff1a1c7130 R08: 0000000000000000 R09: 0000000000000000 [ 17.759952][ T315] R10: 0000000000000000 R11: 0000000000000246 R12: 000055dcbff75ffd [ 17.759954][ T315] R13: 000055dcc50c7960 R14: 0000000000040000 R15: 0000000000000000 [ 17.759966][ T315]