[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 23.127713] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 26.333437] random: sshd: uninitialized urandom read (32 bytes read) [ 26.697126] random: sshd: uninitialized urandom read (32 bytes read) [ 27.263470] random: sshd: uninitialized urandom read (32 bytes read) [ 27.442150] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.53' (ECDSA) to the list of known hosts. [ 33.175295] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 33.272600] 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. [ 33.298365] ================================================================== [ 33.308319] BUG: KASAN: use-after-free in __schedule+0xf54/0x1df0 [ 33.314543] Read of size 8 at addr ffff8801ac6b0058 by task syz-executor316/4456 [ 33.322058] [ 33.323682] CPU: 0 PID: 4456 Comm: syz-executor316 Not tainted 4.18.0+ #209 [ 33.330811] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.340156] Call Trace: [ 33.342742] dump_stack+0x1c9/0x2b4 [ 33.346366] ? dump_stack_print_info.cold.2+0x52/0x52 [ 33.351554] ? printk+0xa7/0xcf [ 33.354835] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 33.359590] ? __schedule+0xf54/0x1df0 [ 33.363475] print_address_description+0x6c/0x20b [ 33.368312] ? __schedule+0xf54/0x1df0 [ 33.372195] kasan_report.cold.7+0x242/0x30d [ 33.376604] __asan_report_load8_noabort+0x14/0x20 [ 33.381530] __schedule+0xf54/0x1df0 [ 33.385243] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 33.390341] ? __sched_text_start+0x8/0x8 [ 33.394488] ? __call_srcu+0x7e7/0x1040 [ 33.398468] ? check_same_owner+0x340/0x340 [ 33.402787] ? mark_held_locks+0x160/0x160 [ 33.407019] ? find_held_lock+0x36/0x1c0 [ 33.411082] preempt_schedule_common+0x22/0x60 [ 33.415659] _cond_resched+0x1d/0x30 [ 33.419371] wait_for_completion+0xa5/0x8d0 [ 33.423699] ? wait_for_completion_interruptible+0x950/0x950 [ 33.429491] ? __lockdep_init_map+0x105/0x590 [ 33.433987] ? __init_waitqueue_head+0x9e/0x150 [ 33.438650] ? init_wait_entry+0x1c0/0x1c0 [ 33.442886] __synchronize_srcu+0x189/0x240 [ 33.447204] ? call_srcu+0x10/0x10 [ 33.450743] ? rcu_unexpedite_gp+0x20/0x20 [ 33.454981] synchronize_srcu+0x335/0x56f [ 33.459122] ? lock_downgrade+0x8f0/0x8f0 [ 33.463264] ? synchronize_srcu_expedited+0x20/0x20 [ 33.468283] ? kasan_check_read+0x11/0x20 [ 33.472445] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 33.477022] ? kasan_check_write+0x14/0x20 [ 33.481251] ? do_raw_spin_lock+0xc1/0x200 [ 33.485492] kvm_page_track_unregister_notifier+0x17d/0x250 [ 33.491680] ? kvm_slot_page_track_remove_page+0x70/0x70 [ 33.497130] ? kvfree+0x61/0x70 [ 33.500416] ? rcu_read_lock_sched_held+0x108/0x120 [ 33.505446] kvm_mmu_uninit_vm+0x1c/0x20 [ 33.509505] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 33.513913] ? kvm_arch_sync_events+0x30/0x30 [ 33.518442] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 33.523978] ? mmu_notifier_unregister+0x474/0x600 [ 33.528997] ? trace_hardirqs_on+0x2c0/0x2c0 [ 33.533421] ? kfree+0x111/0x210 [ 33.536797] ? __mmu_notifier_register+0x30/0x30 [ 33.541555] ? __free_pages+0x10a/0x190 [ 33.545526] ? free_unref_page+0x930/0x930 [ 33.549784] kvm_put_kvm+0x73f/0x1060 [ 33.553588] ? kvm_write_guest_cached+0x40/0x40 [ 33.558261] ? _raw_spin_unlock_irq+0x27/0x70 [ 33.562752] ? _raw_spin_unlock_irq+0x27/0x70 [ 33.567241] ? lockdep_hardirqs_on+0x421/0x5c0 [ 33.571822] ? kasan_check_write+0x14/0x20 [ 33.576065] ? do_raw_spin_lock+0xc1/0x200 [ 33.580310] ? kvm_irqfd_release+0xdd/0x120 [ 33.584625] ? kvm_irqfd_release+0xdd/0x120 [ 33.588942] ? kvm_put_kvm+0x1060/0x1060 [ 33.592999] kvm_vm_release+0x42/0x50 [ 33.596796] __fput+0x36e/0x8c0 [ 33.600074] ? __alloc_file+0x400/0x400 [ 33.604051] ? check_same_owner+0x340/0x340 [ 33.608367] ? kasan_check_write+0x14/0x20 [ 33.612599] ? do_raw_spin_lock+0xc1/0x200 [ 33.616833] ____fput+0x15/0x20 [ 33.620108] task_work_run+0x1e8/0x2a0 [ 33.623992] ? task_work_cancel+0x240/0x240 [ 33.628317] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 33.633855] ? switch_task_namespaces+0xa2/0xd0 [ 33.638527] do_exit+0x1ae4/0x26e0 [ 33.642065] ? mm_update_next_owner+0x9a0/0x9a0 [ 33.646737] ? kvm_vcpu_ioctl+0x2b5/0x1280 [ 33.650989] ? rcu_read_lock_sched_held+0x108/0x120 [ 33.656006] ? kfree+0x1d7/0x210 [ 33.659372] ? kvm_vcpu_ioctl+0x2ba/0x1280 [ 33.663618] ? kvm_uevent_notify_change.part.32+0x440/0x440 [ 33.669324] ? is_bpf_text_address+0xd7/0x170 [ 33.673814] ? kernel_text_address+0x79/0xf0 [ 33.678216] ? pud_val+0x88/0x100 [ 33.681665] ? pmd_val+0x100/0x100 [ 33.685199] ? unwind_get_return_address+0x61/0xa0 [ 33.690128] ? __save_stack_trace+0x8d/0xf0 [ 33.694460] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 33.699996] ? __handle_mm_fault+0x945/0x4350 [ 33.704493] ? vmf_insert_mixed_mkwrite+0xa0/0xa0 [ 33.709331] ? graph_lock+0x170/0x170 [ 33.713135] ? find_held_lock+0x36/0x1c0 [ 33.717192] ? __do_page_fault+0x620/0xe50 [ 33.721435] ? kvm_uevent_notify_change.part.32+0x440/0x440 [ 33.727144] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 33.732703] ? do_vfs_ioctl+0x201/0x1720 [ 33.736767] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 33.742300] ? ioctl_preallocate+0x300/0x300 [ 33.746709] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 33.752242] ? __fget_light+0x2f7/0x440 [ 33.756210] ? __handle_mm_fault+0x4350/0x4350 [ 33.760801] ? fget_raw+0x20/0x20 [ 33.764277] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 33.769808] ? __do_page_fault+0x449/0xe50 [ 33.774037] ? putname+0xf7/0x130 [ 33.777489] do_group_exit+0x177/0x440 [ 33.781370] ? trace_hardirqs_on+0xbd/0x2c0 [ 33.785694] ? __ia32_sys_exit+0x50/0x50 [ 33.789758] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 33.794858] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 33.800412] ? ksys_ioctl+0x81/0xd0 [ 33.804041] __x64_sys_exit_group+0x3e/0x50 [ 33.808363] do_syscall_64+0x1b9/0x820 [ 33.812250] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 33.817611] ? syscall_return_slowpath+0x5e0/0x5e0 [ 33.822537] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 33.827374] ? trace_hardirqs_on_caller+0x2b0/0x2b0 [ 33.832393] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 33.837458] ? prepare_exit_to_usermode+0x291/0x3b0 [ 33.842475] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 33.847333] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 33.852517] RIP: 0033:0x43ecf8 [ 33.855710] Code: Bad RIP value. [ 33.859064] RSP: 002b:00007ffdfb4cdda8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 33.866768] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ecf8 [ 33.874031] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 33.881292] RBP: 00000000004be5a8 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 33.888566] R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000000001 [ 33.895826] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 33.903090] [ 33.904706] Allocated by task 4456: [ 33.908328] save_stack+0x43/0xd0 [ 33.911776] kasan_kmalloc+0xc4/0xe0 [ 33.915485] kasan_slab_alloc+0x12/0x20 [ 33.919456] kmem_cache_alloc+0x12e/0x710 [ 33.923597] vmx_create_vcpu+0xcf/0x2830 [ 33.927651] kvm_arch_vcpu_create+0xe5/0x220 [ 33.932087] kvm_vm_ioctl+0x488/0x1d80 [ 33.935985] do_vfs_ioctl+0x1de/0x1720 [ 33.939866] ksys_ioctl+0xa9/0xd0 [ 33.943311] __x64_sys_ioctl+0x73/0xb0 [ 33.947192] do_syscall_64+0x1b9/0x820 [ 33.951080] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 33.956253] [ 33.957872] Freed by task 4456: [ 33.961145] save_stack+0x43/0xd0 [ 33.964595] __kasan_slab_free+0x11a/0x170 [ 33.968823] kasan_slab_free+0xe/0x10 [ 33.972617] kmem_cache_free+0x86/0x280 [ 33.976584] vmx_free_vcpu+0x26b/0x300 [ 33.980468] kvm_arch_destroy_vm+0x365/0x7c0 [ 33.984872] kvm_put_kvm+0x73f/0x1060 [ 33.988670] kvm_vm_release+0x42/0x50 [ 33.992468] __fput+0x36e/0x8c0 [ 33.995738] ____fput+0x15/0x20 [ 33.999011] task_work_run+0x1e8/0x2a0 [ 34.002891] do_exit+0x1ae4/0x26e0 [ 34.006434] do_group_exit+0x177/0x440 [ 34.010317] __x64_sys_exit_group+0x3e/0x50 [ 34.014632] do_syscall_64+0x1b9/0x820 [ 34.018515] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.023687] [ 34.025309] The buggy address belongs to the object at ffff8801ac6b0040 [ 34.025309] which belongs to the cache kvm_vcpu of size 23872 [ 34.037873] The buggy address is located 24 bytes inside of [ 34.037873] 23872-byte region [ffff8801ac6b0040, ffff8801ac6b5d80) [ 34.049826] The buggy address belongs to the page: [ 34.054751] page:ffffea0006b1ac00 count:1 mapcount:0 mapping:ffff8801d871c1c0 index:0x0 compound_mapcount: 0 [ 34.064715] flags: 0x2fffc0000008100(slab|head) [ 34.069384] raw: 02fffc0000008100 ffff8801d4bd8c48 ffff8801d4bd8c48 ffff8801d871c1c0 [ 34.077266] raw: 0000000000000000 ffff8801ac6b0040 0000000100000001 0000000000000000 [ 34.085164] page dumped because: kasan: bad access detected [ 34.090860] [ 34.092477] Memory state around the buggy address: [ 34.097399] ffff8801ac6aff00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 34.104764] ffff8801ac6aff80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 34.112136] >ffff8801ac6b0000: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 34.119485] ^ [ 34.125720] ffff8801ac6b0080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 34.133070] ffff8801ac6b0100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 34.140427] ================================================================== [ 34.147777] Kernel panic - not syncing: panic_on_warn set ... [ 34.147777] [ 34.155141] CPU: 0 PID: 4456 Comm: syz-executor316 Tainted: G B 4.18.0+ #209 [ 34.163621] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.172962] Call Trace: [ 34.175556] dump_stack+0x1c9/0x2b4 [ 34.179182] ? dump_stack_print_info.cold.2+0x52/0x52 [ 34.184369] ? lock_downgrade+0x8f0/0x8f0 [ 34.188529] ? __schedule+0xf54/0x1df0 [ 34.192429] panic+0x238/0x4e7 [ 34.195618] ? add_taint.cold.5+0x16/0x16 [ 34.199769] ? print_shadow_for_address+0xba/0x116 [ 34.204694] ? trace_hardirqs_off+0xaf/0x2b0 [ 34.209099] ? trace_hardirqs_off+0x77/0x2b0 [ 34.213515] ? __schedule+0xf54/0x1df0 [ 34.217443] kasan_end_report+0x47/0x4f [ 34.221428] kasan_report.cold.7+0x76/0x30d [ 34.225750] __asan_report_load8_noabort+0x14/0x20 [ 34.230677] __schedule+0xf54/0x1df0 [ 34.234385] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 34.239496] ? __sched_text_start+0x8/0x8 [ 34.243645] ? __call_srcu+0x7e7/0x1040 [ 34.247627] ? check_same_owner+0x340/0x340 [ 34.251944] ? mark_held_locks+0x160/0x160 [ 34.256176] ? find_held_lock+0x36/0x1c0 [ 34.260236] preempt_schedule_common+0x22/0x60 [ 34.264814] _cond_resched+0x1d/0x30 [ 34.268525] wait_for_completion+0xa5/0x8d0 [ 34.272848] ? wait_for_completion_interruptible+0x950/0x950 [ 34.278643] ? __lockdep_init_map+0x105/0x590 [ 34.283135] ? __init_waitqueue_head+0x9e/0x150 [ 34.287801] ? init_wait_entry+0x1c0/0x1c0 [ 34.292051] __synchronize_srcu+0x189/0x240 [ 34.296367] ? call_srcu+0x10/0x10 [ 34.299910] ? rcu_unexpedite_gp+0x20/0x20 [ 34.304147] synchronize_srcu+0x335/0x56f [ 34.308289] ? lock_downgrade+0x8f0/0x8f0 [ 34.312439] ? synchronize_srcu_expedited+0x20/0x20 [ 34.317455] ? kasan_check_read+0x11/0x20 [ 34.321600] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 34.326177] ? kasan_check_write+0x14/0x20 [ 34.330416] ? do_raw_spin_lock+0xc1/0x200 [ 34.334657] kvm_page_track_unregister_notifier+0x17d/0x250 [ 34.340364] ? kvm_slot_page_track_remove_page+0x70/0x70 [ 34.345810] ? kvfree+0x61/0x70 [ 34.349088] ? rcu_read_lock_sched_held+0x108/0x120 [ 34.354101] kvm_mmu_uninit_vm+0x1c/0x20 [ 34.358159] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 34.362566] ? kvm_arch_sync_events+0x30/0x30 [ 34.367065] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 34.372600] ? mmu_notifier_unregister+0x474/0x600 [ 34.377527] ? trace_hardirqs_on+0x2c0/0x2c0 [ 34.381932] ? kfree+0x111/0x210 [ 34.385300] ? __mmu_notifier_register+0x30/0x30 [ 34.390058] ? __free_pages+0x10a/0x190 [ 34.394030] ? free_unref_page+0x930/0x930 [ 34.398270] kvm_put_kvm+0x73f/0x1060 [ 34.402075] ? kvm_write_guest_cached+0x40/0x40 [ 34.406746] ? _raw_spin_unlock_irq+0x27/0x70 [ 34.411237] ? _raw_spin_unlock_irq+0x27/0x70 [ 34.415727] ? lockdep_hardirqs_on+0x421/0x5c0 [ 34.420309] ? kasan_check_write+0x14/0x20 [ 34.424538] ? do_raw_spin_lock+0xc1/0x200 [ 34.428770] ? kvm_irqfd_release+0xdd/0x120 [ 34.433088] ? kvm_irqfd_release+0xdd/0x120 [ 34.437418] ? kvm_put_kvm+0x1060/0x1060 [ 34.441485] kvm_vm_release+0x42/0x50 [ 34.445280] __fput+0x36e/0x8c0 [ 34.448554] ? __alloc_file+0x400/0x400 [ 34.452527] ? check_same_owner+0x340/0x340 [ 34.456843] ? kasan_check_write+0x14/0x20 [ 34.461073] ? do_raw_spin_lock+0xc1/0x200 [ 34.465320] ____fput+0x15/0x20 [ 34.468594] task_work_run+0x1e8/0x2a0 [ 34.472489] ? task_work_cancel+0x240/0x240 [ 34.476809] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 34.482341] ? switch_task_namespaces+0xa2/0xd0 [ 34.487497] do_exit+0x1ae4/0x26e0 [ 34.491035] ? mm_update_next_owner+0x9a0/0x9a0 [ 34.495705] ? kvm_vcpu_ioctl+0x2b5/0x1280 [ 34.499939] ? rcu_read_lock_sched_held+0x108/0x120 [ 34.504950] ? kfree+0x1d7/0x210 [ 34.508313] ? kvm_vcpu_ioctl+0x2ba/0x1280 [ 34.512544] ? kvm_uevent_notify_change.part.32+0x440/0x440 [ 34.518265] ? is_bpf_text_address+0xd7/0x170 [ 34.522755] ? kernel_text_address+0x79/0xf0 [ 34.527162] ? pud_val+0x88/0x100 [ 34.530612] ? pmd_val+0x100/0x100 [ 34.534147] ? unwind_get_return_address+0x61/0xa0 [ 34.539090] ? __save_stack_trace+0x8d/0xf0 [ 34.543421] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 34.548962] ? __handle_mm_fault+0x945/0x4350 [ 34.553468] ? vmf_insert_mixed_mkwrite+0xa0/0xa0 [ 34.558335] ? graph_lock+0x170/0x170 [ 34.562133] ? find_held_lock+0x36/0x1c0 [ 34.566194] ? __do_page_fault+0x620/0xe50 [ 34.570439] ? kvm_uevent_notify_change.part.32+0x440/0x440 [ 34.576148] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 34.581685] ? do_vfs_ioctl+0x201/0x1720 [ 34.585748] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 34.591282] ? ioctl_preallocate+0x300/0x300 [ 34.595686] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 34.601218] ? __fget_light+0x2f7/0x440 [ 34.605185] ? __handle_mm_fault+0x4350/0x4350 [ 34.609760] ? fget_raw+0x20/0x20 [ 34.613213] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 34.619007] ? __do_page_fault+0x449/0xe50 [ 34.623234] ? putname+0xf7/0x130 [ 34.626684] do_group_exit+0x177/0x440 [ 34.630583] ? trace_hardirqs_on+0xbd/0x2c0 [ 34.634900] ? __ia32_sys_exit+0x50/0x50 [ 34.638955] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 34.644084] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 34.649615] ? ksys_ioctl+0x81/0xd0 [ 34.653239] __x64_sys_exit_group+0x3e/0x50 [ 34.657571] do_syscall_64+0x1b9/0x820 [ 34.661463] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 34.666839] ? syscall_return_slowpath+0x5e0/0x5e0 [ 34.671780] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 34.676633] ? trace_hardirqs_on_caller+0x2b0/0x2b0 [ 34.681646] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 34.686659] ? prepare_exit_to_usermode+0x291/0x3b0 [ 34.691675] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 34.696517] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.701710] RIP: 0033:0x43ecf8 [ 34.704922] Code: Bad RIP value. [ 34.708296] RSP: 002b:00007ffdfb4cdda8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 34.715999] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ecf8 [ 34.723263] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 34.730524] RBP: 00000000004be5a8 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 34.737785] R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000000001 [ 34.745046] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 34.752318] [ 34.752323] ====================================================== [ 34.752328] WARNING: possible circular locking dependency detected [ 34.752332] 4.18.0+ #209 Not tainted [ 34.752338] ------------------------------------------------------ [ 34.752342] syz-executor316/4456 is trying to acquire lock: [ 34.752346] 0000000094525ab8 ((console_sem).lock){-...}, at: down_trylock+0x13/0x70 [ 34.752360] [ 34.752364] but task is already holding lock: [ 34.752367] 000000006f635d4a (report_lock){....}, at: kasan_report+0x8e/0x110 [ 34.752381] [ 34.752386] which lock already depends on the new lock. [ 34.752388] [ 34.752391] [ 34.752396] the existing dependency chain (in reverse order) is: [ 34.752398] [ 34.752409] -> #3 (report_lock){....}: [ 34.752429] _raw_spin_lock_irqsave+0x96/0xc0 [ 34.752433] kasan_report+0x8e/0x110 [ 34.752437] __asan_report_load8_noabort+0x14/0x20 [ 34.752441] __schedule+0xf54/0x1df0 [ 34.752445] preempt_schedule_common+0x22/0x60 [ 34.752449] _cond_resched+0x1d/0x30 [ 34.752453] wait_for_completion+0xa5/0x8d0 [ 34.752457] __synchronize_srcu+0x189/0x240 [ 34.752462] synchronize_srcu+0x335/0x56f [ 34.752467] kvm_page_track_unregister_notifier+0x17d/0x250 [ 34.752471] kvm_mmu_uninit_vm+0x1c/0x20 [ 34.752475] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 34.752479] kvm_put_kvm+0x73f/0x1060 [ 34.752483] kvm_vm_release+0x42/0x50 [ 34.752486] __fput+0x36e/0x8c0 [ 34.752490] ____fput+0x15/0x20 [ 34.752494] task_work_run+0x1e8/0x2a0 [ 34.752498] do_exit+0x1ae4/0x26e0 [ 34.752502] do_group_exit+0x177/0x440 [ 34.752506] __x64_sys_exit_group+0x3e/0x50 [ 34.752510] do_syscall_64+0x1b9/0x820 [ 34.752514] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.752517] [ 34.752519] -> #2 (&rq->lock){-.-.}: [ 34.752533] _raw_spin_lock+0x2a/0x40 [ 34.752537] task_fork_fair+0x93/0x680 [ 34.752540] sched_fork+0x44b/0xbd0 [ 34.752544] copy_process+0x235e/0x7ad0 [ 34.752548] _do_fork+0x1ca/0x1170 [ 34.752552] kernel_thread+0x34/0x40 [ 34.752555] rest_init+0x22/0xe4 [ 34.752559] start_kernel+0x913/0x94e [ 34.752563] x86_64_start_reservations+0x29/0x2b [ 34.752567] x86_64_start_kernel+0x76/0x79 [ 34.752572] secondary_startup_64+0xa4/0xb0 [ 34.752574] [ 34.752576] -> #1 (&p->pi_lock){-.-.}: [ 34.752591] _raw_spin_lock_irqsave+0x96/0xc0 [ 34.752594] try_to_wake_up+0xd2/0x1250 [ 34.752598] wake_up_process+0x10/0x20 [ 34.752602] __up.isra.1+0x1c0/0x2a0 [ 34.752605] up+0x13c/0x1c0 [ 34.752609] __up_console_sem+0xbe/0x1b0 [ 34.752613] console_unlock+0x506/0x10d0 [ 34.752617] vprintk_emit+0x33a/0x910 [ 34.752621] vprintk_default+0x28/0x30 [ 34.752625] vprintk_func+0x7a/0x117 [ 34.752628] printk+0xa7/0xcf [ 34.752632] load_umh+0x51/0xbd [ 34.752636] do_one_initcall+0x127/0x838 [ 34.752640] kernel_init_freeable+0x4bb/0x5ae [ 34.752643] kernel_init+0x11/0x1b3 [ 34.752647] ret_from_fork+0x3a/0x50 [ 34.752649] [ 34.752652] -> #0 ((console_sem).lock){-...}: [ 34.752666] lock_acquire+0x1e4/0x4f0 [ 34.752670] _raw_spin_lock_irqsave+0x96/0xc0 [ 34.752674] down_trylock+0x13/0x70 [ 34.752679] __down_trylock_console_sem+0xae/0x200 [ 34.752682] console_trylock+0x15/0xa0 [ 34.752686] vprintk_emit+0x31f/0x910 [ 34.752690] vprintk_default+0x28/0x30 [ 34.752694] vprintk_func+0x7a/0x117 [ 34.752697] printk+0xa7/0xcf [ 34.752701] kasan_report+0x9e/0x110 [ 34.752705] __asan_report_load8_noabort+0x14/0x20 [ 34.752709] __schedule+0xf54/0x1df0 [ 34.752713] preempt_schedule_common+0x22/0x60 [ 34.752717] _cond_resched+0x1d/0x30 [ 34.752721] wait_for_completion+0xa5/0x8d0 [ 34.752726] __synchronize_srcu+0x189/0x240 [ 34.752730] synchronize_srcu+0x335/0x56f [ 34.752735] kvm_page_track_unregister_notifier+0x17d/0x250 [ 34.752739] kvm_mmu_uninit_vm+0x1c/0x20 [ 34.752743] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 34.752747] kvm_put_kvm+0x73f/0x1060 [ 34.752750] kvm_vm_release+0x42/0x50 [ 34.752754] __fput+0x36e/0x8c0 [ 34.752757] ____fput+0x15/0x20 [ 34.752761] task_work_run+0x1e8/0x2a0 [ 34.752765] do_exit+0x1ae4/0x26e0 [ 34.752769] do_group_exit+0x177/0x440 [ 34.752773] __x64_sys_exit_group+0x3e/0x50 [ 34.752777] do_syscall_64+0x1b9/0x820 [ 34.752781] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.752783] [ 34.752788] other info that might help us debug this: [ 34.752790] [ 34.752793] Chain exists of: [ 34.752795] (console_sem).lock --> &rq->lock --> report_lock [ 34.752813] [ 34.752817] Possible unsafe locking scenario: [ 34.752820] [ 34.752824] CPU0 CPU1 [ 34.752828] ---- ---- [ 34.752830] lock(report_lock); [ 34.752839] lock(&rq->lock); [ 34.752849] lock(report_lock); [ 34.752857] lock((console_sem).lock); [ 34.752865] [ 34.752868] *** DEADLOCK *** [ 34.752870] [ 34.752874] 2 locks held by syz-executor316/4456: [ 34.752877] #0: 0000000006e59c04 (&rq->lock){-.-.}, at: __schedule+0x24d/0x1df0 [ 34.752894] #1: 000000006f635d4a (report_lock){....}, at: kasan_report+0x8e/0x110 [ 34.752911] [ 34.752914] stack backtrace: [ 34.752919] CPU: 0 PID: 4456 Comm: syz-executor316 Not tainted 4.18.0+ #209 [ 34.752927] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.752930] Call Trace: [ 34.752934] dump_stack+0x1c9/0x2b4 [ 34.752938] ? dump_stack_print_info.cold.2+0x52/0x52 [ 34.752942] ? vprintk_func+0x100/0x117 [ 34.752947] print_circular_bug.isra.34.cold.55+0x1bd/0x27d [ 34.752951] ? save_trace+0xe0/0x290 [ 34.752955] __lock_acquire+0x3449/0x5020 [ 34.752959] ? mark_held_locks+0x160/0x160 [ 34.752963] ? mark_held_locks+0x160/0x160 [ 34.752967] ? rcu_cleanup_dead_rnp+0x200/0x200 [ 34.752971] ? is_bpf_text_address+0xd7/0x170 [ 34.752975] ? kernel_text_address+0x79/0xf0 [ 34.752979] ? __kernel_text_address+0xd/0x40 [ 34.752984] ? __save_stack_trace+0x8d/0xf0 [ 34.752988] ? add_lock_to_list.isra.27+0x1ec/0x4b0 [ 34.752992] ? save_trace+0x290/0x290 [ 34.752996] ? save_stack_trace+0x1a/0x20 [ 34.752999] ? save_trace+0xe0/0x290 [ 34.753003] ? graph_lock+0x170/0x170 [ 34.753008] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 34.753012] lock_acquire+0x1e4/0x4f0 [ 34.753015] ? down_trylock+0x13/0x70 [ 34.753019] ? lock_release+0x9f0/0x9f0 [ 34.753024] ? trace_hardirqs_off+0xb8/0x2b0 [ 34.753028] ? trace_hardirqs_on+0x2c0/0x2c0 [ 34.753032] ? trace_hardirqs_off+0xb8/0x2b0 [ 34.753036] ? log_store+0x34f/0x4c0 [ 34.753040] ? vprintk_emit+0x31f/0x910 [ 34.753044] _raw_spin_lock_irqsave+0x96/0xc0 [ 34.753048] ? down_trylock+0x13/0x70 [ 34.753051] down_trylock+0x13/0x70 [ 34.753056] __down_trylock_console_sem+0xae/0x200 [ 34.753060] console_trylock+0x15/0xa0 [ 34.753063] vprintk_emit+0x31f/0x910 [ 34.753067] ? wake_up_klogd+0x110/0x110 [ 34.753072] ? run_rebalance_domains+0x4c0/0x4c0 [ 34.753076] ? kasan_check_read+0x11/0x20 [ 34.753080] ? rcu_is_watching+0x8c/0x150 [ 34.753083] ? rcu_pm_notify+0xc0/0xc0 [ 34.753087] ? lock_acquire+0x1e4/0x4f0 [ 34.753091] ? kasan_report+0x8e/0x110 [ 34.753095] ? __schedule+0xf54/0x1df0 [ 34.753099] vprintk_default+0x28/0x30 [ 34.753103] vprintk_func+0x7a/0x117 [ 34.753106] printk+0xa7/0xcf [ 34.753110] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 34.753114] ? kasan_check_write+0x14/0x20 [ 34.753118] ? do_raw_spin_lock+0xc1/0x200 [ 34.753122] ? do_raw_spin_lock+0xc1/0x200 [ 34.753126] kasan_report+0x9e/0x110 [ 34.753130] __asan_report_load8_noabort+0x14/0x20 [ 34.753134] __schedule+0xf54/0x1df0 [ 34.753139] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 34.753143] ? __sched_text_start+0x8/0x8 [ 34.753146] ? __call_srcu+0x7e7/0x1040 [ 34.753150] ? check_same_owner+0x340/0x340 [ 34.753155] ? mark_held_locks+0x160/0x160 [ 34.753158] ? find_held_lock+0x36/0x1c0 [ 34.753163] preempt_schedule_common+0x22/0x60 [ 34.753167] _cond_resched+0x1d/0x30 [ 34.753171] wait_for_completion+0xa5/0x8d0 [ 34.753175] ? wait_for_completion_interruptible+0x950/0x950 [ 34.753180] ? __lockdep_init_map+0x105/0x590 [ 34.753184] ? __init_waitqueue_head+0x9e/0x150 [ 34.753188] ? init_wait_entry+0x1c0/0x1c0 [ 34.753192] __synchronize_srcu+0x189/0x240 [ 34.753196] ? call_srcu+0x10/0x10 [ 34.753200] ? rcu_unexpedite_gp+0x20/0x20 [ 34.753204] synchronize_srcu+0x335/0x56f [ 34.753208] ? lock_downgrade+0x8f0/0x8f0 [ 34.753212] ? synchronize_srcu_expedited+0x20/0x20 [ 34.753216] ? kasan_check_read+0x11/0x20 [ 34.753220] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 34.753224] ? kasan_check_write+0x14/0x20 [ 34.753228] ? do_raw_spin_lock+0xc1/0x200 [ 34.753233] kvm_page_track_unregister_notifier+0x17d/0x250 [ 34.753238] ? kvm_slot_page_track_remove_page+0x70/0x70 [ 34.753241] ? kvfree+0x61/0x70 [ 34.753245] ? rcu_read_lock_sched_held+0x108/0x120 [ 34.753249] kvm_mmu_uninit_vm+0x1c/0x20 [ 34.753253] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 34.753258] ? kvm_arch_sync_events+0x30/0x30 [ 34.753262] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 34.753267] ? mmu_notifier_unregister+0x474/0x600 [ 34.753271] ? trace_hardirqs_on+0x2c0/0x2c0 [ 34.753274] ? kfree+0x111/0x210 [ 34.753279] ? __mmu_notifier_register+0x30/0x30 [ 34.753282] ? __free_pages+0x10a/0x190 [ 34.753286] ? free_unref_page+0x930/0x930 [ 34.753290] kvm_put_kvm+0x73f/0x1060 [ 34.753294] ? kvm_write_guest_cached+0x40/0x40 [ 34.753299] ? _raw_spin_unlock_irq+0x27/0x70 [ 34.753303] ? _raw_spin_unlock_irq+0x27/0x70 [ 34.753307] ? lockdep_hardirqs_on+0x421/0x5c0 [ 34.753311] ? kasan_check_write+0x14/0x20 [ 34.753315] ? do_raw_spin_lock+0xc1/0x200 [ 34.753319] ? kvm_irqfd_release+0xdd/0x120 [ 34.753323] ? kvm_irqfd_release+0xdd/0x120 [ 34.753327] ? kvm_put_kvm+0x1060/0x1060 [ 34.753331] kvm_vm_release+0x42/0x50 [ 34.753334] __fput+0x36e/0x8c0 [ 34.753338] ? __alloc_file+0x400/0x400 [ 34.753342] ? check_same_owner+0x340/0x340 [ 34.753346] ? kasan_check_write+0x14/0x20 [ 34.753350] ? do_raw_spin_lock+0xc1/0x200 [ 34.753353] ____fput+0x15/0x20 [ 34.753357] task_work_run+0x1e8/0x2a0 [ 34.753361] ? task_work_cancel+0x240/0x240 [ 34.753366] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 34.753370] ? switch_task_namespaces+0xa2/0xd0 [ 34.753374] do_exit+0x1ae4/0x26e0 [ 34.753378] ? mm_update_next_owner+0x9a0/0x9a0 [ 34.753382] ? kvm_vcpu_ioctl+0x2b5/0x1280 [ 34.753386] ? rcu_read_lock_sched_held+0x108/0x120 [ 34.753390] ? kfree+0x1d7/0x210 [ 34.753394] ? kvm_vcpu_ioctl+0x2ba/0x1280 [ 34.753399] ? kvm_uevent_notify_change.part.32+0x440/0x440 [ 34.753410] ? is_bpf_text_address+0xd7/0x170 [ 34.753413] ? kernel_ [ 34.753420] Lost 47 message(s)! [ 35.830237] Shutting down cpus with NMI [ 36.889190] Dumping ftrace buffer: [ 36.892714] (ftrace buffer empty) [ 36.896410] Kernel Offset: disabled [ 36.900052] Rebooting in 86400 seconds..