[ 10.193346][ T187] ip (187) used greatest stack depth: 23712 bytes left [ 10.193362][ T187] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.193364][ T187] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 187, name: ip [ 10.193366][ T187] preempt_count: 2, expected: 0 [ 10.193367][ T187] RCU nest depth: 0, expected: 0 [ 10.193368][ T187] locks held by ip/187: 5, last CPU#2: [ 10.193370][ T187] #0: ffffffff97c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.193383][ T187] #1: ffffffff97d69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.193388][ T187] #2: ffffffff97d69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.193392][ T187] #3: ffffffff97c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.193396][ T187] #4: ffffffff97c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.193400][ T187] irq event stamp: 29374 [ 10.193401][ T187] hardirqs last enabled at (29373): [] __down_trylock_console_sem+0x86/0xa0 [ 10.193403][ T187] hardirqs last disabled at (29374): [] console_emit_next_record+0x3d4/0x4c0 [ 10.193405][ T187] softirqs last enabled at (28092): [] netlink_release+0x17b/0xcf0 [ 10.193409][ T187] softirqs last disabled at (28090): [] netlink_release+0xd2/0xcf0 [ 10.193412][ T187] Preemption disabled at: [ 10.193412][ T187] [<0000000000000000>] 0x0 [ 10.193419][ T187] CPU: 2 UID: 0 PID: 187 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.193423][ T187] Tainted: [W]=WARN [ 10.193424][ T187] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.193425][ T187] Call Trace: [ 10.193427][ T187] [ 10.193428][ T187] dump_stack_lvl+0x6f/0xa0 [ 10.193435][ T187] __might_resched.cold+0x1fe/0x2c1 [ 10.193439][ T187] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.193443][ T187] ? __kmalloc_noprof+0xdb/0x760 [ 10.193448][ T187] __kmalloc_noprof+0x443/0x760 [ 10.193451][ T187] ? alloc_buf.isra.0+0x4b/0x260 [ 10.193456][ T187] ? do_raw_spin_unlock+0x59/0x250 [ 10.193459][ T187] alloc_buf.isra.0+0x4b/0x260 [ 10.193462][ T187] put_chars+0x1e1/0x2f0 [ 10.193465][ T187] ? __send_to_port+0x420/0x420 [ 10.193466][ T187] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.193471][ T187] ? validate_chain+0x38b/0xc20 [ 10.193476][ T187] hvc_console_print+0x292/0x780 [ 10.193482][ T187] ? hvc_write+0x3a0/0x3a0 [ 10.193484][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.193486][ T187] ? lock_acquire+0x13c/0x160 [ 10.193490][ T187] console_emit_next_record+0x22f/0x4c0 [ 10.193494][ T187] ? devkmsg_read+0x4b0/0x4b0 [ 10.193495][ T187] ? console_flush_one_record+0x106/0x710 [ 10.193499][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.193501][ T187] ? lock_acquire+0x13c/0x160 [ 10.193505][ T187] console_flush_one_record+0x46f/0x710 [ 10.193509][ T187] ? console_emit_next_record+0x4c0/0x4c0 [ 10.193511][ T187] ? __lock_acquire+0x518/0xc20 [ 10.193516][ T187] console_unlock+0xee/0x1f0 [ 10.193518][ T187] ? console_flush_one_record+0x710/0x710 [ 10.193520][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.193522][ T187] ? lock_acquire+0x60/0x160 [ 10.193526][ T187] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.193528][ T187] ? vprintk_emit+0x320/0x3e0 [ 10.193531][ T187] vprintk_emit+0x37c/0x3e0 [ 10.193535][ T187] ? wake_up_klogd_work_func+0x90/0x90 [ 10.193538][ T187] ? __lock_acquire+0x518/0xc20 [ 10.193542][ T187] _printk+0xc7/0x100 [ 10.193545][ T187] ? snapshot_read.cold+0x21/0x21 [ 10.193548][ T187] ? do_raw_spin_lock+0x131/0x280 [ 10.193551][ T187] ? __rwlock_init+0x150/0x150 [ 10.193554][ T187] ? do_raw_spin_lock+0x131/0x280 [ 10.193557][ T187] do_exit.cold+0x82/0x9c [ 10.193561][ T187] ? exit_notify+0x890/0x890 [ 10.193563][ T187] ? __lock_release.isra.0+0x69/0x1a0 [ 10.193565][ T187] ? rcu_is_watching+0x16/0xd0 [ 10.193569][ T187] do_group_exit+0xb8/0x370 [ 10.193572][ T187] __x64_sys_exit_group+0x3c/0x50 [ 10.193574][ T187] x64_sys_call+0x1567/0x1570 [ 10.193576][ T187] do_syscall_64+0xff/0x530 [ 10.193579][ T187] ? exc_page_fault+0xee/0x100 [ 10.193582][ T187] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.193584][ T187] RIP: 0033:0x7f39036c31b8 [ 10.193586][ T187] Code: Unable to access opcode bytes at 0x7f39036c318e. [ 10.193587][ T187] RSP: 002b:00007ffc7f65e088 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.193590][ T187] RAX: ffffffffffffffda RBX: 00007f39037f3f88 RCX: 00007f39036c31b8 [ 10.193591][ T187] RDX: 00007f390340dfc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.193592][ T187] RBP: 00007ffc7f65e0e0 R08: 0000000000000000 R09: 0000000000008010 [ 10.193593][ T187] R10: 00007ffc7f65dea0 R11: 0000000000000246 R12: 0000000000000001 [ 10.193593][ T187] R13: 0000000000000000 R14: 00007f39037f2680 R15: 00007f39037f3fa0 [ 10.193600][ T187] [ 12.255721][ T275] 8021q: 802.1Q VLAN Support v1.8 [ 12.255743][ T275] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.255746][ T275] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 275, name: modprobe [ 12.255748][ T275] preempt_count: 1, expected: 0 [ 12.255750][ T275] RCU nest depth: 0, expected: 0 [ 12.255751][ T275] locks held by modprobe/275: 4, last CPU#3: [ 12.255754][ T275] #0: ffffffff97d69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.255776][ T275] #1: ffffffff97d69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.255782][ T275] #2: ffffffff97c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.255788][ T275] #3: ffffffff97c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 12.255795][ T275] irq event stamp: 29746 [ 12.255796][ T275] hardirqs last enabled at (29745): [] __down_trylock_console_sem+0x86/0xa0 [ 12.255799][ T275] hardirqs last disabled at (29746): [] console_emit_next_record+0x3d4/0x4c0 [ 12.255802][ T275] softirqs last enabled at (25990): [] handle_softirqs+0x67c/0x900 [ 12.255806][ T275] softirqs last disabled at (25851): [] __irq_exit_rcu+0x145/0x1c0 [ 12.255809][ T275] Preemption disabled at: [ 12.255810][ T275] [] vprintk_emit+0x31b/0x3e0 [ 12.255818][ T275] CPU: 3 UID: 0 PID: 275 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.255822][ T275] Tainted: [W]=WARN [ 12.255823][ T275] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.255825][ T275] Call Trace: [ 12.255828][ T275] [ 12.255830][ T275] dump_stack_lvl+0x6f/0xa0 [ 12.255837][ T275] ? vprintk_emit+0x31b/0x3e0 [ 12.255840][ T275] __might_resched.cold+0x1fe/0x2c1 [ 12.255846][ T275] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.255852][ T275] ? __kmalloc_noprof+0xdb/0x760 [ 12.255859][ T275] __kmalloc_noprof+0x443/0x760 [ 12.255862][ T275] ? alloc_buf.isra.0+0x4b/0x260 [ 12.255871][ T275] ? do_raw_spin_unlock+0x59/0x250 [ 12.255874][ T275] alloc_buf.isra.0+0x4b/0x260 [ 12.255879][ T275] put_chars+0x1e1/0x2f0 [ 12.255884][ T275] ? __send_to_port+0x420/0x420 [ 12.255886][ T275] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.255893][ T275] ? rcu_read_lock_any_held+0x3c/0x90 [ 12.255897][ T275] ? validate_chain+0x38b/0xc20 [ 12.255904][ T275] hvc_console_print+0x292/0x780 [ 12.255908][ T275] ? __lock_acquire+0x518/0xc20 [ 12.255917][ T275] ? hvc_write+0x3a0/0x3a0 [ 12.255921][ T275] ? rcu_is_watching+0x16/0xd0 [ 12.255930][ T275] console_emit_next_record+0x22f/0x4c0 [ 12.255936][ T275] ? devkmsg_read+0x4b0/0x4b0 [ 12.255939][ T275] ? console_flush_one_record+0x106/0x710 [ 12.255944][ T275] ? rcu_is_watching+0x16/0xd0 [ 12.255948][ T275] ? lock_acquire+0x13c/0x160 [ 12.255954][ T275] console_flush_one_record+0x46f/0x710 [ 12.255961][ T275] ? console_emit_next_record+0x4c0/0x4c0 [ 12.255964][ T275] ? __lock_acquire+0x518/0xc20 [ 12.255973][ T275] console_unlock+0xee/0x1f0 [ 12.255977][ T275] ? console_flush_one_record+0x710/0x710 [ 12.255980][ T275] ? rcu_is_watching+0x16/0xd0 [ 12.255983][ T275] ? lock_acquire+0x60/0x160 [ 12.255989][ T275] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.255992][ T275] ? vprintk_emit+0x320/0x3e0 [ 12.255998][ T275] vprintk_emit+0x37c/0x3e0 [ 12.256004][ T275] ? wake_up_klogd_work_func+0x90/0x90 [ 12.256014][ T275] ? vlan_netlink_fini+0x960/0x960 [8021q] [ 12.256019][ T275] _printk+0xc7/0x100 [ 12.256025][ T275] ? snapshot_read.cold+0x21/0x21 [ 12.256038][ T275] ? do_one_initcall+0x113/0x4f0 [ 12.256043][ T275] vlan_proto_init+0x24/0x90 [8021q] [ 12.256048][ T275] do_one_initcall+0x124/0x4f0 [ 12.256052][ T275] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 12.256060][ T275] ? do_init_module+0xae/0x8a0 [ 12.256064][ T275] ? kasan_unpoison+0x44/0x70 [ 12.256071][ T275] do_init_module+0x2ad/0x8a0 [ 12.256078][ T275] ? lockdep_hardirqs_on+0x91/0x130 [ 12.256083][ T275] ? free_module+0x470/0x470 [ 12.256088][ T275] ? kfree+0x123/0x590 [ 12.256095][ T275] load_module+0x1424/0x1bb0 [ 12.256108][ T275] ? layout_and_allocate.isra.0+0x680/0x680 [ 12.256114][ T275] ? __ia32_sys_fsconfig+0x180/0x180 [ 12.256118][ T275] ? ovl_real_file+0x172/0x1e0 [ 12.256123][ T275] ? backing_file_read_iter+0x541/0x790 [ 12.256128][ T275] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 12.256134][ T275] init_module_from_file+0x11f/0x1a0 [ 12.256139][ T275] ? __do_sys_init_module+0x220/0x220 [ 12.256154][ T275] ? __rwlock_init+0x150/0x150 [ 12.256160][ T275] ? do_raw_spin_unlock+0x59/0x250 [ 12.256165][ T275] idempotent_init_module+0x37b/0x7c0 [ 12.256170][ T275] ? init_module_from_file+0x1a0/0x1a0 [ 12.256181][ T275] ? rcu_is_watching+0x16/0xd0 [ 12.256185][ T275] ? cap_capable+0x1d7/0x3d0 [ 12.256194][ T275] __x64_sys_finit_module+0xdf/0x190 [ 12.256197][ T275] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.256202][ T275] do_syscall_64+0xff/0x530 [ 12.256205][ T275] ? exc_page_fault+0xee/0x100 [ 12.256209][ T275] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 12.256213][ T275] RIP: 0033:0x7f517805637d [ 12.256218][ T275] 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 [ 12.256220][ T275] RSP: 002b:00007ffdcd6cf658 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 12.256225][ T275] RAX: ffffffffffffffda RBX: 0000556e5a69c810 RCX: 00007f517805637d [ 12.256227][ T275] RDX: 0000000000000000 RSI: 0000556e4ae3cffd RDI: 0000000000000000 [ 12.256228][ T275] RBP: 00007ffdcd6cf6f0 R08: 0000000000000000 R09: 0000000000000000 [ 12.256230][ T275] R10: 0000000000000000 R11: 0000000000000246 R12: 0000556e4ae3cffd [ 12.256231][ T275] R13: 0000556e5a69c960 R14: 0000000000040000 R15: 0000000000000000 [ 12.256243][ T275] [ 12.417832][ T280] gre: GRE over IPv4 demultiplexer driver [ 12.455511][ T280] ip6_gre: GRE over IPv6 tunneling driver [ 19.182517][ T364] GACT probability NOT on [ 19.182532][ T364] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 19.182535][ T364] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 364, name: modprobe [ 19.182537][ T364] preempt_count: 1, expected: 0 [ 19.182538][ T364] RCU nest depth: 0, expected: 0 [ 19.182538][ T364] locks held by modprobe/364: 4, last CPU#0: [ 19.182541][ T364] #0: ffffffff97d69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 19.182554][ T364] #1: ffffffff97d69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 19.182558][ T364] #2: ffffffff97c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 19.182562][ T364] #3: ffffffff97c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 19.182566][ T364] irq event stamp: 28234 [ 19.182567][ T364] hardirqs last enabled at (28233): [] __down_trylock_console_sem+0x86/0xa0 [ 19.182569][ T364] hardirqs last disabled at (28234): [] console_emit_next_record+0x3d4/0x4c0 [ 19.182571][ T364] softirqs last enabled at (27084): [] handle_softirqs+0x67c/0x900 [ 19.182575][ T364] softirqs last disabled at (26131): [] __irq_exit_rcu+0x145/0x1c0 [ 19.182577][ T364] Preemption disabled at: [ 19.182577][ T364] [] vprintk_emit+0x31b/0x3e0 [ 19.182583][ T364] CPU: 0 UID: 0 PID: 364 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 19.182586][ T364] Tainted: [W]=WARN [ 19.182587][ T364] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.182589][ T364] Call Trace: [ 19.182590][ T364] [ 19.182592][ T364] dump_stack_lvl+0x6f/0xa0 [ 19.182597][ T364] ? vprintk_emit+0x31b/0x3e0 [ 19.182600][ T364] __might_resched.cold+0x1fe/0x2c1 [ 19.182604][ T364] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 19.182608][ T364] ? __kmalloc_noprof+0xdb/0x760 [ 19.182613][ T364] __kmalloc_noprof+0x443/0x760 [ 19.182615][ T364] ? alloc_buf.isra.0+0x4b/0x260 [ 19.182621][ T364] ? do_raw_spin_unlock+0x59/0x250 [ 19.182623][ T364] alloc_buf.isra.0+0x4b/0x260 [ 19.182627][ T364] put_chars+0x1e1/0x2f0 [ 19.182628][ T364] ? desc_read_finalized_seq+0x79/0x120 [ 19.182630][ T364] ? __send_to_port+0x420/0x420 [ 19.182633][ T364] ? rcu_read_lock_any_held+0x3c/0x90 [ 19.182637][ T364] ? validate_chain+0x38b/0xc20 [ 19.182641][ T364] hvc_console_print+0x292/0x780 [ 19.182643][ T364] ? __lock_acquire+0x518/0xc20 [ 19.182645][ T364] ? __lock_acquire+0x518/0xc20 [ 19.182649][ T364] ? hvc_write+0x3a0/0x3a0 [ 19.182651][ T364] ? console_emit_next_record+0x1df/0x4c0 [ 19.182654][ T364] ? rcu_is_watching+0x16/0xd0 [ 19.182656][ T364] ? lock_acquire+0x13c/0x160 [ 19.182660][ T364] console_emit_next_record+0x22f/0x4c0 [ 19.182664][ T364] ? devkmsg_read+0x4b0/0x4b0 [ 19.182666][ T364] ? console_flush_one_record+0x106/0x710 [ 19.182669][ T364] ? rcu_is_watching+0x16/0xd0 [ 19.182671][ T364] ? lock_acquire+0x13c/0x160 [ 19.182675][ T364] console_flush_one_record+0x46f/0x710 [ 19.182679][ T364] ? console_emit_next_record+0x4c0/0x4c0 [ 19.182681][ T364] ? __lock_acquire+0x518/0xc20 [ 19.182686][ T364] console_unlock+0xee/0x1f0 [ 19.182689][ T364] ? console_flush_one_record+0x710/0x710 [ 19.182690][ T364] ? rcu_is_watching+0x16/0xd0 [ 19.182693][ T364] ? lock_acquire+0x60/0x160 [ 19.182696][ T364] ? __down_trylock_console_sem+0x5e/0xa0 [ 19.182698][ T364] ? vprintk_emit+0x320/0x3e0 [ 19.182701][ T364] vprintk_emit+0x37c/0x3e0 [ 19.182705][ T364] ? wake_up_klogd_work_func+0x90/0x90 [ 19.182711][ T364] ? tunnel6_fini+0x380/0x380 [tunnel6] [ 19.182714][ T364] _printk+0xc7/0x100 [ 19.182723][ T364] ? snapshot_read.cold+0x21/0x21 [ 19.182729][ T364] ? do_one_initcall+0x113/0x4f0 [ 19.182732][ T364] gact_init_module+0x15/0x1000 [act_gact] [ 19.182734][ T364] do_one_initcall+0x124/0x4f0 [ 19.182737][ T364] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 19.182741][ T364] ? do_init_module+0xae/0x8a0 [ 19.182744][ T364] ? kasan_unpoison+0x44/0x70 [ 19.182749][ T364] do_init_module+0x2ad/0x8a0 [ 19.182752][ T364] ? lockdep_hardirqs_on+0x91/0x130 [ 19.182756][ T364] ? free_module+0x470/0x470 [ 19.182759][ T364] ? kfree+0x123/0x590 [ 19.182763][ T364] load_module+0x1424/0x1bb0 [ 19.182770][ T364] ? layout_and_allocate.isra.0+0x680/0x680 [ 19.182774][ T364] ? __ia32_sys_fsconfig+0x180/0x180 [ 19.182776][ T364] ? ovl_real_file+0x172/0x1e0 [ 19.182780][ T364] ? backing_file_read_iter+0x541/0x790 [ 19.182783][ T364] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 19.182787][ T364] init_module_from_file+0x11f/0x1a0 [ 19.182790][ T364] ? __do_sys_init_module+0x220/0x220 [ 19.182798][ T364] ? __rwlock_init+0x150/0x150 [ 19.182801][ T364] ? do_raw_spin_unlock+0x59/0x250 [ 19.182804][ T364] idempotent_init_module+0x37b/0x7c0 [ 19.182807][ T364] ? init_module_from_file+0x1a0/0x1a0 [ 19.182813][ T364] ? rcu_is_watching+0x16/0xd0 [ 19.182816][ T364] ? cap_capable+0x1d7/0x3d0 [ 19.182821][ T364] __x64_sys_finit_module+0xdf/0x190 [ 19.182823][ T364] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 19.182827][ T364] do_syscall_64+0xff/0x530 [ 19.182828][ T364] ? exc_page_fault+0xee/0x100 [ 19.182831][ T364] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 19.182833][ T364] RIP: 0033:0x7f70a9c2637d [ 19.182836][ T364] 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 [ 19.182838][ T364] RSP: 002b:00007ffdc1560138 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 19.182841][ T364] RAX: ffffffffffffffda RBX: 0000561e90722810 RCX: 00007f70a9c2637d [ 19.182842][ T364] RDX: 0000000000000000 RSI: 0000561e72608ffd RDI: 0000000000000000 [ 19.182843][ T364] RBP: 00007ffdc15601d0 R08: 0000000000000000 R09: 0000000000000000 [ 19.182844][ T364] R10: 0000000000000000 R11: 0000000000000246 R12: 0000561e72608ffd [ 19.182845][ T364] R13: 0000561e90722960 R14: 0000000000040000 R15: 0000000000000000 [ 19.182851][ T364] [ 26.308866][ T602] ip (602) used greatest stack depth: 23624 bytes left [ 26.308885][ T602] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 26.308887][ T602] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 602, name: ip [ 26.308889][ T602] preempt_count: 2, expected: 0 [ 26.308890][ T602] RCU nest depth: 0, expected: 0 [ 26.308891][ T602] locks held by ip/602: 5, last CPU#2: [ 26.308894][ T602] #0: ffffffff97c027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 26.308907][ T602] #1: ffffffff97d69cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 26.308912][ T602] #2: ffffffff97d69d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 26.308916][ T602] #3: ffffffff97c89660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 26.308920][ T602] #4: ffffffff97c89560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 26.308924][ T602] irq event stamp: 20234 [ 26.308925][ T602] hardirqs last enabled at (20233): [] __down_trylock_console_sem+0x86/0xa0 [ 26.308928][ T602] hardirqs last disabled at (20234): [] console_emit_next_record+0x3d4/0x4c0 [ 26.308930][ T602] softirqs last enabled at (18950): [] netlink_release+0x17b/0xcf0 [ 26.308934][ T602] softirqs last disabled at (18948): [] netlink_release+0xd2/0xcf0 [ 26.308936][ T602] Preemption disabled at: [ 26.308936][ T602] [<0000000000000000>] 0x0 [ 26.308943][ T602] CPU: 2 UID: 0 PID: 602 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 26.308946][ T602] Tainted: [W]=WARN [ 26.308947][ T602] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.308949][ T602] Call Trace: [ 26.308951][ T602] [ 26.308952][ T602] dump_stack_lvl+0x6f/0xa0 [ 26.308958][ T602] __might_resched.cold+0x1fe/0x2c1 [ 26.308963][ T602] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 26.308967][ T602] ? __kmalloc_noprof+0xdb/0x760 [ 26.308972][ T602] __kmalloc_noprof+0x443/0x760 [ 26.308974][ T602] ? alloc_buf.isra.0+0x4b/0x260 [ 26.308980][ T602] ? do_raw_spin_unlock+0x59/0x250 [ 26.308982][ T602] alloc_buf.isra.0+0x4b/0x260 [ 26.308985][ T602] put_chars+0x1e1/0x2f0 [ 26.308988][ T602] ? __send_to_port+0x420/0x420 [ 26.308990][ T602] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 26.308994][ T602] ? validate_chain+0x38b/0xc20 [ 26.308999][ T602] hvc_console_print+0x292/0x780 [ 26.309005][ T602] ? hvc_write+0x3a0/0x3a0 [ 26.309007][ T602] ? rcu_is_watching+0x16/0xd0 [ 26.309010][ T602] ? lock_acquire+0x13c/0x160 [ 26.309014][ T602] console_emit_next_record+0x22f/0x4c0 [ 26.309017][ T602] ? devkmsg_read+0x4b0/0x4b0 [ 26.309019][ T602] ? console_flush_one_record+0x106/0x710 [ 26.309022][ T602] ? rcu_is_watching+0x16/0xd0 [ 26.309025][ T602] ? lock_acquire+0x13c/0x160 [ 26.309028][ T602] console_flush_one_record+0x46f/0x710 [ 26.309033][ T602] ? console_emit_next_record+0x4c0/0x4c0 [ 26.309036][ T602] ? __lock_acquire+0x518/0xc20 [ 26.309041][ T602] console_unlock+0xee/0x1f0 [ 26.309044][ T602] ? console_flush_one_record+0x710/0x710 [ 26.309045][ T602] ? rcu_is_watching+0x16/0xd0 [ 26.309048][ T602] ? lock_acquire+0x60/0x160 [ 26.309051][ T602] ? __down_trylock_console_sem+0x5e/0xa0 [ 26.309053][ T602] ? vprintk_emit+0x320/0x3e0 [ 26.309056][ T602] vprintk_emit+0x37c/0x3e0 [ 26.309060][ T602] ? wake_up_klogd_work_func+0x90/0x90 [ 26.309063][ T602] ? __lock_acquire+0x518/0xc20 [ 26.309067][ T602] _printk+0xc7/0x100 [ 26.309070][ T602] ? snapshot_read.cold+0x21/0x21 [ 26.309073][ T602] ? do_raw_spin_lock+0x131/0x280 [ 26.309075][ T602] ? __rwlock_init+0x150/0x150 [ 26.309079][ T602] ? do_raw_spin_lock+0x131/0x280 [ 26.309082][ T602] do_exit.cold+0x82/0x9c [ 26.309085][ T602] ? exit_notify+0x890/0x890 [ 26.309087][ T602] ? __lock_release.isra.0+0x69/0x1a0 [ 26.309090][ T602] ? rcu_is_watching+0x16/0xd0 [ 26.309094][ T602] do_group_exit+0xb8/0x370 [ 26.309097][ T602] __x64_sys_exit_group+0x3c/0x50 [ 26.309098][ T602] x64_sys_call+0x1567/0x1570 [ 26.309101][ T602] do_syscall_64+0xff/0x530 [ 26.309103][ T602] ? exc_page_fault+0xee/0x100 [ 26.309106][ T602] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 26.309108][ T602] RIP: 0033:0x7f2a2d44a1b8 [ 26.309110][ T602] Code: Unable to access opcode bytes at 0x7f2a2d44a18e. [ 26.309112][ T602] RSP: 002b:00007ffd549bc1a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 26.309114][ T602] RAX: ffffffffffffffda RBX: 00007f2a2d57af88 RCX: 00007f2a2d44a1b8 [ 26.309116][ T602] RDX: 00007f2a2d194fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 26.309116][ T602] RBP: 00007ffd549bc200 R08: 0000000000000000 R09: 0000000000000050 [ 26.309117][ T602] R10: 00007ffd549bbfc0 R11: 0000000000000246 R12: 0000000000000001 [ 26.309118][ T602] R13: 0000000000000000 R14: 00007f2a2d579680 R15: 00007f2a2d57afa0 [ 26.309125][ T602]