[ 9.804354][ T188] ip (188) used greatest stack depth: 24144 bytes left [ 9.804370][ T188] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.804372][ T188] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 188, name: ip [ 9.804374][ T188] preempt_count: 2, expected: 0 [ 9.804375][ T188] RCU nest depth: 0, expected: 0 [ 9.804375][ T188] locks held by ip/188: 5, last CPU#0: [ 9.804378][ T188] #0: ffffffff8f8027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.804391][ T188] #1: ffffffff8f969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.804397][ T188] #2: ffffffff8f969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.804401][ T188] #3: ffffffff8f889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.804405][ T188] #4: ffffffff8f889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.804409][ T188] irq event stamp: 27398 [ 9.804410][ T188] hardirqs last enabled at (27397): [] __down_trylock_console_sem+0x86/0xa0 [ 9.804413][ T188] hardirqs last disabled at (27398): [] console_emit_next_record+0x3d4/0x4c0 [ 9.804415][ T188] softirqs last enabled at (26578): [] handle_softirqs+0x67c/0x900 [ 9.804417][ T188] softirqs last disabled at (25309): [] __irq_exit_rcu+0x145/0x1c0 [ 9.804419][ T188] Preemption disabled at: [ 9.804420][ T188] [<0000000000000000>] 0x0 [ 9.804427][ T188] CPU: 0 UID: 0 PID: 188 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.804431][ T188] Tainted: [W]=WARN [ 9.804432][ T188] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.804433][ T188] Call Trace: [ 9.804435][ T188] [ 9.804437][ T188] dump_stack_lvl+0x6f/0xa0 [ 9.804443][ T188] __might_resched.cold+0x1fe/0x2c1 [ 9.804448][ T188] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.804452][ T188] ? __kmalloc_noprof+0xdb/0x760 [ 9.804457][ T188] __kmalloc_noprof+0x443/0x760 [ 9.804459][ T188] ? alloc_buf.isra.0+0x4b/0x260 [ 9.804465][ T188] ? do_raw_spin_unlock+0x59/0x250 [ 9.804468][ T188] alloc_buf.isra.0+0x4b/0x260 [ 9.804471][ T188] put_chars+0x1e1/0x2f0 [ 9.804474][ T188] ? __send_to_port+0x420/0x420 [ 9.804476][ T188] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.804481][ T188] ? validate_chain+0x38b/0xc20 [ 9.804486][ T188] hvc_console_print+0x292/0x780 [ 9.804492][ T188] ? hvc_write+0x3a0/0x3a0 [ 9.804495][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.804497][ T188] ? lock_acquire+0x13c/0x160 [ 9.804501][ T188] console_emit_next_record+0x22f/0x4c0 [ 9.804505][ T188] ? devkmsg_read+0x4b0/0x4b0 [ 9.804507][ T188] ? console_flush_one_record+0x106/0x710 [ 9.804510][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.804513][ T188] ? lock_acquire+0x13c/0x160 [ 9.804517][ T188] console_flush_one_record+0x46f/0x710 [ 9.804521][ T188] ? console_emit_next_record+0x4c0/0x4c0 [ 9.804523][ T188] ? __lock_acquire+0x518/0xc20 [ 9.804528][ T188] console_unlock+0xee/0x1f0 [ 9.804531][ T188] ? console_flush_one_record+0x710/0x710 [ 9.804533][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.804535][ T188] ? lock_acquire+0x60/0x160 [ 9.804539][ T188] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.804540][ T188] ? vprintk_emit+0x320/0x3e0 [ 9.804544][ T188] vprintk_emit+0x37c/0x3e0 [ 9.804548][ T188] ? wake_up_klogd_work_func+0x90/0x90 [ 9.804551][ T188] ? __lock_acquire+0x518/0xc20 [ 9.804555][ T188] _printk+0xc7/0x100 [ 9.804559][ T188] ? snapshot_read.cold+0x21/0x21 [ 9.804562][ T188] ? do_raw_spin_lock+0x131/0x280 [ 9.804564][ T188] ? __rwlock_init+0x150/0x150 [ 9.804568][ T188] ? do_raw_spin_lock+0x131/0x280 [ 9.804571][ T188] do_exit.cold+0x82/0x9c [ 9.804574][ T188] ? exit_notify+0x890/0x890 [ 9.804576][ T188] ? __lock_release.isra.0+0x69/0x1a0 [ 9.804579][ T188] ? rcu_is_watching+0x16/0xd0 [ 9.804583][ T188] do_group_exit+0xb8/0x370 [ 9.804586][ T188] __x64_sys_exit_group+0x3c/0x50 [ 9.804588][ T188] x64_sys_call+0x1567/0x1570 [ 9.804590][ T188] do_syscall_64+0xff/0x530 [ 9.804593][ T188] ? exc_page_fault+0xee/0x100 [ 9.804597][ T188] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.804599][ T188] RIP: 0033:0x7ff4a1ad81b8 [ 9.804601][ T188] Code: Unable to access opcode bytes at 0x7ff4a1ad818e. [ 9.804602][ T188] RSP: 002b:00007ffc969fd558 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.804605][ T188] RAX: ffffffffffffffda RBX: 00007ff4a1c08f88 RCX: 00007ff4a1ad81b8 [ 9.804606][ T188] RDX: 00007ff4a1822fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.804607][ T188] RBP: 00007ffc969fd5b0 R08: 0000000000000000 R09: 0000000000008010 [ 9.804608][ T188] R10: 00007ffc969fd370 R11: 0000000000000246 R12: 0000000000000001 [ 9.804609][ T188] R13: 0000000000000000 R14: 00007ff4a1c07680 R15: 00007ff4a1c08fa0 [ 9.804616][ T188] [ 16.139817][ T249] GACT probability NOT on [ 16.139839][ T249] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 16.139842][ T249] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 249, name: modprobe [ 16.139845][ T249] preempt_count: 1, expected: 0 [ 16.139846][ T249] RCU nest depth: 0, expected: 0 [ 16.139847][ T249] locks held by modprobe/249: 4, last CPU#2: [ 16.139850][ T249] #0: ffffffff8f969cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 16.139867][ T249] #1: ffffffff8f969d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 16.139873][ T249] #2: ffffffff8f889660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 16.139879][ T249] #3: ffffffff8f889560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 16.139885][ T249] irq event stamp: 30594 [ 16.139886][ T249] hardirqs last enabled at (30593): [] __down_trylock_console_sem+0x86/0xa0 [ 16.139890][ T249] hardirqs last disabled at (30594): [] console_emit_next_record+0x3d4/0x4c0 [ 16.139893][ T249] softirqs last enabled at (28456): [] handle_softirqs+0x67c/0x900 [ 16.139897][ T249] softirqs last disabled at (28451): [] __irq_exit_rcu+0x145/0x1c0 [ 16.139900][ T249] Preemption disabled at: [ 16.139901][ T249] [] vprintk_emit+0x31b/0x3e0 [ 16.139909][ T249] CPU: 2 UID: 0 PID: 249 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 16.139913][ T249] Tainted: [W]=WARN [ 16.139915][ T249] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.139917][ T249] Call Trace: [ 16.139919][ T249] [ 16.139921][ T249] dump_stack_lvl+0x6f/0xa0 [ 16.139928][ T249] ? vprintk_emit+0x31b/0x3e0 [ 16.139931][ T249] __might_resched.cold+0x1fe/0x2c1 [ 16.139937][ T249] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 16.139943][ T249] ? __kmalloc_noprof+0xdb/0x760 [ 16.139950][ T249] __kmalloc_noprof+0x443/0x760 [ 16.139954][ T249] ? alloc_buf.isra.0+0x4b/0x260 [ 16.139962][ T249] ? do_raw_spin_unlock+0x59/0x250 [ 16.139966][ T249] alloc_buf.isra.0+0x4b/0x260 [ 16.139971][ T249] put_chars+0x1e1/0x2f0 [ 16.139974][ T249] ? desc_read_finalized_seq+0x79/0x120 [ 16.139977][ T249] ? __send_to_port+0x420/0x420 [ 16.139982][ T249] ? rcu_read_lock_any_held+0x3c/0x90 [ 16.139987][ T249] ? validate_chain+0x38b/0xc20 [ 16.139994][ T249] hvc_console_print+0x292/0x780 [ 16.139998][ T249] ? __lock_acquire+0x518/0xc20 [ 16.140000][ T249] ? __lock_acquire+0x518/0xc20 [ 16.140008][ T249] ? hvc_write+0x3a0/0x3a0 [ 16.140010][ T249] ? console_emit_next_record+0x1df/0x4c0 [ 16.140015][ T249] ? rcu_is_watching+0x16/0xd0 [ 16.140024][ T249] ? lock_acquire+0x13c/0x160 [ 16.140033][ T249] console_emit_next_record+0x22f/0x4c0 [ 16.140039][ T249] ? devkmsg_read+0x4b0/0x4b0 [ 16.140041][ T249] ? console_flush_one_record+0x106/0x710 [ 16.140047][ T249] ? rcu_is_watching+0x16/0xd0 [ 16.140050][ T249] ? lock_acquire+0x13c/0x160 [ 16.140057][ T249] console_flush_one_record+0x46f/0x710 [ 16.140064][ T249] ? console_emit_next_record+0x4c0/0x4c0 [ 16.140067][ T249] ? __lock_acquire+0x518/0xc20 [ 16.140076][ T249] console_unlock+0xee/0x1f0 [ 16.140081][ T249] ? console_flush_one_record+0x710/0x710 [ 16.140083][ T249] ? rcu_is_watching+0x16/0xd0 [ 16.140087][ T249] ? lock_acquire+0x60/0x160 [ 16.140093][ T249] ? __down_trylock_console_sem+0x5e/0xa0 [ 16.140095][ T249] ? vprintk_emit+0x320/0x3e0 [ 16.140101][ T249] vprintk_emit+0x37c/0x3e0 [ 16.140108][ T249] ? wake_up_klogd_work_func+0x90/0x90 [ 16.140117][ T249] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 16.140121][ T249] _printk+0xc7/0x100 [ 16.140126][ T249] ? snapshot_read.cold+0x21/0x21 [ 16.140137][ T249] ? do_one_initcall+0x113/0x4f0 [ 16.140142][ T249] gact_init_module+0x15/0x1000 [act_gact] [ 16.140146][ T249] do_one_initcall+0x124/0x4f0 [ 16.140150][ T249] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 16.140158][ T249] ? do_init_module+0xae/0x8a0 [ 16.140162][ T249] ? kasan_unpoison+0x44/0x70 [ 16.140170][ T249] do_init_module+0x2ad/0x8a0 [ 16.140176][ T249] ? lockdep_hardirqs_on+0x91/0x130 [ 16.140182][ T249] ? free_module+0x470/0x470 [ 16.140187][ T249] ? kfree+0x123/0x590 [ 16.140194][ T249] load_module+0x1424/0x1bb0 [ 16.140207][ T249] ? layout_and_allocate.isra.0+0x680/0x680 [ 16.140213][ T249] ? __ia32_sys_fsconfig+0x180/0x180 [ 16.140217][ T249] ? ovl_real_file+0x172/0x1e0 [ 16.140222][ T249] ? backing_file_read_iter+0x541/0x790 [ 16.140227][ T249] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 16.140233][ T249] init_module_from_file+0x11f/0x1a0 [ 16.140239][ T249] ? __do_sys_init_module+0x220/0x220 [ 16.140253][ T249] ? __rwlock_init+0x150/0x150 [ 16.140259][ T249] ? do_raw_spin_unlock+0x59/0x250 [ 16.140264][ T249] idempotent_init_module+0x37b/0x7c0 [ 16.140269][ T249] ? init_module_from_file+0x1a0/0x1a0 [ 16.140280][ T249] ? rcu_is_watching+0x16/0xd0 [ 16.140284][ T249] ? cap_capable+0x1d7/0x3d0 [ 16.140293][ T249] __x64_sys_finit_module+0xdf/0x190 [ 16.140296][ T249] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 16.140301][ T249] do_syscall_64+0xff/0x530 [ 16.140304][ T249] ? exc_page_fault+0xee/0x100 [ 16.140309][ T249] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 16.140316][ T249] RIP: 0033:0x7ff2bccdf37d [ 16.140321][ T249] 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.140324][ T249] RSP: 002b:00007ffd40b77e28 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 16.140328][ T249] RAX: ffffffffffffffda RBX: 000055f43af38810 RCX: 00007ff2bccdf37d [ 16.140330][ T249] RDX: 0000000000000000 RSI: 000055f431812ffd RDI: 0000000000000000 [ 16.140331][ T249] RBP: 00007ffd40b77ec0 R08: 0000000000000000 R09: 0000000000000000 [ 16.140333][ T249] R10: 0000000000000000 R11: 0000000000000246 R12: 000055f431812ffd [ 16.140334][ T249] R13: 000055f43af38960 R14: 0000000000040000 R15: 0000000000000000 [ 16.140347][ T249]