[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 19.592988] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 22.320819] random: sshd: uninitialized urandom read (32 bytes read) [ 22.603102] random: sshd: uninitialized urandom read (32 bytes read) [ 23.170693] random: sshd: uninitialized urandom read (32 bytes read) [ 23.351734] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.62' (ECDSA) to the list of known hosts. [ 28.880739] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 28.979720] 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. [ 29.005346] ================================================================== [ 29.015394] BUG: KASAN: use-after-free in __schedule+0xf54/0x1df0 [ 29.021622] Read of size 8 at addr ffff8801c03c8058 by task syz-executor293/4292 [ 29.029145] [ 29.030775] CPU: 1 PID: 4292 Comm: syz-executor293 Not tainted 4.19.0-rc2+ #3 [ 29.038047] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.047403] Call Trace: [ 29.050002] dump_stack+0x1c9/0x2b4 [ 29.053633] ? dump_stack_print_info.cold.2+0x52/0x52 [ 29.058827] ? printk+0xa7/0xcf [ 29.062111] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 29.066888] ? __schedule+0xf54/0x1df0 [ 29.070785] print_address_description+0x6c/0x20b [ 29.075642] ? __schedule+0xf54/0x1df0 [ 29.079540] kasan_report.cold.7+0x242/0x30d [ 29.083952] __asan_report_load8_noabort+0x14/0x20 [ 29.088883] __schedule+0xf54/0x1df0 [ 29.092598] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 29.098665] ? __sched_text_start+0x8/0x8 [ 29.103324] ? __call_srcu+0x7e7/0x1040 [ 29.107307] ? check_same_owner+0x340/0x340 [ 29.111628] ? mark_held_locks+0x160/0x160 [ 29.115859] ? find_held_lock+0x36/0x1c0 [ 29.119926] preempt_schedule_common+0x22/0x60 [ 29.124509] _cond_resched+0x1d/0x30 [ 29.128219] wait_for_completion+0xa5/0x8d0 [ 29.132542] ? wait_for_completion_interruptible+0x950/0x950 [ 29.138343] ? __lockdep_init_map+0x105/0x590 [ 29.142844] ? __init_waitqueue_head+0x9e/0x150 [ 29.147510] ? init_wait_entry+0x1c0/0x1c0 [ 29.151747] __synchronize_srcu+0x189/0x240 [ 29.156063] ? call_srcu+0x10/0x10 [ 29.159607] ? rcu_unexpedite_gp+0x20/0x20 [ 29.163851] synchronize_srcu+0x335/0x56f [ 29.167998] ? lock_downgrade+0x8f0/0x8f0 [ 29.172145] ? synchronize_srcu_expedited+0x20/0x20 [ 29.177165] ? kasan_check_read+0x11/0x20 [ 29.181318] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 29.186077] ? kasan_check_write+0x14/0x20 [ 29.190311] ? do_raw_spin_lock+0xc1/0x200 [ 29.194557] kvm_page_track_unregister_notifier+0x17d/0x250 [ 29.200275] ? kvm_slot_page_track_remove_page+0x70/0x70 [ 29.205730] ? kvfree+0x61/0x70 [ 29.209015] ? rcu_read_lock_sched_held+0x108/0x120 [ 29.214035] kvm_mmu_uninit_vm+0x1c/0x20 [ 29.218093] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 29.222507] ? kvm_arch_sync_events+0x30/0x30 [ 29.227009] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 29.232551] ? mmu_notifier_unregister+0x474/0x600 [ 29.237479] ? trace_hardirqs_on+0x2c0/0x2c0 [ 29.241887] ? kfree+0x111/0x210 [ 29.245255] ? __mmu_notifier_register+0x30/0x30 [ 29.250010] ? __free_pages+0x10a/0x190 [ 29.253982] ? free_unref_page+0x930/0x930 [ 29.258225] kvm_put_kvm+0x73f/0x1060 [ 29.262032] ? kvm_write_guest_cached+0x40/0x40 [ 29.266713] ? _raw_spin_unlock_irq+0x27/0x70 [ 29.271213] ? _raw_spin_unlock_irq+0x27/0x70 [ 29.275706] ? lockdep_hardirqs_on+0x421/0x5c0 [ 29.280291] ? kasan_check_write+0x14/0x20 [ 29.284521] ? do_raw_spin_lock+0xc1/0x200 [ 29.288756] ? kvm_irqfd_release+0xdd/0x120 [ 29.293073] ? kvm_irqfd_release+0xdd/0x120 [ 29.297396] ? kvm_put_kvm+0x1060/0x1060 [ 29.301455] kvm_vm_release+0x42/0x50 [ 29.305251] __fput+0x38a/0xa40 [ 29.308531] ? __alloc_file+0x400/0x400 [ 29.312506] ? check_same_owner+0x340/0x340 [ 29.316826] ? kasan_check_write+0x14/0x20 [ 29.321056] ? do_raw_spin_lock+0xc1/0x200 [ 29.325290] ____fput+0x15/0x20 [ 29.328568] task_work_run+0x1e8/0x2a0 [ 29.332453] ? task_work_cancel+0x240/0x240 [ 29.336778] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 29.342312] ? switch_task_namespaces+0xa2/0xd0 [ 29.346982] do_exit+0x1ae4/0x26e0 [ 29.350527] ? mm_update_next_owner+0x9a0/0x9a0 [ 29.355197] ? find_held_lock+0x36/0x1c0 [ 29.359262] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 29.364362] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 29.369462] ? lockdep_hardirqs_on+0x421/0x5c0 [ 29.374043] ? trace_hardirqs_on+0xbd/0x2c0 [ 29.378359] ? kasan_check_read+0x11/0x20 [ 29.382505] ? rt_mutex_adjust_pi+0x263/0x490 [ 29.387002] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 29.392102] ? kasan_check_write+0x14/0x20 [ 29.396336] ? do_raw_spin_lock+0xc1/0x200 [ 29.400571] ? rt_mutex_adjust_pi+0x263/0x490 [ 29.405065] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 29.410163] ? rt_mutex_timed_lock+0x90/0x90 [ 29.414568] ? trace_hardirqs_on+0xbd/0x2c0 [ 29.418889] ? kasan_check_read+0x11/0x20 [ 29.423036] ? __sched_setscheduler+0xa67/0x20b0 [ 29.427785] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 29.432886] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 29.437466] ? lock_repin_lock+0x430/0x430 [ 29.441716] ? __sched_setscheduler+0xf02/0x20b0 [ 29.446467] ? trace_hardirqs_off+0xb8/0x2c0 [ 29.450874] ? graph_lock+0x170/0x170 [ 29.454681] ? __fget_light+0x2f7/0x440 [ 29.458658] ? find_held_lock+0x36/0x1c0 [ 29.462725] ? fget_raw+0x20/0x20 [ 29.466176] ? find_held_lock+0x36/0x1c0 [ 29.470251] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 29.475786] ? sockfd_lookup_light+0xc5/0x160 [ 29.480281] ? __sys_setsockopt+0x257/0x3b0 [ 29.484602] do_group_exit+0x177/0x440 [ 29.488489] ? trace_hardirqs_on+0xbd/0x2c0 [ 29.492806] ? __ia32_sys_exit+0x50/0x50 [ 29.496860] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 29.501961] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 29.507497] __x64_sys_exit_group+0x3e/0x50 [ 29.511821] do_syscall_64+0x1b9/0x820 [ 29.515708] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 29.521069] ? syscall_return_slowpath+0x5e0/0x5e0 [ 29.525996] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 29.530836] ? trace_hardirqs_on_caller+0x2c0/0x2c0 [ 29.535848] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 29.540864] ? prepare_exit_to_usermode+0x291/0x3b0 [ 29.545889] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 29.550731] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 29.555916] RIP: 0033:0x43ed58 [ 29.559111] Code: Bad RIP value. [ 29.562471] RSP: 002b:00007fff562e3ba8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 29.570179] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ed58 [ 29.577508] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 29.584775] RBP: 00000000004be608 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 29.592040] R10: 0000000020000100 R11: 0000000000000246 R12: 0000000000000001 [ 29.599307] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 29.606574] [ 29.608197] Allocated by task 4292: [ 29.611828] save_stack+0x43/0xd0 [ 29.615278] kasan_kmalloc+0xc4/0xe0 [ 29.618986] kasan_slab_alloc+0x12/0x20 [ 29.622953] kmem_cache_alloc+0x12e/0x710 [ 29.627099] vmx_create_vcpu+0xcf/0x2830 [ 29.631155] kvm_arch_vcpu_create+0xe5/0x220 [ 29.635568] kvm_vm_ioctl+0x488/0x1d80 [ 29.639452] do_vfs_ioctl+0x1de/0x1720 [ 29.643334] ksys_ioctl+0xa9/0xd0 [ 29.646782] __x64_sys_ioctl+0x73/0xb0 [ 29.650664] do_syscall_64+0x1b9/0x820 [ 29.654561] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 29.659736] [ 29.661357] Freed by task 4292: [ 29.664635] save_stack+0x43/0xd0 [ 29.668084] __kasan_slab_free+0x11a/0x170 [ 29.672319] kasan_slab_free+0xe/0x10 [ 29.676116] kmem_cache_free+0x86/0x280 [ 29.680088] vmx_free_vcpu+0x26b/0x300 [ 29.683973] kvm_arch_destroy_vm+0x365/0x7c0 [ 29.688378] kvm_put_kvm+0x73f/0x1060 [ 29.692189] kvm_vm_release+0x42/0x50 [ 29.695988] __fput+0x38a/0xa40 [ 29.699261] ____fput+0x15/0x20 [ 29.702535] task_work_run+0x1e8/0x2a0 [ 29.706419] do_exit+0x1ae4/0x26e0 [ 29.709958] do_group_exit+0x177/0x440 [ 29.713841] __x64_sys_exit_group+0x3e/0x50 [ 29.718162] do_syscall_64+0x1b9/0x820 [ 29.722056] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 29.727230] [ 29.728852] The buggy address belongs to the object at ffff8801c03c8040 [ 29.728852] which belongs to the cache kvm_vcpu of size 23872 [ 29.741430] The buggy address is located 24 bytes inside of [ 29.741430] 23872-byte region [ffff8801c03c8040, ffff8801c03cdd80) [ 29.753388] The buggy address belongs to the page: [ 29.758325] page:ffffea000700f200 count:1 mapcount:0 mapping:ffff8801d6775d80 index:0x0 compound_mapcount: 0 [ 29.768301] flags: 0x2fffc0000008100(slab|head) [ 29.772979] raw: 02fffc0000008100 ffff8801d676a648 ffff8801d676a648 ffff8801d6775d80 [ 29.780868] raw: 0000000000000000 ffff8801c03c8040 0000000100000001 0000000000000000 [ 29.788744] page dumped because: kasan: bad access detected [ 29.794445] [ 29.796065] Memory state around the buggy address: [ 29.800989] ffff8801c03c7f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.808346] ffff8801c03c7f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 29.815715] >ffff8801c03c8000: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 29.823076] ^ [ 29.829306] ffff8801c03c8080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 29.836662] ffff8801c03c8100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 29.844027] ================================================================== [ 29.851386] Kernel panic - not syncing: panic_on_warn set ... [ 29.851386] [ 29.858762] CPU: 1 PID: 4292 Comm: syz-executor293 Tainted: G B 4.19.0-rc2+ #3 [ 29.867415] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 29.876759] Call Trace: [ 29.879356] dump_stack+0x1c9/0x2b4 [ 29.882982] ? dump_stack_print_info.cold.2+0x52/0x52 [ 29.888174] ? lock_downgrade+0x8f0/0x8f0 [ 29.892324] ? __schedule+0xf54/0x1df0 [ 29.896213] panic+0x238/0x4e7 [ 29.899403] ? add_taint.cold.5+0x16/0x16 [ 29.903555] ? print_shadow_for_address+0xba/0x116 [ 29.908481] ? trace_hardirqs_off+0xaf/0x2c0 [ 29.912886] ? trace_hardirqs_off+0x77/0x2c0 [ 29.917292] ? __schedule+0xf54/0x1df0 [ 29.921176] kasan_end_report+0x47/0x4f [ 29.925155] kasan_report.cold.7+0x76/0x30d [ 29.929481] __asan_report_load8_noabort+0x14/0x20 [ 29.934408] __schedule+0xf54/0x1df0 [ 29.938126] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 29.943236] ? __sched_text_start+0x8/0x8 [ 29.947518] ? __call_srcu+0x7e7/0x1040 [ 29.951501] ? check_same_owner+0x340/0x340 [ 29.955819] ? mark_held_locks+0x160/0x160 [ 29.960052] ? find_held_lock+0x36/0x1c0 [ 29.964114] preempt_schedule_common+0x22/0x60 [ 29.968704] _cond_resched+0x1d/0x30 [ 29.972435] wait_for_completion+0xa5/0x8d0 [ 29.976758] ? wait_for_completion_interruptible+0x950/0x950 [ 29.982581] ? __lockdep_init_map+0x105/0x590 [ 29.987099] ? __init_waitqueue_head+0x9e/0x150 [ 29.991780] ? init_wait_entry+0x1c0/0x1c0 [ 29.996014] __synchronize_srcu+0x189/0x240 [ 30.000332] ? call_srcu+0x10/0x10 [ 30.003874] ? rcu_unexpedite_gp+0x20/0x20 [ 30.008130] synchronize_srcu+0x335/0x56f [ 30.012277] ? lock_downgrade+0x8f0/0x8f0 [ 30.016418] ? synchronize_srcu_expedited+0x20/0x20 [ 30.021584] ? kasan_check_read+0x11/0x20 [ 30.025730] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 30.030358] ? kasan_check_write+0x14/0x20 [ 30.034577] ? do_raw_spin_lock+0xc1/0x200 [ 30.038805] kvm_page_track_unregister_notifier+0x17d/0x250 [ 30.044501] ? kvm_slot_page_track_remove_page+0x70/0x70 [ 30.049932] ? kvfree+0x61/0x70 [ 30.053195] ? rcu_read_lock_sched_held+0x108/0x120 [ 30.058196] kvm_mmu_uninit_vm+0x1c/0x20 [ 30.062243] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 30.066633] ? kvm_arch_sync_events+0x30/0x30 [ 30.071110] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 30.076629] ? mmu_notifier_unregister+0x474/0x600 [ 30.081538] ? trace_hardirqs_on+0x2c0/0x2c0 [ 30.086018] ? kfree+0x111/0x210 [ 30.089632] ? __mmu_notifier_register+0x30/0x30 [ 30.094374] ? __free_pages+0x10a/0x190 [ 30.098401] ? free_unref_page+0x930/0x930 [ 30.102629] kvm_put_kvm+0x73f/0x1060 [ 30.106416] ? kvm_write_guest_cached+0x40/0x40 [ 30.111066] ? _raw_spin_unlock_irq+0x27/0x70 [ 30.115539] ? _raw_spin_unlock_irq+0x27/0x70 [ 30.120015] ? lockdep_hardirqs_on+0x421/0x5c0 [ 30.124579] ? kasan_check_write+0x14/0x20 [ 30.128793] ? do_raw_spin_lock+0xc1/0x200 [ 30.133015] ? kvm_irqfd_release+0xdd/0x120 [ 30.137319] ? kvm_irqfd_release+0xdd/0x120 [ 30.141622] ? kvm_put_kvm+0x1060/0x1060 [ 30.145669] kvm_vm_release+0x42/0x50 [ 30.149466] __fput+0x38a/0xa40 [ 30.152724] ? __alloc_file+0x400/0x400 [ 30.156744] ? check_same_owner+0x340/0x340 [ 30.161119] ? kasan_check_write+0x14/0x20 [ 30.165339] ? do_raw_spin_lock+0xc1/0x200 [ 30.169554] ____fput+0x15/0x20 [ 30.172817] task_work_run+0x1e8/0x2a0 [ 30.176689] ? task_work_cancel+0x240/0x240 [ 30.180994] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 30.186517] ? switch_task_namespaces+0xa2/0xd0 [ 30.191177] do_exit+0x1ae4/0x26e0 [ 30.194725] ? mm_update_next_owner+0x9a0/0x9a0 [ 30.199375] ? find_held_lock+0x36/0x1c0 [ 30.203421] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 30.208546] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 30.213641] ? lockdep_hardirqs_on+0x421/0x5c0 [ 30.218206] ? trace_hardirqs_on+0xbd/0x2c0 [ 30.222510] ? kasan_check_read+0x11/0x20 [ 30.226710] ? rt_mutex_adjust_pi+0x263/0x490 [ 30.231192] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 30.236318] ? kasan_check_write+0x14/0x20 [ 30.240539] ? do_raw_spin_lock+0xc1/0x200 [ 30.244753] ? rt_mutex_adjust_pi+0x263/0x490 [ 30.249229] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 30.254310] ? rt_mutex_timed_lock+0x90/0x90 [ 30.258698] ? trace_hardirqs_on+0xbd/0x2c0 [ 30.262996] ? kasan_check_read+0x11/0x20 [ 30.267126] ? __sched_setscheduler+0xa67/0x20b0 [ 30.271973] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 30.277063] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 30.281631] ? lock_repin_lock+0x430/0x430 [ 30.285852] ? __sched_setscheduler+0xf02/0x20b0 [ 30.290585] ? trace_hardirqs_off+0xb8/0x2c0 [ 30.294973] ? graph_lock+0x170/0x170 [ 30.298754] ? __fget_light+0x2f7/0x440 [ 30.302776] ? find_held_lock+0x36/0x1c0 [ 30.306825] ? fget_raw+0x20/0x20 [ 30.310260] ? find_held_lock+0x36/0x1c0 [ 30.314310] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 30.319955] ? sockfd_lookup_light+0xc5/0x160 [ 30.324434] ? __sys_setsockopt+0x257/0x3b0 [ 30.328740] do_group_exit+0x177/0x440 [ 30.332651] ? trace_hardirqs_on+0xbd/0x2c0 [ 30.336976] ? __ia32_sys_exit+0x50/0x50 [ 30.341018] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 30.346100] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 30.351624] __x64_sys_exit_group+0x3e/0x50 [ 30.355938] do_syscall_64+0x1b9/0x820 [ 30.359807] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 30.365149] ? syscall_return_slowpath+0x5e0/0x5e0 [ 30.370060] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 30.374884] ? trace_hardirqs_on_caller+0x2c0/0x2c0 [ 30.379880] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 30.384876] ? prepare_exit_to_usermode+0x291/0x3b0 [ 30.389874] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 30.394719] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 30.399888] RIP: 0033:0x43ed58 [ 30.403066] Code: Bad RIP value. [ 30.406408] RSP: 002b:00007fff562e3ba8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 30.414098] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ed58 [ 30.421350] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 30.428601] RBP: 00000000004be608 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 30.435853] R10: 0000000020000100 R11: 0000000000000246 R12: 0000000000000001 [ 30.443110] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 30.450370] [ 30.450373] ====================================================== [ 30.450376] WARNING: possible circular locking dependency detected [ 30.450378] 4.19.0-rc2+ #3 Not tainted [ 30.450381] ------------------------------------------------------ [ 30.450384] syz-executor293/4292 is trying to acquire lock: [ 30.450386] 00000000cbaac088 ((console_sem).lock){-...}, at: down_trylock+0x13/0x70 [ 30.450394] [ 30.450397] but task is already holding lock: [ 30.450398] 00000000bce65576 (report_lock){....}, at: kasan_report+0x8e/0x110 [ 30.450406] [ 30.450409] which lock already depends on the new lock. [ 30.450410] [ 30.450411] [ 30.450414] the existing dependency chain (in reverse order) is: [ 30.450415] [ 30.450416] -> #3 (report_lock){....}: [ 30.450424] _raw_spin_lock_irqsave+0x96/0xc0 [ 30.450426] kasan_report+0x8e/0x110 [ 30.450429] __asan_report_load8_noabort+0x14/0x20 [ 30.450431] __schedule+0xf54/0x1df0 [ 30.450433] preempt_schedule_common+0x22/0x60 [ 30.450435] _cond_resched+0x1d/0x30 [ 30.450438] wait_for_completion+0xa5/0x8d0 [ 30.450440] __synchronize_srcu+0x189/0x240 [ 30.450442] synchronize_srcu+0x335/0x56f [ 30.450445] kvm_page_track_unregister_notifier+0x17d/0x250 [ 30.450447] kvm_mmu_uninit_vm+0x1c/0x20 [ 30.450450] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 30.450452] kvm_put_kvm+0x73f/0x1060 [ 30.450454] kvm_vm_release+0x42/0x50 [ 30.450456] __fput+0x38a/0xa40 [ 30.450458] ____fput+0x15/0x20 [ 30.450460] task_work_run+0x1e8/0x2a0 [ 30.450463] do_exit+0x1ae4/0x26e0 [ 30.450465] do_group_exit+0x177/0x440 [ 30.450467] __x64_sys_exit_group+0x3e/0x50 [ 30.450469] do_syscall_64+0x1b9/0x820 [ 30.450472] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 30.450473] [ 30.450475] -> #2 (&rq->lock){-.-.}: [ 30.450482] _raw_spin_lock+0x2a/0x40 [ 30.450484] task_fork_fair+0x93/0x680 [ 30.450486] sched_fork+0x44b/0xbd0 [ 30.450489] copy_process+0x235e/0x7af0 [ 30.450491] _do_fork+0x1ca/0x1170 [ 30.450493] kernel_thread+0x34/0x40 [ 30.450495] rest_init+0x22/0xe4 [ 30.450497] start_kernel+0x913/0x94e [ 30.450499] x86_64_start_reservations+0x29/0x2b [ 30.450502] x86_64_start_kernel+0x76/0x79 [ 30.450504] secondary_startup_64+0xa4/0xb0 [ 30.450505] [ 30.450506] -> #1 (&p->pi_lock){-.-.}: [ 30.450514] _raw_spin_lock_irqsave+0x96/0xc0 [ 30.450516] try_to_wake_up+0xd2/0x1250 [ 30.450518] wake_up_process+0x10/0x20 [ 30.450520] __up.isra.1+0x1c0/0x2a0 [ 30.450522] up+0x13c/0x1c0 [ 30.450524] __up_console_sem+0xbe/0x1b0 [ 30.450527] console_unlock+0x506/0x10e0 [ 30.450529] vprintk_emit+0x33a/0x910 [ 30.450531] vprintk_default+0x28/0x30 [ 30.450533] vprintk_func+0x7a/0x117 [ 30.450535] printk+0xa7/0xcf [ 30.450537] load_umh+0x51/0xbd [ 30.450539] do_one_initcall+0x127/0x838 [ 30.450541] kernel_init_freeable+0x4bb/0x5ae [ 30.450543] kernel_init+0x11/0x1b3 [ 30.450546] ret_from_fork+0x3a/0x50 [ 30.450547] [ 30.450548] -> #0 ((console_sem).lock){-...}: [ 30.450556] lock_acquire+0x1e4/0x4f0 [ 30.450558] _raw_spin_lock_irqsave+0x96/0xc0 [ 30.450560] down_trylock+0x13/0x70 [ 30.450563] __down_trylock_console_sem+0xae/0x200 [ 30.450565] console_trylock+0x15/0xa0 [ 30.450567] vprintk_emit+0x31f/0x910 [ 30.450569] vprintk_default+0x28/0x30 [ 30.450571] vprintk_func+0x7a/0x117 [ 30.450573] printk+0xa7/0xcf [ 30.450575] kasan_report+0x9e/0x110 [ 30.450578] __asan_report_load8_noabort+0x14/0x20 [ 30.450580] __schedule+0xf54/0x1df0 [ 30.450582] preempt_schedule_common+0x22/0x60 [ 30.450584] _cond_resched+0x1d/0x30 [ 30.450587] wait_for_completion+0xa5/0x8d0 [ 30.450589] __synchronize_srcu+0x189/0x240 [ 30.450591] synchronize_srcu+0x335/0x56f [ 30.450594] kvm_page_track_unregister_notifier+0x17d/0x250 [ 30.450596] kvm_mmu_uninit_vm+0x1c/0x20 [ 30.450599] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 30.450601] kvm_put_kvm+0x73f/0x1060 [ 30.450603] kvm_vm_release+0x42/0x50 [ 30.450605] __fput+0x38a/0xa40 [ 30.450607] ____fput+0x15/0x20 [ 30.450609] task_work_run+0x1e8/0x2a0 [ 30.450611] do_exit+0x1ae4/0x26e0 [ 30.450613] do_group_exit+0x177/0x440 [ 30.450615] __x64_sys_exit_group+0x3e/0x50 [ 30.450618] do_syscall_64+0x1b9/0x820 [ 30.450620] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 30.450621] [ 30.450624] other info that might help us debug this: [ 30.450625] [ 30.450627] Chain exists of: [ 30.450628] (console_sem).lock --> &rq->lock --> report_lock [ 30.450637] [ 30.450640] Possible unsafe locking scenario: [ 30.450641] [ 30.450643] CPU0 CPU1 [ 30.450645] ---- ---- [ 30.450646] lock(report_lock); [ 30.450651] lock(&rq->lock); [ 30.450656] lock(report_lock); [ 30.450661] lock((console_sem).lock); [ 30.450665] [ 30.450667] *** DEADLOCK *** [ 30.450668] [ 30.450670] 2 locks held by syz-executor293/4292: [ 30.450678] #0: 000000007d2d5a58 (&rq->lock){-.-.}, at: __schedule+0x24d/0x1df0 [ 30.450688] #1: 00000000bce65576 (report_lock){....}, at: kasan_report+0x8e/0x110 [ 30.450697] [ 30.450699] stack backtrace: [ 30.450702] CPU: 1 PID: 4292 Comm: syz-executor293 Not tainted 4.19.0-rc2+ #3 [ 30.450707] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.450708] Call Trace: [ 30.450710] dump_stack+0x1c9/0x2b4 [ 30.450713] ? dump_stack_print_info.cold.2+0x52/0x52 [ 30.450715] ? vprintk_func+0x100/0x117 [ 30.450718] print_circular_bug.isra.34.cold.55+0x1bd/0x27d [ 30.450720] ? save_trace+0xe0/0x290 [ 30.450723] __lock_acquire+0x3449/0x5020 [ 30.450725] ? mark_held_locks+0x160/0x160 [ 30.450727] ? mark_held_locks+0x160/0x160 [ 30.450730] ? rcu_cleanup_dead_rnp+0x200/0x200 [ 30.450732] ? is_bpf_text_address+0xd7/0x170 [ 30.450735] ? kernel_text_address+0x79/0xf0 [ 30.450737] ? __kernel_text_address+0xd/0x40 [ 30.450739] ? __save_stack_trace+0x8d/0xf0 [ 30.450742] ? add_lock_to_list.isra.27+0x1ec/0x4b0 [ 30.450744] ? save_trace+0x290/0x290 [ 30.450746] ? save_stack_trace+0x1a/0x20 [ 30.450748] ? save_trace+0xe0/0x290 [ 30.450750] ? graph_lock+0x170/0x170 [ 30.450753] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 30.450755] lock_acquire+0x1e4/0x4f0 [ 30.450757] ? down_trylock+0x13/0x70 [ 30.450759] ? lock_release+0x9f0/0x9f0 [ 30.450762] ? trace_hardirqs_off+0xb8/0x2c0 [ 30.450764] ? trace_hardirqs_on+0x2c0/0x2c0 [ 30.450766] ? trace_hardirqs_off+0xb8/0x2c0 [ 30.450769] ? log_store+0x34f/0x4c0 [ 30.450771] ? vprintk_emit+0x31f/0x910 [ 30.450773] _raw_spin_lock_irqsave+0x96/0xc0 [ 30.450775] ? down_trylock+0x13/0x70 [ 30.450777] down_trylock+0x13/0x70 [ 30.450780] __down_trylock_console_sem+0xae/0x200 [ 30.450782] console_trylock+0x15/0xa0 [ 30.450784] vprintk_emit+0x31f/0x910 [ 30.450786] ? wake_up_klogd+0x110/0x110 [ 30.450789] ? run_rebalance_domains+0x4c0/0x4c0 [ 30.450791] ? kasan_check_read+0x11/0x20 [ 30.450793] ? rcu_is_watching+0x8c/0x150 [ 30.450795] ? rcu_pm_notify+0xc0/0xc0 [ 30.450797] ? lock_acquire+0x1e4/0x4f0 [ 30.450800] ? kasan_report+0x8e/0x110 [ 30.450802] ? __schedule+0xf54/0x1df0 [ 30.450804] vprintk_default+0x28/0x30 [ 30.450806] vprintk_func+0x7a/0x117 [ 30.450808] printk+0xa7/0xcf [ 30.450810] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 30.450813] ? kasan_check_write+0x14/0x20 [ 30.450815] ? do_raw_spin_lock+0xc1/0x200 [ 30.450817] ? do_raw_spin_lock+0xc1/0x200 [ 30.450819] kasan_report+0x9e/0x110 [ 30.450822] __asan_report_load8_noabort+0x14/0x20 [ 30.450824] __schedule+0xf54/0x1df0 [ 30.450826] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 30.450829] ? __sched_text_start+0x8/0x8 [ 30.450831] ? __call_srcu+0x7e7/0x1040 [ 30.450833] ? check_same_owner+0x340/0x340 [ 30.450835] ? mark_held_locks+0x160/0x160 [ 30.450838] ? find_held_lock+0x36/0x1c0 [ 30.450840] preempt_schedule_common+0x22/0x60 [ 30.450842] _cond_resched+0x1d/0x30 [ 30.450844] wait_for_completion+0xa5/0x8d0 [ 30.450847] ? wait_for_completion_interruptible+0x950/0x950 [ 30.450850] ? __lockdep_init_map+0x105/0x590 [ 30.450852] ? __init_waitqueue_head+0x9e/0x150 [ 30.450854] ? init_wait_entry+0x1c0/0x1c0 [ 30.450857] __synchronize_srcu+0x189/0x240 [ 30.450859] ? call_srcu+0x10/0x10 [ 30.450861] ? rcu_unexpedite_gp+0x20/0x20 [ 30.450863] synchronize_srcu+0x335/0x56f [ 30.450870] ? lock_downgrade+0x8f0/0x8f0 [ 30.450873] ? synchronize_srcu_expedited+0x20/0x20 [ 30.450875] ? kasan_check_read+0x11/0x20 [ 30.450877] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 30.450880] ? kasan_check_write+0x14/0x20 [ 30.450882] ? do_raw_spin_lock+0xc1/0x200 [ 30.450885] kvm_page_track_unregister_notifier+0x17d/0x250 [ 30.450888] ? kvm_slot_page_track_remove_page+0x70/0x70 [ 30.450890] ? kvfree+0x61/0x70 [ 30.450892] ? rcu_read_lock_sched_held+0x108/0x120 [ 30.450894] kvm_mmu_uninit_vm+0x1c/0x20 [ 30.450897] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 30.450899] ? kvm_arch_sync_events+0x30/0x30 [ 30.450902] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 30.450905] ? mmu_notifier_unregister+0x474/0x600 [ 30.450907] ? trace_hardirqs_on+0x2c0/0x2c0 [ 30.450909] ? kfree+0x111/0x210 [ 30.450912] ? __mmu_notifier_register+0x30/0x30 [ 30.450914] ? __free_pages+0x10a/0x190 [ 30.450916] ? free_unref_page+0x930/0x930 [ 30.450918] kvm_put_kvm+0x73f/0x1060 [ 30.450920] ? kvm_write_guest_cached+0x40/0x40 [ 30.450923] ? _raw_spin_unlock_irq+0x27/0x70 [ 30.450925] ? _raw_spin_unlock_irq+0x27/0x70 [ 30.450927] ? lockdep_hardirqs_on+0x421/0x5c0 [ 30.450930] ? kasan_check_write+0x14/0x20 [ 30.450932] ? do_raw_spin_lock+0xc1/0x200 [ 30.450934] ? kvm_irqfd_release+0xdd/0x120 [ 30.450936] ? kvm_irqfd_release+0xdd/0x120 [ 30.450939] ? kvm_put_kvm+0x1060/0x1060 [ 30.450941] kvm_vm_release+0x42/0x50 [ 30.450943] __fput+0x38a/0xa40 [ 30.450945] ? __alloc_file+0x400/0x400 [ 30.450947] ? check_same_owner+0x340/0x340 [ 30.450949] ? kasan_check_write+0x14/0x20 [ 30.450951] ? do_raw_spin_lock+0xc1/0x200 [ 30.450953] ____fput+0x15/0x20 [ 30.450955] task_work_run+0x1e8/0x2a0 [ 30.450958] ? task_work_cancel+0x240/0x240 [ 30.450960] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 30.450963] ? switch_task_namespaces+0xa2/0xd0 [ 30.450965] do_exit+0x1ae4/0x26e0 [ 30.450967] ? mm_update_next_owner+0x9a0/0x9a0 [ 30.450969] ? find_held_lock+0x36/0x1c0 [ 30.450972] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 30.450974] ? _raw_spin_unlock_irqrestore+0x74/0xc0 [ 30.450977] ? lockdep_hardirqs_on+0x421/0x5c0 [ 30.450979] ? trace_hardirqs_on+0xbd/0x2c0 [ 30.450981] ? kasan_check_read+0x11/0x20 [ 30.450982] ? [ 30.450987] Lost 46 message(s)! [ 31.535246] Shutting down cpus with NMI [ 32.595035] Dumping ftrace buffer: [ 32.598568] (ftrace buffer empty) [ 32.602256] Kernel Offset: disabled [ 32.605864] Rebooting in 86400 seconds..