[ 11.124707][ T187] ip (187) used greatest stack depth: 23904 bytes left [ 11.124726][ T187] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.124728][ T187] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 187, name: ip [ 11.124731][ T187] preempt_count: 2, expected: 0 [ 11.124732][ T187] RCU nest depth: 0, expected: 0 [ 11.124733][ T187] locks held by ip/187: 5, last CPU#1: [ 11.124736][ T187] #0: ffffffffb94027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.124751][ T187] #1: ffffffffb9569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.124759][ T187] #2: ffffffffb9569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.124765][ T187] #3: ffffffffb9489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.124771][ T187] #4: ffffffffb9489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.124777][ T187] irq event stamp: 57338 [ 11.124779][ T187] hardirqs last enabled at (57337): [] __down_trylock_console_sem+0x86/0xa0 [ 11.124782][ T187] hardirqs last disabled at (57338): [] console_emit_next_record+0x3d4/0x4c0 [ 11.124785][ T187] softirqs last enabled at (56060): [] netlink_release+0x17b/0xcf0 [ 11.124793][ T187] softirqs last disabled at (56058): [] netlink_release+0xd2/0xcf0 [ 11.124796][ T187] Preemption disabled at: [ 11.124798][ T187] [<0000000000000000>] 0x0 [ 11.124806][ T187] CPU: 1 UID: 0 PID: 187 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.124810][ T187] Tainted: [W]=WARN [ 11.124812][ T187] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.124814][ T187] Call Trace: [ 11.124816][ T187] [ 11.124818][ T187] dump_stack_lvl+0x6f/0xa0 [ 11.124827][ T187] __might_resched.cold+0x1fe/0x2c1 [ 11.124833][ T187] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.124839][ T187] ? __kmalloc_noprof+0xdb/0x760 [ 11.124847][ T187] __kmalloc_noprof+0x443/0x760 [ 11.124851][ T187] ? alloc_buf.isra.0+0x4b/0x260 [ 11.124859][ T187] ? do_raw_spin_unlock+0x59/0x250 [ 11.124863][ T187] alloc_buf.isra.0+0x4b/0x260 [ 11.124868][ T187] put_chars+0x1e1/0x2f0 [ 11.124873][ T187] ? __send_to_port+0x420/0x420 [ 11.124875][ T187] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.124881][ T187] ? validate_chain+0x38b/0xc20 [ 11.124890][ T187] hvc_console_print+0x292/0x780 [ 11.124901][ T187] ? hvc_write+0x3a0/0x3a0 [ 11.124905][ T187] ? rcu_is_watching+0x16/0xd0 [ 11.124908][ T187] ? lock_acquire+0x13c/0x160 [ 11.124915][ T187] console_emit_next_record+0x22f/0x4c0 [ 11.124921][ T187] ? devkmsg_read+0x4b0/0x4b0 [ 11.124924][ T187] ? console_flush_one_record+0x106/0x710 [ 11.124929][ T187] ? rcu_is_watching+0x16/0xd0 [ 11.124933][ T187] ? lock_acquire+0x13c/0x160 [ 11.124940][ T187] console_flush_one_record+0x46f/0x710 [ 11.124947][ T187] ? console_emit_next_record+0x4c0/0x4c0 [ 11.124949][ T187] ? __lock_acquire+0x518/0xc20 [ 11.124960][ T187] console_unlock+0xee/0x1f0 [ 11.124964][ T187] ? console_flush_one_record+0x710/0x710 [ 11.124967][ T187] ? rcu_is_watching+0x16/0xd0 [ 11.124971][ T187] ? lock_acquire+0x60/0x160 [ 11.124977][ T187] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.124979][ T187] ? vprintk_emit+0x320/0x3e0 [ 11.124985][ T187] vprintk_emit+0x37c/0x3e0 [ 11.124991][ T187] ? wake_up_klogd_work_func+0x90/0x90 [ 11.124997][ T187] ? __lock_acquire+0x518/0xc20 [ 11.125003][ T187] _printk+0xc7/0x100 [ 11.125008][ T187] ? snapshot_read.cold+0x21/0x21 [ 11.125013][ T187] ? do_raw_spin_lock+0x131/0x280 [ 11.125017][ T187] ? __rwlock_init+0x150/0x150 [ 11.125023][ T187] ? do_raw_spin_lock+0x131/0x280 [ 11.125028][ T187] do_exit.cold+0x82/0x9c [ 11.125033][ T187] ? exit_notify+0x890/0x890 [ 11.125036][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 11.125040][ T187] ? rcu_is_watching+0x16/0xd0 [ 11.125047][ T187] do_group_exit+0xb8/0x370 [ 11.125052][ T187] __x64_sys_exit_group+0x3c/0x50 [ 11.125055][ T187] x64_sys_call+0x1567/0x1570 [ 11.125058][ T187] do_syscall_64+0xff/0x530 [ 11.125062][ T187] ? exc_page_fault+0xee/0x100 [ 11.125067][ T187] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.125071][ T187] RIP: 0033:0x7f8dc943b1b8 [ 11.125074][ T187] Code: Unable to access opcode bytes at 0x7f8dc943b18e. [ 11.125076][ T187] RSP: 002b:00007ffc0c44f8e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.125079][ T187] RAX: ffffffffffffffda RBX: 00007f8dc956bf88 RCX: 00007f8dc943b1b8 [ 11.125081][ T187] RDX: 00007f8dc9185fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.125083][ T187] RBP: 00007ffc0c44f940 R08: 0000000000000000 R09: 0000000000008010 [ 11.125084][ T187] R10: 00007ffc0c44f700 R11: 0000000000000246 R12: 0000000000000001 [ 11.125086][ T187] R13: 0000000000000000 R14: 00007f8dc956a680 R15: 00007f8dc956bfa0 [ 11.125099][ T187] [ 13.435260][ T262] gre: GRE over IPv4 demultiplexer driver [ 13.435280][ T262] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.435283][ T262] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 262, name: modprobe [ 13.435286][ T262] preempt_count: 1, expected: 0 [ 13.435287][ T262] RCU nest depth: 0, expected: 0 [ 13.435289][ T262] locks held by modprobe/262: 4, last CPU#2: [ 13.435292][ T262] #0: ffffffffb9569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.435308][ T262] #1: ffffffffb9569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.435314][ T262] #2: ffffffffb9489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.435319][ T262] #3: ffffffffb9489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.435325][ T262] irq event stamp: 22318 [ 13.435326][ T262] hardirqs last enabled at (22317): [] __down_trylock_console_sem+0x86/0xa0 [ 13.435329][ T262] hardirqs last disabled at (22318): [] console_emit_next_record+0x3d4/0x4c0 [ 13.435332][ T262] softirqs last enabled at (21244): [] handle_softirqs+0x67c/0x900 [ 13.435336][ T262] softirqs last disabled at (21233): [] __irq_exit_rcu+0x145/0x1c0 [ 13.435339][ T262] Preemption disabled at: [ 13.435339][ T262] [] vprintk_emit+0x31b/0x3e0 [ 13.435345][ T262] CPU: 2 UID: 0 PID: 262 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.435349][ T262] Tainted: [W]=WARN [ 13.435350][ T262] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.435351][ T262] Call Trace: [ 13.435353][ T262] [ 13.435354][ T262] dump_stack_lvl+0x6f/0xa0 [ 13.435360][ T262] ? vprintk_emit+0x31b/0x3e0 [ 13.435362][ T262] __might_resched.cold+0x1fe/0x2c1 [ 13.435367][ T262] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.435371][ T262] ? __kmalloc_noprof+0xdb/0x760 [ 13.435375][ T262] __kmalloc_noprof+0x443/0x760 [ 13.435378][ T262] ? alloc_buf.isra.0+0x4b/0x260 [ 13.435383][ T262] ? do_raw_spin_unlock+0x59/0x250 [ 13.435386][ T262] alloc_buf.isra.0+0x4b/0x260 [ 13.435389][ T262] put_chars+0x1e1/0x2f0 [ 13.435391][ T262] ? desc_read_finalized_seq+0x79/0x120 [ 13.435393][ T262] ? __send_to_port+0x420/0x420 [ 13.435398][ T262] ? rcu_read_lock_any_held+0x3c/0x90 [ 13.435402][ T262] ? validate_chain+0x38b/0xc20 [ 13.435409][ T262] hvc_console_print+0x292/0x780 [ 13.435413][ T262] ? __lock_acquire+0x518/0xc20 [ 13.435415][ T262] ? __lock_acquire+0x518/0xc20 [ 13.435423][ T262] ? hvc_write+0x3a0/0x3a0 [ 13.435425][ T262] ? console_emit_next_record+0x1df/0x4c0 [ 13.435429][ T262] ? rcu_is_watching+0x16/0xd0 [ 13.435434][ T262] ? lock_acquire+0x13c/0x160 [ 13.435440][ T262] console_emit_next_record+0x22f/0x4c0 [ 13.435446][ T262] ? devkmsg_read+0x4b0/0x4b0 [ 13.435448][ T262] ? console_flush_one_record+0x106/0x710 [ 13.435452][ T262] ? rcu_is_watching+0x16/0xd0 [ 13.435456][ T262] ? lock_acquire+0x13c/0x160 [ 13.435462][ T262] console_flush_one_record+0x46f/0x710 [ 13.435468][ T262] ? console_emit_next_record+0x4c0/0x4c0 [ 13.435471][ T262] ? __lock_acquire+0x518/0xc20 [ 13.435477][ T262] console_unlock+0xee/0x1f0 [ 13.435480][ T262] ? console_flush_one_record+0x710/0x710 [ 13.435482][ T262] ? rcu_is_watching+0x16/0xd0 [ 13.435484][ T262] ? lock_acquire+0x60/0x160 [ 13.435488][ T262] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.435489][ T262] ? vprintk_emit+0x320/0x3e0 [ 13.435492][ T262] vprintk_emit+0x37c/0x3e0 [ 13.435496][ T262] ? wake_up_klogd_work_func+0x90/0x90 [ 13.435502][ T262] ? gre_exit+0x3f0/0x3f0 [gre] [ 13.435505][ T262] _printk+0xc7/0x100 [ 13.435508][ T262] ? snapshot_read.cold+0x21/0x21 [ 13.435514][ T262] ? do_one_initcall+0x113/0x4f0 [ 13.435517][ T262] gre_init+0x15/0x1000 [gre] [ 13.435519][ T262] do_one_initcall+0x124/0x4f0 [ 13.435522][ T262] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 13.435527][ T262] ? do_init_module+0xae/0x8a0 [ 13.435530][ T262] ? kasan_unpoison+0x44/0x70 [ 13.435534][ T262] do_init_module+0x2ad/0x8a0 [ 13.435538][ T262] ? lockdep_hardirqs_on+0x91/0x130 [ 13.435542][ T262] ? free_module+0x470/0x470 [ 13.435545][ T262] ? kfree+0x123/0x590 [ 13.435549][ T262] load_module+0x1424/0x1bb0 [ 13.435556][ T262] ? layout_and_allocate.isra.0+0x680/0x680 [ 13.435561][ T262] ? backing_file_read_iter+0x541/0x790 [ 13.435565][ T262] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.435569][ T262] init_module_from_file+0x11f/0x1a0 [ 13.435572][ T262] ? __do_sys_init_module+0x220/0x220 [ 13.435579][ T262] ? __rwlock_init+0x150/0x150 [ 13.435583][ T262] ? do_raw_spin_unlock+0x59/0x250 [ 13.435585][ T262] idempotent_init_module+0x37b/0x7c0 [ 13.435589][ T262] ? init_module_from_file+0x1a0/0x1a0 [ 13.435595][ T262] ? rcu_is_watching+0x16/0xd0 [ 13.435597][ T262] ? cap_capable+0x1d7/0x3d0 [ 13.435603][ T262] __x64_sys_finit_module+0xdf/0x190 [ 13.435605][ T262] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.435608][ T262] do_syscall_64+0xff/0x530 [ 13.435610][ T262] ? exc_page_fault+0xee/0x100 [ 13.435613][ T262] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.435616][ T262] RIP: 0033:0x7f71c601137d [ 13.435619][ T262] 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 [ 13.435621][ T262] RSP: 002b:00007fffa6932cb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 13.435623][ T262] RAX: ffffffffffffffda RBX: 00005618a8042a40 RCX: 00007f71c601137d [ 13.435625][ T262] RDX: 0000000000000000 RSI: 000056189fdefffd RDI: 0000000000000001 [ 13.435626][ T262] RBP: 00007fffa6932d50 R08: 0000000000000000 R09: 0000000000000000 [ 13.435626][ T262] R10: 0000000000000000 R11: 0000000000000246 R12: 000056189fdefffd [ 13.435627][ T262] R13: 00005618a8042a00 R14: 0000000000040000 R15: 0000000000000000 [ 13.435634][ T262] [ 13.482994][ T262] ip_gre: GRE over IPv4 tunneling driver [ 14.204264][ T284] 8021q: 802.1Q VLAN Support v1.8 [ 15.566135][ T322] GACT probability NOT on [ 15.566154][ T322] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.566157][ T322] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 322, name: modprobe [ 15.566159][ T322] preempt_count: 1, expected: 0 [ 15.566161][ T322] RCU nest depth: 0, expected: 0 [ 15.566162][ T322] locks held by modprobe/322: 4, last CPU#2: [ 15.566165][ T322] #0: ffffffffb9569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.566181][ T322] #1: ffffffffb9569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.566187][ T322] #2: ffffffffb9489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.566193][ T322] #3: ffffffffb9489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.566199][ T322] irq event stamp: 26602 [ 15.566201][ T322] hardirqs last enabled at (26601): [] __down_trylock_console_sem+0x86/0xa0 [ 15.566204][ T322] hardirqs last disabled at (26602): [] console_emit_next_record+0x3d4/0x4c0 [ 15.566207][ T322] softirqs last enabled at (25368): [] handle_softirqs+0x67c/0x900 [ 15.566211][ T322] softirqs last disabled at (25361): [] __irq_exit_rcu+0x145/0x1c0 [ 15.566214][ T322] Preemption disabled at: [ 15.566215][ T322] [] vprintk_emit+0x31b/0x3e0 [ 15.566222][ T322] CPU: 2 UID: 0 PID: 322 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.566227][ T322] Tainted: [W]=WARN [ 15.566228][ T322] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.566230][ T322] Call Trace: [ 15.566233][ T322] [ 15.566235][ T322] dump_stack_lvl+0x6f/0xa0 [ 15.566242][ T322] ? vprintk_emit+0x31b/0x3e0 [ 15.566245][ T322] __might_resched.cold+0x1fe/0x2c1 [ 15.566251][ T322] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.566257][ T322] ? __kmalloc_noprof+0xdb/0x760 [ 15.566264][ T322] __kmalloc_noprof+0x443/0x760 [ 15.566268][ T322] ? alloc_buf.isra.0+0x4b/0x260 [ 15.566276][ T322] ? do_raw_spin_unlock+0x59/0x250 [ 15.566280][ T322] alloc_buf.isra.0+0x4b/0x260 [ 15.566285][ T322] put_chars+0x1e1/0x2f0 [ 15.566287][ T322] ? desc_read_finalized_seq+0x79/0x120 [ 15.566291][ T322] ? __send_to_port+0x420/0x420 [ 15.566296][ T322] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.566300][ T322] ? validate_chain+0x38b/0xc20 [ 15.566307][ T322] hvc_console_print+0x292/0x780 [ 15.566311][ T322] ? __lock_acquire+0x518/0xc20 [ 15.566313][ T322] ? __lock_acquire+0x518/0xc20 [ 15.566321][ T322] ? hvc_write+0x3a0/0x3a0 [ 15.566323][ T322] ? console_emit_next_record+0x1df/0x4c0 [ 15.566328][ T322] ? rcu_is_watching+0x16/0xd0 [ 15.566332][ T322] ? lock_acquire+0x13c/0x160 [ 15.566339][ T322] console_emit_next_record+0x22f/0x4c0 [ 15.566345][ T322] ? devkmsg_read+0x4b0/0x4b0 [ 15.566347][ T322] ? console_flush_one_record+0x106/0x710 [ 15.566352][ T322] ? rcu_is_watching+0x16/0xd0 [ 15.566356][ T322] ? lock_acquire+0x13c/0x160 [ 15.566363][ T322] console_flush_one_record+0x46f/0x710 [ 15.566370][ T322] ? console_emit_next_record+0x4c0/0x4c0 [ 15.566372][ T322] ? __lock_acquire+0x518/0xc20 [ 15.566381][ T322] console_unlock+0xee/0x1f0 [ 15.566386][ T322] ? console_flush_one_record+0x710/0x710 [ 15.566388][ T322] ? rcu_is_watching+0x16/0xd0 [ 15.566392][ T322] ? lock_acquire+0x60/0x160 [ 15.566398][ T322] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.566401][ T322] ? vprintk_emit+0x320/0x3e0 [ 15.566406][ T322] vprintk_emit+0x37c/0x3e0 [ 15.566412][ T322] ? wake_up_klogd_work_func+0x90/0x90 [ 15.566421][ T322] ? gact_cleanup_module+0xf0/0xf0 [act_gact] [ 15.566426][ T322] _printk+0xc7/0x100 [ 15.566431][ T322] ? snapshot_read.cold+0x21/0x21 [ 15.566442][ T322] ? do_one_initcall+0x113/0x4f0 [ 15.566447][ T322] gact_init_module+0x15/0x1000 [act_gact] [ 15.566450][ T322] do_one_initcall+0x124/0x4f0 [ 15.566454][ T322] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 15.566462][ T322] ? do_init_module+0xae/0x8a0 [ 15.566467][ T322] ? kasan_unpoison+0x44/0x70 [ 15.566474][ T322] do_init_module+0x2ad/0x8a0 [ 15.566480][ T322] ? lockdep_hardirqs_on+0x91/0x130 [ 15.566485][ T322] ? free_module+0x470/0x470 [ 15.566490][ T322] ? kfree+0x123/0x590 [ 15.566497][ T322] load_module+0x1424/0x1bb0 [ 15.566509][ T322] ? layout_and_allocate.isra.0+0x680/0x680 [ 15.566516][ T322] ? __ia32_sys_fsconfig+0x180/0x180 [ 15.566520][ T322] ? ovl_real_file+0x172/0x1e0 [ 15.566526][ T322] ? backing_file_read_iter+0x541/0x790 [ 15.566530][ T322] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.566536][ T322] init_module_from_file+0x11f/0x1a0 [ 15.566541][ T322] ? __do_sys_init_module+0x220/0x220 [ 15.566555][ T322] ? __rwlock_init+0x150/0x150 [ 15.566561][ T322] ? do_raw_spin_unlock+0x59/0x250 [ 15.566566][ T322] idempotent_init_module+0x37b/0x7c0 [ 15.566572][ T322] ? init_module_from_file+0x1a0/0x1a0 [ 15.566583][ T322] ? rcu_is_watching+0x16/0xd0 [ 15.566586][ T322] ? cap_capable+0x1d7/0x3d0 [ 15.566595][ T322] __x64_sys_finit_module+0xdf/0x190 [ 15.566598][ T322] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.566603][ T322] do_syscall_64+0xff/0x530 [ 15.566606][ T322] ? exc_page_fault+0xee/0x100 [ 15.566611][ T322] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.566614][ T322] RIP: 0033:0x7f5da94b637d [ 15.566618][ T322] 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.566621][ T322] RSP: 002b:00007fffe607e628 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 15.566625][ T322] RAX: ffffffffffffffda RBX: 000055b946bc8810 RCX: 00007f5da94b637d [ 15.566627][ T322] RDX: 0000000000000000 RSI: 000055b910114ffd RDI: 0000000000000000 [ 15.566628][ T322] RBP: 00007fffe607e6c0 R08: 0000000000000000 R09: 0000000000000000 [ 15.566630][ T322] R10: 0000000000000000 R11: 0000000000000246 R12: 000055b910114ffd [ 15.566631][ T322] R13: 000055b946bc8960 R14: 0000000000040000 R15: 0000000000000000 [ 15.566644][ T322] [ 51.978342][ T449] tc (449) used greatest stack depth: 23840 bytes left [ 51.978366][ T449] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 51.978370][ T449] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 449, name: tc [ 51.978375][ T449] preempt_count: 2, expected: 0 [ 51.978376][ T449] RCU nest depth: 0, expected: 0 [ 51.978378][ T449] locks held by tc/449: 5, last CPU#1: [ 51.978380][ T449] #0: ffffffffb94027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 51.978397][ T449] #1: ffffffffb9569cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 51.978405][ T449] #2: ffffffffb9569d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 51.978411][ T449] #3: ffffffffb9489660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 51.978416][ T449] #4: ffffffffb9489560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 51.978422][ T449] irq event stamp: 19354 [ 51.978423][ T449] hardirqs last enabled at (19353): [] __down_trylock_console_sem+0x86/0xa0 [ 51.978427][ T449] hardirqs last disabled at (19354): [] console_emit_next_record+0x3d4/0x4c0 [ 51.978430][ T449] softirqs last enabled at (18706): [] handle_softirqs+0x67c/0x900 [ 51.978432][ T449] softirqs last disabled at (18701): [] __irq_exit_rcu+0x145/0x1c0 [ 51.978436][ T449] Preemption disabled at: [ 51.978436][ T449] [<0000000000000000>] 0x0 [ 51.978449][ T449] CPU: 1 UID: 0 PID: 449 Comm: tc Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 51.978456][ T449] Tainted: [W]=WARN [ 51.978458][ T449] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 51.978460][ T449] Call Trace: [ 51.978463][ T449] [ 51.978466][ T449] dump_stack_lvl+0x6f/0xa0 [ 51.978480][ T449] __might_resched.cold+0x1fe/0x2c1 [ 51.978487][ T449] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 51.978493][ T449] ? __kmalloc_noprof+0xdb/0x760 [ 51.978500][ T449] __kmalloc_noprof+0x443/0x760 [ 51.978503][ T449] ? alloc_buf.isra.0+0x4b/0x260 [ 51.978511][ T449] ? do_raw_spin_unlock+0x59/0x250 [ 51.978514][ T449] alloc_buf.isra.0+0x4b/0x260 [ 51.978519][ T449] put_chars+0x1e1/0x2f0 [ 51.978523][ T449] ? __send_to_port+0x420/0x420 [ 51.978525][ T449] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 51.978531][ T449] ? validate_chain+0x38b/0xc20 [ 51.978539][ T449] hvc_console_print+0x292/0x780 [ 51.978549][ T449] ? hvc_write+0x3a0/0x3a0 [ 51.978552][ T449] ? rcu_is_watching+0x16/0xd0 [ 51.978556][ T449] ? lock_acquire+0x13c/0x160 [ 51.978562][ T449] console_emit_next_record+0x22f/0x4c0 [ 51.978573][ T449] ? devkmsg_read+0x4b0/0x4b0 [ 51.978579][ T449] ? console_flush_one_record+0x106/0x710 [ 51.978586][ T449] ? rcu_is_watching+0x16/0xd0 [ 51.978589][ T449] ? lock_acquire+0x13c/0x160 [ 51.978597][ T449] console_flush_one_record+0x46f/0x710 [ 51.978607][ T449] ? console_emit_next_record+0x4c0/0x4c0 [ 51.978610][ T449] ? __lock_acquire+0x518/0xc20 [ 51.978619][ T449] console_unlock+0xee/0x1f0 [ 51.978623][ T449] ? console_flush_one_record+0x710/0x710 [ 51.978626][ T449] ? rcu_is_watching+0x16/0xd0 [ 51.978629][ T449] ? lock_acquire+0x60/0x160 [ 51.978635][ T449] ? __down_trylock_console_sem+0x5e/0xa0 [ 51.978637][ T449] ? vprintk_emit+0x320/0x3e0 [ 51.978642][ T449] vprintk_emit+0x37c/0x3e0 [ 51.978648][ T449] ? wake_up_klogd_work_func+0x90/0x90 [ 51.978653][ T449] ? __lock_acquire+0x518/0xc20 [ 51.978659][ T449] _printk+0xc7/0x100 [ 51.978663][ T449] ? snapshot_read.cold+0x21/0x21 [ 51.978668][ T449] ? do_raw_spin_lock+0x131/0x280 [ 51.978671][ T449] ? __rwlock_init+0x150/0x150 [ 51.978677][ T449] ? do_raw_spin_lock+0x131/0x280 [ 51.978682][ T449] do_exit.cold+0x82/0x9c [ 51.978687][ T449] ? exit_notify+0x890/0x890 [ 51.978689][ T449] ? __lock_release.isra.0+0x69/0x1a0 [ 51.978693][ T449] ? rcu_is_watching+0x16/0xd0 [ 51.978700][ T449] do_group_exit+0xb8/0x370 [ 51.978704][ T449] __x64_sys_exit_group+0x3c/0x50 [ 51.978707][ T449] x64_sys_call+0x1567/0x1570 [ 51.978710][ T449] do_syscall_64+0xff/0x530 [ 51.978714][ T449] ? exc_page_fault+0xee/0x100 [ 51.978718][ T449] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 51.978721][ T449] RIP: 0033:0x7f75224ca1b8 [ 51.978725][ T449] Code: Unable to access opcode bytes at 0x7f75224ca18e. [ 51.978727][ T449] RSP: 002b:00007ffeec18d0b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 51.978731][ T449] RAX: ffffffffffffffda RBX: 00007f75225faf88 RCX: 00007f75224ca1b8 [ 51.978733][ T449] RDX: 00007f7522215588 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 51.978735][ T449] RBP: 00007ffeec18d110 R08: 0000000000000000 R09: 0000000000000000 [ 51.978736][ T449] R10: 00007ffeec18ceb0 R11: 0000000000000246 R12: 0000000000000001 [ 51.978737][ T449] R13: 0000000000000000 R14: 00007f75225f9680 R15: 00007f75225fafa0 [ 51.978749][ T449]