[ 15.625721][ T434] Initializing XFRM netlink socket [ 15.625743][ T434] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.625745][ T434] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 434, name: modprobe [ 15.625747][ T434] preempt_count: 1, expected: 0 [ 15.625748][ T434] RCU nest depth: 0, expected: 0 [ 15.625749][ T434] locks held by modprobe/434: 4, last CPU#0: [ 15.625751][ T434] #0: ffffffff9ed7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.625761][ T434] #1: ffffffff9ed7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.625766][ T434] #2: ffffffff9ec9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.625770][ T434] #3: ffffffff9ec9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 15.625774][ T434] irq event stamp: 20750 [ 15.625775][ T434] hardirqs last enabled at (20749): [] __down_trylock_console_sem+0x86/0xa0 [ 15.625778][ T434] hardirqs last disabled at (20750): [] console_emit_next_record+0x3d4/0x4c0 [ 15.625780][ T434] softirqs last enabled at (18828): [] handle_softirqs+0x67c/0x900 [ 15.625783][ T434] softirqs last disabled at (18823): [] __irq_exit_rcu+0x145/0x1c0 [ 15.625786][ T434] Preemption disabled at: [ 15.625786][ T434] [] vprintk_emit+0x31b/0x3e0 [ 15.625791][ T434] CPU: 0 UID: 0 PID: 434 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.625794][ T434] Tainted: [W]=WARN [ 15.625795][ T434] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.625797][ T434] Call Trace: [ 15.625799][ T434] [ 15.625800][ T434] dump_stack_lvl+0x6f/0xa0 [ 15.625806][ T434] ? vprintk_emit+0x31b/0x3e0 [ 15.625807][ T434] __might_resched.cold+0x1fe/0x2c1 [ 15.625812][ T434] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.625816][ T434] ? __kmalloc_noprof+0xdb/0x760 [ 15.625820][ T434] __kmalloc_noprof+0x443/0x760 [ 15.625822][ T434] ? alloc_buf.isra.0+0x4b/0x260 [ 15.625829][ T434] ? do_raw_spin_unlock+0x59/0x250 [ 15.625831][ T434] alloc_buf.isra.0+0x4b/0x260 [ 15.625835][ T434] put_chars+0x1e1/0x2f0 [ 15.625837][ T434] ? __send_to_port+0x420/0x420 [ 15.625840][ T434] ? rcu_read_lock_any_held+0x3c/0x90 [ 15.625843][ T434] ? validate_chain+0x38b/0xc20 [ 15.625847][ T434] hvc_console_print+0x292/0x780 [ 15.625851][ T434] ? __lock_acquire+0x518/0xc20 [ 15.625853][ T434] ? __lock_acquire+0x518/0xc20 [ 15.625858][ T434] ? hvc_write+0x3a0/0x3a0 [ 15.625859][ T434] ? console_emit_next_record+0x1df/0x4c0 [ 15.625862][ T434] ? rcu_is_watching+0x16/0xd0 [ 15.625871][ T434] ? lock_acquire+0x13c/0x160 [ 15.625875][ T434] console_emit_next_record+0x22f/0x4c0 [ 15.625879][ T434] ? devkmsg_read+0x4b0/0x4b0 [ 15.625881][ T434] ? console_flush_one_record+0x106/0x710 [ 15.625884][ T434] ? rcu_is_watching+0x16/0xd0 [ 15.625886][ T434] ? lock_acquire+0x13c/0x160 [ 15.625890][ T434] console_flush_one_record+0x46f/0x710 [ 15.625894][ T434] ? console_emit_next_record+0x4c0/0x4c0 [ 15.625896][ T434] ? __lock_acquire+0x518/0xc20 [ 15.625901][ T434] console_unlock+0xee/0x1f0 [ 15.625903][ T434] ? console_flush_one_record+0x710/0x710 [ 15.625905][ T434] ? rcu_is_watching+0x16/0xd0 [ 15.625907][ T434] ? lock_acquire+0xe0/0x160 [ 15.625910][ T434] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.625912][ T434] ? vprintk_emit+0x320/0x3e0 [ 15.625915][ T434] vprintk_emit+0x37c/0x3e0 [ 15.625918][ T434] ? wake_up_klogd_work_func+0x90/0x90 [ 15.625923][ T434] ? xfrm_user_exit+0x8a0/0x8a0 [xfrm_user] [ 15.625926][ T434] _printk+0xc7/0x100 [ 15.625929][ T434] ? snapshot_read.cold+0x21/0x21 [ 15.625935][ T434] ? do_one_initcall+0x113/0x4f0 [ 15.625939][ T434] xfrm_user_init+0x15/0x1000 [xfrm_user] [ 15.625941][ T434] do_one_initcall+0x124/0x4f0 [ 15.625944][ T434] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 15.625948][ T434] ? do_init_module+0xae/0x8a0 [ 15.625951][ T434] ? kasan_unpoison+0x44/0x70 [ 15.625956][ T434] do_init_module+0x2ad/0x8a0 [ 15.625959][ T434] ? lockdep_hardirqs_on+0x91/0x130 [ 15.625963][ T434] ? free_module+0x470/0x470 [ 15.625965][ T434] ? kfree+0x123/0x590 [ 15.625969][ T434] load_module+0x1424/0x1bb0 [ 15.625974][ T434] ? security_kernel_post_read_file+0x2f/0x60 [ 15.625979][ T434] ? layout_and_allocate.isra.0+0x680/0x680 [ 15.625983][ T434] ? backing_file_read_iter+0x541/0x790 [ 15.625987][ T434] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 15.625990][ T434] init_module_from_file+0x11f/0x1a0 [ 15.625993][ T434] ? __do_sys_init_module+0x270/0x270 [ 15.626000][ T434] ? __rwlock_init+0x150/0x150 [ 15.626004][ T434] ? do_raw_spin_unlock+0x59/0x250 [ 15.626006][ T434] idempotent_init_module+0x37b/0x7c0 [ 15.626009][ T434] ? init_module_from_file+0x1a0/0x1a0 [ 15.626014][ T434] ? cap_capable+0x1d7/0x3d0 [ 15.626017][ T434] ? __x64_sys_pread64+0x18d/0x250 [ 15.626022][ T434] __x64_sys_finit_module+0xdf/0x190 [ 15.626023][ T434] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.626027][ T434] do_syscall_64+0xff/0x530 [ 15.626030][ T434] ? exc_page_fault+0xee/0x100 [ 15.626033][ T434] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.626035][ T434] RIP: 0033:0x7f4edd67e37d [ 15.626038][ T434] 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.626040][ T434] RSP: 002b:00007ffcd9145878 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 15.626042][ T434] RAX: ffffffffffffffda RBX: 0000562d62453810 RCX: 00007f4edd67e37d [ 15.626043][ T434] RDX: 0000000000000000 RSI: 0000562d3efd7ffd RDI: 0000000000000000 [ 15.626044][ T434] RBP: 00007ffcd9145910 R08: 0000000000000000 R09: 0000000000000000 [ 15.626045][ T434] R10: 0000000000000000 R11: 0000000000000246 R12: 0000562d3efd7ffd [ 15.626046][ T434] R13: 0000562d62453960 R14: 0000000000040000 R15: 0000000000000000 [ 15.626052][ T434] [ 52.203666][ T1414] ip (1414) used greatest stack depth: 23680 bytes left [ 52.203685][ T1414] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 52.203687][ T1414] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1414, name: ip [ 52.203688][ T1414] preempt_count: 2, expected: 0 [ 52.203689][ T1414] RCU nest depth: 0, expected: 0 [ 52.203690][ T1414] locks held by ip/1414: 5, last CPU#0: [ 52.203692][ T1414] #0: ffffffff9ec167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 52.203704][ T1414] #1: ffffffff9ed7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 52.203708][ T1414] #2: ffffffff9ed7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 52.203713][ T1414] #3: ffffffff9ec9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 52.203717][ T1414] #4: ffffffff9ec9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 52.203721][ T1414] irq event stamp: 50630 [ 52.203722][ T1414] hardirqs last enabled at (50629): [] __down_trylock_console_sem+0x86/0xa0 [ 52.203727][ T1414] hardirqs last disabled at (50630): [] console_emit_next_record+0x3d4/0x4c0 [ 52.203730][ T1414] softirqs last enabled at (49140): [] handle_softirqs+0x67c/0x900 [ 52.203732][ T1414] softirqs last disabled at (49135): [] __irq_exit_rcu+0x145/0x1c0 [ 52.203735][ T1414] Preemption disabled at: [ 52.203735][ T1414] [<0000000000000000>] 0x0 [ 52.203742][ T1414] CPU: 0 UID: 0 PID: 1414 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 52.203746][ T1414] Tainted: [W]=WARN [ 52.203747][ T1414] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 52.203749][ T1414] Call Trace: [ 52.203751][ T1414] [ 52.203752][ T1414] dump_stack_lvl+0x6f/0xa0 [ 52.203759][ T1414] __might_resched.cold+0x1fe/0x2c1 [ 52.203763][ T1414] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 52.203768][ T1414] ? __kmalloc_noprof+0xdb/0x760 [ 52.203772][ T1414] __kmalloc_noprof+0x443/0x760 [ 52.203774][ T1414] ? alloc_buf.isra.0+0x4b/0x260 [ 52.203781][ T1414] ? do_raw_spin_unlock+0x59/0x250 [ 52.203784][ T1414] alloc_buf.isra.0+0x4b/0x260 [ 52.203788][ T1414] put_chars+0x1e1/0x2f0 [ 52.203790][ T1414] ? __send_to_port+0x420/0x420 [ 52.203791][ T1414] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 52.203795][ T1414] ? validate_chain+0x38b/0xc20 [ 52.203801][ T1414] hvc_console_print+0x292/0x780 [ 52.203808][ T1414] ? hvc_write+0x3a0/0x3a0 [ 52.203811][ T1414] ? rcu_is_watching+0x16/0xd0 [ 52.203813][ T1414] ? lock_acquire+0x13c/0x160 [ 52.203817][ T1414] console_emit_next_record+0x22f/0x4c0 [ 52.203821][ T1414] ? devkmsg_read+0x4b0/0x4b0 [ 52.203823][ T1414] ? console_flush_one_record+0x106/0x710 [ 52.203827][ T1414] ? rcu_is_watching+0x16/0xd0 [ 52.203828][ T1414] ? lock_acquire+0x13c/0x160 [ 52.203833][ T1414] console_flush_one_record+0x46f/0x710 [ 52.203837][ T1414] ? console_emit_next_record+0x4c0/0x4c0 [ 52.203839][ T1414] ? __lock_acquire+0x518/0xc20 [ 52.203845][ T1414] console_unlock+0xee/0x1f0 [ 52.203848][ T1414] ? console_flush_one_record+0x710/0x710 [ 52.203850][ T1414] ? rcu_is_watching+0x16/0xd0 [ 52.203851][ T1414] ? lock_acquire+0xe0/0x160 [ 52.203855][ T1414] ? __down_trylock_console_sem+0x5e/0xa0 [ 52.203857][ T1414] ? vprintk_emit+0x320/0x3e0 [ 52.203860][ T1414] vprintk_emit+0x37c/0x3e0 [ 52.203863][ T1414] ? wake_up_klogd_work_func+0x90/0x90 [ 52.203866][ T1414] ? __lock_acquire+0x518/0xc20 [ 52.203870][ T1414] _printk+0xc7/0x100 [ 52.203873][ T1414] ? snapshot_read.cold+0x21/0x21 [ 52.203876][ T1414] ? do_raw_spin_lock+0x131/0x280 [ 52.203878][ T1414] ? __rwlock_init+0x150/0x150 [ 52.203882][ T1414] ? do_raw_spin_lock+0x131/0x280 [ 52.203885][ T1414] do_exit.cold+0x82/0x9c [ 52.203889][ T1414] ? exit_notify+0x890/0x890 [ 52.203891][ T1414] ? __lock_release.isra.0+0x69/0x1a0 [ 52.203893][ T1414] ? rcu_is_watching+0x16/0xd0 [ 52.203897][ T1414] do_group_exit+0xb8/0x370 [ 52.203900][ T1414] __x64_sys_exit_group+0x3c/0x50 [ 52.203902][ T1414] x64_sys_call+0x1567/0x1570 [ 52.203904][ T1414] do_syscall_64+0xff/0x530 [ 52.203908][ T1414] ? exc_page_fault+0xee/0x100 [ 52.203911][ T1414] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 52.203914][ T1414] RIP: 0033:0x7f18ba4451b8 [ 52.203916][ T1414] Code: Unable to access opcode bytes at 0x7f18ba44518e. [ 52.203917][ T1414] RSP: 002b:00007ffe3a427378 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 52.203919][ T1414] RAX: ffffffffffffffda RBX: 00007f18ba575f88 RCX: 00007f18ba4451b8 [ 52.203921][ T1414] RDX: 00007f18ba18ffc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 52.203922][ T1414] RBP: 00007ffe3a4273d0 R08: 0000000000000000 R09: 0000000000008010 [ 52.203923][ T1414] R10: 00007ffe3a427190 R11: 0000000000000246 R12: 0000000000000001 [ 52.203923][ T1414] R13: 0000000000000000 R14: 00007f18ba574680 R15: 00007f18ba575fa0 [ 52.203930][ T1414]