[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 24.322568] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 29.137341] random: sshd: uninitialized urandom read (32 bytes read) [ 29.593190] random: sshd: uninitialized urandom read (32 bytes read) [ 30.165980] random: sshd: uninitialized urandom read (32 bytes read) [ 32.647806] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.52' (ECDSA) to the list of known hosts. [ 38.210652] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 38.307376] 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. [ 38.330599] ================================================================== [ 38.339381] BUG: KASAN: use-after-free in __schedule+0xf54/0x1df0 [ 38.345597] Read of size 8 at addr ffff8801ac508058 by task syz-executor846/4467 [ 38.353175] [ 38.354796] CPU: 0 PID: 4467 Comm: syz-executor846 Not tainted 4.18.0+ #205 [ 38.361871] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 38.371208] Call Trace: [ 38.373789] dump_stack+0x1c9/0x2b4 [ 38.377410] ? dump_stack_print_info.cold.2+0x52/0x52 [ 38.382582] ? printk+0xa7/0xcf [ 38.385922] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 38.390672] ? __schedule+0xf54/0x1df0 [ 38.394551] print_address_description+0x6c/0x20b [ 38.399374] ? __schedule+0xf54/0x1df0 [ 38.403248] kasan_report.cold.7+0x242/0x30d [ 38.407644] __asan_report_load8_noabort+0x14/0x20 [ 38.412563] __schedule+0xf54/0x1df0 [ 38.416275] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 38.421361] ? __sched_text_start+0x8/0x8 [ 38.425497] ? __call_srcu+0x7e7/0x1040 [ 38.429463] ? check_same_owner+0x340/0x340 [ 38.433784] ? mark_held_locks+0x160/0x160 [ 38.438104] ? find_held_lock+0x36/0x1c0 [ 38.442162] preempt_schedule_common+0x22/0x60 [ 38.446798] _cond_resched+0x1d/0x30 [ 38.450505] wait_for_completion+0xa5/0x8d0 [ 38.454813] ? wait_for_completion_interruptible+0x950/0x950 [ 38.460706] ? __lockdep_init_map+0x105/0x590 [ 38.465195] ? __init_waitqueue_head+0x9e/0x150 [ 38.469855] ? init_wait_entry+0x1c0/0x1c0 [ 38.474082] __synchronize_srcu+0x189/0x240 [ 38.478396] ? call_srcu+0x10/0x10 [ 38.481927] ? rcu_unexpedite_gp+0x20/0x20 [ 38.486149] synchronize_srcu+0x335/0x56f [ 38.490284] ? lock_downgrade+0x8f0/0x8f0 [ 38.494420] ? synchronize_srcu_expedited+0x20/0x20 [ 38.499423] ? kasan_check_read+0x11/0x20 [ 38.503554] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 38.508119] ? kasan_check_write+0x14/0x20 [ 38.512349] ? do_raw_spin_lock+0xc1/0x200 [ 38.516580] kvm_page_track_unregister_notifier+0x17d/0x250 [ 38.522272] ? kvm_slot_page_track_remove_page+0x70/0x70 [ 38.527707] ? kvfree+0x61/0x70 [ 38.530975] ? rcu_read_lock_sched_held+0x108/0x120 [ 38.535975] kvm_mmu_uninit_vm+0x1c/0x20 [ 38.540019] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 38.544409] ? kvm_arch_sync_events+0x30/0x30 [ 38.548888] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 38.554408] ? mmu_notifier_unregister+0x474/0x600 [ 38.559317] ? trace_hardirqs_on+0x2c0/0x2c0 [ 38.563717] ? kfree+0x111/0x210 [ 38.567070] ? __mmu_notifier_register+0x30/0x30 [ 38.571813] ? __free_pages+0x10a/0x190 [ 38.575769] ? free_unref_page+0x930/0x930 [ 38.579995] kvm_put_kvm+0x73f/0x1060 [ 38.583892] ? kvm_write_guest_cached+0x40/0x40 [ 38.588548] ? _raw_spin_unlock_irq+0x27/0x70 [ 38.593027] ? _raw_spin_unlock_irq+0x27/0x70 [ 38.597508] ? lockdep_hardirqs_on+0x421/0x5c0 [ 38.602098] ? kasan_check_write+0x14/0x20 [ 38.606323] ? do_raw_spin_lock+0xc1/0x200 [ 38.610540] ? kvm_irqfd_release+0xdd/0x120 [ 38.614863] ? kvm_put_kvm+0x1060/0x1060 [ 38.618923] kvm_vm_release+0x42/0x50 [ 38.622710] __fput+0x36e/0x8c0 [ 38.625974] ? __alloc_file+0x400/0x400 [ 38.629932] ? check_same_owner+0x340/0x340 [ 38.634238] ? kasan_check_write+0x14/0x20 [ 38.638454] ? do_raw_spin_lock+0xc1/0x200 [ 38.642671] ____fput+0x15/0x20 [ 38.645942] task_work_run+0x1e8/0x2a0 [ 38.649818] ? task_work_cancel+0x240/0x240 [ 38.654132] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 38.659899] ? switch_task_namespaces+0xa2/0xd0 [ 38.664551] do_exit+0x1ae4/0x26e0 [ 38.668073] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 38.672635] ? __rwlock_init+0x131/0x140 [ 38.676684] ? mm_update_next_owner+0x9a0/0x9a0 [ 38.681349] ? _raw_spin_unlock+0x22/0x30 [ 38.685486] ? do_huge_pmd_anonymous_page+0x450/0x1bd0 [ 38.690752] ? __thp_get_unmapped_area+0x180/0x180 [ 38.695668] ? kvm_uevent_notify_change.part.32+0x440/0x440 [ 38.701370] ? is_bpf_text_address+0xd7/0x170 [ 38.705848] ? kernel_text_address+0x79/0xf0 [ 38.710236] ? pud_val+0x88/0x100 [ 38.713760] ? pmd_val+0x100/0x100 [ 38.717293] ? unwind_get_return_address+0x61/0xa0 [ 38.722210] ? __save_stack_trace+0x8d/0xf0 [ 38.726520] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 38.732459] ? __handle_mm_fault+0x945/0x4350 [ 38.736941] ? vmf_insert_mixed_mkwrite+0xa0/0xa0 [ 38.741826] ? graph_lock+0x170/0x170 [ 38.745620] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 38.750627] ? __fget_light+0x2f7/0x440 [ 38.754593] ? fget_raw+0x20/0x20 [ 38.758035] ? find_held_lock+0x36/0x1c0 [ 38.762088] ? __do_page_fault+0x620/0xe50 [ 38.766329] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 38.771859] ? sockfd_lookup_light+0xc5/0x160 [ 38.776339] ? __sys_bind+0x1d1/0x440 [ 38.780126] ? __ia32_sys_socketpair+0xf0/0xf0 [ 38.784704] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 38.790230] ? __do_page_fault+0x449/0xe50 [ 38.794457] ? putname+0xf7/0x130 [ 38.797899] do_group_exit+0x177/0x440 [ 38.801776] ? trace_hardirqs_on+0xbd/0x2c0 [ 38.806088] ? __ia32_sys_exit+0x50/0x50 [ 38.810143] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 38.815231] __x64_sys_exit_group+0x3e/0x50 [ 38.819538] do_syscall_64+0x1b9/0x820 [ 38.823416] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 38.828771] ? syscall_return_slowpath+0x5e0/0x5e0 [ 38.833684] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 38.838521] ? trace_hardirqs_on_caller+0x2b0/0x2b0 [ 38.843535] ? prepare_exit_to_usermode+0x291/0x3b0 [ 38.848535] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 38.853362] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 38.858533] RIP: 0033:0x43ef88 [ 38.861715] Code: Bad RIP value. [ 38.865114] RSP: 002b:00007ffc470be138 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 38.872858] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ef88 [ 38.880115] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 38.887367] RBP: 00000000004be848 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 38.894622] R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000000001 [ 38.901878] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 38.909139] [ 38.910864] Allocated by task 4467: [ 38.914489] save_stack+0x43/0xd0 [ 38.917925] kasan_kmalloc+0xc4/0xe0 [ 38.921625] kasan_slab_alloc+0x12/0x20 [ 38.925581] kmem_cache_alloc+0x12e/0x710 [ 38.929725] vmx_create_vcpu+0xcf/0x2830 [ 38.933780] kvm_arch_vcpu_create+0xe5/0x220 [ 38.938172] kvm_vm_ioctl+0x488/0x1d80 [ 38.942056] do_vfs_ioctl+0x1de/0x1720 [ 38.945979] ksys_ioctl+0xa9/0xd0 [ 38.949423] __x64_sys_ioctl+0x73/0xb0 [ 38.953300] do_syscall_64+0x1b9/0x820 [ 38.957174] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 38.962336] [ 38.963940] Freed by task 4467: [ 38.967199] save_stack+0x43/0xd0 [ 38.970629] __kasan_slab_free+0x11a/0x170 [ 38.974872] kasan_slab_free+0xe/0x10 [ 38.978653] kmem_cache_free+0x86/0x280 [ 38.982608] vmx_free_vcpu+0x26b/0x300 [ 38.986481] kvm_arch_destroy_vm+0x365/0x7c0 [ 38.990879] kvm_put_kvm+0x73f/0x1060 [ 38.994663] kvm_vm_release+0x42/0x50 [ 38.998442] __fput+0x36e/0x8c0 [ 39.001710] ____fput+0x15/0x20 [ 39.004975] task_work_run+0x1e8/0x2a0 [ 39.008846] do_exit+0x1ae4/0x26e0 [ 39.012366] do_group_exit+0x177/0x440 [ 39.016241] __x64_sys_exit_group+0x3e/0x50 [ 39.020551] do_syscall_64+0x1b9/0x820 [ 39.024424] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 39.029585] [ 39.031193] The buggy address belongs to the object at ffff8801ac508040 [ 39.031193] which belongs to the cache kvm_vcpu of size 23872 [ 39.043743] The buggy address is located 24 bytes inside of [ 39.043743] 23872-byte region [ffff8801ac508040, ffff8801ac50dd80) [ 39.055783] The buggy address belongs to the page: [ 39.060710] page:ffffea0006b14200 count:1 mapcount:0 mapping:ffff8801d9ff0540 index:0x0 compound_mapcount: 0 [ 39.070666] flags: 0x2fffc0000008100(slab|head) [ 39.075331] raw: 02fffc0000008100 ffff8801d7310048 ffff8801d7310048 ffff8801d9ff0540 [ 39.083196] raw: 0000000000000000 ffff8801ac508040 0000000100000001 0000000000000000 [ 39.091121] page dumped because: kasan: bad access detected [ 39.096820] [ 39.098424] Memory state around the buggy address: [ 39.103337] ffff8801ac507f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 39.110681] ffff8801ac507f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 39.118118] >ffff8801ac508000: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 39.125465] ^ [ 39.131683] ffff8801ac508080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 39.139037] ffff8801ac508100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 39.146373] ================================================================== [ 39.153719] Kernel panic - not syncing: panic_on_warn set ... [ 39.153719] [ 39.161076] CPU: 0 PID: 4467 Comm: syz-executor846 Tainted: G B 4.18.0+ #205 [ 39.169551] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 39.178951] Call Trace: [ 39.181540] dump_stack+0x1c9/0x2b4 [ 39.185153] ? dump_stack_print_info.cold.2+0x52/0x52 [ 39.190331] ? lock_downgrade+0x8f0/0x8f0 [ 39.194467] ? __schedule+0xf54/0x1df0 [ 39.198342] panic+0x238/0x4e7 [ 39.201680] ? add_taint.cold.5+0x16/0x16 [ 39.205933] ? print_shadow_for_address+0xba/0x116 [ 39.210847] ? trace_hardirqs_off+0xaf/0x2b0 [ 39.215234] ? trace_hardirqs_off+0x77/0x2b0 [ 39.219636] ? __schedule+0xf54/0x1df0 [ 39.223513] kasan_end_report+0x47/0x4f [ 39.227470] kasan_report.cold.7+0x76/0x30d [ 39.231781] __asan_report_load8_noabort+0x14/0x20 [ 39.236710] __schedule+0xf54/0x1df0 [ 39.240412] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 39.245500] ? __sched_text_start+0x8/0x8 [ 39.249638] ? __call_srcu+0x7e7/0x1040 [ 39.253606] ? check_same_owner+0x340/0x340 [ 39.257909] ? mark_held_locks+0x160/0x160 [ 39.262131] ? find_held_lock+0x36/0x1c0 [ 39.266179] preempt_schedule_common+0x22/0x60 [ 39.270745] _cond_resched+0x1d/0x30 [ 39.274440] wait_for_completion+0xa5/0x8d0 [ 39.278746] ? wait_for_completion_interruptible+0x950/0x950 [ 39.284592] ? __lockdep_init_map+0x105/0x590 [ 39.289080] ? __init_waitqueue_head+0x9e/0x150 [ 39.293778] ? init_wait_entry+0x1c0/0x1c0 [ 39.298005] __synchronize_srcu+0x189/0x240 [ 39.302309] ? call_srcu+0x10/0x10 [ 39.305836] ? rcu_unexpedite_gp+0x20/0x20 [ 39.310060] synchronize_srcu+0x335/0x56f [ 39.314189] ? lock_downgrade+0x8f0/0x8f0 [ 39.318322] ? synchronize_srcu_expedited+0x20/0x20 [ 39.323324] ? kasan_check_read+0x11/0x20 [ 39.327454] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 39.332019] ? kasan_check_write+0x14/0x20 [ 39.336241] ? do_raw_spin_lock+0xc1/0x200 [ 39.340471] kvm_page_track_unregister_notifier+0x17d/0x250 [ 39.346165] ? kvm_slot_page_track_remove_page+0x70/0x70 [ 39.351598] ? kvfree+0x61/0x70 [ 39.354862] ? rcu_read_lock_sched_held+0x108/0x120 [ 39.359861] kvm_mmu_uninit_vm+0x1c/0x20 [ 39.363911] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 39.368310] ? kvm_arch_sync_events+0x30/0x30 [ 39.372797] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 39.378323] ? mmu_notifier_unregister+0x474/0x600 [ 39.383242] ? trace_hardirqs_on+0x2c0/0x2c0 [ 39.387638] ? kfree+0x111/0x210 [ 39.391048] ? __mmu_notifier_register+0x30/0x30 [ 39.395810] ? __free_pages+0x10a/0x190 [ 39.399772] ? free_unref_page+0x930/0x930 [ 39.404002] kvm_put_kvm+0x73f/0x1060 [ 39.407789] ? kvm_write_guest_cached+0x40/0x40 [ 39.412449] ? _raw_spin_unlock_irq+0x27/0x70 [ 39.416931] ? _raw_spin_unlock_irq+0x27/0x70 [ 39.421413] ? lockdep_hardirqs_on+0x421/0x5c0 [ 39.425983] ? kasan_check_write+0x14/0x20 [ 39.430199] ? do_raw_spin_lock+0xc1/0x200 [ 39.434427] ? kvm_irqfd_release+0xdd/0x120 [ 39.438742] ? kvm_put_kvm+0x1060/0x1060 [ 39.442879] kvm_vm_release+0x42/0x50 [ 39.446664] __fput+0x36e/0x8c0 [ 39.449926] ? __alloc_file+0x400/0x400 [ 39.453889] ? check_same_owner+0x340/0x340 [ 39.458245] ? kasan_check_write+0x14/0x20 [ 39.462471] ? do_raw_spin_lock+0xc1/0x200 [ 39.466703] ____fput+0x15/0x20 [ 39.469969] task_work_run+0x1e8/0x2a0 [ 39.473840] ? task_work_cancel+0x240/0x240 [ 39.478147] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 39.483668] ? switch_task_namespaces+0xa2/0xd0 [ 39.488333] do_exit+0x1ae4/0x26e0 [ 39.491862] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 39.496427] ? __rwlock_init+0x131/0x140 [ 39.500473] ? mm_update_next_owner+0x9a0/0x9a0 [ 39.505126] ? _raw_spin_unlock+0x22/0x30 [ 39.509269] ? do_huge_pmd_anonymous_page+0x450/0x1bd0 [ 39.514535] ? __thp_get_unmapped_area+0x180/0x180 [ 39.519455] ? kvm_uevent_notify_change.part.32+0x440/0x440 [ 39.525157] ? is_bpf_text_address+0xd7/0x170 [ 39.529810] ? kernel_text_address+0x79/0xf0 [ 39.534205] ? pud_val+0x88/0x100 [ 39.537646] ? pmd_val+0x100/0x100 [ 39.541171] ? unwind_get_return_address+0x61/0xa0 [ 39.546091] ? __save_stack_trace+0x8d/0xf0 [ 39.550403] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 39.555924] ? __handle_mm_fault+0x945/0x4350 [ 39.560406] ? vmf_insert_mixed_mkwrite+0xa0/0xa0 [ 39.565234] ? graph_lock+0x170/0x170 [ 39.569026] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 39.574033] ? __fget_light+0x2f7/0x440 [ 39.577993] ? fget_raw+0x20/0x20 [ 39.581433] ? find_held_lock+0x36/0x1c0 [ 39.585533] ? __do_page_fault+0x620/0xe50 [ 39.589877] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 39.595500] ? sockfd_lookup_light+0xc5/0x160 [ 39.599988] ? __sys_bind+0x1d1/0x440 [ 39.603778] ? __ia32_sys_socketpair+0xf0/0xf0 [ 39.608394] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 39.613926] ? __do_page_fault+0x449/0xe50 [ 39.618145] ? putname+0xf7/0x130 [ 39.621664] do_group_exit+0x177/0x440 [ 39.625553] ? trace_hardirqs_on+0xbd/0x2c0 [ 39.629995] ? __ia32_sys_exit+0x50/0x50 [ 39.634141] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 39.639230] __x64_sys_exit_group+0x3e/0x50 [ 39.643539] do_syscall_64+0x1b9/0x820 [ 39.647414] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 39.652764] ? syscall_return_slowpath+0x5e0/0x5e0 [ 39.657679] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 39.662516] ? trace_hardirqs_on_caller+0x2b0/0x2b0 [ 39.667655] ? prepare_exit_to_usermode+0x291/0x3b0 [ 39.672663] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 39.677579] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 39.682756] RIP: 0033:0x43ef88 [ 39.685940] Code: Bad RIP value. [ 39.689287] RSP: 002b:00007ffc470be138 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 39.696979] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ef88 [ 39.704234] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 39.711485] RBP: 00000000004be848 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 39.718739] R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000000001 [ 39.725994] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 39.733265] [ 39.733268] ====================================================== [ 39.733271] WARNING: possible circular locking dependency detected [ 39.733273] 4.18.0+ #205 Not tainted [ 39.733276] ------------------------------------------------------ [ 39.733279] syz-executor846/4467 is trying to acquire lock: [ 39.733281] 0000000011fb18a1 ((console_sem).lock){-...}, at: down_trylock+0x13/0x70 [ 39.733290] [ 39.733292] but task is already holding lock: [ 39.733294] 0000000076fe87ff (report_lock){....}, at: kasan_report+0x8e/0x110 [ 39.733302] [ 39.733304] which lock already depends on the new lock. [ 39.733305] [ 39.733307] [ 39.733310] the existing dependency chain (in reverse order) is: [ 39.733311] [ 39.733312] -> #3 (report_lock){....}: [ 39.733320] _raw_spin_lock_irqsave+0x96/0xc0 [ 39.733322] kasan_report+0x8e/0x110 [ 39.733325] __asan_report_load8_noabort+0x14/0x20 [ 39.733327] __schedule+0xf54/0x1df0 [ 39.733330] preempt_schedule_common+0x22/0x60 [ 39.733332] _cond_resched+0x1d/0x30 [ 39.733334] wait_for_completion+0xa5/0x8d0 [ 39.733336] __synchronize_srcu+0x189/0x240 [ 39.733339] synchronize_srcu+0x335/0x56f [ 39.733341] kvm_page_track_unregister_notifier+0x17d/0x250 [ 39.733344] kvm_mmu_uninit_vm+0x1c/0x20 [ 39.733346] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 39.733348] kvm_put_kvm+0x73f/0x1060 [ 39.733350] kvm_vm_release+0x42/0x50 [ 39.733352] __fput+0x36e/0x8c0 [ 39.733354] ____fput+0x15/0x20 [ 39.733357] task_work_run+0x1e8/0x2a0 [ 39.733359] do_exit+0x1ae4/0x26e0 [ 39.733361] do_group_exit+0x177/0x440 [ 39.733363] __x64_sys_exit_group+0x3e/0x50 [ 39.733366] do_syscall_64+0x1b9/0x820 [ 39.733368] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 39.733370] [ 39.733371] -> #2 (&rq->lock){-.-.}: [ 39.733379] _raw_spin_lock+0x2a/0x40 [ 39.733381] task_fork_fair+0x93/0x680 [ 39.733383] sched_fork+0x44b/0xbd0 [ 39.733385] copy_process+0x235e/0x7ad0 [ 39.733388] _do_fork+0x1ca/0x1170 [ 39.733390] kernel_thread+0x34/0x40 [ 39.733392] rest_init+0x22/0xe4 [ 39.733394] start_kernel+0x913/0x94e [ 39.733396] x86_64_start_reservations+0x29/0x2b [ 39.733399] x86_64_start_kernel+0x76/0x79 [ 39.733401] secondary_startup_64+0xa4/0xb0 [ 39.733402] [ 39.733403] -> #1 (&p->pi_lock){-.-.}: [ 39.733411] _raw_spin_lock_irqsave+0x96/0xc0 [ 39.733414] try_to_wake_up+0xd2/0x1250 [ 39.733416] wake_up_process+0x10/0x20 [ 39.733418] __up.isra.1+0x1c0/0x2a0 [ 39.733420] up+0x13c/0x1c0 [ 39.733422] __up_console_sem+0xbe/0x1b0 [ 39.733424] console_unlock+0x506/0x10d0 [ 39.733426] vprintk_emit+0x33a/0x910 [ 39.733429] vprintk_default+0x28/0x30 [ 39.733431] vprintk_func+0x7a/0x117 [ 39.733433] printk+0xa7/0xcf [ 39.733435] load_umh+0x51/0xbd [ 39.733437] do_one_initcall+0x127/0x838 [ 39.733439] kernel_init_freeable+0x4bb/0x5ae [ 39.733441] kernel_init+0x11/0x1b3 [ 39.733443] ret_from_fork+0x3a/0x50 [ 39.733445] [ 39.733446] -> #0 ((console_sem).lock){-...}: [ 39.733454] lock_acquire+0x1e4/0x4f0 [ 39.733456] _raw_spin_lock_irqsave+0x96/0xc0 [ 39.733458] down_trylock+0x13/0x70 [ 39.733461] __down_trylock_console_sem+0xae/0x200 [ 39.733463] console_trylock+0x15/0xa0 [ 39.733465] vprintk_emit+0x31f/0x910 [ 39.733467] vprintk_default+0x28/0x30 [ 39.733469] vprintk_func+0x7a/0x117 [ 39.733471] printk+0xa7/0xcf [ 39.733473] kasan_report+0x9e/0x110 [ 39.733476] __asan_report_load8_noabort+0x14/0x20 [ 39.733478] __schedule+0xf54/0x1df0 [ 39.733481] preempt_schedule_common+0x22/0x60 [ 39.733485] _cond_resched+0x1d/0x30 [ 39.733487] wait_for_completion+0xa5/0x8d0 [ 39.733490] __synchronize_srcu+0x189/0x240 [ 39.733492] synchronize_srcu+0x335/0x56f [ 39.733495] kvm_page_track_unregister_notifier+0x17d/0x250 [ 39.733497] kvm_mmu_uninit_vm+0x1c/0x20 [ 39.733499] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 39.733501] kvm_put_kvm+0x73f/0x1060 [ 39.733504] kvm_vm_release+0x42/0x50 [ 39.733506] __fput+0x36e/0x8c0 [ 39.733507] ____fput+0x15/0x20 [ 39.733510] task_work_run+0x1e8/0x2a0 [ 39.733512] do_exit+0x1ae4/0x26e0 [ 39.733514] do_group_exit+0x177/0x440 [ 39.733516] __x64_sys_exit_group+0x3e/0x50 [ 39.733518] do_syscall_64+0x1b9/0x820 [ 39.733521] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 39.733522] [ 39.733525] other info that might help us debug this: [ 39.733526] [ 39.733528] Chain exists of: [ 39.733529] (console_sem).lock --> &rq->lock --> report_lock [ 39.733539] [ 39.733541] Possible unsafe locking scenario: [ 39.733542] [ 39.733544] CPU0 CPU1 [ 39.733547] ---- ---- [ 39.733548] lock(report_lock); [ 39.733553] lock(&rq->lock); [ 39.733558] lock(report_lock); [ 39.733563] lock((console_sem).lock); [ 39.733567] [ 39.733569] *** DEADLOCK *** [ 39.733570] [ 39.733573] 2 locks held by syz-executor846/4467: [ 39.733574] #0: 000000006f908f5e (&rq->lock){-.-.}, at: __schedule+0x24d/0x1df0 [ 39.733583] #1: 0000000076fe87ff (report_lock){....}, at: kasan_report+0x8e/0x110 [ 39.733592] [ 39.733594] stack backtrace: [ 39.733598] CPU: 0 PID: 4467 Comm: syz-executor846 Not tainted 4.18.0+ #205 [ 39.733602] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 39.733603] Call Trace: [ 39.733606] dump_stack+0x1c9/0x2b4 [ 39.733608] ? dump_stack_print_info.cold.2+0x52/0x52 [ 39.733611] ? vprintk_func+0x100/0x117 [ 39.733613] print_circular_bug.isra.34.cold.55+0x1bd/0x27d [ 39.733616] ? save_trace+0xe0/0x290 [ 39.733618] __lock_acquire+0x3449/0x5020 [ 39.733620] ? mark_held_locks+0x160/0x160 [ 39.733622] ? mark_held_locks+0x160/0x160 [ 39.733625] ? rcu_cleanup_dead_rnp+0x200/0x200 [ 39.733627] ? is_bpf_text_address+0xd7/0x170 [ 39.733629] ? kernel_text_address+0x79/0xf0 [ 39.733632] ? __kernel_text_address+0xd/0x40 [ 39.733634] ? __save_stack_trace+0x8d/0xf0 [ 39.733637] ? add_lock_to_list.isra.27+0x1ec/0x4b0 [ 39.733639] ? save_trace+0x290/0x290 [ 39.733641] ? save_stack_trace+0x1a/0x20 [ 39.733643] ? save_trace+0xe0/0x290 [ 39.733645] ? graph_lock+0x170/0x170 [ 39.733648] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 39.733650] lock_acquire+0x1e4/0x4f0 [ 39.733652] ? down_trylock+0x13/0x70 [ 39.733654] ? lock_release+0x9f0/0x9f0 [ 39.733657] ? trace_hardirqs_off+0xb8/0x2b0 [ 39.733659] ? trace_hardirqs_on+0x2c0/0x2c0 [ 39.733661] ? trace_hardirqs_off+0xb8/0x2b0 [ 39.733663] ? log_store+0x34f/0x4c0 [ 39.733665] ? vprintk_emit+0x31f/0x910 [ 39.733668] _raw_spin_lock_irqsave+0x96/0xc0 [ 39.733670] ? down_trylock+0x13/0x70 [ 39.733672] down_trylock+0x13/0x70 [ 39.733674] __down_trylock_console_sem+0xae/0x200 [ 39.733677] console_trylock+0x15/0xa0 [ 39.733679] vprintk_emit+0x31f/0x910 [ 39.733681] ? wake_up_klogd+0x110/0x110 [ 39.733683] ? run_rebalance_domains+0x4c0/0x4c0 [ 39.733686] ? kasan_check_read+0x11/0x20 [ 39.733695] ? rcu_is_watching+0x8c/0x150 [ 39.733697] ? rcu_pm_notify+0xc0/0xc0 [ 39.733699] ? lock_acquire+0x1e4/0x4f0 [ 39.733702] ? kasan_report+0x8e/0x110 [ 39.733704] ? __schedule+0xf54/0x1df0 [ 39.733706] vprintk_default+0x28/0x30 [ 39.733708] vprintk_func+0x7a/0x117 [ 39.733710] printk+0xa7/0xcf [ 39.733713] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 39.733715] ? kasan_check_write+0x14/0x20 [ 39.733717] ? do_raw_spin_lock+0xc1/0x200 [ 39.733719] ? do_raw_spin_lock+0xc1/0x200 [ 39.733722] kasan_report+0x9e/0x110 [ 39.733724] __asan_report_load8_noabort+0x14/0x20 [ 39.733726] __schedule+0xf54/0x1df0 [ 39.733729] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 39.733731] ? __sched_text_start+0x8/0x8 [ 39.733733] ? __call_srcu+0x7e7/0x1040 [ 39.733736] ? check_same_owner+0x340/0x340 [ 39.733738] ? mark_held_locks+0x160/0x160 [ 39.733740] ? find_held_lock+0x36/0x1c0 [ 39.733743] preempt_schedule_common+0x22/0x60 [ 39.733745] _cond_resched+0x1d/0x30 [ 39.733747] wait_for_completion+0xa5/0x8d0 [ 39.733750] ? wait_for_completion_interruptible+0x950/0x950 [ 39.733752] ? __lockdep_init_map+0x105/0x590 [ 39.733755] ? __init_waitqueue_head+0x9e/0x150 [ 39.733757] ? init_wait_entry+0x1c0/0x1c0 [ 39.733760] __synchronize_srcu+0x189/0x240 [ 39.733762] ? call_srcu+0x10/0x10 [ 39.733764] ? rcu_unexpedite_gp+0x20/0x20 [ 39.733766] synchronize_srcu+0x335/0x56f [ 39.733769] ? lock_downgrade+0x8f0/0x8f0 [ 39.733772] ? synchronize_srcu_expedited+0x20/0x20 [ 39.733774] ? kasan_check_read+0x11/0x20 [ 39.733776] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 39.733779] ? kasan_check_write+0x14/0x20 [ 39.733781] ? do_raw_spin_lock+0xc1/0x200 [ 39.733784] kvm_page_track_unregister_notifier+0x17d/0x250 [ 39.733787] ? kvm_slot_page_track_remove_page+0x70/0x70 [ 39.733789] ? kvfree+0x61/0x70 [ 39.733791] ? rcu_read_lock_sched_held+0x108/0x120 [ 39.733794] kvm_mmu_uninit_vm+0x1c/0x20 [ 39.733796] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 39.733799] ? kvm_arch_sync_events+0x30/0x30 [ 39.733801] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 39.733804] ? mmu_notifier_unregister+0x474/0x600 [ 39.733806] ? trace_hardirqs_on+0x2c0/0x2c0 [ 39.733808] ? kfree+0x111/0x210 [ 39.733811] ? __mmu_notifier_register+0x30/0x30 [ 39.733813] ? __free_pages+0x10a/0x190 [ 39.733816] ? free_unref_page+0x930/0x930 [ 39.733818] kvm_put_kvm+0x73f/0x1060 [ 39.733820] ? kvm_write_guest_cached+0x40/0x40 [ 39.733823] ? _raw_spin_unlock_irq+0x27/0x70 [ 39.733825] ? _raw_spin_unlock_irq+0x27/0x70 [ 39.733827] ? lockdep_hardirqs_on+0x421/0x5c0 [ 39.733830] ? kasan_check_write+0x14/0x20 [ 39.733832] ? do_raw_spin_lock+0xc1/0x200 [ 39.733834] ? kvm_irqfd_release+0xdd/0x120 [ 39.733837] ? kvm_put_kvm+0x1060/0x1060 [ 39.733839] kvm_vm_release+0x42/0x50 [ 39.733841] __fput+0x36e/0x8c0 [ 39.733843] ? __alloc_file+0x400/0x400 [ 39.733845] ? check_same_owner+0x340/0x340 [ 39.733848] ? kasan_check_write+0x14/0x20 [ 39.733850] ? do_raw_spin_lock+0xc1/0x200 [ 39.733852] ____fput+0x15/0x20 [ 39.733854] task_work_run+0x1e8/0x2a0 [ 39.733856] ? task_work_cancel+0x240/0x240 [ 39.733859] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 39.733862] ? switch_task_namespaces+0xa2/0xd0 [ 39.733864] do_exit+0x1ae4/0x26e0 [ 39.733866] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 39.733868] ? __rwlock_init+0x131/0x140 [ 39.733871] ? mm_update_next_owner+0x9a0/0x9a0 [ 39.733873] ? _raw_spin_unlock+0x22/0x30 [ 39.733876] ? do_huge_pmd_anonymous_page+0x450/0x1bd0 [ 39.733878] ? __thp_get_unmapped_area+0x180/0x180 [ 39.733881] ? kvm_uevent_notify_change.part.32+0x440/0x440 [ 39.733883] ? is_bpf_text_address+0x [ 39.733888] Lost 43 message(s)! [ 40.819033] Shutting down cpus with NMI [ 41.876393] Dumping ftrace buffer: [ 41.879918] (ftrace buffer empty) [ 41.883604] Kernel Offset: disabled [ 41.887216] Rebooting in 86400 seconds..