[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 24.855332] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 28.724030] random: sshd: uninitialized urandom read (32 bytes read) [ 28.982117] random: sshd: uninitialized urandom read (32 bytes read) [ 29.532707] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.27' (ECDSA) to the list of known hosts. [ 35.391833] urandom_read: 1 callbacks suppressed [ 35.391840] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 35.495030] 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. [ 35.521317] ================================================================== [ 35.531099] BUG: KASAN: use-after-free in __schedule+0xf54/0x1df0 [ 35.537349] Read of size 8 at addr ffff8801b44d0058 by task syz-executor104/4725 [ 35.544893] [ 35.546539] CPU: 0 PID: 4725 Comm: syz-executor104 Not tainted 4.19.0-rc2+ #2 [ 35.553816] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.563173] Call Trace: [ 35.565776] dump_stack+0x1c9/0x2b4 [ 35.569406] ? dump_stack_print_info.cold.2+0x52/0x52 [ 35.574612] ? printk+0xa7/0xcf [ 35.577907] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 35.582673] ? __schedule+0xf54/0x1df0 [ 35.586572] print_address_description+0x6c/0x20b [ 35.591451] ? __schedule+0xf54/0x1df0 [ 35.595347] kasan_report.cold.7+0x242/0x30d [ 35.599790] __asan_report_load8_noabort+0x14/0x20 [ 35.604734] __schedule+0xf54/0x1df0 [ 35.608463] ? __sched_text_start+0x8/0x8 [ 35.612640] ? _raw_spin_unlock_irqrestore+0xa1/0xc0 [ 35.617762] ? __call_srcu+0x7e7/0x1040 [ 35.621763] ? check_same_owner+0x340/0x340 [ 35.626093] ? mark_held_locks+0x160/0x160 [ 35.630335] ? find_held_lock+0x36/0x1c0 [ 35.634413] preempt_schedule_common+0x22/0x60 [ 35.638999] _cond_resched+0x1d/0x30 [ 35.642715] wait_for_completion+0xa5/0x8d0 [ 35.647036] ? wait_for_completion_interruptible+0x950/0x950 [ 35.652838] ? __lockdep_init_map+0x105/0x590 [ 35.657334] ? __init_waitqueue_head+0x9e/0x150 [ 35.662000] ? init_wait_entry+0x1c0/0x1c0 [ 35.666239] __synchronize_srcu+0x189/0x240 [ 35.670560] ? call_srcu+0x10/0x10 [ 35.674109] ? rcu_unexpedite_gp+0x20/0x20 [ 35.678349] synchronize_srcu+0x335/0x56f [ 35.682495] ? lock_downgrade+0x8f0/0x8f0 [ 35.686640] ? synchronize_srcu_expedited+0x20/0x20 [ 35.691660] ? kasan_check_read+0x11/0x20 [ 35.695807] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 35.700387] ? kasan_check_write+0x14/0x20 [ 35.704629] ? do_raw_spin_lock+0xc1/0x200 [ 35.708869] kvm_page_track_unregister_notifier+0x17d/0x250 [ 35.714582] ? kvm_slot_page_track_remove_page+0x70/0x70 [ 35.720045] ? kvfree+0x61/0x70 [ 35.723329] ? rcu_read_lock_sched_held+0x108/0x120 [ 35.728346] kvm_mmu_uninit_vm+0x1c/0x20 [ 35.732406] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 35.736814] ? kvm_arch_sync_events+0x30/0x30 [ 35.741310] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 35.746849] ? mmu_notifier_unregister+0x474/0x600 [ 35.751775] ? trace_hardirqs_on+0x2c0/0x2c0 [ 35.756181] ? kfree+0x111/0x210 [ 35.759549] ? __mmu_notifier_register+0x30/0x30 [ 35.764306] ? __free_pages+0x10a/0x190 [ 35.768284] ? free_unref_page+0x930/0x930 [ 35.772526] kvm_put_kvm+0x73f/0x1060 [ 35.776332] ? kvm_write_guest_cached+0x40/0x40 [ 35.781003] ? _raw_spin_unlock_irq+0x27/0x70 [ 35.785496] ? _raw_spin_unlock_irq+0x27/0x70 [ 35.789988] ? lockdep_hardirqs_on+0x421/0x5c0 [ 35.794584] ? kasan_check_write+0x14/0x20 [ 35.798830] ? do_raw_spin_lock+0xc1/0x200 [ 35.803066] ? kvm_irqfd_release+0xdd/0x120 [ 35.807385] ? kvm_irqfd_release+0xdd/0x120 [ 35.811708] ? kvm_put_kvm+0x1060/0x1060 [ 35.815773] kvm_vm_release+0x42/0x50 [ 35.819580] __fput+0x38a/0xa40 [ 35.822878] ? __alloc_file+0x400/0x400 [ 35.826858] ? check_same_owner+0x340/0x340 [ 35.831179] ? kasan_check_write+0x14/0x20 [ 35.835413] ? do_raw_spin_lock+0xc1/0x200 [ 35.839665] ____fput+0x15/0x20 [ 35.842944] task_work_run+0x1e8/0x2a0 [ 35.846834] ? task_work_cancel+0x240/0x240 [ 35.851165] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 35.856701] ? switch_task_namespaces+0xa2/0xd0 [ 35.861369] do_exit+0x1ae4/0x26e0 [ 35.864914] ? mm_update_next_owner+0x9a0/0x9a0 [ 35.869598] ? kvm_vcpu_ioctl+0x2b5/0x1280 [ 35.873842] ? rcu_read_lock_sched_held+0x108/0x120 [ 35.878859] ? kfree+0x1d7/0x210 [ 35.882229] ? kvm_vcpu_ioctl+0x2ba/0x1280 [ 35.886463] ? kvm_uevent_notify_change.part.32+0x440/0x440 [ 35.892177] ? is_bpf_text_address+0xd7/0x170 [ 35.896673] ? kernel_text_address+0x79/0xf0 [ 35.901079] ? __kernel_text_address+0xd/0x40 [ 35.905587] ? unwind_get_return_address+0x61/0xa0 [ 35.910559] ? __save_stack_trace+0x8d/0xf0 [ 35.914935] ? save_stack+0xa9/0xd0 [ 35.918556] ? save_stack+0x43/0xd0 [ 35.922200] ? __kasan_slab_free+0x11a/0x170 [ 35.926641] ? kasan_slab_free+0xe/0x10 [ 35.930656] ? putname+0xf2/0x130 [ 35.934179] ? __x64_sys_openat+0x9d/0x100 [ 35.938454] ? do_syscall_64+0x1b9/0x820 [ 35.942516] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.947880] ? trace_hardirqs_off+0xb8/0x2c0 [ 35.952288] ? kasan_check_read+0x11/0x20 [ 35.956436] ? do_raw_spin_unlock+0xa7/0x2f0 [ 35.960841] ? trace_hardirqs_on+0x2c0/0x2c0 [ 35.965249] ? initcall_blacklisted+0x9a/0x1e0 [ 35.969834] ? _raw_spin_unlock_irqrestore+0x63/0xc0 [ 35.974939] ? kvm_uevent_notify_change.part.32+0x440/0x440 [ 35.980654] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 35.986192] ? do_vfs_ioctl+0x201/0x1720 [ 35.990253] ? rcu_is_watching+0x8c/0x150 [ 35.994399] ? trace_hardirqs_on+0xbd/0x2c0 [ 35.998721] ? ioctl_preallocate+0x300/0x300 [ 36.003132] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.008668] ? __fget_light+0x2f7/0x440 [ 36.012662] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.018210] ? smack_file_ioctl+0x210/0x3c0 [ 36.022551] ? fget_raw+0x20/0x20 [ 36.026012] ? smack_file_lock+0x2e0/0x2e0 [ 36.030269] do_group_exit+0x177/0x440 [ 36.034159] ? trace_hardirqs_on+0xbd/0x2c0 [ 36.038479] ? __ia32_sys_exit+0x50/0x50 [ 36.042543] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 36.047659] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.053195] ? ksys_ioctl+0x81/0xd0 [ 36.056821] __x64_sys_exit_group+0x3e/0x50 [ 36.061142] do_syscall_64+0x1b9/0x820 [ 36.065027] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 36.070399] ? syscall_return_slowpath+0x5e0/0x5e0 [ 36.075325] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 36.080169] ? trace_hardirqs_on_caller+0x2c0/0x2c0 [ 36.085185] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 36.090202] ? prepare_exit_to_usermode+0x291/0x3b0 [ 36.095222] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 36.100067] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.105254] RIP: 0033:0x43ecd8 [ 36.108450] Code: Bad RIP value. [ 36.111812] RSP: 002b:00007ffeadf0d078 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 36.119521] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ecd8 [ 36.127261] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 36.134539] RBP: 00000000004be588 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 36.141811] R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000000001 [ 36.149078] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 36.156349] [ 36.157968] Allocated by task 4725: [ 36.161612] save_stack+0x43/0xd0 [ 36.165063] kasan_kmalloc+0xc4/0xe0 [ 36.168774] kasan_slab_alloc+0x12/0x20 [ 36.172744] kmem_cache_alloc+0x12e/0x710 [ 36.176911] vmx_create_vcpu+0xcf/0x2830 [ 36.180969] kvm_arch_vcpu_create+0xe5/0x220 [ 36.185376] kvm_vm_ioctl+0x488/0x1d80 [ 36.189264] do_vfs_ioctl+0x1de/0x1720 [ 36.193149] ksys_ioctl+0xa9/0xd0 [ 36.196614] __x64_sys_ioctl+0x73/0xb0 [ 36.200504] do_syscall_64+0x1b9/0x820 [ 36.204395] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.209597] [ 36.211242] Freed by task 4725: [ 36.214520] save_stack+0x43/0xd0 [ 36.217974] __kasan_slab_free+0x11a/0x170 [ 36.222205] kasan_slab_free+0xe/0x10 [ 36.226001] kmem_cache_free+0x86/0x280 [ 36.229970] vmx_free_vcpu+0x26b/0x300 [ 36.234177] kvm_arch_destroy_vm+0x365/0x7c0 [ 36.238624] kvm_put_kvm+0x73f/0x1060 [ 36.242448] kvm_vm_release+0x42/0x50 [ 36.246267] __fput+0x38a/0xa40 [ 36.249558] ____fput+0x15/0x20 [ 36.252853] task_work_run+0x1e8/0x2a0 [ 36.256740] do_exit+0x1ae4/0x26e0 [ 36.260278] do_group_exit+0x177/0x440 [ 36.264170] __x64_sys_exit_group+0x3e/0x50 [ 36.268490] do_syscall_64+0x1b9/0x820 [ 36.272394] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.277573] [ 36.279215] The buggy address belongs to the object at ffff8801b44d0040 [ 36.279215] which belongs to the cache kvm_vcpu of size 23872 [ 36.291807] The buggy address is located 24 bytes inside of [ 36.291807] 23872-byte region [ffff8801b44d0040, ffff8801b44d5d80) [ 36.303783] The buggy address belongs to the page: [ 36.308742] page:ffffea0006d13400 count:1 mapcount:0 mapping:ffff8801d4e05840 index:0x0 compound_mapcount: 0 [ 36.318735] flags: 0x2fffc0000008100(slab|head) [ 36.323431] raw: 02fffc0000008100 ffff8801d4e0cb48 ffff8801d4e0cb48 ffff8801d4e05840 [ 36.331342] raw: 0000000000000000 ffff8801b44d0040 0000000100000001 0000000000000000 [ 36.339233] page dumped because: kasan: bad access detected [ 36.344953] [ 36.346586] Memory state around the buggy address: [ 36.351544] ffff8801b44cff00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 36.358923] ffff8801b44cff80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 36.366304] >ffff8801b44d0000: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 36.373667] ^ [ 36.379914] ffff8801b44d0080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 36.387296] ffff8801b44d0100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 36.394667] ================================================================== [ 36.402035] Kernel panic - not syncing: panic_on_warn set ... [ 36.402035] [ 36.409412] CPU: 0 PID: 4725 Comm: syz-executor104 Tainted: G B 4.19.0-rc2+ #2 [ 36.418074] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 36.427424] Call Trace: [ 36.430020] dump_stack+0x1c9/0x2b4 [ 36.433650] ? dump_stack_print_info.cold.2+0x52/0x52 [ 36.438843] ? lock_downgrade+0x8f0/0x8f0 [ 36.442990] ? __schedule+0xf54/0x1df0 [ 36.446878] panic+0x238/0x4e7 [ 36.450068] ? add_taint.cold.5+0x16/0x16 [ 36.454220] ? print_shadow_for_address+0xba/0x116 [ 36.459151] ? trace_hardirqs_off+0xaf/0x2c0 [ 36.463555] ? trace_hardirqs_off+0x77/0x2c0 [ 36.467970] ? __schedule+0xf54/0x1df0 [ 36.471858] kasan_end_report+0x47/0x4f [ 36.475834] kasan_report.cold.7+0x76/0x30d [ 36.480158] __asan_report_load8_noabort+0x14/0x20 [ 36.485085] __schedule+0xf54/0x1df0 [ 36.488806] ? __sched_text_start+0x8/0x8 [ 36.492953] ? _raw_spin_unlock_irqrestore+0xa1/0xc0 [ 36.498057] ? __call_srcu+0x7e7/0x1040 [ 36.502039] ? check_same_owner+0x340/0x340 [ 36.506361] ? mark_held_locks+0x160/0x160 [ 36.510609] ? find_held_lock+0x36/0x1c0 [ 36.514673] preempt_schedule_common+0x22/0x60 [ 36.519253] _cond_resched+0x1d/0x30 [ 36.522967] wait_for_completion+0xa5/0x8d0 [ 36.527292] ? wait_for_completion_interruptible+0x950/0x950 [ 36.533090] ? __lockdep_init_map+0x105/0x590 [ 36.537601] ? __init_waitqueue_head+0x9e/0x150 [ 36.542276] ? init_wait_entry+0x1c0/0x1c0 [ 36.546514] __synchronize_srcu+0x189/0x240 [ 36.550833] ? call_srcu+0x10/0x10 [ 36.554396] ? rcu_unexpedite_gp+0x20/0x20 [ 36.558642] synchronize_srcu+0x335/0x56f [ 36.562791] ? lock_downgrade+0x8f0/0x8f0 [ 36.566937] ? synchronize_srcu_expedited+0x20/0x20 [ 36.571972] ? kasan_check_read+0x11/0x20 [ 36.576120] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 36.580702] ? kasan_check_write+0x14/0x20 [ 36.584932] ? do_raw_spin_lock+0xc1/0x200 [ 36.589170] kvm_page_track_unregister_notifier+0x17d/0x250 [ 36.594879] ? kvm_slot_page_track_remove_page+0x70/0x70 [ 36.600329] ? kvfree+0x61/0x70 [ 36.603626] ? rcu_read_lock_sched_held+0x108/0x120 [ 36.608642] kvm_mmu_uninit_vm+0x1c/0x20 [ 36.612707] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 36.617119] ? kvm_arch_sync_events+0x30/0x30 [ 36.621629] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 36.627169] ? mmu_notifier_unregister+0x474/0x600 [ 36.632099] ? trace_hardirqs_on+0x2c0/0x2c0 [ 36.636507] ? kfree+0x111/0x210 [ 36.639871] ? __mmu_notifier_register+0x30/0x30 [ 36.644632] ? __free_pages+0x10a/0x190 [ 36.648619] ? free_unref_page+0x930/0x930 [ 36.652868] kvm_put_kvm+0x73f/0x1060 [ 36.656700] ? kvm_write_guest_cached+0x40/0x40 [ 36.661372] ? _raw_spin_unlock_irq+0x27/0x70 [ 36.665866] ? _raw_spin_unlock_irq+0x27/0x70 [ 36.670359] ? lockdep_hardirqs_on+0x421/0x5c0 [ 36.674949] ? kasan_check_write+0x14/0x20 [ 36.679182] ? do_raw_spin_lock+0xc1/0x200 [ 36.683421] ? kvm_irqfd_release+0xdd/0x120 [ 36.687758] ? kvm_irqfd_release+0xdd/0x120 [ 36.692081] ? kvm_put_kvm+0x1060/0x1060 [ 36.696144] kvm_vm_release+0x42/0x50 [ 36.699973] __fput+0x38a/0xa40 [ 36.703266] ? __alloc_file+0x400/0x400 [ 36.707246] ? check_same_owner+0x340/0x340 [ 36.711565] ? kasan_check_write+0x14/0x20 [ 36.715816] ? do_raw_spin_lock+0xc1/0x200 [ 36.720063] ____fput+0x15/0x20 [ 36.723354] task_work_run+0x1e8/0x2a0 [ 36.727255] ? task_work_cancel+0x240/0x240 [ 36.731583] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 36.737161] ? switch_task_namespaces+0xa2/0xd0 [ 36.741839] do_exit+0x1ae4/0x26e0 [ 36.745381] ? mm_update_next_owner+0x9a0/0x9a0 [ 36.750053] ? kvm_vcpu_ioctl+0x2b5/0x1280 [ 36.754288] ? rcu_read_lock_sched_held+0x108/0x120 [ 36.759301] ? kfree+0x1d7/0x210 [ 36.762689] ? kvm_vcpu_ioctl+0x2ba/0x1280 [ 36.766925] ? kvm_uevent_notify_change.part.32+0x440/0x440 [ 36.772646] ? is_bpf_text_address+0xd7/0x170 [ 36.777140] ? kernel_text_address+0x79/0xf0 [ 36.781547] ? __kernel_text_address+0xd/0x40 [ 36.786044] ? unwind_get_return_address+0x61/0xa0 [ 36.790977] ? __save_stack_trace+0x8d/0xf0 [ 36.795305] ? save_stack+0xa9/0xd0 [ 36.798932] ? save_stack+0x43/0xd0 [ 36.802557] ? __kasan_slab_free+0x11a/0x170 [ 36.806961] ? kasan_slab_free+0xe/0x10 [ 36.810933] ? putname+0xf2/0x130 [ 36.814386] ? __x64_sys_openat+0x9d/0x100 [ 36.818628] ? do_syscall_64+0x1b9/0x820 [ 36.822695] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.828075] ? trace_hardirqs_off+0xb8/0x2c0 [ 36.832481] ? kasan_check_read+0x11/0x20 [ 36.836638] ? do_raw_spin_unlock+0xa7/0x2f0 [ 36.841042] ? trace_hardirqs_on+0x2c0/0x2c0 [ 36.845463] ? initcall_blacklisted+0x9a/0x1e0 [ 36.850046] ? _raw_spin_unlock_irqrestore+0x63/0xc0 [ 36.855167] ? kvm_uevent_notify_change.part.32+0x440/0x440 [ 36.860892] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.866427] ? do_vfs_ioctl+0x201/0x1720 [ 36.870485] ? rcu_is_watching+0x8c/0x150 [ 36.874633] ? trace_hardirqs_on+0xbd/0x2c0 [ 36.878958] ? ioctl_preallocate+0x300/0x300 [ 36.883384] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.888928] ? __fget_light+0x2f7/0x440 [ 36.892905] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.898440] ? smack_file_ioctl+0x210/0x3c0 [ 36.902760] ? fget_raw+0x20/0x20 [ 36.906209] ? smack_file_lock+0x2e0/0x2e0 [ 36.910452] do_group_exit+0x177/0x440 [ 36.914338] ? trace_hardirqs_on+0xbd/0x2c0 [ 36.918655] ? __ia32_sys_exit+0x50/0x50 [ 36.922713] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 36.927903] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 36.933439] ? ksys_ioctl+0x81/0xd0 [ 36.937083] __x64_sys_exit_group+0x3e/0x50 [ 36.941417] do_syscall_64+0x1b9/0x820 [ 36.945303] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 36.950671] ? syscall_return_slowpath+0x5e0/0x5e0 [ 36.955614] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 36.960459] ? trace_hardirqs_on_caller+0x2c0/0x2c0 [ 36.965475] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 36.970492] ? prepare_exit_to_usermode+0x291/0x3b0 [ 36.975510] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 36.980356] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.985543] RIP: 0033:0x43ecd8 [ 36.988738] Code: Bad RIP value. [ 36.992101] RSP: 002b:00007ffeadf0d078 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 36.999807] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ecd8 [ 37.007088] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 37.014352] RBP: 00000000004be588 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 37.021628] R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000000001 [ 37.028908] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 37.036204] [ 37.036211] ====================================================== [ 37.036216] WARNING: possible circular locking dependency detected [ 37.036220] 4.19.0-rc2+ #2 Not tainted [ 37.036225] ------------------------------------------------------ [ 37.036230] syz-executor104/4725 is trying to acquire lock: [ 37.036234] 000000001e237689 ((console_sem).lock){-...}, at: down_trylock+0x13/0x70 [ 37.036249] [ 37.036253] but task is already holding lock: [ 37.036256] 0000000094e21071 (report_lock){....}, at: kasan_report+0x8e/0x110 [ 37.036270] [ 37.036274] which lock already depends on the new lock. [ 37.036276] [ 37.036279] [ 37.036284] the existing dependency chain (in reverse order) is: [ 37.036286] [ 37.036288] -> #3 (report_lock){....}: [ 37.036302] _raw_spin_lock_irqsave+0x96/0xc0 [ 37.036306] kasan_report+0x8e/0x110 [ 37.036311] __asan_report_load8_noabort+0x14/0x20 [ 37.036314] __schedule+0xf54/0x1df0 [ 37.036319] preempt_schedule_common+0x22/0x60 [ 37.036322] _cond_resched+0x1d/0x30 [ 37.036327] wait_for_completion+0xa5/0x8d0 [ 37.036331] __synchronize_srcu+0x189/0x240 [ 37.036335] synchronize_srcu+0x335/0x56f [ 37.036340] kvm_page_track_unregister_notifier+0x17d/0x250 [ 37.036344] kvm_mmu_uninit_vm+0x1c/0x20 [ 37.036348] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 37.036352] kvm_put_kvm+0x73f/0x1060 [ 37.036355] kvm_vm_release+0x42/0x50 [ 37.036359] __fput+0x38a/0xa40 [ 37.036362] ____fput+0x15/0x20 [ 37.036366] task_work_run+0x1e8/0x2a0 [ 37.036370] do_exit+0x1ae4/0x26e0 [ 37.036373] do_group_exit+0x177/0x440 [ 37.036377] __x64_sys_exit_group+0x3e/0x50 [ 37.036381] do_syscall_64+0x1b9/0x820 [ 37.036386] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 37.036388] [ 37.036390] -> #2 (&rq->lock){-.-.}: [ 37.036404] _raw_spin_lock+0x2a/0x40 [ 37.036408] task_fork_fair+0x93/0x680 [ 37.036411] sched_fork+0x44b/0xbd0 [ 37.036415] copy_process+0x235e/0x7af0 [ 37.036419] _do_fork+0x1ca/0x1170 [ 37.036422] kernel_thread+0x34/0x40 [ 37.036426] rest_init+0x22/0xe4 [ 37.036430] start_kernel+0x913/0x94e [ 37.036434] x86_64_start_reservations+0x29/0x2b [ 37.036438] x86_64_start_kernel+0x76/0x79 [ 37.036442] secondary_startup_64+0xa4/0xb0 [ 37.036444] [ 37.036446] -> #1 (&p->pi_lock){-.-.}: [ 37.036460] _raw_spin_lock_irqsave+0x96/0xc0 [ 37.036464] try_to_wake_up+0xd2/0x1250 [ 37.036468] wake_up_process+0x10/0x20 [ 37.036472] __up.isra.1+0x1c0/0x2a0 [ 37.036475] up+0x13c/0x1c0 [ 37.036479] __up_console_sem+0xbe/0x1b0 [ 37.036483] console_unlock+0x506/0x10e0 [ 37.036486] vprintk_emit+0x33a/0x910 [ 37.036490] vprintk_default+0x28/0x30 [ 37.036494] vprintk_func+0x7a/0x117 [ 37.036497] printk+0xa7/0xcf [ 37.036501] do_exit.cold.22+0x120/0x21f [ 37.036505] do_group_exit+0x177/0x440 [ 37.036509] __x64_sys_exit_group+0x3e/0x50 [ 37.036513] do_syscall_64+0x1b9/0x820 [ 37.036517] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 37.036519] [ 37.036522] -> #0 ((console_sem).lock){-...}: [ 37.036536] lock_acquire+0x1e4/0x4f0 [ 37.036540] _raw_spin_lock_irqsave+0x96/0xc0 [ 37.036543] down_trylock+0x13/0x70 [ 37.036548] __down_trylock_console_sem+0xae/0x200 [ 37.036552] console_trylock+0x15/0xa0 [ 37.036555] vprintk_emit+0x31f/0x910 [ 37.036559] vprintk_default+0x28/0x30 [ 37.036563] vprintk_func+0x7a/0x117 [ 37.036566] printk+0xa7/0xcf [ 37.036570] kasan_report+0x9e/0x110 [ 37.036574] __asan_report_load8_noabort+0x14/0x20 [ 37.036578] __schedule+0xf54/0x1df0 [ 37.036582] preempt_schedule_common+0x22/0x60 [ 37.036586] _cond_resched+0x1d/0x30 [ 37.036601] wait_for_completion+0xa5/0x8d0 [ 37.036612] __synchronize_srcu+0x189/0x240 [ 37.036616] synchronize_srcu+0x335/0x56f [ 37.036621] kvm_page_track_unregister_notifier+0x17d/0x250 [ 37.036625] kvm_mmu_uninit_vm+0x1c/0x20 [ 37.036629] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 37.036633] kvm_put_kvm+0x73f/0x1060 [ 37.036637] kvm_vm_release+0x42/0x50 [ 37.036640] __fput+0x38a/0xa40 [ 37.036644] ____fput+0x15/0x20 [ 37.036647] task_work_run+0x1e8/0x2a0 [ 37.036651] do_exit+0x1ae4/0x26e0 [ 37.036655] do_group_exit+0x177/0x440 [ 37.036659] __x64_sys_exit_group+0x3e/0x50 [ 37.036663] do_syscall_64+0x1b9/0x820 [ 37.036668] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 37.036670] [ 37.036674] other info that might help us debug this: [ 37.036676] [ 37.036679] Chain exists of: [ 37.036682] (console_sem).lock --> &rq->lock --> report_lock [ 37.036700] [ 37.036704] Possible unsafe locking scenario: [ 37.036706] [ 37.036710] CPU0 CPU1 [ 37.036714] ---- ---- [ 37.036717] lock(report_lock); [ 37.036726] lock(&rq->lock); [ 37.036735] lock(report_lock); [ 37.036743] lock((console_sem).lock); [ 37.036751] [ 37.036754] *** DEADLOCK *** [ 37.036756] [ 37.036761] 2 locks held by syz-executor104/4725: [ 37.036763] #0: 00000000a7c330b2 (&rq->lock){-.-.}, at: __schedule+0x24d/0x1df0 [ 37.036780] #1: 0000000094e21071 (report_lock){....}, at: kasan_report+0x8e/0x110 [ 37.036796] [ 37.036799] stack backtrace: [ 37.036805] CPU: 0 PID: 4725 Comm: syz-executor104 Not tainted 4.19.0-rc2+ #2 [ 37.036812] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 37.036815] Call Trace: [ 37.036819] dump_stack+0x1c9/0x2b4 [ 37.036823] ? dump_stack_print_info.cold.2+0x52/0x52 [ 37.036827] ? vprintk_func+0x100/0x117 [ 37.036832] print_circular_bug.isra.34.cold.55+0x1bd/0x27d [ 37.036836] ? save_trace+0xe0/0x290 [ 37.036840] __lock_acquire+0x3449/0x5020 [ 37.036844] ? mark_held_locks+0x160/0x160 [ 37.036848] ? mark_held_locks+0x160/0x160 [ 37.036852] ? rcu_cleanup_dead_rnp+0x200/0x200 [ 37.036856] ? is_bpf_text_address+0xd7/0x170 [ 37.036860] ? kernel_text_address+0x79/0xf0 [ 37.036864] ? __kernel_text_address+0xd/0x40 [ 37.036868] ? __save_stack_trace+0x8d/0xf0 [ 37.036873] ? add_lock_to_list.isra.27+0x1ec/0x4b0 [ 37.036877] ? save_trace+0x290/0x290 [ 37.036881] ? save_stack_trace+0x1a/0x20 [ 37.036884] ? save_trace+0xe0/0x290 [ 37.036888] ? graph_lock+0x170/0x170 [ 37.036893] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 37.036896] lock_acquire+0x1e4/0x4f0 [ 37.036900] ? down_trylock+0x13/0x70 [ 37.036904] ? lock_release+0x9f0/0x9f0 [ 37.036908] ? trace_hardirqs_off+0xb8/0x2c0 [ 37.036912] ? trace_hardirqs_on+0x2c0/0x2c0 [ 37.036916] ? trace_hardirqs_off+0xb8/0x2c0 [ 37.036920] ? log_store+0x34f/0x4c0 [ 37.036924] ? vprintk_emit+0x31f/0x910 [ 37.036928] _raw_spin_lock_irqsave+0x96/0xc0 [ 37.036932] ? down_trylock+0x13/0x70 [ 37.036935] down_trylock+0x13/0x70 [ 37.036940] __down_trylock_console_sem+0xae/0x200 [ 37.036943] console_trylock+0x15/0xa0 [ 37.036947] vprintk_emit+0x31f/0x910 [ 37.036951] ? wake_up_klogd+0x110/0x110 [ 37.036955] ? run_rebalance_domains+0x4c0/0x4c0 [ 37.036959] ? kasan_check_read+0x11/0x20 [ 37.036963] ? rcu_is_watching+0x8c/0x150 [ 37.036967] ? rcu_pm_notify+0xc0/0xc0 [ 37.036971] ? lock_acquire+0x1e4/0x4f0 [ 37.036975] ? kasan_report+0x8e/0x110 [ 37.036978] ? __schedule+0xf54/0x1df0 [ 37.036982] vprintk_default+0x28/0x30 [ 37.036986] vprintk_func+0x7a/0x117 [ 37.036989] printk+0xa7/0xcf [ 37.036993] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 37.036997] ? kasan_check_write+0x14/0x20 [ 37.037001] ? do_raw_spin_lock+0xc1/0x200 [ 37.037005] ? do_raw_spin_lock+0xc1/0x200 [ 37.037009] kasan_report+0x9e/0x110 [ 37.037013] __asan_report_load8_noabort+0x14/0x20 [ 37.037017] __schedule+0xf54/0x1df0 [ 37.037021] ? __sched_text_start+0x8/0x8 [ 37.037026] ? _raw_spin_unlock_irqrestore+0xa1/0xc0 [ 37.037030] ? __call_srcu+0x7e7/0x1040 [ 37.037034] ? check_same_owner+0x340/0x340 [ 37.037038] ? mark_held_locks+0x160/0x160 [ 37.037041] ? find_held_lock+0x36/0x1c0 [ 37.037046] preempt_schedule_common+0x22/0x60 [ 37.037049] _cond_resched+0x1d/0x30 [ 37.037054] wait_for_completion+0xa5/0x8d0 [ 37.037058] ? wait_for_completion_interruptible+0x950/0x950 [ 37.037063] ? __lockdep_init_map+0x105/0x590 [ 37.037067] ? __init_waitqueue_head+0x9e/0x150 [ 37.037071] ? init_wait_entry+0x1c0/0x1c0 [ 37.037075] __synchronize_srcu+0x189/0x240 [ 37.037079] ? call_srcu+0x10/0x10 [ 37.037083] ? rcu_unexpedite_gp+0x20/0x20 [ 37.037087] synchronize_srcu+0x335/0x56f [ 37.037091] ? lock_downgrade+0x8f0/0x8f0 [ 37.037095] ? synchronize_srcu_expedited+0x20/0x20 [ 37.037099] ? kasan_check_read+0x11/0x20 [ 37.037104] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 37.037108] ? kasan_check_write+0x14/0x20 [ 37.037113] ? do_raw_spin_lock+0xc1/0x200 [ 37.037118] kvm_page_track_unregister_notifier+0x17d/0x250 [ 37.037122] ? kvm_slot_page_track_remove_page+0x70/0x70 [ 37.037126] ? kvfree+0x61/0x70 [ 37.037131] ? rcu_read_lock_sched_held+0x108/0x120 [ 37.037135] kvm_mmu_uninit_vm+0x1c/0x20 [ 37.037139] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 37.037143] ? kvm_arch_sync_events+0x30/0x30 [ 37.037148] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 37.037152] ? mmu_notifier_unregister+0x474/0x600 [ 37.037156] ? trace_hardirqs_on+0x2c0/0x2c0 [ 37.037160] ? kfree+0x111/0x210 [ 37.037164] ? __mmu_notifier_register+0x30/0x30 [ 37.037168] ? __free_pages+0x10a/0x190 [ 37.037172] ? free_unref_page+0x930/0x930 [ 37.037176] kvm_put_kvm+0x73f/0x1060 [ 37.037180] ? kvm_write_guest_cached+0x40/0x40 [ 37.037185] ? _raw_spin_unlock_irq+0x27/0x70 [ 37.037189] ? _raw_spin_unlock_irq+0x27/0x70 [ 37.037193] ? lockdep_hardirqs_on+0x421/0x5c0 [ 37.037197] ? kasan_check_write+0x14/0x20 [ 37.037201] ? do_raw_spin_lock+0xc1/0x200 [ 37.037205] ? kvm_irqfd_release+0xdd/0x120 [ 37.037209] ? kvm_irqfd_release+0xdd/0x120 [ 37.037213] ? kvm_put_kvm+0x1060/0x1060 [ 37.037217] kvm_vm_release+0x42/0x50 [ 37.037220] __fput+0x38a/0xa40 [ 37.037224] ? __alloc_file+0x400/0x400 [ 37.037228] ? check_same_owner+0x340/0x340 [ 37.037232] ? kasan_check_write+0x14/0x20 [ 37.037236] ? do_raw_spin_lock+0xc1/0x200 [ 37.037239] ____fput+0x15/0x20 [ 37.037243] task_work_run+0x1e8/0x2a0 [ 37.037247] ? task_work_cancel+0x240/0x240 [ 37.037252] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 37.037256] ? switch_task_namespaces+0xa2/0xd0 [ 37.037260] do_exit+0x1ae4/0x26e0 [ 37.037264] ? mm_update_next_owner+0x9a0/0x9a0 [ 37.037268] ? kvm_vcpu_ioctl+0x2b5/0x1280 [ 37.037273] ? rcu_read_lock_sched_held+0x108/0x120 [ 37.037276] ? kfree+0x1d7/0x210 [ 37.037280] ? kvm_vcpu_ioctl+0x2ba/0x1280 [ 37.037285] ? kvm_uevent_notify_change.part.32+0x440/0x440 [ 37.037288] ? is_bpf_text_ad [ 37.037298] Lost 55 message(s)! [ 38.102951] Shutting down cpus with NMI [ 39.161872] Dumping ftrace buffer: [ 39.165401] (ftrace buffer empty) [ 39.169122] Kernel Offset: disabled [ 39.172731] Rebooting in 86400 seconds..