[ 13.313754][ T269] Initializing XFRM netlink socket [ 13.313773][ T269] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 13.313775][ T269] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 269, name: modprobe [ 13.313777][ T269] preempt_count: 1, expected: 0 [ 13.313778][ T269] RCU nest depth: 0, expected: 0 [ 13.313779][ T269] locks held by modprobe/269: 4, last CPU#2: [ 13.313781][ T269] #0: ffffffffb8f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 13.313792][ T269] #1: ffffffffb8f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 13.313797][ T269] #2: ffffffffb8e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 13.313801][ T269] #3: ffffffffb8e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 13.313805][ T269] irq event stamp: 25448 [ 13.313806][ T269] hardirqs last enabled at (25447): [] __down_trylock_console_sem+0x86/0xa0 [ 13.313809][ T269] hardirqs last disabled at (25448): [] console_emit_next_record+0x3d4/0x4c0 [ 13.313811][ T269] softirqs last enabled at (23560): [] handle_softirqs+0x67c/0x900 [ 13.313815][ T269] softirqs last disabled at (22937): [] __irq_exit_rcu+0x145/0x1c0 [ 13.313818][ T269] Preemption disabled at: [ 13.313818][ T269] [] vprintk_emit+0x31b/0x3e0 [ 13.313823][ T269] CPU: 2 UID: 0 PID: 269 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 13.313827][ T269] Tainted: [W]=WARN [ 13.313828][ T269] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.313830][ T269] Call Trace: [ 13.313831][ T269] [ 13.313833][ T269] dump_stack_lvl+0x6f/0xa0 [ 13.313839][ T269] ? vprintk_emit+0x31b/0x3e0 [ 13.313841][ T269] __might_resched.cold+0x1fe/0x2c1 [ 13.313846][ T269] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 13.313850][ T269] ? __kmalloc_noprof+0xdb/0x760 [ 13.313855][ T269] __kmalloc_noprof+0x443/0x760 [ 13.313857][ T269] ? alloc_buf.isra.0+0x4b/0x260 [ 13.313864][ T269] ? do_raw_spin_unlock+0x59/0x250 [ 13.313867][ T269] alloc_buf.isra.0+0x4b/0x260 [ 13.313870][ T269] put_chars+0x1e1/0x2f0 [ 13.313872][ T269] ? desc_read_finalized_seq+0x79/0x120 [ 13.313874][ T269] ? __send_to_port+0x420/0x420 [ 13.313877][ T269] ? rcu_read_lock_any_held+0x3c/0x90 [ 13.313881][ T269] ? validate_chain+0x38b/0xc20 [ 13.313885][ T269] hvc_console_print+0x292/0x780 [ 13.313889][ T269] ? __lock_acquire+0x518/0xc20 [ 13.313891][ T269] ? __lock_acquire+0x518/0xc20 [ 13.313896][ T269] ? hvc_write+0x3a0/0x3a0 [ 13.313898][ T269] ? console_emit_next_record+0x1df/0x4c0 [ 13.313901][ T269] ? rcu_is_watching+0x16/0xd0 [ 13.313904][ T269] ? lock_acquire+0x13c/0x160 [ 13.313908][ T269] console_emit_next_record+0x22f/0x4c0 [ 13.313912][ T269] ? devkmsg_read+0x4b0/0x4b0 [ 13.313914][ T269] ? console_flush_one_record+0x106/0x710 [ 13.313917][ T269] ? rcu_is_watching+0x16/0xd0 [ 13.313919][ T269] ? lock_acquire+0x13c/0x160 [ 13.313923][ T269] console_flush_one_record+0x46f/0x710 [ 13.313927][ T269] ? console_emit_next_record+0x4c0/0x4c0 [ 13.313929][ T269] ? __lock_acquire+0x518/0xc20 [ 13.313934][ T269] console_unlock+0xee/0x1f0 [ 13.313937][ T269] ? console_flush_one_record+0x710/0x710 [ 13.313939][ T269] ? rcu_is_watching+0x16/0xd0 [ 13.313941][ T269] ? lock_acquire+0xe0/0x160 [ 13.313945][ T269] ? __down_trylock_console_sem+0x5e/0xa0 [ 13.313947][ T269] ? vprintk_emit+0x320/0x3e0 [ 13.313949][ T269] vprintk_emit+0x37c/0x3e0 [ 13.313953][ T269] ? wake_up_klogd_work_func+0x90/0x90 [ 13.313958][ T269] ? nft_chain_route_fini+0xcc0/0xcc0 [nf_tables] [ 13.313965][ T269] _printk+0xc7/0x100 [ 13.313969][ T269] ? snapshot_read.cold+0x21/0x21 [ 13.313975][ T269] ? do_one_initcall+0x113/0x4f0 [ 13.313979][ T269] xfrm_user_init+0x15/0x1000 [xfrm_user] [ 13.313982][ T269] do_one_initcall+0x124/0x4f0 [ 13.313985][ T269] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 13.313990][ T269] ? do_init_module+0xae/0x8a0 [ 13.313993][ T269] ? kasan_unpoison+0x44/0x70 [ 13.313999][ T269] do_init_module+0x2ad/0x8a0 [ 13.314002][ T269] ? lockdep_hardirqs_on+0x91/0x130 [ 13.314006][ T269] ? free_module+0x470/0x470 [ 13.314009][ T269] ? kfree+0x123/0x590 [ 13.314013][ T269] load_module+0x1424/0x1bb0 [ 13.314018][ T269] ? security_kernel_post_read_file+0x2f/0x60 [ 13.314023][ T269] ? layout_and_allocate.isra.0+0x680/0x680 [ 13.314028][ T269] ? backing_file_read_iter+0x541/0x790 [ 13.314032][ T269] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 13.314036][ T269] init_module_from_file+0x11f/0x1a0 [ 13.314039][ T269] ? __do_sys_init_module+0x270/0x270 [ 13.314047][ T269] ? __rwlock_init+0x150/0x150 [ 13.314050][ T269] ? do_raw_spin_unlock+0x59/0x250 [ 13.314054][ T269] idempotent_init_module+0x37b/0x7c0 [ 13.314056][ T269] ? init_module_from_file+0x1a0/0x1a0 [ 13.314062][ T269] ? cap_capable+0x1d7/0x3d0 [ 13.314065][ T269] ? __x64_sys_pread64+0x18d/0x250 [ 13.314070][ T269] __x64_sys_finit_module+0xdf/0x190 [ 13.314072][ T269] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 13.314076][ T269] do_syscall_64+0xff/0x530 [ 13.314079][ T269] ? exc_page_fault+0xee/0x100 [ 13.314082][ T269] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 13.314084][ T269] RIP: 0033:0x7fbad33bc37d [ 13.314088][ T269] 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.314089][ T269] RSP: 002b:00007fff01809288 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 13.314092][ T269] RAX: ffffffffffffffda RBX: 0000564a44714810 RCX: 00007fbad33bc37d [ 13.314093][ T269] RDX: 0000000000000000 RSI: 0000564a0b5f4ffd RDI: 0000000000000000 [ 13.314094][ T269] RBP: 00007fff01809320 R08: 0000000000000000 R09: 0000000000000000 [ 13.314095][ T269] R10: 0000000000000000 R11: 0000000000000246 R12: 0000564a0b5f4ffd [ 13.314096][ T269] R13: 0000564a44714960 R14: 0000000000040000 R15: 0000000000000000 [ 13.314103][ T269] [ 259.802883][ T4364] ip (4364) used greatest stack depth: 23968 bytes left [ 259.802905][ T4364] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 259.802907][ T4364] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 4364, name: ip [ 259.802908][ T4364] preempt_count: 2, expected: 0 [ 259.802909][ T4364] RCU nest depth: 0, expected: 0 [ 259.802910][ T4364] locks held by ip/4364: 5, last CPU#0: [ 259.802913][ T4364] #0: ffffffffb8e167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 259.802924][ T4364] #1: ffffffffb8f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 259.802929][ T4364] #2: ffffffffb8f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 259.802933][ T4364] #3: ffffffffb8e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 259.802937][ T4364] #4: ffffffffb8e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 259.802941][ T4364] irq event stamp: 26682 [ 259.802942][ T4364] hardirqs last enabled at (26681): [] __down_trylock_console_sem+0x86/0xa0 [ 259.802945][ T4364] hardirqs last disabled at (26682): [] console_emit_next_record+0x3d4/0x4c0 [ 259.802947][ T4364] softirqs last enabled at (25082): [] netlink_release+0x17b/0xcf0 [ 259.802952][ T4364] softirqs last disabled at (25080): [] netlink_release+0xd2/0xcf0 [ 259.802954][ T4364] Preemption disabled at: [ 259.802955][ T4364] [<0000000000000000>] 0x0 [ 259.802962][ T4364] CPU: 0 UID: 0 PID: 4364 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 259.802965][ T4364] Tainted: [W]=WARN [ 259.802966][ T4364] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 259.802968][ T4364] Call Trace: [ 259.802970][ T4364] [ 259.802971][ T4364] dump_stack_lvl+0x6f/0xa0 [ 259.802978][ T4364] __might_resched.cold+0x1fe/0x2c1 [ 259.802983][ T4364] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 259.802987][ T4364] ? __kmalloc_noprof+0xdb/0x760 [ 259.802992][ T4364] __kmalloc_noprof+0x443/0x760 [ 259.802994][ T4364] ? alloc_buf.isra.0+0x4b/0x260 [ 259.803000][ T4364] ? do_raw_spin_unlock+0x59/0x250 [ 259.803003][ T4364] alloc_buf.isra.0+0x4b/0x260 [ 259.803007][ T4364] put_chars+0x1e1/0x2f0 [ 259.803010][ T4364] ? __send_to_port+0x420/0x420 [ 259.803011][ T4364] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 259.803015][ T4364] ? validate_chain+0x38b/0xc20 [ 259.803020][ T4364] hvc_console_print+0x292/0x780 [ 259.803028][ T4364] ? hvc_write+0x3a0/0x3a0 [ 259.803031][ T4364] ? rcu_is_watching+0x16/0xd0 [ 259.803033][ T4364] ? lock_acquire+0x13c/0x160 [ 259.803037][ T4364] console_emit_next_record+0x22f/0x4c0 [ 259.803042][ T4364] ? devkmsg_read+0x4b0/0x4b0 [ 259.803043][ T4364] ? console_flush_one_record+0x106/0x710 [ 259.803047][ T4364] ? rcu_is_watching+0x16/0xd0 [ 259.803048][ T4364] ? lock_acquire+0x13c/0x160 [ 259.803053][ T4364] console_flush_one_record+0x46f/0x710 [ 259.803057][ T4364] ? console_emit_next_record+0x4c0/0x4c0 [ 259.803059][ T4364] ? __lock_acquire+0x518/0xc20 [ 259.803065][ T4364] console_unlock+0xee/0x1f0 [ 259.803068][ T4364] ? console_flush_one_record+0x710/0x710 [ 259.803069][ T4364] ? rcu_is_watching+0x16/0xd0 [ 259.803071][ T4364] ? lock_acquire+0xe0/0x160 [ 259.803075][ T4364] ? __down_trylock_console_sem+0x5e/0xa0 [ 259.803077][ T4364] ? vprintk_emit+0x320/0x3e0 [ 259.803080][ T4364] vprintk_emit+0x37c/0x3e0 [ 259.803083][ T4364] ? wake_up_klogd_work_func+0x90/0x90 [ 259.803086][ T4364] ? __lock_acquire+0x518/0xc20 [ 259.803090][ T4364] _printk+0xc7/0x100 [ 259.803094][ T4364] ? snapshot_read.cold+0x21/0x21 [ 259.803097][ T4364] ? do_raw_spin_lock+0x131/0x280 [ 259.803099][ T4364] ? __rwlock_init+0x150/0x150 [ 259.803103][ T4364] ? do_raw_spin_lock+0x131/0x280 [ 259.803106][ T4364] do_exit.cold+0x82/0x9c [ 259.803110][ T4364] ? exit_notify+0x890/0x890 [ 259.803111][ T4364] ? __lock_release.isra.0+0x69/0x1a0 [ 259.803114][ T4364] ? rcu_is_watching+0x16/0xd0 [ 259.803118][ T4364] do_group_exit+0xb8/0x370 [ 259.803121][ T4364] __x64_sys_exit_group+0x3c/0x50 [ 259.803123][ T4364] x64_sys_call+0x1567/0x1570 [ 259.803125][ T4364] do_syscall_64+0xff/0x530 [ 259.803129][ T4364] ? exc_page_fault+0xee/0x100 [ 259.803132][ T4364] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 259.803135][ T4364] RIP: 0033:0x7fd0d0b571b8 [ 259.803137][ T4364] Code: Unable to access opcode bytes at 0x7fd0d0b5718e. [ 259.803138][ T4364] RSP: 002b:00007ffd7d556e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 259.803141][ T4364] RAX: ffffffffffffffda RBX: 00007fd0d0c87f88 RCX: 00007fd0d0b571b8 [ 259.803142][ T4364] RDX: 00007fd0d08a1fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 259.803143][ T4364] RBP: 00007ffd7d556eb0 R08: 0000000000000000 R09: 0000000000008010 [ 259.803144][ T4364] R10: 00007ffd7d556c70 R11: 0000000000000246 R12: 0000000000000001 [ 259.803145][ T4364] R13: 0000000000000000 R14: 00007fd0d0c86680 R15: 00007fd0d0c87fa0 [ 259.803152][ T4364]