[ 9.441475][ T187] ip (187) used greatest stack depth: 24008 bytes left [ 9.441491][ T187] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.441493][ T187] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 187, name: ip [ 9.441494][ T187] preempt_count: 2, expected: 0 [ 9.441495][ T187] RCU nest depth: 0, expected: 0 [ 9.441496][ T187] locks held by ip/187: 5, last CPU#1: [ 9.441498][ T187] #0: ffffffff950027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.441511][ T187] #1: ffffffff95169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.441517][ T187] #2: ffffffff95169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.441521][ T187] #3: ffffffff95089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.441525][ T187] #4: ffffffff95089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.441529][ T187] irq event stamp: 49030 [ 9.441530][ T187] hardirqs last enabled at (49029): [] __down_trylock_console_sem+0x86/0xa0 [ 9.441533][ T187] hardirqs last disabled at (49030): [] console_emit_next_record+0x3d4/0x4c0 [ 9.441535][ T187] softirqs last enabled at (48626): [] handle_softirqs+0x67c/0x900 [ 9.441536][ T187] softirqs last disabled at (48621): [] __irq_exit_rcu+0x145/0x1c0 [ 9.441539][ T187] Preemption disabled at: [ 9.441539][ T187] [<0000000000000000>] 0x0 [ 9.441547][ T187] CPU: 1 UID: 0 PID: 187 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.441551][ T187] Tainted: [W]=WARN [ 9.441552][ T187] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.441554][ T187] Call Trace: [ 9.441555][ T187] [ 9.441557][ T187] dump_stack_lvl+0x6f/0xa0 [ 9.441564][ T187] __might_resched.cold+0x1fe/0x2c1 [ 9.441568][ T187] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.441572][ T187] ? __kmalloc_noprof+0xdb/0x760 [ 9.441578][ T187] __kmalloc_noprof+0x443/0x760 [ 9.441580][ T187] ? alloc_buf.isra.0+0x4b/0x260 [ 9.441586][ T187] ? do_raw_spin_unlock+0x59/0x250 [ 9.441588][ T187] alloc_buf.isra.0+0x4b/0x260 [ 9.441592][ T187] put_chars+0x1e1/0x2f0 [ 9.441594][ T187] ? __send_to_port+0x420/0x420 [ 9.441596][ T187] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.441601][ T187] ? validate_chain+0x38b/0xc20 [ 9.441606][ T187] hvc_console_print+0x292/0x780 [ 9.441612][ T187] ? hvc_write+0x3a0/0x3a0 [ 9.441614][ T187] ? rcu_is_watching+0x16/0xd0 [ 9.441617][ T187] ? lock_acquire+0x13c/0x160 [ 9.441620][ T187] console_emit_next_record+0x22f/0x4c0 [ 9.441624][ T187] ? devkmsg_read+0x4b0/0x4b0 [ 9.441626][ T187] ? console_flush_one_record+0x106/0x710 [ 9.441629][ T187] ? rcu_is_watching+0x16/0xd0 [ 9.441632][ T187] ? lock_acquire+0x13c/0x160 [ 9.441636][ T187] console_flush_one_record+0x46f/0x710 [ 9.441640][ T187] ? console_emit_next_record+0x4c0/0x4c0 [ 9.441642][ T187] ? __lock_acquire+0x518/0xc20 [ 9.441647][ T187] console_unlock+0xee/0x1f0 [ 9.441650][ T187] ? console_flush_one_record+0x710/0x710 [ 9.441652][ T187] ? rcu_is_watching+0x16/0xd0 [ 9.441654][ T187] ? lock_acquire+0x60/0x160 [ 9.441657][ T187] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.441659][ T187] ? vprintk_emit+0x320/0x3e0 [ 9.441663][ T187] vprintk_emit+0x37c/0x3e0 [ 9.441666][ T187] ? wake_up_klogd_work_func+0x90/0x90 [ 9.441670][ T187] ? __lock_acquire+0x518/0xc20 [ 9.441673][ T187] _printk+0xc7/0x100 [ 9.441677][ T187] ? snapshot_read.cold+0x21/0x21 [ 9.441680][ T187] ? do_raw_spin_lock+0x131/0x280 [ 9.441683][ T187] ? __rwlock_init+0x150/0x150 [ 9.441686][ T187] ? do_raw_spin_lock+0x131/0x280 [ 9.441689][ T187] do_exit.cold+0x82/0x9c [ 9.441693][ T187] ? exit_notify+0x890/0x890 [ 9.441695][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 9.441698][ T187] ? rcu_is_watching+0x16/0xd0 [ 9.441702][ T187] do_group_exit+0xb8/0x370 [ 9.441705][ T187] __x64_sys_exit_group+0x3c/0x50 [ 9.441706][ T187] x64_sys_call+0x1567/0x1570 [ 9.441709][ T187] do_syscall_64+0xff/0x530 [ 9.441712][ T187] ? exc_page_fault+0xee/0x100 [ 9.441715][ T187] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.441717][ T187] RIP: 0033:0x7f229726e1b8 [ 9.441719][ T187] Code: Unable to access opcode bytes at 0x7f229726e18e. [ 9.441721][ T187] RSP: 002b:00007ffc8fdeb318 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.441723][ T187] RAX: ffffffffffffffda RBX: 00007f229739ef88 RCX: 00007f229726e1b8 [ 9.441724][ T187] RDX: 00007f2296fb8fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.441725][ T187] RBP: 00007ffc8fdeb370 R08: 0000000000000000 R09: 0000000000008010 [ 9.441726][ T187] R10: 00007ffc8fdeb130 R11: 0000000000000246 R12: 0000000000000001 [ 9.441727][ T187] R13: 0000000000000000 R14: 00007f229739d680 R15: 00007f229739efa0 [ 9.441734][ T187] [ 16.993818][ T314] GACT probability NOT on [ 16.993836][ T314] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.993838][ T314] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 314, name: modprobe [ 16.993840][ T314] preempt_count: 1, expected: 0 [ 16.993841][ T314] RCU nest depth: 0, expected: 0 [ 16.993842][ T314] locks held by modprobe/314: 4, last CPU#2: [ 16.993844][ T314] #0: ffffffff95169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.993857][ T314] #1: ffffffff95169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.993861][ T314] #2: ffffffff95089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.993865][ T314] #3: ffffffff95089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.993869][ T314] irq event stamp: 16168 [ 16.993870][ T314] hardirqs last enabled at (16167): [] __down_trylock_console_sem+0x86/0xa0 [ 16.993872][ T314] hardirqs last disabled at (16168): [] console_emit_next_record+0x3d4/0x4c0 [ 16.993874][ T314] softirqs last enabled at (14888): [] handle_softirqs+0x67c/0x900 [ 16.993877][ T314] softirqs last disabled at (14381): [] __irq_exit_rcu+0x145/0x1c0 [ 16.993880][ T314] Preemption disabled at: [ 16.993880][ T314] [] vprintk_emit+0x31b/0x3e0 [ 16.993886][ T314] CPU: 2 UID: 0 PID: 314 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.993890][ T314] Tainted: [W]=WARN [ 16.993891][ T314] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.993892][ T314] Call Trace: [ 16.993894][ T314] [ 16.993895][ T314] dump_stack_lvl+0x6f/0xa0 [ 16.993901][ T314] ? vprintk_emit+0x31b/0x3e0 [ 16.993903][ T314] __might_resched.cold+0x1fe/0x2c1 [ 16.993907][ T314] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.993911][ T314] ? __kmalloc_noprof+0xdb/0x760 [ 16.993916][ T314] __kmalloc_noprof+0x443/0x760 [ 16.993919][ T314] ? alloc_buf.isra.0+0x4b/0x260 [ 16.993924][ T314] ? do_raw_spin_unlock+0x59/0x250 [ 16.993927][ T314] alloc_buf.isra.0+0x4b/0x260 [ 16.993930][ T314] put_chars+0x1e1/0x2f0 [ 16.993932][ T314] ? desc_read_finalized_seq+0x79/0x120 [ 16.993934][ T314] ? __send_to_port+0x420/0x420 [ 16.993937][ T314] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.993941][ T314] ? validate_chain+0x38b/0xc20 [ 16.993945][ T314] hvc_console_print+0x292/0x780 [ 16.993947][ T314] ? __lock_acquire+0x518/0xc20 [ 16.993949][ T314] ? __lock_acquire+0x518/0xc20 [ 16.993954][ T314] ? hvc_write+0x3a0/0x3a0 [ 16.993955][ T314] ? console_emit_next_record+0x1df/0x4c0 [ 16.993958][ T314] ? rcu_is_watching+0x16/0xd0 [ 16.993961][ T314] ? lock_acquire+0x13c/0x160 [ 16.993965][ T314] console_emit_next_record+0x22f/0x4c0 [ 16.993969][ T314] ? devkmsg_read+0x4b0/0x4b0 [ 16.993970][ T314] ? console_flush_one_record+0x106/0x710 [ 16.993974][ T314] ? rcu_is_watching+0x16/0xd0 [ 16.993976][ T314] ? lock_acquire+0x13c/0x160 [ 16.993980][ T314] console_flush_one_record+0x46f/0x710 [ 16.993984][ T314] ? console_emit_next_record+0x4c0/0x4c0 [ 16.993985][ T314] ? __lock_acquire+0x518/0xc20 [ 16.993990][ T314] console_unlock+0xee/0x1f0 [ 16.993993][ T314] ? console_flush_one_record+0x710/0x710 [ 16.993995][ T314] ? rcu_is_watching+0x16/0xd0 [ 16.993997][ T314] ? lock_acquire+0x60/0x160 [ 16.994001][ T314] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.994003][ T314] ? vprintk_emit+0x320/0x3e0 [ 16.994006][ T314] vprintk_emit+0x37c/0x3e0 [ 16.994010][ T314] ? wake_up_klogd_work_func+0x90/0x90 [ 16.994016][ T314] ? udp_tunnel_nic_cleanup_module+0xb40/0xb40 [udp_tunnel] [ 16.994019][ T314] _printk+0xc7/0x100 [ 16.994023][ T314] ? snapshot_read.cold+0x21/0x21 [ 16.994029][ T314] ? do_one_initcall+0x113/0x4f0 [ 16.994032][ T314] gact_init_module+0x15/0x1000 [act_gact] [ 16.994034][ T314] do_one_initcall+0x124/0x4f0 [ 16.994037][ T314] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 16.994041][ T314] ? do_init_module+0xae/0x8a0 [ 16.994044][ T314] ? kasan_unpoison+0x44/0x70 [ 16.994049][ T314] do_init_module+0x2ad/0x8a0 [ 16.994053][ T314] ? lockdep_hardirqs_on+0x91/0x130 [ 16.994057][ T314] ? free_module+0x470/0x470 [ 16.994060][ T314] ? kfree+0x123/0x590 [ 16.994064][ T314] load_module+0x1424/0x1bb0 [ 16.994072][ T314] ? layout_and_allocate.isra.0+0x680/0x680 [ 16.994075][ T314] ? __ia32_sys_fsconfig+0x180/0x180 [ 16.994078][ T314] ? ovl_real_file+0x172/0x1e0 [ 16.994082][ T314] ? backing_file_read_iter+0x541/0x790 [ 16.994085][ T314] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.994089][ T314] init_module_from_file+0x11f/0x1a0 [ 16.994092][ T314] ? __do_sys_init_module+0x220/0x220 [ 16.994100][ T314] ? __rwlock_init+0x150/0x150 [ 16.994104][ T314] ? do_raw_spin_unlock+0x59/0x250 [ 16.994107][ T314] idempotent_init_module+0x37b/0x7c0 [ 16.994110][ T314] ? init_module_from_file+0x1a0/0x1a0 [ 16.994116][ T314] ? rcu_is_watching+0x16/0xd0 [ 16.994119][ T314] ? cap_capable+0x1d7/0x3d0 [ 16.994125][ T314] __x64_sys_finit_module+0xdf/0x190 [ 16.994127][ T314] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.994131][ T314] do_syscall_64+0xff/0x530 [ 16.994133][ T314] ? exc_page_fault+0xee/0x100 [ 16.994135][ T314] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.994137][ T314] RIP: 0033:0x7f15666f137d [ 16.994141][ T314] 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.994143][ T314] RSP: 002b:00007ffd70296688 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 16.994145][ T314] RAX: ffffffffffffffda RBX: 000055cef4ac4810 RCX: 00007f15666f137d [ 16.994147][ T314] RDX: 0000000000000000 RSI: 000055cec23f9ffd RDI: 0000000000000000 [ 16.994148][ T314] RBP: 00007ffd70296720 R08: 0000000000000000 R09: 0000000000000000 [ 16.994149][ T314] R10: 0000000000000000 R11: 0000000000000246 R12: 000055cec23f9ffd [ 16.994152][ T314] R13: 000055cef4ac4960 R14: 0000000000040000 R15: 0000000000000000 [ 16.994160][ T314]