[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 22.071889] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 26.328257] random: sshd: uninitialized urandom read (32 bytes read) [ 26.610360] random: sshd: uninitialized urandom read (32 bytes read) [ 27.146784] random: sshd: uninitialized urandom read (32 bytes read) [ 54.326091] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.23' (ECDSA) to the list of known hosts. [ 59.960934] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 60.063230] L1TF CPU bug present and SMT on, data leak possible. See CVE-2018-3646 and https://www.kernel.org/doc/html/latest/admin-guide/l1tf.html for details. [ 60.086439] ================================================================== [ 60.095269] BUG: KASAN: use-after-free in __schedule+0xf54/0x1df0 [ 60.101481] Read of size 8 at addr ffff8801b7388058 by task syz-executor691/4452 [ 60.108983] [ 60.110590] CPU: 0 PID: 4452 Comm: syz-executor691 Not tainted 4.18.0+ #205 [ 60.117661] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.126988] Call Trace: [ 60.129552] dump_stack+0x1c9/0x2b4 [ 60.133154] ? dump_stack_print_info.cold.2+0x52/0x52 [ 60.138320] ? printk+0xa7/0xcf [ 60.141591] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 60.146338] ? __schedule+0xf54/0x1df0 [ 60.150201] print_address_description+0x6c/0x20b [ 60.155021] ? __schedule+0xf54/0x1df0 [ 60.158886] kasan_report.cold.7+0x242/0x30d [ 60.163271] __asan_report_load8_noabort+0x14/0x20 [ 60.168175] __schedule+0xf54/0x1df0 [ 60.171867] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 60.176955] ? __sched_text_start+0x8/0x8 [ 60.181083] ? __call_srcu+0x7e7/0x1040 [ 60.185037] ? check_same_owner+0x340/0x340 [ 60.189334] ? mark_held_locks+0x160/0x160 [ 60.193545] ? find_held_lock+0x36/0x1c0 [ 60.197586] preempt_schedule_common+0x22/0x60 [ 60.202143] _cond_resched+0x1d/0x30 [ 60.205847] wait_for_completion+0xa5/0x8d0 [ 60.210147] ? wait_for_completion_interruptible+0x950/0x950 [ 60.215922] ? __lockdep_init_map+0x105/0x590 [ 60.220393] ? __init_waitqueue_head+0x9e/0x150 [ 60.225034] ? init_wait_entry+0x1c0/0x1c0 [ 60.229246] __synchronize_srcu+0x189/0x240 [ 60.233545] ? call_srcu+0x10/0x10 [ 60.237064] ? rcu_unexpedite_gp+0x20/0x20 [ 60.241289] synchronize_srcu+0x335/0x56f [ 60.245412] ? lock_downgrade+0x8f0/0x8f0 [ 60.249537] ? synchronize_srcu_expedited+0x20/0x20 [ 60.254550] ? kasan_check_read+0x11/0x20 [ 60.258677] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 60.263254] ? kasan_check_write+0x14/0x20 [ 60.267469] ? do_raw_spin_lock+0xc1/0x200 [ 60.271701] kvm_page_track_unregister_notifier+0x17d/0x250 [ 60.277389] ? kvm_slot_page_track_remove_page+0x70/0x70 [ 60.282816] ? kvfree+0x61/0x70 [ 60.286072] ? rcu_read_lock_sched_held+0x108/0x120 [ 60.291187] kvm_mmu_uninit_vm+0x1c/0x20 [ 60.295228] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 60.299615] ? kvm_arch_sync_events+0x30/0x30 [ 60.304090] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 60.309606] ? mmu_notifier_unregister+0x474/0x600 [ 60.314512] ? trace_hardirqs_on+0x2c0/0x2c0 [ 60.319027] ? kfree+0x111/0x210 [ 60.322377] ? __mmu_notifier_register+0x30/0x30 [ 60.327114] ? __free_pages+0x10a/0x190 [ 60.331065] ? free_unref_page+0x930/0x930 [ 60.335281] kvm_put_kvm+0x73f/0x1060 [ 60.339063] ? kvm_write_guest_cached+0x40/0x40 [ 60.343717] ? _raw_spin_unlock_irq+0x27/0x70 [ 60.348205] ? _raw_spin_unlock_irq+0x27/0x70 [ 60.352678] ? lockdep_hardirqs_on+0x421/0x5c0 [ 60.357238] ? kasan_check_write+0x14/0x20 [ 60.361472] ? do_raw_spin_lock+0xc1/0x200 [ 60.365700] ? kvm_irqfd_release+0xdd/0x120 [ 60.370014] ? kvm_put_kvm+0x1060/0x1060 [ 60.374049] kvm_vm_release+0x42/0x50 [ 60.377824] __fput+0x36e/0x8c0 [ 60.381099] ? __alloc_file+0x400/0x400 [ 60.385052] ? check_same_owner+0x340/0x340 [ 60.389350] ? kasan_check_write+0x14/0x20 [ 60.393564] ? do_raw_spin_lock+0xc1/0x200 [ 60.397775] ____fput+0x15/0x20 [ 60.401206] task_work_run+0x1e8/0x2a0 [ 60.405071] ? task_work_cancel+0x240/0x240 [ 60.409372] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 60.414885] ? switch_task_namespaces+0xa2/0xd0 [ 60.419532] do_exit+0x1ae4/0x26e0 [ 60.423053] ? mm_update_next_owner+0x9a0/0x9a0 [ 60.427707] ? kvm_vcpu_ioctl+0x2b5/0x1280 [ 60.431943] ? rcu_read_lock_sched_held+0x108/0x120 [ 60.436941] ? kfree+0x1d7/0x210 [ 60.440292] ? kvm_vcpu_ioctl+0x2ba/0x1280 [ 60.444508] ? kvm_uevent_notify_change.part.32+0x440/0x440 [ 60.450197] ? is_bpf_text_address+0xd7/0x170 [ 60.454671] ? kernel_text_address+0x79/0xf0 [ 60.459055] ? pud_val+0x88/0x100 [ 60.462486] ? pmd_val+0x100/0x100 [ 60.466007] ? unwind_get_return_address+0x61/0xa0 [ 60.470915] ? __save_stack_trace+0x8d/0xf0 [ 60.475218] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 60.480732] ? __handle_mm_fault+0x945/0x4350 [ 60.485206] ? vmf_insert_mixed_mkwrite+0xa0/0xa0 [ 60.490029] ? graph_lock+0x170/0x170 [ 60.493823] ? find_held_lock+0x36/0x1c0 [ 60.497864] ? __do_page_fault+0x620/0xe50 [ 60.502075] ? kvm_uevent_notify_change.part.32+0x440/0x440 [ 60.507760] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 60.513277] ? do_vfs_ioctl+0x201/0x1720 [ 60.517316] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 60.522863] ? ioctl_preallocate+0x300/0x300 [ 60.527277] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 60.532789] ? __fget_light+0x2f7/0x440 [ 60.537081] ? __handle_mm_fault+0x4350/0x4350 [ 60.541643] ? fget_raw+0x20/0x20 [ 60.545076] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 60.550608] ? __do_page_fault+0x449/0xe50 [ 60.554820] ? putname+0xf7/0x130 [ 60.558251] do_group_exit+0x177/0x440 [ 60.562114] ? trace_hardirqs_on+0xbd/0x2c0 [ 60.566445] ? __ia32_sys_exit+0x50/0x50 [ 60.570492] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 60.575575] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 60.581087] ? ksys_ioctl+0x81/0xd0 [ 60.584691] __x64_sys_exit_group+0x3e/0x50 [ 60.588989] do_syscall_64+0x1b9/0x820 [ 60.592874] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 60.598214] ? syscall_return_slowpath+0x5e0/0x5e0 [ 60.603133] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 60.608009] ? trace_hardirqs_on_caller+0x2b0/0x2b0 [ 60.613007] ? prepare_exit_to_usermode+0x291/0x3b0 [ 60.618020] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 60.622842] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 60.628007] RIP: 0033:0x43ecf8 [ 60.631183] Code: Bad RIP value. [ 60.634525] RSP: 002b:00007ffdd8a1b5a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 60.642212] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ecf8 [ 60.649458] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 60.656712] RBP: 00000000004be5a8 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 60.663958] R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000000001 [ 60.671206] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 60.678455] [ 60.680063] Allocated by task 4452: [ 60.683683] save_stack+0x43/0xd0 [ 60.687109] kasan_kmalloc+0xc4/0xe0 [ 60.690797] kasan_slab_alloc+0x12/0x20 [ 60.694747] kmem_cache_alloc+0x12e/0x710 [ 60.698872] vmx_create_vcpu+0xcf/0x2830 [ 60.702925] kvm_arch_vcpu_create+0xe5/0x220 [ 60.707314] kvm_vm_ioctl+0x488/0x1d80 [ 60.711175] do_vfs_ioctl+0x1de/0x1720 [ 60.715038] ksys_ioctl+0xa9/0xd0 [ 60.718472] __x64_sys_ioctl+0x73/0xb0 [ 60.722335] do_syscall_64+0x1b9/0x820 [ 60.726225] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 60.731446] [ 60.733051] Freed by task 4452: [ 60.736306] save_stack+0x43/0xd0 [ 60.739734] __kasan_slab_free+0x11a/0x170 [ 60.743945] kasan_slab_free+0xe/0x10 [ 60.747720] kmem_cache_free+0x86/0x280 [ 60.751669] vmx_free_vcpu+0x26b/0x300 [ 60.755529] kvm_arch_destroy_vm+0x365/0x7c0 [ 60.759911] kvm_put_kvm+0x73f/0x1060 [ 60.763751] kvm_vm_release+0x42/0x50 [ 60.767539] __fput+0x36e/0x8c0 [ 60.770793] ____fput+0x15/0x20 [ 60.774060] task_work_run+0x1e8/0x2a0 [ 60.777926] do_exit+0x1ae4/0x26e0 [ 60.781439] do_group_exit+0x177/0x440 [ 60.785317] __x64_sys_exit_group+0x3e/0x50 [ 60.789622] do_syscall_64+0x1b9/0x820 [ 60.793489] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 60.798649] [ 60.800254] The buggy address belongs to the object at ffff8801b7388040 [ 60.800254] which belongs to the cache kvm_vcpu of size 23872 [ 60.812805] The buggy address is located 24 bytes inside of [ 60.812805] 23872-byte region [ffff8801b7388040, ffff8801b738dd80) [ 60.824741] The buggy address belongs to the page: [ 60.829645] page:ffffea0006dce200 count:1 mapcount:0 mapping:ffff8801d86531c0 index:0x0 compound_mapcount: 0 [ 60.839585] flags: 0x2fffc0000008100(slab|head) [ 60.844236] raw: 02fffc0000008100 ffff8801d4cbe748 ffff8801d4cbe748 ffff8801d86531c0 [ 60.852092] raw: 0000000000000000 ffff8801b7388040 0000000100000001 0000000000000000 [ 60.859950] page dumped because: kasan: bad access detected [ 60.865731] [ 60.867335] Memory state around the buggy address: [ 60.872252] ffff8801b7387f00: fb fb fb fc fc fc fc fc fc fc fc fc fc fc fc fc [ 60.879598] ffff8801b7387f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 60.886932] >ffff8801b7388000: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 60.894271] ^ [ 60.900477] ffff8801b7388080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.907812] ffff8801b7388100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.915249] ================================================================== [ 60.922598] Kernel panic - not syncing: panic_on_warn set ... [ 60.922598] [ 60.929942] CPU: 0 PID: 4452 Comm: syz-executor691 Tainted: G B 4.18.0+ #205 [ 60.938493] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.947913] Call Trace: [ 60.950488] dump_stack+0x1c9/0x2b4 [ 60.954112] ? dump_stack_print_info.cold.2+0x52/0x52 [ 60.959278] ? lock_downgrade+0x8f0/0x8f0 [ 60.963403] ? __schedule+0xf54/0x1df0 [ 60.967265] panic+0x238/0x4e7 [ 60.970431] ? add_taint.cold.5+0x16/0x16 [ 60.974564] ? print_shadow_for_address+0xba/0x116 [ 60.979478] ? trace_hardirqs_off+0xaf/0x2b0 [ 60.983861] ? trace_hardirqs_off+0x77/0x2b0 [ 60.988244] ? __schedule+0xf54/0x1df0 [ 60.992109] kasan_end_report+0x47/0x4f [ 60.996059] kasan_report.cold.7+0x76/0x30d [ 61.000358] __asan_report_load8_noabort+0x14/0x20 [ 61.005262] __schedule+0xf54/0x1df0 [ 61.008953] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 61.014050] ? __sched_text_start+0x8/0x8 [ 61.018193] ? __call_srcu+0x7e7/0x1040 [ 61.022162] ? check_same_owner+0x340/0x340 [ 61.026456] ? mark_held_locks+0x160/0x160 [ 61.030670] ? find_held_lock+0x36/0x1c0 [ 61.034706] preempt_schedule_common+0x22/0x60 [ 61.039261] _cond_resched+0x1d/0x30 [ 61.042948] wait_for_completion+0xa5/0x8d0 [ 61.047246] ? wait_for_completion_interruptible+0x950/0x950 [ 61.053016] ? __lockdep_init_map+0x105/0x590 [ 61.057488] ? __init_waitqueue_head+0x9e/0x150 [ 61.062145] ? init_wait_entry+0x1c0/0x1c0 [ 61.066356] __synchronize_srcu+0x189/0x240 [ 61.070666] ? call_srcu+0x10/0x10 [ 61.074184] ? rcu_unexpedite_gp+0x20/0x20 [ 61.078431] synchronize_srcu+0x335/0x56f [ 61.082554] ? lock_downgrade+0x8f0/0x8f0 [ 61.086675] ? synchronize_srcu_expedited+0x20/0x20 [ 61.091665] ? kasan_check_read+0x11/0x20 [ 61.095804] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 61.100366] ? kasan_check_write+0x14/0x20 [ 61.104579] ? do_raw_spin_lock+0xc1/0x200 [ 61.108796] kvm_page_track_unregister_notifier+0x17d/0x250 [ 61.114491] ? kvm_slot_page_track_remove_page+0x70/0x70 [ 61.119916] ? kvfree+0x61/0x70 [ 61.123174] ? rcu_read_lock_sched_held+0x108/0x120 [ 61.128168] kvm_mmu_uninit_vm+0x1c/0x20 [ 61.132213] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 61.136598] ? kvm_arch_sync_events+0x30/0x30 [ 61.141071] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 61.146582] ? mmu_notifier_unregister+0x474/0x600 [ 61.151488] ? trace_hardirqs_on+0x2c0/0x2c0 [ 61.155881] ? kfree+0x111/0x210 [ 61.159222] ? __mmu_notifier_register+0x30/0x30 [ 61.163955] ? __free_pages+0x10a/0x190 [ 61.167903] ? free_unref_page+0x930/0x930 [ 61.172116] kvm_put_kvm+0x73f/0x1060 [ 61.175896] ? kvm_write_guest_cached+0x40/0x40 [ 61.180667] ? _raw_spin_unlock_irq+0x27/0x70 [ 61.185139] ? _raw_spin_unlock_irq+0x27/0x70 [ 61.189608] ? lockdep_hardirqs_on+0x421/0x5c0 [ 61.194171] ? kasan_check_write+0x14/0x20 [ 61.198383] ? do_raw_spin_lock+0xc1/0x200 [ 61.202594] ? kvm_irqfd_release+0xdd/0x120 [ 61.206901] ? kvm_put_kvm+0x1060/0x1060 [ 61.210951] kvm_vm_release+0x42/0x50 [ 61.214743] __fput+0x36e/0x8c0 [ 61.218032] ? __alloc_file+0x400/0x400 [ 61.221981] ? check_same_owner+0x340/0x340 [ 61.226276] ? kasan_check_write+0x14/0x20 [ 61.230502] ? do_raw_spin_lock+0xc1/0x200 [ 61.234711] ____fput+0x15/0x20 [ 61.237966] task_work_run+0x1e8/0x2a0 [ 61.241827] ? task_work_cancel+0x240/0x240 [ 61.246123] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 61.251634] ? switch_task_namespaces+0xa2/0xd0 [ 61.256275] do_exit+0x1ae4/0x26e0 [ 61.259798] ? mm_update_next_owner+0x9a0/0x9a0 [ 61.264478] ? kvm_vcpu_ioctl+0x2b5/0x1280 [ 61.268711] ? rcu_read_lock_sched_held+0x108/0x120 [ 61.273701] ? kfree+0x1d7/0x210 [ 61.277042] ? kvm_vcpu_ioctl+0x2ba/0x1280 [ 61.281253] ? kvm_uevent_notify_change.part.32+0x440/0x440 [ 61.286936] ? is_bpf_text_address+0xd7/0x170 [ 61.291403] ? kernel_text_address+0x79/0xf0 [ 61.295784] ? pud_val+0x88/0x100 [ 61.299216] ? pmd_val+0x100/0x100 [ 61.302747] ? unwind_get_return_address+0x61/0xa0 [ 61.307657] ? __save_stack_trace+0x8d/0xf0 [ 61.311956] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 61.317469] ? __handle_mm_fault+0x945/0x4350 [ 61.321939] ? vmf_insert_mixed_mkwrite+0xa0/0xa0 [ 61.326755] ? graph_lock+0x170/0x170 [ 61.330533] ? find_held_lock+0x36/0x1c0 [ 61.334570] ? __do_page_fault+0x620/0xe50 [ 61.338785] ? kvm_uevent_notify_change.part.32+0x440/0x440 [ 61.344479] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 61.349993] ? do_vfs_ioctl+0x201/0x1720 [ 61.354036] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 61.359564] ? ioctl_preallocate+0x300/0x300 [ 61.363954] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 61.369473] ? __fget_light+0x2f7/0x440 [ 61.373421] ? __handle_mm_fault+0x4350/0x4350 [ 61.377978] ? fget_raw+0x20/0x20 [ 61.381406] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 61.386933] ? __do_page_fault+0x449/0xe50 [ 61.391144] ? putname+0xf7/0x130 [ 61.394575] do_group_exit+0x177/0x440 [ 61.398439] ? trace_hardirqs_on+0xbd/0x2c0 [ 61.402736] ? __ia32_sys_exit+0x50/0x50 [ 61.406769] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 61.411856] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 61.417383] ? ksys_ioctl+0x81/0xd0 [ 61.421001] __x64_sys_exit_group+0x3e/0x50 [ 61.425299] do_syscall_64+0x1b9/0x820 [ 61.429242] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 61.434588] ? syscall_return_slowpath+0x5e0/0x5e0 [ 61.439495] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 61.444317] ? trace_hardirqs_on_caller+0x2b0/0x2b0 [ 61.449312] ? prepare_exit_to_usermode+0x291/0x3b0 [ 61.454310] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 61.459132] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 61.464296] RIP: 0033:0x43ecf8 [ 61.467475] Code: Bad RIP value. [ 61.470815] RSP: 002b:00007ffdd8a1b5a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 61.478520] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ecf8 [ 61.485780] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 61.493027] RBP: 00000000004be5a8 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 61.500271] R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000000001 [ 61.507517] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 61.514840] [ 61.514846] ====================================================== [ 61.514851] WARNING: possible circular locking dependency detected [ 61.514855] 4.18.0+ #205 Not tainted [ 61.514860] ------------------------------------------------------ [ 61.514865] syz-executor691/4452 is trying to acquire lock: [ 61.514868] 000000007894e707 ((console_sem).lock){-...}, at: down_trylock+0x13/0x70 [ 61.514883] [ 61.514886] but task is already holding lock: [ 61.514890] 00000000625422d5 (report_lock){....}, at: kasan_report+0x8e/0x110 [ 61.514904] [ 61.514923] which lock already depends on the new lock. [ 61.514925] [ 61.514928] [ 61.514932] the existing dependency chain (in reverse order) is: [ 61.514934] [ 61.514937] -> #3 (report_lock){....}: [ 61.514950] _raw_spin_lock_irqsave+0x96/0xc0 [ 61.514954] kasan_report+0x8e/0x110 [ 61.514958] __asan_report_load8_noabort+0x14/0x20 [ 61.514978] __schedule+0xf54/0x1df0 [ 61.514982] preempt_schedule_common+0x22/0x60 [ 61.514986] _cond_resched+0x1d/0x30 [ 61.514990] wait_for_completion+0xa5/0x8d0 [ 61.514994] __synchronize_srcu+0x189/0x240 [ 61.514998] synchronize_srcu+0x335/0x56f [ 61.515003] kvm_page_track_unregister_notifier+0x17d/0x250 [ 61.515007] kvm_mmu_uninit_vm+0x1c/0x20 [ 61.515011] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 61.515014] kvm_put_kvm+0x73f/0x1060 [ 61.515018] kvm_vm_release+0x42/0x50 [ 61.515022] __fput+0x36e/0x8c0 [ 61.515025] ____fput+0x15/0x20 [ 61.515029] task_work_run+0x1e8/0x2a0 [ 61.515033] do_exit+0x1ae4/0x26e0 [ 61.515036] do_group_exit+0x177/0x440 [ 61.515041] __x64_sys_exit_group+0x3e/0x50 [ 61.515044] do_syscall_64+0x1b9/0x820 [ 61.515049] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 61.515051] [ 61.515053] -> #2 (&rq->lock){-.-.}: [ 61.515067] _raw_spin_lock+0x2a/0x40 [ 61.515086] task_fork_fair+0x93/0x680 [ 61.515090] sched_fork+0x44b/0xbd0 [ 61.515093] copy_process+0x235e/0x7ad0 [ 61.515097] _do_fork+0x1ca/0x1170 [ 61.515100] kernel_thread+0x34/0x40 [ 61.515104] rest_init+0x22/0xe4 [ 61.515107] start_kernel+0x913/0x94e [ 61.515112] x86_64_start_reservations+0x29/0x2b [ 61.515115] x86_64_start_kernel+0x76/0x79 [ 61.515119] secondary_startup_64+0xa4/0xb0 [ 61.515121] [ 61.515124] -> #1 (&p->pi_lock){-.-.}: [ 61.515137] _raw_spin_lock_irqsave+0x96/0xc0 [ 61.515141] try_to_wake_up+0xd2/0x1250 [ 61.515145] wake_up_process+0x10/0x20 [ 61.515148] __up.isra.1+0x1c0/0x2a0 [ 61.515152] up+0x13c/0x1c0 [ 61.515155] __up_console_sem+0xbe/0x1b0 [ 61.515159] console_unlock+0x506/0x10d0 [ 61.515178] vprintk_emit+0x33a/0x910 [ 61.515182] vprintk_default+0x28/0x30 [ 61.515185] vprintk_func+0x7a/0x117 [ 61.515189] printk+0xa7/0xcf [ 61.515192] load_umh+0x51/0xbd [ 61.515196] do_one_initcall+0x127/0x838 [ 61.515200] kernel_init_freeable+0x4bb/0x5ae [ 61.515204] kernel_init+0x11/0x1b3 [ 61.515208] ret_from_fork+0x3a/0x50 [ 61.515210] [ 61.515212] -> #0 ((console_sem).lock){-...}: [ 61.515241] lock_acquire+0x1e4/0x4f0 [ 61.515245] _raw_spin_lock_irqsave+0x96/0xc0 [ 61.515271] down_trylock+0x13/0x70 [ 61.515276] __down_trylock_console_sem+0xae/0x200 [ 61.515296] console_trylock+0x15/0xa0 [ 61.515299] vprintk_emit+0x31f/0x910 [ 61.515303] vprintk_default+0x28/0x30 [ 61.515307] vprintk_func+0x7a/0x117 [ 61.515310] printk+0xa7/0xcf [ 61.515314] kasan_report+0x9e/0x110 [ 61.515318] __asan_report_load8_noabort+0x14/0x20 [ 61.515322] __schedule+0xf54/0x1df0 [ 61.515326] preempt_schedule_common+0x22/0x60 [ 61.515330] _cond_resched+0x1d/0x30 [ 61.515334] wait_for_completion+0xa5/0x8d0 [ 61.515338] __synchronize_srcu+0x189/0x240 [ 61.515341] synchronize_srcu+0x335/0x56f [ 61.515346] kvm_page_track_unregister_notifier+0x17d/0x250 [ 61.515350] kvm_mmu_uninit_vm+0x1c/0x20 [ 61.515354] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 61.515358] kvm_put_kvm+0x73f/0x1060 [ 61.515361] kvm_vm_release+0x42/0x50 [ 61.515365] __fput+0x36e/0x8c0 [ 61.515368] ____fput+0x15/0x20 [ 61.515372] task_work_run+0x1e8/0x2a0 [ 61.515376] do_exit+0x1ae4/0x26e0 [ 61.515379] do_group_exit+0x177/0x440 [ 61.515383] __x64_sys_exit_group+0x3e/0x50 [ 61.515387] do_syscall_64+0x1b9/0x820 [ 61.515392] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 61.515394] [ 61.515398] other info that might help us debug this: [ 61.515400] [ 61.515403] Chain exists of: [ 61.515405] (console_sem).lock --> &rq->lock --> report_lock [ 61.515423] [ 61.515427] Possible unsafe locking scenario: [ 61.515429] [ 61.515433] CPU0 CPU1 [ 61.515437] ---- ---- [ 61.515439] lock(report_lock); [ 61.515448] lock(&rq->lock); [ 61.515457] lock(report_lock); [ 61.515489] lock((console_sem).lock); [ 61.515497] [ 61.515500] *** DEADLOCK *** [ 61.515502] [ 61.515507] 2 locks held by syz-executor691/4452: [ 61.515509] #0: 0000000097193396 (&rq->lock){-.-.}, at: __schedule+0x24d/0x1df0 [ 61.515526] #1: 00000000625422d5 (report_lock){....}, at: kasan_report+0x8e/0x110 [ 61.515543] [ 61.515546] stack backtrace: [ 61.515552] CPU: 0 PID: 4452 Comm: syz-executor691 Not tainted 4.18.0+ #205 [ 61.515559] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 61.515562] Call Trace: [ 61.515566] dump_stack+0x1c9/0x2b4 [ 61.515570] ? dump_stack_print_info.cold.2+0x52/0x52 [ 61.515574] ? vprintk_func+0x100/0x117 [ 61.515579] print_circular_bug.isra.34.cold.55+0x1bd/0x27d [ 61.515583] ? save_trace+0xe0/0x290 [ 61.515587] __lock_acquire+0x3449/0x5020 [ 61.515591] ? mark_held_locks+0x160/0x160 [ 61.515595] ? mark_held_locks+0x160/0x160 [ 61.515599] ? rcu_cleanup_dead_rnp+0x200/0x200 [ 61.515603] ? is_bpf_text_address+0xd7/0x170 [ 61.515607] ? kernel_text_address+0x79/0xf0 [ 61.515611] ? __kernel_text_address+0xd/0x40 [ 61.515615] ? __save_stack_trace+0x8d/0xf0 [ 61.515620] ? add_lock_to_list.isra.27+0x1ec/0x4b0 [ 61.515624] ? save_trace+0x290/0x290 [ 61.515628] ? save_stack_trace+0x1a/0x20 [ 61.515631] ? save_trace+0xe0/0x290 [ 61.515635] ? graph_lock+0x170/0x170 [ 61.515640] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 61.515644] lock_acquire+0x1e4/0x4f0 [ 61.515648] ? down_trylock+0x13/0x70 [ 61.515652] ? lock_release+0x9f0/0x9f0 [ 61.515656] ? trace_hardirqs_off+0xb8/0x2b0 [ 61.515660] ? trace_hardirqs_on+0x2c0/0x2c0 [ 61.515664] ? trace_hardirqs_off+0xb8/0x2b0 [ 61.515668] ? log_store+0x34f/0x4c0 [ 61.515671] ? vprintk_emit+0x31f/0x910 [ 61.515676] _raw_spin_lock_irqsave+0x96/0xc0 [ 61.515680] ? down_trylock+0x13/0x70 [ 61.515683] down_trylock+0x13/0x70 [ 61.515688] __down_trylock_console_sem+0xae/0x200 [ 61.515691] console_trylock+0x15/0xa0 [ 61.515695] vprintk_emit+0x31f/0x910 [ 61.515699] ? wake_up_klogd+0x110/0x110 [ 61.515703] ? run_rebalance_domains+0x4c0/0x4c0 [ 61.515707] ? kasan_check_read+0x11/0x20 [ 61.515711] ? rcu_is_watching+0x8c/0x150 [ 61.515715] ? rcu_pm_notify+0xc0/0xc0 [ 61.515719] ? lock_acquire+0x1e4/0x4f0 [ 61.515723] ? kasan_report+0x8e/0x110 [ 61.515727] ? __schedule+0xf54/0x1df0 [ 61.515730] vprintk_default+0x28/0x30 [ 61.515734] vprintk_func+0x7a/0x117 [ 61.515738] printk+0xa7/0xcf [ 61.515742] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 61.515746] ? kasan_check_write+0x14/0x20 [ 61.515750] ? do_raw_spin_lock+0xc1/0x200 [ 61.515754] ? do_raw_spin_lock+0xc1/0x200 [ 61.515758] kasan_report+0x9e/0x110 [ 61.515762] __asan_report_load8_noabort+0x14/0x20 [ 61.515766] __schedule+0xf54/0x1df0 [ 61.515771] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 61.515775] ? __sched_text_start+0x8/0x8 [ 61.515778] ? __call_srcu+0x7e7/0x1040 [ 61.515782] ? check_same_owner+0x340/0x340 [ 61.515787] ? mark_held_locks+0x160/0x160 [ 61.515790] ? find_held_lock+0x36/0x1c0 [ 61.515795] preempt_schedule_common+0x22/0x60 [ 61.515798] _cond_resched+0x1d/0x30 [ 61.515802] wait_for_completion+0xa5/0x8d0 [ 61.515807] ? wait_for_completion_interruptible+0x950/0x950 [ 61.515811] ? __lockdep_init_map+0x105/0x590 [ 61.515816] ? __init_waitqueue_head+0x9e/0x150 [ 61.515820] ? init_wait_entry+0x1c0/0x1c0 [ 61.515824] __synchronize_srcu+0x189/0x240 [ 61.515827] ? call_srcu+0x10/0x10 [ 61.515831] ? rcu_unexpedite_gp+0x20/0x20 [ 61.515835] synchronize_srcu+0x335/0x56f [ 61.515839] ? lock_downgrade+0x8f0/0x8f0 [ 61.515844] ? synchronize_srcu_expedited+0x20/0x20 [ 61.515848] ? kasan_check_read+0x11/0x20 [ 61.515852] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 61.515856] ? kasan_check_write+0x14/0x20 [ 61.515860] ? do_raw_spin_lock+0xc1/0x200 [ 61.515865] kvm_page_track_unregister_notifier+0x17d/0x250 [ 61.515870] ? kvm_slot_page_track_remove_page+0x70/0x70 [ 61.515873] ? kvfree+0x61/0x70 [ 61.515878] ? rcu_read_lock_sched_held+0x108/0x120 [ 61.515882] kvm_mmu_uninit_vm+0x1c/0x20 [ 61.515886] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 61.515890] ? kvm_arch_sync_events+0x30/0x30 [ 61.515895] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 61.515900] ? mmu_notifier_unregister+0x474/0x600 [ 61.515904] ? trace_hardirqs_on+0x2c0/0x2c0 [ 61.515907] ? kfree+0x111/0x210 [ 61.515912] ? __mmu_notifier_register+0x30/0x30 [ 61.515916] ? __free_pages+0x10a/0x190 [ 61.515920] ? free_unref_page+0x930/0x930 [ 61.515923] kvm_put_kvm+0x73f/0x1060 [ 61.515928] ? kvm_write_guest_cached+0x40/0x40 [ 61.515932] ? _raw_spin_unlock_irq+0x27/0x70 [ 61.515936] ? _raw_spin_unlock_irq+0x27/0x70 [ 61.515940] ? lockdep_hardirqs_on+0x421/0x5c0 [ 61.515944] ? kasan_check_write+0x14/0x20 [ 61.515948] ? do_raw_spin_lock+0xc1/0x200 [ 61.515952] ? kvm_irqfd_release+0xdd/0x120 [ 61.515956] ? kvm_put_kvm+0x1060/0x1060 [ 61.515960] kvm_vm_release+0x42/0x50 [ 61.515963] __fput+0x36e/0x8c0 [ 61.515967] ? __alloc_file+0x400/0x400 [ 61.515971] ? check_same_owner+0x340/0x340 [ 61.515975] ? kasan_check_write+0x14/0x20 [ 61.515979] ? do_raw_spin_lock+0xc1/0x200 [ 61.515983] ____fput+0x15/0x20 [ 61.515987] task_work_run+0x1e8/0x2a0 [ 61.515991] ? task_work_cancel+0x240/0x240 [ 61.515995] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 61.516000] ? switch_task_namespaces+0xa2/0xd0 [ 61.516003] do_exit+0x1ae4/0x26e0 [ 61.516008] ? mm_update_next_owner+0x9a0/0x9a0 [ 61.516012] ? kvm_vcpu_ioctl+0x2b5/0x1280 [ 61.516016] ? rcu_read_lock_sched_held+0x108/0x120 [ 61.516020] ? kfree+0x1d7/0x210 [ 61.516024] ? kvm_vcpu_ioctl+0x2ba/0x1280 [ 61.516028] ? kvm_uevent_notify_change.part.32+0x440/0x440 [ 61.516033] ? is_bpf_text_address+0xd7/0x170 [ 61.516037] ? kernel_text_address+0x79/0xf0 [ 61.516039] ? pud_va [ 61.516047] Lost 45 message(s)! [ 62.603448] Shutting down cpus with NMI [ 63.662512] Dumping ftrace buffer: [ 63.666035] (ftrace buffer empty) [ 63.669725] Kernel Offset: disabled [ 63.673332] Rebooting in 86400 seconds..