[ 9.897316][ T193] ip (193) used greatest stack depth: 24144 bytes left [ 9.897333][ T193] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.897335][ T193] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 193, name: ip [ 9.897337][ T193] preempt_count: 2, expected: 0 [ 9.897338][ T193] RCU nest depth: 0, expected: 0 [ 9.897339][ T193] locks held by ip/193: 5, last CPU#3: [ 9.897341][ T193] #0: ffffffffb74027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.897354][ T193] #1: ffffffffb7569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.897360][ T193] #2: ffffffffb7569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.897364][ T193] #3: ffffffffb7489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.897368][ T193] #4: ffffffffb7489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.897372][ T193] irq event stamp: 33608 [ 9.897373][ T193] hardirqs last enabled at (33607): [] __down_trylock_console_sem+0x86/0xa0 [ 9.897376][ T193] hardirqs last disabled at (33608): [] console_emit_next_record+0x3d4/0x4c0 [ 9.897378][ T193] softirqs last enabled at (33324): [] handle_softirqs+0x67c/0x900 [ 9.897380][ T193] softirqs last disabled at (33317): [] __irq_exit_rcu+0x145/0x1c0 [ 9.897382][ T193] Preemption disabled at: [ 9.897383][ T193] [<0000000000000000>] 0x0 [ 9.897389][ T193] CPU: 3 UID: 0 PID: 193 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.897393][ T193] Tainted: [W]=WARN [ 9.897393][ T193] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.897395][ T193] Call Trace: [ 9.897397][ T193] [ 9.897398][ T193] dump_stack_lvl+0x6f/0xa0 [ 9.897404][ T193] __might_resched.cold+0x1fe/0x2c1 [ 9.897409][ T193] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.897413][ T193] ? __kmalloc_noprof+0xdb/0x760 [ 9.897418][ T193] __kmalloc_noprof+0x443/0x760 [ 9.897421][ T193] ? alloc_buf.isra.0+0x4b/0x260 [ 9.897427][ T193] ? do_raw_spin_unlock+0x59/0x250 [ 9.897429][ T193] alloc_buf.isra.0+0x4b/0x260 [ 9.897433][ T193] put_chars+0x1e1/0x2f0 [ 9.897435][ T193] ? __send_to_port+0x420/0x420 [ 9.897437][ T193] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.897441][ T193] ? validate_chain+0x38b/0xc20 [ 9.897447][ T193] hvc_console_print+0x292/0x780 [ 9.897453][ T193] ? hvc_write+0x3a0/0x3a0 [ 9.897455][ T193] ? rcu_is_watching+0x16/0xd0 [ 9.897458][ T193] ? lock_acquire+0x13c/0x160 [ 9.897462][ T193] console_emit_next_record+0x22f/0x4c0 [ 9.897466][ T193] ? devkmsg_read+0x4b0/0x4b0 [ 9.897468][ T193] ? console_flush_one_record+0x106/0x710 [ 9.897475][ T193] ? rcu_is_watching+0x16/0xd0 [ 9.897477][ T193] ? lock_acquire+0x13c/0x160 [ 9.897481][ T193] console_flush_one_record+0x46f/0x710 [ 9.897485][ T193] ? console_emit_next_record+0x4c0/0x4c0 [ 9.897487][ T193] ? __lock_acquire+0x518/0xc20 [ 9.897493][ T193] console_unlock+0xee/0x1f0 [ 9.897495][ T193] ? console_flush_one_record+0x710/0x710 [ 9.897497][ T193] ? rcu_is_watching+0x16/0xd0 [ 9.897500][ T193] ? lock_acquire+0x60/0x160 [ 9.897504][ T193] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.897505][ T193] ? vprintk_emit+0x320/0x3e0 [ 9.897509][ T193] vprintk_emit+0x37c/0x3e0 [ 9.897513][ T193] ? wake_up_klogd_work_func+0x90/0x90 [ 9.897516][ T193] ? __lock_acquire+0x518/0xc20 [ 9.897520][ T193] _printk+0xc7/0x100 [ 9.897523][ T193] ? snapshot_read.cold+0x21/0x21 [ 9.897526][ T193] ? do_raw_spin_lock+0x131/0x280 [ 9.897529][ T193] ? __rwlock_init+0x150/0x150 [ 9.897533][ T193] ? do_raw_spin_lock+0x131/0x280 [ 9.897536][ T193] do_exit.cold+0x82/0x9c [ 9.897539][ T193] ? exit_notify+0x890/0x890 [ 9.897542][ T193] ? __lock_release.isra.0+0x69/0x1a0 [ 9.897544][ T193] ? rcu_is_watching+0x16/0xd0 [ 9.897549][ T193] do_group_exit+0xb8/0x370 [ 9.897552][ T193] __x64_sys_exit_group+0x3c/0x50 [ 9.897553][ T193] x64_sys_call+0x1567/0x1570 [ 9.897556][ T193] do_syscall_64+0xff/0x530 [ 9.897559][ T193] ? exc_page_fault+0xee/0x100 [ 9.897562][ T193] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.897564][ T193] RIP: 0033:0x7ff04b1fb1b8 [ 9.897567][ T193] Code: Unable to access opcode bytes at 0x7ff04b1fb18e. [ 9.897568][ T193] RSP: 002b:00007ffe72fee618 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.897570][ T193] RAX: ffffffffffffffda RBX: 00007ff04b32bf88 RCX: 00007ff04b1fb1b8 [ 9.897572][ T193] RDX: 00007ff04af45fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.897573][ T193] RBP: 00007ffe72fee670 R08: 0000000000000000 R09: 0000000000008010 [ 9.897573][ T193] R10: 00007ffe72fee430 R11: 0000000000000246 R12: 0000000000000001 [ 9.897574][ T193] R13: 0000000000000000 R14: 00007ff04b32a680 R15: 00007ff04b32bfa0 [ 9.897581][ T193] [ 16.874183][ T291] GACT probability NOT on [ 16.874201][ T291] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.874204][ T291] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 291, name: modprobe [ 16.874206][ T291] preempt_count: 1, expected: 0 [ 16.874206][ T291] RCU nest depth: 0, expected: 0 [ 16.874207][ T291] locks held by modprobe/291: 4, last CPU#2: [ 16.874210][ T291] #0: ffffffffb7569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.874222][ T291] #1: ffffffffb7569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.874227][ T291] #2: ffffffffb7489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.874231][ T291] #3: ffffffffb7489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.874235][ T291] irq event stamp: 17884 [ 16.874236][ T291] hardirqs last enabled at (17883): [] __down_trylock_console_sem+0x86/0xa0 [ 16.874239][ T291] hardirqs last disabled at (17884): [] console_emit_next_record+0x3d4/0x4c0 [ 16.874241][ T291] softirqs last enabled at (17148): [] handle_softirqs+0x67c/0x900 [ 16.874244][ T291] softirqs last disabled at (16749): [] __irq_exit_rcu+0x145/0x1c0 [ 16.874246][ T291] Preemption disabled at: [ 16.874247][ T291] [] vprintk_emit+0x31b/0x3e0 [ 16.874252][ T291] CPU: 2 UID: 0 PID: 291 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.874256][ T291] Tainted: [W]=WARN [ 16.874257][ T291] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.874259][ T291] Call Trace: [ 16.874260][ T291] [ 16.874262][ T291] dump_stack_lvl+0x6f/0xa0 [ 16.874268][ T291] ? vprintk_emit+0x31b/0x3e0 [ 16.874270][ T291] __might_resched.cold+0x1fe/0x2c1 [ 16.874274][ T291] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.874279][ T291] ? __kmalloc_noprof+0xdb/0x760 [ 16.874283][ T291] __kmalloc_noprof+0x443/0x760 [ 16.874286][ T291] ? alloc_buf.isra.0+0x4b/0x260 [ 16.874291][ T291] ? do_raw_spin_unlock+0x59/0x250 [ 16.874294][ T291] alloc_buf.isra.0+0x4b/0x260 [ 16.874297][ T291] put_chars+0x1e1/0x2f0 [ 16.874299][ T291] ? desc_read_finalized_seq+0x79/0x120 [ 16.874301][ T291] ? __send_to_port+0x420/0x420 [ 16.874304][ T291] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.874307][ T291] ? validate_chain+0x38b/0xc20 [ 16.874311][ T291] hvc_console_print+0x292/0x780 [ 16.874314][ T291] ? __lock_acquire+0x518/0xc20 [ 16.874316][ T291] ? __lock_acquire+0x518/0xc20 [ 16.874320][ T291] ? hvc_write+0x3a0/0x3a0 [ 16.874321][ T291] ? console_emit_next_record+0x1df/0x4c0 [ 16.874324][ T291] ? rcu_is_watching+0x16/0xd0 [ 16.874327][ T291] ? lock_acquire+0x13c/0x160 [ 16.874331][ T291] console_emit_next_record+0x22f/0x4c0 [ 16.874335][ T291] ? devkmsg_read+0x4b0/0x4b0 [ 16.874337][ T291] ? console_flush_one_record+0x106/0x710 [ 16.874340][ T291] ? rcu_is_watching+0x16/0xd0 [ 16.874342][ T291] ? lock_acquire+0x13c/0x160 [ 16.874346][ T291] console_flush_one_record+0x46f/0x710 [ 16.874350][ T291] ? console_emit_next_record+0x4c0/0x4c0 [ 16.874352][ T291] ? __lock_acquire+0x518/0xc20 [ 16.874357][ T291] console_unlock+0xee/0x1f0 [ 16.874360][ T291] ? console_flush_one_record+0x710/0x710 [ 16.874361][ T291] ? rcu_is_watching+0x16/0xd0 [ 16.874364][ T291] ? lock_acquire+0x60/0x160 [ 16.874367][ T291] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.874369][ T291] ? vprintk_emit+0x320/0x3e0 [ 16.874372][ T291] vprintk_emit+0x37c/0x3e0 [ 16.874376][ T291] ? wake_up_klogd_work_func+0x90/0x90 [ 16.874381][ T291] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 16.874385][ T291] _printk+0xc7/0x100 [ 16.874388][ T291] ? snapshot_read.cold+0x21/0x21 [ 16.874394][ T291] ? do_one_initcall+0x113/0x4f0 [ 16.874397][ T291] gact_init_module+0x15/0x1000 [act_gact] [ 16.874399][ T291] do_one_initcall+0x124/0x4f0 [ 16.874402][ T291] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 16.874406][ T291] ? do_init_module+0xae/0x8a0 [ 16.874409][ T291] ? kasan_unpoison+0x44/0x70 [ 16.874414][ T291] do_init_module+0x2ad/0x8a0 [ 16.874417][ T291] ? lockdep_hardirqs_on+0x91/0x130 [ 16.874422][ T291] ? free_module+0x470/0x470 [ 16.874425][ T291] ? kfree+0x123/0x590 [ 16.874429][ T291] load_module+0x1424/0x1bb0 [ 16.874436][ T291] ? layout_and_allocate.isra.0+0x680/0x680 [ 16.874440][ T291] ? __ia32_sys_fsconfig+0x180/0x180 [ 16.874443][ T291] ? find_held_lock+0x2b/0x80 [ 16.874446][ T291] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.874450][ T291] init_module_from_file+0x11f/0x1a0 [ 16.874453][ T291] ? __do_sys_init_module+0x220/0x220 [ 16.874461][ T291] ? __rwlock_init+0x150/0x150 [ 16.874464][ T291] ? do_raw_spin_unlock+0x59/0x250 [ 16.874467][ T291] idempotent_init_module+0x37b/0x7c0 [ 16.874470][ T291] ? init_module_from_file+0x1a0/0x1a0 [ 16.874477][ T291] ? rcu_is_watching+0x16/0xd0 [ 16.874479][ T291] ? cap_capable+0x1d7/0x3d0 [ 16.874490][ T291] __x64_sys_finit_module+0xdf/0x190 [ 16.874492][ T291] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.874496][ T291] do_syscall_64+0xff/0x530 [ 16.874498][ T291] ? exc_page_fault+0xee/0x100 [ 16.874501][ T291] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.874503][ T291] RIP: 0033:0x7f76f0f3937d [ 16.874506][ T291] 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.874508][ T291] RSP: 002b:00007ffcadccd998 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 16.874511][ T291] RAX: ffffffffffffffda RBX: 000055ea73053810 RCX: 00007f76f0f3937d [ 16.874512][ T291] RDX: 0000000000000000 RSI: 000055ea535deffd RDI: 0000000000000000 [ 16.874513][ T291] RBP: 00007ffcadccda30 R08: 0000000000000000 R09: 0000000000000000 [ 16.874514][ T291] R10: 0000000000000000 R11: 0000000000000246 R12: 000055ea535deffd [ 16.874515][ T291] R13: 000055ea73053960 R14: 0000000000040000 R15: 0000000000000000 [ 16.874521][ T291] [ 17.784385][ T347] ip (347) used greatest stack depth: 23960 bytes left