[ 9.436437][ T202] ip (202) used greatest stack depth: 24440 bytes left [ 9.436455][ T202] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 9.436457][ T202] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 202, name: ip [ 9.436459][ T202] preempt_count: 2, expected: 0 [ 9.436459][ T202] RCU nest depth: 0, expected: 0 [ 9.436460][ T202] locks held by ip/202: 5, last CPU#0: [ 9.436462][ T202] #0: ffffffff930167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 9.436473][ T202] #1: ffffffff9317ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 9.436478][ T202] #2: ffffffff9317de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 9.436482][ T202] #3: ffffffff9309d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 9.436485][ T202] #4: ffffffff9309d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 9.436489][ T202] irq event stamp: 19922 [ 9.436490][ T202] hardirqs last enabled at (19921): [] __down_trylock_console_sem+0x86/0xa0 [ 9.436493][ T202] hardirqs last disabled at (19922): [] console_emit_next_record+0x3d4/0x4c0 [ 9.436497][ T202] softirqs last enabled at (18324): [] netlink_release+0x17b/0xcf0 [ 9.436501][ T202] softirqs last disabled at (18322): [] netlink_release+0xd2/0xcf0 [ 9.436503][ T202] Preemption disabled at: [ 9.436504][ T202] [<0000000000000000>] 0x0 [ 9.436511][ T202] CPU: 0 UID: 0 PID: 202 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 9.436514][ T202] Tainted: [W]=WARN [ 9.436515][ T202] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 9.436517][ T202] Call Trace: [ 9.436519][ T202] [ 9.436520][ T202] dump_stack_lvl+0x6f/0xa0 [ 9.436527][ T202] __might_resched.cold+0x1fe/0x2c1 [ 9.436531][ T202] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 9.436535][ T202] ? __kmalloc_noprof+0xdb/0x760 [ 9.436539][ T202] __kmalloc_noprof+0x443/0x760 [ 9.436541][ T202] ? alloc_buf.isra.0+0x4b/0x260 [ 9.436547][ T202] ? do_raw_spin_unlock+0x59/0x250 [ 9.436550][ T202] alloc_buf.isra.0+0x4b/0x260 [ 9.436554][ T202] put_chars+0x1e1/0x2f0 [ 9.436556][ T202] ? __send_to_port+0x420/0x420 [ 9.436557][ T202] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 9.436561][ T202] ? validate_chain+0x38b/0xc20 [ 9.436566][ T202] hvc_console_print+0x292/0x780 [ 9.436574][ T202] ? hvc_write+0x3a0/0x3a0 [ 9.436576][ T202] ? rcu_is_watching+0x16/0xd0 [ 9.436578][ T202] ? lock_acquire+0x13c/0x160 [ 9.436582][ T202] console_emit_next_record+0x22f/0x4c0 [ 9.436586][ T202] ? devkmsg_read+0x4b0/0x4b0 [ 9.436588][ T202] ? console_flush_one_record+0x106/0x710 [ 9.436591][ T202] ? rcu_is_watching+0x16/0xd0 [ 9.436592][ T202] ? lock_acquire+0x13c/0x160 [ 9.436596][ T202] console_flush_one_record+0x46f/0x710 [ 9.436600][ T202] ? console_emit_next_record+0x4c0/0x4c0 [ 9.436602][ T202] ? __lock_acquire+0x518/0xc20 [ 9.436607][ T202] console_unlock+0xee/0x1f0 [ 9.436610][ T202] ? console_flush_one_record+0x710/0x710 [ 9.436612][ T202] ? rcu_is_watching+0x16/0xd0 [ 9.436613][ T202] ? lock_acquire+0xe0/0x160 [ 9.436617][ T202] ? __down_trylock_console_sem+0x5e/0xa0 [ 9.436619][ T202] ? vprintk_emit+0x320/0x3e0 [ 9.436621][ T202] vprintk_emit+0x37c/0x3e0 [ 9.436625][ T202] ? wake_up_klogd_work_func+0x90/0x90 [ 9.436627][ T202] ? __lock_acquire+0x518/0xc20 [ 9.436631][ T202] _printk+0xc7/0x100 [ 9.436635][ T202] ? snapshot_read.cold+0x21/0x21 [ 9.436637][ T202] ? do_raw_spin_lock+0x131/0x280 [ 9.436640][ T202] ? __rwlock_init+0x150/0x150 [ 9.436644][ T202] ? do_raw_spin_lock+0x131/0x280 [ 9.436646][ T202] do_exit.cold+0x82/0x9c [ 9.436650][ T202] ? exit_notify+0x890/0x890 [ 9.436651][ T202] ? __lock_release.isra.0+0x69/0x1a0 [ 9.436654][ T202] ? rcu_is_watching+0x16/0xd0 [ 9.436657][ T202] do_group_exit+0xb8/0x370 [ 9.436660][ T202] __x64_sys_exit_group+0x3c/0x50 [ 9.436662][ T202] x64_sys_call+0x1567/0x1570 [ 9.436665][ T202] do_syscall_64+0xff/0x530 [ 9.436668][ T202] ? exc_page_fault+0xee/0x100 [ 9.436671][ T202] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 9.436673][ T202] RIP: 0033:0x7fcdcc9e61b8 [ 9.436676][ T202] Code: Unable to access opcode bytes at 0x7fcdcc9e618e. [ 9.436677][ T202] RSP: 002b:00007ffc99784508 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 9.436679][ T202] RAX: ffffffffffffffda RBX: 00007fcdccb16f88 RCX: 00007fcdcc9e61b8 [ 9.436680][ T202] RDX: 00007fcdcc730fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 9.436681][ T202] RBP: 00007ffc99784560 R08: 0000000000000000 R09: 0000000000000050 [ 9.436682][ T202] R10: 00007ffc99784320 R11: 0000000000000246 R12: 0000000000000001 [ 9.436683][ T202] R13: 0000000000000000 R14: 00007fcdccb15680 R15: 00007fcdccb16fa0 [ 9.436689][ T202] [ 9.640848][ T207] ip (207) used greatest stack depth: 23808 bytes left [ 15.179349][ T385] GACT probability NOT on [ 15.179365][ T385] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.179367][ T385] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 385, name: modprobe [ 15.179368][ T385] preempt_count: 1, expected: 0 [ 15.179369][ T385] RCU nest depth: 0, expected: 0 [ 15.179370][ T385] locks held by modprobe/385: 4, last CPU#3: [ 15.179372][ T385] #0: ffffffff9317ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.179383][ T385] #1: ffffffff9317de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.179387][ T385] #2: ffffffff9309d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.179391][ T385] #3: ffffffff9309d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.179395][ T385] irq event stamp: 26714 [ 15.179396][ T385] hardirqs last enabled at (26713): [] __down_trylock_console_sem+0x86/0xa0 [ 15.179399][ T385] hardirqs last disabled at (26714): [] console_emit_next_record+0x3d4/0x4c0 [ 15.179401][ T385] softirqs last enabled at (25150): [] handle_softirqs+0x67c/0x900 [ 15.179404][ T385] softirqs last disabled at (25141): [] __irq_exit_rcu+0x145/0x1c0 [ 15.179407][ T385] Preemption disabled at: [ 15.179407][ T385] [] vprintk_emit+0x31b/0x3e0 [ 15.179412][ T385] CPU: 3 UID: 0 PID: 385 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.179415][ T385] Tainted: [W]=WARN [ 15.179416][ T385] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.179418][ T385] Call Trace: [ 15.179419][ T385] [ 15.179421][ T385] dump_stack_lvl+0x6f/0xa0 [ 15.179427][ T385] ? vprintk_emit+0x31b/0x3e0 [ 15.179428][ T385] __might_resched.cold+0x1fe/0x2c1 [ 15.179433][ T385] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.179437][ T385] ? __kmalloc_noprof+0xdb/0x760 [ 15.179441][ T385] __kmalloc_noprof+0x443/0x760 [ 15.179443][ T385] ? alloc_buf.isra.0+0x4b/0x260 [ 15.179449][ T385] ? do_raw_spin_unlock+0x59/0x250 [ 15.179452][ T385] alloc_buf.isra.0+0x4b/0x260 [ 15.179456][ T385] put_chars+0x1e1/0x2f0 [ 15.179457][ T385] ? desc_read_finalized_seq+0x79/0x120 [ 15.179460][ T385] ? __send_to_port+0x420/0x420 [ 15.179462][ T385] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.179466][ T385] ? validate_chain+0x38b/0xc20 [ 15.179470][ T385] hvc_console_print+0x292/0x780 [ 15.179474][ T385] ? __lock_acquire+0x518/0xc20 [ 15.179476][ T385] ? __lock_acquire+0x518/0xc20 [ 15.179480][ T385] ? hvc_write+0x3a0/0x3a0 [ 15.179482][ T385] ? console_emit_next_record+0x1df/0x4c0 [ 15.179485][ T385] ? rcu_is_watching+0x16/0xd0 [ 15.179487][ T385] ? lock_acquire+0x13c/0x160 [ 15.179491][ T385] console_emit_next_record+0x22f/0x4c0 [ 15.179496][ T385] ? devkmsg_read+0x4b0/0x4b0 [ 15.179498][ T385] ? console_flush_one_record+0x106/0x710 [ 15.179501][ T385] ? rcu_is_watching+0x16/0xd0 [ 15.179503][ T385] ? lock_acquire+0x13c/0x160 [ 15.179507][ T385] console_flush_one_record+0x46f/0x710 [ 15.179511][ T385] ? console_emit_next_record+0x4c0/0x4c0 [ 15.179513][ T385] ? __lock_acquire+0x518/0xc20 [ 15.179518][ T385] console_unlock+0xee/0x1f0 [ 15.179520][ T385] ? console_flush_one_record+0x710/0x710 [ 15.179522][ T385] ? rcu_is_watching+0x16/0xd0 [ 15.179524][ T385] ? lock_acquire+0xe0/0x160 [ 15.179527][ T385] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.179529][ T385] ? vprintk_emit+0x320/0x3e0 [ 15.179532][ T385] vprintk_emit+0x37c/0x3e0 [ 15.179535][ T385] ? wake_up_klogd_work_func+0x90/0x90 [ 15.179540][ T385] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 15.179543][ T385] _printk+0xc7/0x100 [ 15.179546][ T385] ? snapshot_read.cold+0x21/0x21 [ 15.179552][ T385] ? do_one_initcall+0x113/0x4f0 [ 15.179555][ T385] gact_init_module+0x15/0x1000 [act_gact] [ 15.179557][ T385] do_one_initcall+0x124/0x4f0 [ 15.179560][ T385] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 15.179564][ T385] ? do_init_module+0xae/0x8a0 [ 15.179567][ T385] ? kasan_unpoison+0x44/0x70 [ 15.179572][ T385] do_init_module+0x2ad/0x8a0 [ 15.179575][ T385] ? lockdep_hardirqs_on+0x91/0x130 [ 15.179579][ T385] ? free_module+0x470/0x470 [ 15.179582][ T385] ? kfree+0x123/0x590 [ 15.179585][ T385] load_module+0x1424/0x1bb0 [ 15.179590][ T385] ? security_kernel_post_read_file+0x2f/0x60 [ 15.179595][ T385] ? layout_and_allocate.isra.0+0x680/0x680 [ 15.179598][ T385] ? __ia32_sys_fsconfig+0x180/0x180 [ 15.179602][ T385] ? backing_file_read_iter+0x541/0x790 [ 15.179606][ T385] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.179609][ T385] init_module_from_file+0x11f/0x1a0 [ 15.179611][ T385] ? __do_sys_init_module+0x270/0x270 [ 15.179619][ T385] ? __rwlock_init+0x150/0x150 [ 15.179622][ T385] ? do_raw_spin_unlock+0x59/0x250 [ 15.179625][ T385] idempotent_init_module+0x37b/0x7c0 [ 15.179628][ T385] ? init_module_from_file+0x1a0/0x1a0 [ 15.179633][ T385] ? cap_capable+0x1d7/0x3d0 [ 15.179636][ T385] ? __x64_sys_pread64+0x18d/0x250 [ 15.179640][ T385] __x64_sys_finit_module+0xdf/0x190 [ 15.179642][ T385] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.179646][ T385] do_syscall_64+0xff/0x530 [ 15.179648][ T385] ? exc_page_fault+0xee/0x100 [ 15.179651][ T385] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.179653][ T385] RIP: 0033:0x7f95f3c0c37d [ 15.179656][ T385] 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.179658][ T385] RSP: 002b:00007ffce7eded88 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 15.179660][ T385] RAX: ffffffffffffffda RBX: 000055b6894ba810 RCX: 00007f95f3c0c37d [ 15.179662][ T385] RDX: 0000000000000000 RSI: 000055b67b56bffd RDI: 0000000000000000 [ 15.179663][ T385] RBP: 00007ffce7edee20 R08: 0000000000000000 R09: 0000000000000000 [ 15.179663][ T385] R10: 0000000000000000 R11: 0000000000000246 R12: 000055b67b56bffd [ 15.179664][ T385] R13: 000055b6894ba960 R14: 0000000000040000 R15: 0000000000000000 [ 15.179671][ T385]