[ 9.739686][ T187] ip (187) used greatest stack depth: 23984 bytes left [ 9.739702][ T187] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.739704][ T187] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 187, name: ip [ 9.739706][ T187] preempt_count: 2, expected: 0 [ 9.739707][ T187] RCU nest depth: 0, expected: 0 [ 9.739708][ T187] locks held by ip/187: 5, last CPU#0: [ 9.739710][ T187] #0: ffffffffaa0027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.739723][ T187] #1: ffffffffaa169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.739728][ T187] #2: ffffffffaa169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.739732][ T187] #3: ffffffffaa089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.739737][ T187] #4: ffffffffaa089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.739741][ T187] irq event stamp: 51828 [ 9.739741][ T187] hardirqs last enabled at (51827): [] __down_trylock_console_sem+0x86/0xa0 [ 9.739744][ T187] hardirqs last disabled at (51828): [] console_emit_next_record+0x3d4/0x4c0 [ 9.739746][ T187] softirqs last enabled at (51822): [] handle_softirqs+0x67c/0x900 [ 9.739748][ T187] softirqs last disabled at (51817): [] __irq_exit_rcu+0x145/0x1c0 [ 9.739750][ T187] Preemption disabled at: [ 9.739751][ T187] [<0000000000000000>] 0x0 [ 9.739758][ T187] CPU: 0 UID: 0 PID: 187 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.739761][ T187] Tainted: [W]=WARN [ 9.739762][ T187] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.739764][ T187] Call Trace: [ 9.739766][ T187] [ 9.739767][ T187] dump_stack_lvl+0x6f/0xa0 [ 9.739774][ T187] __might_resched.cold+0x1fe/0x2c1 [ 9.739778][ T187] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.739782][ T187] ? __kmalloc_noprof+0xdb/0x760 [ 9.739787][ T187] __kmalloc_noprof+0x443/0x760 [ 9.739790][ T187] ? alloc_buf.isra.0+0x4b/0x260 [ 9.739796][ T187] ? do_raw_spin_unlock+0x59/0x250 [ 9.739798][ T187] alloc_buf.isra.0+0x4b/0x260 [ 9.739802][ T187] put_chars+0x1e1/0x2f0 [ 9.739804][ T187] ? __send_to_port+0x420/0x420 [ 9.739806][ T187] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.739811][ T187] ? validate_chain+0x38b/0xc20 [ 9.739816][ T187] hvc_console_print+0x292/0x780 [ 9.739823][ T187] ? hvc_write+0x3a0/0x3a0 [ 9.739825][ T187] ? rcu_is_watching+0x16/0xd0 [ 9.739827][ T187] ? lock_acquire+0x13c/0x160 [ 9.739832][ T187] console_emit_next_record+0x22f/0x4c0 [ 9.739835][ T187] ? devkmsg_read+0x4b0/0x4b0 [ 9.739837][ T187] ? console_flush_one_record+0x106/0x710 [ 9.739841][ T187] ? rcu_is_watching+0x16/0xd0 [ 9.739843][ T187] ? lock_acquire+0x13c/0x160 [ 9.739847][ T187] console_flush_one_record+0x46f/0x710 [ 9.739852][ T187] ? console_emit_next_record+0x4c0/0x4c0 [ 9.739854][ T187] ? __lock_acquire+0x518/0xc20 [ 9.739859][ T187] console_unlock+0xee/0x1f0 [ 9.739862][ T187] ? console_flush_one_record+0x710/0x710 [ 9.739864][ T187] ? rcu_is_watching+0x16/0xd0 [ 9.739866][ T187] ? lock_acquire+0x60/0x160 [ 9.739870][ T187] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.739872][ T187] ? vprintk_emit+0x320/0x3e0 [ 9.739875][ T187] vprintk_emit+0x37c/0x3e0 [ 9.739879][ T187] ? wake_up_klogd_work_func+0x90/0x90 [ 9.739883][ T187] ? __lock_acquire+0x518/0xc20 [ 9.739887][ T187] _printk+0xc7/0x100 [ 9.739891][ T187] ? snapshot_read.cold+0x21/0x21 [ 9.739894][ T187] ? do_raw_spin_lock+0x131/0x280 [ 9.739896][ T187] ? __rwlock_init+0x150/0x150 [ 9.739900][ T187] ? do_raw_spin_lock+0x131/0x280 [ 9.739903][ T187] do_exit.cold+0x82/0x9c [ 9.739907][ T187] ? exit_notify+0x890/0x890 [ 9.739909][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 9.739912][ T187] ? rcu_is_watching+0x16/0xd0 [ 9.739916][ T187] do_group_exit+0xb8/0x370 [ 9.739919][ T187] __x64_sys_exit_group+0x3c/0x50 [ 9.739921][ T187] x64_sys_call+0x1567/0x1570 [ 9.739923][ T187] do_syscall_64+0xff/0x530 [ 9.739926][ T187] ? exc_page_fault+0xee/0x100 [ 9.739930][ T187] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.739932][ T187] RIP: 0033:0x7fd3b13501b8 [ 9.739934][ T187] Code: Unable to access opcode bytes at 0x7fd3b135018e. [ 9.739935][ T187] RSP: 002b:00007ffcaee0b218 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.739938][ T187] RAX: ffffffffffffffda RBX: 00007fd3b1480f88 RCX: 00007fd3b13501b8 [ 9.739939][ T187] RDX: 00007fd3b109afc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.739940][ T187] RBP: 00007ffcaee0b270 R08: 0000000000000000 R09: 0000000000008010 [ 9.739941][ T187] R10: 00007ffcaee0b030 R11: 0000000000000246 R12: 0000000000000001 [ 9.739942][ T187] R13: 0000000000000000 R14: 00007fd3b147f680 R15: 00007fd3b1480fa0 [ 9.739949][ T187] [ 15.895985][ T248] GACT probability NOT on [ 15.896006][ T248] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.896009][ T248] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 248, name: modprobe [ 15.896011][ T248] preempt_count: 1, expected: 0 [ 15.896013][ T248] RCU nest depth: 0, expected: 0 [ 15.896014][ T248] locks held by modprobe/248: 4, last CPU#2: [ 15.896017][ T248] #0: ffffffffaa169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.896033][ T248] #1: ffffffffaa169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.896039][ T248] #2: ffffffffaa089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.896046][ T248] #3: ffffffffaa089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.896052][ T248] irq event stamp: 17492 [ 15.896054][ T248] hardirqs last enabled at (17491): [] __down_trylock_console_sem+0x86/0xa0 [ 15.896057][ T248] hardirqs last disabled at (17492): [] console_emit_next_record+0x3d4/0x4c0 [ 15.896060][ T248] softirqs last enabled at (15910): [] handle_softirqs+0x67c/0x900 [ 15.896064][ T248] softirqs last disabled at (15903): [] __irq_exit_rcu+0x145/0x1c0 [ 15.896067][ T248] Preemption disabled at: [ 15.896068][ T248] [] vprintk_emit+0x31b/0x3e0 [ 15.896075][ T248] CPU: 2 UID: 0 PID: 248 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.896080][ T248] Tainted: [W]=WARN [ 15.896082][ T248] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.896084][ T248] Call Trace: [ 15.896086][ T248] [ 15.896089][ T248] dump_stack_lvl+0x6f/0xa0 [ 15.896096][ T248] ? vprintk_emit+0x31b/0x3e0 [ 15.896099][ T248] __might_resched.cold+0x1fe/0x2c1 [ 15.896106][ T248] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.896112][ T248] ? __kmalloc_noprof+0xdb/0x760 [ 15.896119][ T248] __kmalloc_noprof+0x443/0x760 [ 15.896123][ T248] ? alloc_buf.isra.0+0x4b/0x260 [ 15.896132][ T248] ? do_raw_spin_unlock+0x59/0x250 [ 15.896136][ T248] alloc_buf.isra.0+0x4b/0x260 [ 15.896141][ T248] put_chars+0x1e1/0x2f0 [ 15.896144][ T248] ? desc_read_finalized_seq+0x79/0x120 [ 15.896148][ T248] ? __send_to_port+0x420/0x420 [ 15.896153][ T248] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.896158][ T248] ? validate_chain+0x38b/0xc20 [ 15.896166][ T248] hvc_console_print+0x292/0x780 [ 15.896169][ T248] ? __lock_acquire+0x518/0xc20 [ 15.896172][ T248] ? __lock_acquire+0x518/0xc20 [ 15.896180][ T248] ? hvc_write+0x3a0/0x3a0 [ 15.896182][ T248] ? console_emit_next_record+0x1df/0x4c0 [ 15.896188][ T248] ? rcu_is_watching+0x16/0xd0 [ 15.896192][ T248] ? lock_acquire+0x13c/0x160 [ 15.896199][ T248] console_emit_next_record+0x22f/0x4c0 [ 15.896205][ T248] ? devkmsg_read+0x4b0/0x4b0 [ 15.896208][ T248] ? console_flush_one_record+0x106/0x710 [ 15.896213][ T248] ? rcu_is_watching+0x16/0xd0 [ 15.896217][ T248] ? lock_acquire+0x13c/0x160 [ 15.896224][ T248] console_flush_one_record+0x46f/0x710 [ 15.896232][ T248] ? console_emit_next_record+0x4c0/0x4c0 [ 15.896234][ T248] ? __lock_acquire+0x518/0xc20 [ 15.896244][ T248] console_unlock+0xee/0x1f0 [ 15.896248][ T248] ? console_flush_one_record+0x710/0x710 [ 15.896251][ T248] ? rcu_is_watching+0x16/0xd0 [ 15.896255][ T248] ? lock_acquire+0x60/0x160 [ 15.896261][ T248] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.896264][ T248] ? vprintk_emit+0x320/0x3e0 [ 15.896270][ T248] vprintk_emit+0x37c/0x3e0 [ 15.896276][ T248] ? wake_up_klogd_work_func+0x90/0x90 [ 15.896286][ T248] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 15.896291][ T248] _printk+0xc7/0x100 [ 15.896296][ T248] ? snapshot_read.cold+0x21/0x21 [ 15.896308][ T248] ? do_one_initcall+0x113/0x4f0 [ 15.896313][ T248] gact_init_module+0x15/0x1000 [act_gact] [ 15.896316][ T248] do_one_initcall+0x124/0x4f0 [ 15.896321][ T248] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 15.896329][ T248] ? do_init_module+0xae/0x8a0 [ 15.896333][ T248] ? kasan_unpoison+0x44/0x70 [ 15.896348][ T248] do_init_module+0x2ad/0x8a0 [ 15.896355][ T248] ? lockdep_hardirqs_on+0x91/0x130 [ 15.896361][ T248] ? free_module+0x470/0x470 [ 15.896366][ T248] ? kfree+0x123/0x590 [ 15.896374][ T248] load_module+0x1424/0x1bb0 [ 15.896387][ T248] ? layout_and_allocate.isra.0+0x680/0x680 [ 15.896394][ T248] ? __ia32_sys_fsconfig+0x180/0x180 [ 15.896397][ T248] ? ovl_real_file+0x172/0x1e0 [ 15.896403][ T248] ? backing_file_read_iter+0x541/0x790 [ 15.896407][ T248] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.896414][ T248] init_module_from_file+0x11f/0x1a0 [ 15.896420][ T248] ? __do_sys_init_module+0x220/0x220 [ 15.896435][ T248] ? __rwlock_init+0x150/0x150 [ 15.896441][ T248] ? do_raw_spin_unlock+0x59/0x250 [ 15.896448][ T248] idempotent_init_module+0x37b/0x7c0 [ 15.896453][ T248] ? init_module_from_file+0x1a0/0x1a0 [ 15.896465][ T248] ? rcu_is_watching+0x16/0xd0 [ 15.896469][ T248] ? cap_capable+0x1d7/0x3d0 [ 15.896478][ T248] __x64_sys_finit_module+0xdf/0x190 [ 15.896481][ T248] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.896487][ T248] do_syscall_64+0xff/0x530 [ 15.896490][ T248] ? exc_page_fault+0xee/0x100 [ 15.896494][ T248] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.896498][ T248] RIP: 0033:0x7f23a8b9d37d [ 15.896503][ T248] 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 [ 15.896505][ T248] RSP: 002b:00007ffd3d476f08 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 15.896509][ T248] RAX: ffffffffffffffda RBX: 000055f275f2e810 RCX: 00007f23a8b9d37d [ 15.896511][ T248] RDX: 0000000000000000 RSI: 000055f264c80ffd RDI: 0000000000000000 [ 15.896512][ T248] RBP: 00007ffd3d476fa0 R08: 0000000000000000 R09: 0000000000000000 [ 15.896514][ T248] R10: 0000000000000000 R11: 0000000000000246 R12: 000055f264c80ffd [ 15.896515][ T248] R13: 000055f275f2e960 R14: 0000000000040000 R15: 0000000000000000 [ 15.896529][ T248]