[ 17.883709][ T435] Initializing XFRM netlink socket [ 17.883726][ T435] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 17.883728][ T435] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 435, name: modprobe [ 17.883730][ T435] preempt_count: 1, expected: 0 [ 17.883731][ T435] RCU nest depth: 0, expected: 0 [ 17.883732][ T435] locks held by modprobe/435: 4, last CPU#0: [ 17.883734][ T435] #0: ffffffffb117ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 17.883745][ T435] #1: ffffffffb117de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 17.883750][ T435] #2: ffffffffb109d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 17.883754][ T435] #3: ffffffffb109d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 17.883758][ T435] irq event stamp: 19494 [ 17.883759][ T435] hardirqs last enabled at (19493): [] __down_trylock_console_sem+0x86/0xa0 [ 17.883762][ T435] hardirqs last disabled at (19494): [] console_emit_next_record+0x3d4/0x4c0 [ 17.883764][ T435] softirqs last enabled at (17146): [] handle_softirqs+0x67c/0x900 [ 17.883768][ T435] softirqs last disabled at (17139): [] __irq_exit_rcu+0x145/0x1c0 [ 17.883770][ T435] Preemption disabled at: [ 17.883771][ T435] [] vprintk_emit+0x31b/0x3e0 [ 17.883776][ T435] CPU: 0 UID: 0 PID: 435 Comm: modprobe Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 17.883780][ T435] Tainted: [W]=WARN [ 17.883781][ T435] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.883782][ T435] Call Trace: [ 17.883784][ T435] [ 17.883785][ T435] dump_stack_lvl+0x6f/0xa0 [ 17.883791][ T435] ? vprintk_emit+0x31b/0x3e0 [ 17.883793][ T435] __might_resched.cold+0x1fe/0x2c1 [ 17.883798][ T435] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 17.883802][ T435] ? __kmalloc_noprof+0xdb/0x760 [ 17.883806][ T435] __kmalloc_noprof+0x443/0x760 [ 17.883808][ T435] ? alloc_buf.isra.0+0x4b/0x260 [ 17.883815][ T435] ? do_raw_spin_unlock+0x59/0x250 [ 17.883818][ T435] alloc_buf.isra.0+0x4b/0x260 [ 17.883821][ T435] put_chars+0x1e1/0x2f0 [ 17.883823][ T435] ? desc_read_finalized_seq+0x79/0x120 [ 17.883825][ T435] ? __send_to_port+0x420/0x420 [ 17.883828][ T435] ? rcu_read_lock_any_held+0x3c/0x90 [ 17.883831][ T435] ? validate_chain+0x38b/0xc20 [ 17.883836][ T435] hvc_console_print+0x292/0x780 [ 17.883840][ T435] ? __lock_acquire+0x518/0xc20 [ 17.883841][ T435] ? __lock_acquire+0x518/0xc20 [ 17.883846][ T435] ? hvc_write+0x3a0/0x3a0 [ 17.883848][ T435] ? console_emit_next_record+0x1df/0x4c0 [ 17.883851][ T435] ? rcu_is_watching+0x16/0xd0 [ 17.883853][ T435] ? lock_acquire+0x13c/0x160 [ 17.883857][ T435] console_emit_next_record+0x22f/0x4c0 [ 17.883861][ T435] ? devkmsg_read+0x4b0/0x4b0 [ 17.883863][ T435] ? console_flush_one_record+0x106/0x710 [ 17.883868][ T435] ? rcu_is_watching+0x16/0xd0 [ 17.883870][ T435] ? lock_acquire+0x13c/0x160 [ 17.883874][ T435] console_flush_one_record+0x46f/0x710 [ 17.883878][ T435] ? console_emit_next_record+0x4c0/0x4c0 [ 17.883880][ T435] ? __lock_acquire+0x518/0xc20 [ 17.883885][ T435] console_unlock+0xee/0x1f0 [ 17.883888][ T435] ? console_flush_one_record+0x710/0x710 [ 17.883890][ T435] ? rcu_is_watching+0x16/0xd0 [ 17.883891][ T435] ? lock_acquire+0xe0/0x160 [ 17.883895][ T435] ? __down_trylock_console_sem+0x5e/0xa0 [ 17.883897][ T435] ? vprintk_emit+0x320/0x3e0 [ 17.883899][ T435] vprintk_emit+0x37c/0x3e0 [ 17.883902][ T435] ? wake_up_klogd_work_func+0x90/0x90 [ 17.883907][ T435] ? xfrm_user_exit+0x8a0/0x8a0 [xfrm_user] [ 17.883910][ T435] _printk+0xc7/0x100 [ 17.883914][ T435] ? snapshot_read.cold+0x21/0x21 [ 17.883920][ T435] ? do_one_initcall+0x113/0x4f0 [ 17.883923][ T435] xfrm_user_init+0x15/0x1000 [xfrm_user] [ 17.883926][ T435] do_one_initcall+0x124/0x4f0 [ 17.883929][ T435] ? trace_event_raw_event_initcall_level+0x280/0x280 [ 17.883934][ T435] ? do_init_module+0xae/0x8a0 [ 17.883936][ T435] ? kasan_unpoison+0x44/0x70 [ 17.883941][ T435] do_init_module+0x2ad/0x8a0 [ 17.883944][ T435] ? lockdep_hardirqs_on+0x91/0x130 [ 17.883948][ T435] ? free_module+0x470/0x470 [ 17.883951][ T435] ? kfree+0x123/0x590 [ 17.883954][ T435] load_module+0x1424/0x1bb0 [ 17.883959][ T435] ? security_kernel_post_read_file+0x2f/0x60 [ 17.883964][ T435] ? layout_and_allocate.isra.0+0x680/0x680 [ 17.883969][ T435] ? backing_file_read_iter+0x541/0x790 [ 17.883972][ T435] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 17.883975][ T435] init_module_from_file+0x11f/0x1a0 [ 17.883978][ T435] ? __do_sys_init_module+0x270/0x270 [ 17.883985][ T435] ? __rwlock_init+0x150/0x150 [ 17.883989][ T435] ? do_raw_spin_unlock+0x59/0x250 [ 17.883992][ T435] idempotent_init_module+0x37b/0x7c0 [ 17.883994][ T435] ? init_module_from_file+0x1a0/0x1a0 [ 17.883999][ T435] ? cap_capable+0x1d7/0x3d0 [ 17.884002][ T435] ? __x64_sys_pread64+0x18d/0x250 [ 17.884007][ T435] __x64_sys_finit_module+0xdf/0x190 [ 17.884008][ T435] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 17.884012][ T435] do_syscall_64+0xff/0x530 [ 17.884015][ T435] ? exc_page_fault+0xee/0x100 [ 17.884018][ T435] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 17.884020][ T435] RIP: 0033:0x7f1c8237f37d [ 17.884022][ T435] 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 [ 17.884024][ T435] RSP: 002b:00007ffc2b4f4148 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 17.884027][ T435] RAX: ffffffffffffffda RBX: 000055cc6f18d810 RCX: 00007f1c8237f37d [ 17.884028][ T435] RDX: 0000000000000000 RSI: 000055cc33d07ffd RDI: 0000000000000000 [ 17.884029][ T435] RBP: 00007ffc2b4f41e0 R08: 0000000000000000 R09: 0000000000000000 [ 17.884030][ T435] R10: 0000000000000000 R11: 0000000000000246 R12: 000055cc33d07ffd [ 17.884030][ T435] R13: 000055cc6f18d960 R14: 0000000000040000 R15: 0000000000000000 [ 17.884037][ T435] [ 100.626289][ T2864] sysctl (2864) used greatest stack depth: 23712 bytes left [ 100.626308][ T2864] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 100.626310][ T2864] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 2864, name: sysctl [ 100.626311][ T2864] preempt_count: 2, expected: 0 [ 100.626312][ T2864] RCU nest depth: 0, expected: 0 [ 100.626313][ T2864] locks held by sysctl/2864: 5, last CPU#0: [ 100.626315][ T2864] #0: ffffffffb10167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 100.626327][ T2864] #1: ffffffffb117ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 100.626332][ T2864] #2: ffffffffb117de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 100.626336][ T2864] #3: ffffffffb109d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 100.626340][ T2864] #4: ffffffffb109d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 100.626344][ T2864] irq event stamp: 27108 [ 100.626345][ T2864] hardirqs last enabled at (27107): [] __down_trylock_console_sem+0x86/0xa0 [ 100.626348][ T2864] hardirqs last disabled at (27108): [] console_emit_next_record+0x3d4/0x4c0 [ 100.626350][ T2864] softirqs last enabled at (25688): [] handle_softirqs+0x67c/0x900 [ 100.626352][ T2864] softirqs last disabled at (24437): [] __irq_exit_rcu+0x145/0x1c0 [ 100.626355][ T2864] Preemption disabled at: [ 100.626355][ T2864] [<0000000000000000>] 0x0 [ 100.626362][ T2864] CPU: 0 UID: 0 PID: 2864 Comm: sysctl Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 100.626365][ T2864] Tainted: [W]=WARN [ 100.626366][ T2864] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 100.626368][ T2864] Call Trace: [ 100.626369][ T2864] [ 100.626371][ T2864] dump_stack_lvl+0x6f/0xa0 [ 100.626377][ T2864] __might_resched.cold+0x1fe/0x2c1 [ 100.626382][ T2864] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 100.626386][ T2864] ? __kmalloc_noprof+0xdb/0x760 [ 100.626390][ T2864] __kmalloc_noprof+0x443/0x760 [ 100.626392][ T2864] ? alloc_buf.isra.0+0x4b/0x260 [ 100.626399][ T2864] ? do_raw_spin_unlock+0x59/0x250 [ 100.626402][ T2864] alloc_buf.isra.0+0x4b/0x260 [ 100.626405][ T2864] put_chars+0x1e1/0x2f0 [ 100.626408][ T2864] ? __send_to_port+0x420/0x420 [ 100.626409][ T2864] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 100.626413][ T2864] ? validate_chain+0x38b/0xc20 [ 100.626418][ T2864] hvc_console_print+0x292/0x780 [ 100.626425][ T2864] ? hvc_write+0x3a0/0x3a0 [ 100.626428][ T2864] ? rcu_is_watching+0x16/0xd0 [ 100.626430][ T2864] ? lock_acquire+0x13c/0x160 [ 100.626434][ T2864] console_emit_next_record+0x22f/0x4c0 [ 100.626438][ T2864] ? devkmsg_read+0x4b0/0x4b0 [ 100.626440][ T2864] ? console_flush_one_record+0x106/0x710 [ 100.626443][ T2864] ? rcu_is_watching+0x16/0xd0 [ 100.626444][ T2864] ? lock_acquire+0x13c/0x160 [ 100.626449][ T2864] console_flush_one_record+0x46f/0x710 [ 100.626453][ T2864] ? console_emit_next_record+0x4c0/0x4c0 [ 100.626455][ T2864] ? __lock_acquire+0x518/0xc20 [ 100.626460][ T2864] console_unlock+0xee/0x1f0 [ 100.626463][ T2864] ? console_flush_one_record+0x710/0x710 [ 100.626464][ T2864] ? rcu_is_watching+0x16/0xd0 [ 100.626466][ T2864] ? lock_acquire+0xe0/0x160 [ 100.626470][ T2864] ? __down_trylock_console_sem+0x5e/0xa0 [ 100.626472][ T2864] ? vprintk_emit+0x320/0x3e0 [ 100.626474][ T2864] vprintk_emit+0x37c/0x3e0 [ 100.626477][ T2864] ? wake_up_klogd_work_func+0x90/0x90 [ 100.626480][ T2864] ? __lock_acquire+0x518/0xc20 [ 100.626484][ T2864] _printk+0xc7/0x100 [ 100.626487][ T2864] ? snapshot_read.cold+0x21/0x21 [ 100.626490][ T2864] ? do_raw_spin_lock+0x131/0x280 [ 100.626493][ T2864] ? __rwlock_init+0x150/0x150 [ 100.626496][ T2864] ? do_raw_spin_lock+0x131/0x280 [ 100.626499][ T2864] do_exit.cold+0x82/0x9c [ 100.626503][ T2864] ? exit_notify+0x890/0x890 [ 100.626504][ T2864] ? __lock_release.isra.0+0x69/0x1a0 [ 100.626507][ T2864] ? rcu_is_watching+0x16/0xd0 [ 100.626510][ T2864] do_group_exit+0xb8/0x370 [ 100.626513][ T2864] __x64_sys_exit_group+0x3c/0x50 [ 100.626515][ T2864] x64_sys_call+0x1567/0x1570 [ 100.626517][ T2864] do_syscall_64+0xff/0x530 [ 100.626521][ T2864] ? exc_page_fault+0xee/0x100 [ 100.626524][ T2864] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 100.626526][ T2864] RIP: 0033:0x7f8e035d71b8 [ 100.626528][ T2864] Code: Unable to access opcode bytes at 0x7f8e035d718e. [ 100.626529][ T2864] RSP: 002b:00007ffe600dc9f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 100.626532][ T2864] RAX: ffffffffffffffda RBX: 00007f8e03707f88 RCX: 00007f8e035d71b8 [ 100.626533][ T2864] RDX: 00007f8e03514a48 RSI: ffffffffffffffb0 RDI: 0000000000000000 [ 100.626534][ T2864] RBP: 00007ffe600dca50 R08: 0000000000000000 R09: 0000000000000030 [ 100.626535][ T2864] R10: 00007ffe600dc890 R11: 0000000000000246 R12: 0000000000000002 [ 100.626535][ T2864] R13: 0000000000000000 R14: 00007f8e03706680 R15: 00007f8e03707fa0 [ 100.626542][ T2864]