[....] 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.044817] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 27.820967] random: sshd: uninitialized urandom read (32 bytes read) [ 28.094224] random: sshd: uninitialized urandom read (32 bytes read) [ 28.628853] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.9' (ECDSA) to the list of known hosts. [ 34.363952] urandom_read: 1 callbacks suppressed [ 34.363958] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 34.470619] 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. [ 34.495177] ================================================================== [ 34.504994] BUG: KASAN: use-after-free in __schedule+0xf54/0x1df0 [ 34.511219] Read of size 8 at addr ffff8801b7480058 by task syz-executor312/4667 [ 34.518764] [ 34.520392] CPU: 1 PID: 4667 Comm: syz-executor312 Not tainted 4.19.0-rc1+ #215 [ 34.527829] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.537174] Call Trace: [ 34.539761] dump_stack+0x1c9/0x2b4 [ 34.543391] ? dump_stack_print_info.cold.2+0x52/0x52 [ 34.548578] ? printk+0xa7/0xcf [ 34.551857] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 34.556621] ? __schedule+0xf54/0x1df0 [ 34.560512] print_address_description+0x6c/0x20b [ 34.565360] ? __schedule+0xf54/0x1df0 [ 34.569247] kasan_report.cold.7+0x242/0x30d [ 34.573654] __asan_report_load8_noabort+0x14/0x20 [ 34.578596] __schedule+0xf54/0x1df0 [ 34.582311] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 34.587425] ? __sched_text_start+0x8/0x8 [ 34.591571] ? __call_srcu+0x7e7/0x1040 [ 34.595553] ? check_same_owner+0x340/0x340 [ 34.599870] ? mark_held_locks+0x160/0x160 [ 34.604107] ? find_held_lock+0x36/0x1c0 [ 34.608173] preempt_schedule_common+0x22/0x60 [ 34.612754] _cond_resched+0x1d/0x30 [ 34.616468] wait_for_completion+0xa5/0x8d0 [ 34.620790] ? wait_for_completion_interruptible+0x950/0x950 [ 34.626586] ? __lockdep_init_map+0x105/0x590 [ 34.631083] ? __init_waitqueue_head+0x9e/0x150 [ 34.635755] ? init_wait_entry+0x1c0/0x1c0 [ 34.639995] __synchronize_srcu+0x189/0x240 [ 34.644314] ? call_srcu+0x10/0x10 [ 34.647865] ? rcu_unexpedite_gp+0x20/0x20 [ 34.652154] synchronize_srcu+0x335/0x56f [ 34.656298] ? lock_downgrade+0x8f0/0x8f0 [ 34.660454] ? synchronize_srcu_expedited+0x20/0x20 [ 34.665469] ? kasan_check_read+0x11/0x20 [ 34.669614] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 34.674196] ? kasan_check_write+0x14/0x20 [ 34.678436] ? do_raw_spin_lock+0xc1/0x200 [ 34.682689] kvm_page_track_unregister_notifier+0x17d/0x250 [ 34.688398] ? kvm_slot_page_track_remove_page+0x70/0x70 [ 34.693848] ? kvfree+0x61/0x70 [ 34.697126] ? rcu_read_lock_sched_held+0x108/0x120 [ 34.702154] kvm_mmu_uninit_vm+0x1c/0x20 [ 34.706220] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 34.710622] ? kvm_arch_sync_events+0x30/0x30 [ 34.715126] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 34.720688] ? mmu_notifier_unregister+0x474/0x600 [ 34.725612] ? trace_hardirqs_on+0x2c0/0x2c0 [ 34.730019] ? kfree+0x111/0x210 [ 34.733404] ? __mmu_notifier_register+0x30/0x30 [ 34.738187] ? __free_pages+0x10a/0x190 [ 34.742186] ? free_unref_page+0x930/0x930 [ 34.746436] kvm_put_kvm+0x73f/0x1060 [ 34.750244] ? kvm_write_guest_cached+0x40/0x40 [ 34.754926] ? _raw_spin_unlock_irq+0x27/0x70 [ 34.759431] ? _raw_spin_unlock_irq+0x27/0x70 [ 34.763932] ? lockdep_hardirqs_on+0x421/0x5c0 [ 34.768521] ? kasan_check_write+0x14/0x20 [ 34.772756] ? do_raw_spin_lock+0xc1/0x200 [ 34.776992] ? kvm_irqfd_release+0xdd/0x120 [ 34.781313] ? kvm_irqfd_release+0xdd/0x120 [ 34.785650] ? kvm_put_kvm+0x1060/0x1060 [ 34.789716] kvm_vm_release+0x42/0x50 [ 34.793526] __fput+0x38a/0xa40 [ 34.796803] ? __alloc_file+0x400/0x400 [ 34.800780] ? check_same_owner+0x340/0x340 [ 34.805106] ? kasan_check_write+0x14/0x20 [ 34.809350] ? do_raw_spin_lock+0xc1/0x200 [ 34.813585] ____fput+0x15/0x20 [ 34.816862] task_work_run+0x1e8/0x2a0 [ 34.820748] ? task_work_cancel+0x240/0x240 [ 34.825068] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 34.830607] ? switch_task_namespaces+0xa2/0xd0 [ 34.835363] do_exit+0x1ae4/0x26e0 [ 34.838905] ? mm_update_next_owner+0x9a0/0x9a0 [ 34.843581] ? kvm_vcpu_ioctl+0x2b5/0x1280 [ 34.847819] ? rcu_read_lock_sched_held+0x108/0x120 [ 34.852833] ? kfree+0x1d7/0x210 [ 34.856201] ? kvm_vcpu_ioctl+0x2ba/0x1280 [ 34.860436] ? kvm_uevent_notify_change.part.32+0x440/0x440 [ 34.866148] ? is_bpf_text_address+0xd7/0x170 [ 34.870651] ? kernel_text_address+0x79/0xf0 [ 34.875055] ? __kernel_text_address+0xd/0x40 [ 34.879549] ? unwind_get_return_address+0x61/0xa0 [ 34.884481] ? __save_stack_trace+0x8d/0xf0 [ 34.888805] ? save_stack+0xa9/0xd0 [ 34.892429] ? save_stack+0x43/0xd0 [ 34.896052] ? __kasan_slab_free+0x11a/0x170 [ 34.900459] ? kasan_slab_free+0xe/0x10 [ 34.904437] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 34.909455] ? __fget_light+0x2f7/0x440 [ 34.913427] ? fget_raw+0x20/0x20 [ 34.916877] ? kasan_check_read+0x11/0x20 [ 34.921024] ? do_raw_spin_unlock+0xa7/0x2f0 [ 34.925431] ? trace_hardirqs_on+0x2c0/0x2c0 [ 34.929839] ? initcall_blacklisted+0x9a/0x1e0 [ 34.934426] ? _raw_spin_unlock_irqrestore+0x63/0xc0 [ 34.939618] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 34.945212] ? sockfd_lookup_light+0xc5/0x160 [ 34.949721] ? __sys_bind+0x1d1/0x440 [ 34.953907] ? __ia32_sys_socketpair+0xf0/0xf0 [ 34.958488] ? fget_raw+0x20/0x20 [ 34.961937] ? putname+0xf2/0x130 [ 34.965390] ? rcu_read_lock_sched_held+0x108/0x120 [ 34.970406] ? kmem_cache_free+0x246/0x280 [ 34.974638] ? putname+0xf7/0x130 [ 34.978115] do_group_exit+0x177/0x440 [ 34.982033] ? trace_hardirqs_on+0xbd/0x2c0 [ 34.986362] ? __ia32_sys_exit+0x50/0x50 [ 34.990424] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 34.995529] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 35.001079] ? ksys_ioctl+0x81/0xd0 [ 35.004708] __x64_sys_exit_group+0x3e/0x50 [ 35.009029] do_syscall_64+0x1b9/0x820 [ 35.012918] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 35.018283] ? syscall_return_slowpath+0x5e0/0x5e0 [ 35.023212] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 35.028049] ? trace_hardirqs_on_caller+0x2b0/0x2b0 [ 35.033073] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 35.038099] ? prepare_exit_to_usermode+0x291/0x3b0 [ 35.043119] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 35.047965] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.053162] RIP: 0033:0x43eff8 [ 35.056359] Code: Bad RIP value. [ 35.059712] RSP: 002b:00007fff4f79c648 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 35.067518] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043eff8 [ 35.074783] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 35.082047] RBP: 00000000004be8a8 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 35.089307] R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000000001 [ 35.096574] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 35.103844] [ 35.105462] Allocated by task 4667: [ 35.109105] save_stack+0x43/0xd0 [ 35.112555] kasan_kmalloc+0xc4/0xe0 [ 35.116262] kasan_slab_alloc+0x12/0x20 [ 35.120231] kmem_cache_alloc+0x12e/0x710 [ 35.124371] vmx_create_vcpu+0xcf/0x2830 [ 35.128427] kvm_arch_vcpu_create+0xe5/0x220 [ 35.132831] kvm_vm_ioctl+0x488/0x1d80 [ 35.136712] do_vfs_ioctl+0x1de/0x1720 [ 35.140593] ksys_ioctl+0xa9/0xd0 [ 35.144039] __x64_sys_ioctl+0x73/0xb0 [ 35.147918] do_syscall_64+0x1b9/0x820 [ 35.151798] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.156973] [ 35.158590] Freed by task 4667: [ 35.161886] save_stack+0x43/0xd0 [ 35.165340] __kasan_slab_free+0x11a/0x170 [ 35.169570] kasan_slab_free+0xe/0x10 [ 35.173394] kmem_cache_free+0x86/0x280 [ 35.177362] vmx_free_vcpu+0x26b/0x300 [ 35.181255] kvm_arch_destroy_vm+0x365/0x7c0 [ 35.185655] kvm_put_kvm+0x73f/0x1060 [ 35.189449] kvm_vm_release+0x42/0x50 [ 35.193242] __fput+0x38a/0xa40 [ 35.196516] ____fput+0x15/0x20 [ 35.199793] task_work_run+0x1e8/0x2a0 [ 35.203676] do_exit+0x1ae4/0x26e0 [ 35.207223] do_group_exit+0x177/0x440 [ 35.211108] __x64_sys_exit_group+0x3e/0x50 [ 35.215424] do_syscall_64+0x1b9/0x820 [ 35.219321] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.224507] [ 35.226141] The buggy address belongs to the object at ffff8801b7480040 [ 35.226141] which belongs to the cache kvm_vcpu of size 23872 [ 35.238706] The buggy address is located 24 bytes inside of [ 35.238706] 23872-byte region [ffff8801b7480040, ffff8801b7485d80) [ 35.250659] The buggy address belongs to the page: [ 35.255582] page:ffffea0006dd2000 count:1 mapcount:0 mapping:ffff8801d5214b40 index:0x0 compound_mapcount: 0 [ 35.265547] flags: 0x2fffc0000008100(slab|head) [ 35.270215] raw: 02fffc0000008100 ffff8801d5210848 ffff8801d5210848 ffff8801d5214b40 [ 35.278111] raw: 0000000000000000 ffff8801b7480040 0000000100000001 0000000000000000 [ 35.285992] page dumped because: kasan: bad access detected [ 35.291689] [ 35.293306] Memory state around the buggy address: [ 35.298235] ffff8801b747ff00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 35.305589] ffff8801b747ff80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 35.312944] >ffff8801b7480000: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 35.320293] ^ [ 35.326515] ffff8801b7480080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.333866] ffff8801b7480100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.341210] ================================================================== [ 35.348559] Kernel panic - not syncing: panic_on_warn set ... [ 35.348559] [ 35.355925] CPU: 1 PID: 4667 Comm: syz-executor312 Tainted: G B 4.19.0-rc1+ #215 [ 35.364752] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.374100] Call Trace: [ 35.376694] dump_stack+0x1c9/0x2b4 [ 35.380321] ? dump_stack_print_info.cold.2+0x52/0x52 [ 35.385518] ? lock_downgrade+0x8f0/0x8f0 [ 35.389664] ? __schedule+0xf54/0x1df0 [ 35.393572] panic+0x238/0x4e7 [ 35.396761] ? add_taint.cold.5+0x16/0x16 [ 35.400912] ? print_shadow_for_address+0xba/0x116 [ 35.405841] ? trace_hardirqs_off+0xaf/0x2b0 [ 35.410246] ? trace_hardirqs_off+0x77/0x2b0 [ 35.414662] ? __schedule+0xf54/0x1df0 [ 35.418561] kasan_end_report+0x47/0x4f [ 35.422548] kasan_report.cold.7+0x76/0x30d [ 35.426878] __asan_report_load8_noabort+0x14/0x20 [ 35.431813] __schedule+0xf54/0x1df0 [ 35.435529] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 35.440647] ? __sched_text_start+0x8/0x8 [ 35.444800] ? __call_srcu+0x7e7/0x1040 [ 35.448781] ? check_same_owner+0x340/0x340 [ 35.453115] ? mark_held_locks+0x160/0x160 [ 35.457363] ? find_held_lock+0x36/0x1c0 [ 35.461434] preempt_schedule_common+0x22/0x60 [ 35.466032] _cond_resched+0x1d/0x30 [ 35.469760] wait_for_completion+0xa5/0x8d0 [ 35.474105] ? wait_for_completion_interruptible+0x950/0x950 [ 35.479910] ? __lockdep_init_map+0x105/0x590 [ 35.484409] ? __init_waitqueue_head+0x9e/0x150 [ 35.489098] ? init_wait_entry+0x1c0/0x1c0 [ 35.493361] __synchronize_srcu+0x189/0x240 [ 35.497684] ? call_srcu+0x10/0x10 [ 35.501223] ? rcu_unexpedite_gp+0x20/0x20 [ 35.505474] synchronize_srcu+0x335/0x56f [ 35.509626] ? lock_downgrade+0x8f0/0x8f0 [ 35.513780] ? synchronize_srcu_expedited+0x20/0x20 [ 35.518809] ? kasan_check_read+0x11/0x20 [ 35.522973] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 35.527569] ? kasan_check_write+0x14/0x20 [ 35.531810] ? do_raw_spin_lock+0xc1/0x200 [ 35.536052] kvm_page_track_unregister_notifier+0x17d/0x250 [ 35.541770] ? kvm_slot_page_track_remove_page+0x70/0x70 [ 35.547229] ? kvfree+0x61/0x70 [ 35.550509] ? rcu_read_lock_sched_held+0x108/0x120 [ 35.555525] kvm_mmu_uninit_vm+0x1c/0x20 [ 35.559586] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 35.563996] ? kvm_arch_sync_events+0x30/0x30 [ 35.568498] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 35.574036] ? mmu_notifier_unregister+0x474/0x600 [ 35.578965] ? trace_hardirqs_on+0x2c0/0x2c0 [ 35.583376] ? kfree+0x111/0x210 [ 35.586754] ? __mmu_notifier_register+0x30/0x30 [ 35.591521] ? __free_pages+0x10a/0x190 [ 35.595498] ? free_unref_page+0x930/0x930 [ 35.599741] kvm_put_kvm+0x73f/0x1060 [ 35.603548] ? kvm_write_guest_cached+0x40/0x40 [ 35.608219] ? _raw_spin_unlock_irq+0x27/0x70 [ 35.612713] ? _raw_spin_unlock_irq+0x27/0x70 [ 35.617379] ? lockdep_hardirqs_on+0x421/0x5c0 [ 35.621964] ? kasan_check_write+0x14/0x20 [ 35.626201] ? do_raw_spin_lock+0xc1/0x200 [ 35.630438] ? kvm_irqfd_release+0xdd/0x120 [ 35.634761] ? kvm_irqfd_release+0xdd/0x120 [ 35.639084] ? kvm_put_kvm+0x1060/0x1060 [ 35.643154] kvm_vm_release+0x42/0x50 [ 35.646954] __fput+0x38a/0xa40 [ 35.650236] ? __alloc_file+0x400/0x400 [ 35.654214] ? check_same_owner+0x340/0x340 [ 35.658535] ? kasan_check_write+0x14/0x20 [ 35.662784] ? do_raw_spin_lock+0xc1/0x200 [ 35.667018] ____fput+0x15/0x20 [ 35.670297] task_work_run+0x1e8/0x2a0 [ 35.674192] ? task_work_cancel+0x240/0x240 [ 35.678515] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 35.684050] ? switch_task_namespaces+0xa2/0xd0 [ 35.688724] do_exit+0x1ae4/0x26e0 [ 35.692281] ? mm_update_next_owner+0x9a0/0x9a0 [ 35.696963] ? kvm_vcpu_ioctl+0x2b5/0x1280 [ 35.701207] ? rcu_read_lock_sched_held+0x108/0x120 [ 35.706229] ? kfree+0x1d7/0x210 [ 35.709615] ? kvm_vcpu_ioctl+0x2ba/0x1280 [ 35.713862] ? kvm_uevent_notify_change.part.32+0x440/0x440 [ 35.719574] ? is_bpf_text_address+0xd7/0x170 [ 35.724068] ? kernel_text_address+0x79/0xf0 [ 35.728482] ? __kernel_text_address+0xd/0x40 [ 35.732996] ? unwind_get_return_address+0x61/0xa0 [ 35.737927] ? __save_stack_trace+0x8d/0xf0 [ 35.742261] ? save_stack+0xa9/0xd0 [ 35.745896] ? save_stack+0x43/0xd0 [ 35.749521] ? __kasan_slab_free+0x11a/0x170 [ 35.753924] ? kasan_slab_free+0xe/0x10 [ 35.757900] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 35.762915] ? __fget_light+0x2f7/0x440 [ 35.766888] ? fget_raw+0x20/0x20 [ 35.770345] ? kasan_check_read+0x11/0x20 [ 35.774491] ? do_raw_spin_unlock+0xa7/0x2f0 [ 35.778897] ? trace_hardirqs_on+0x2c0/0x2c0 [ 35.783309] ? initcall_blacklisted+0x9a/0x1e0 [ 35.787900] ? _raw_spin_unlock_irqrestore+0x63/0xc0 [ 35.793004] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 35.798539] ? sockfd_lookup_light+0xc5/0x160 [ 35.803030] ? __sys_bind+0x1d1/0x440 [ 35.806830] ? __ia32_sys_socketpair+0xf0/0xf0 [ 35.811411] ? fget_raw+0x20/0x20 [ 35.814864] ? putname+0xf2/0x130 [ 35.818321] ? rcu_read_lock_sched_held+0x108/0x120 [ 35.823353] ? kmem_cache_free+0x246/0x280 [ 35.827586] ? putname+0xf7/0x130 [ 35.831135] do_group_exit+0x177/0x440 [ 35.835029] ? trace_hardirqs_on+0xbd/0x2c0 [ 35.839356] ? __ia32_sys_exit+0x50/0x50 [ 35.843672] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 35.848774] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 35.854306] ? ksys_ioctl+0x81/0xd0 [ 35.857942] __x64_sys_exit_group+0x3e/0x50 [ 35.862267] do_syscall_64+0x1b9/0x820 [ 35.866151] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 35.871513] ? syscall_return_slowpath+0x5e0/0x5e0 [ 35.876438] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 35.881278] ? trace_hardirqs_on_caller+0x2b0/0x2b0 [ 35.886289] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 35.891306] ? prepare_exit_to_usermode+0x291/0x3b0 [ 35.896340] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 35.901188] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.906377] RIP: 0033:0x43eff8 [ 35.909571] Code: Bad RIP value. [ 35.912932] RSP: 002b:00007fff4f79c648 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 35.920640] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043eff8 [ 35.927901] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 35.935166] RBP: 00000000004be8a8 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 35.942430] R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000000001 [ 35.949691] R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000 [ 35.957412] [ 35.957417] ====================================================== [ 35.957422] WARNING: possible circular locking dependency detected [ 35.957426] 4.19.0-rc1+ #215 Not tainted [ 35.957431] ------------------------------------------------------ [ 35.957436] syz-executor312/4667 is trying to acquire lock: [ 35.957440] 000000001bdca81b ((console_sem).lock){-...}, at: down_trylock+0x13/0x70 [ 35.957455] [ 35.957458] but task is already holding lock: [ 35.957462] 00000000881ca499 (report_lock){....}, at: kasan_report+0x8e/0x110 [ 35.957475] [ 35.957480] which lock already depends on the new lock. [ 35.957482] [ 35.957485] [ 35.957489] the existing dependency chain (in reverse order) is: [ 35.957492] [ 35.957494] -> #3 (report_lock){....}: [ 35.957508] _raw_spin_lock_irqsave+0x96/0xc0 [ 35.957512] kasan_report+0x8e/0x110 [ 35.957516] __asan_report_load8_noabort+0x14/0x20 [ 35.957520] __schedule+0xf54/0x1df0 [ 35.957524] preempt_schedule_common+0x22/0x60 [ 35.957528] _cond_resched+0x1d/0x30 [ 35.957532] wait_for_completion+0xa5/0x8d0 [ 35.957536] __synchronize_srcu+0x189/0x240 [ 35.957540] synchronize_srcu+0x335/0x56f [ 35.957545] kvm_page_track_unregister_notifier+0x17d/0x250 [ 35.957549] kvm_mmu_uninit_vm+0x1c/0x20 [ 35.957553] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 35.957556] kvm_put_kvm+0x73f/0x1060 [ 35.957560] kvm_vm_release+0x42/0x50 [ 35.957564] __fput+0x38a/0xa40 [ 35.957567] ____fput+0x15/0x20 [ 35.957571] task_work_run+0x1e8/0x2a0 [ 35.957574] do_exit+0x1ae4/0x26e0 [ 35.957578] do_group_exit+0x177/0x440 [ 35.957582] __x64_sys_exit_group+0x3e/0x50 [ 35.957586] do_syscall_64+0x1b9/0x820 [ 35.957591] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.957593] [ 35.957596] -> #2 (&rq->lock){-.-.}: [ 35.957609] _raw_spin_lock+0x2a/0x40 [ 35.957613] task_fork_fair+0x93/0x680 [ 35.957617] sched_fork+0x44b/0xbd0 [ 35.957621] copy_process+0x235e/0x7ad0 [ 35.957625] _do_fork+0x1ca/0x1170 [ 35.957628] kernel_thread+0x34/0x40 [ 35.957632] rest_init+0x22/0xe4 [ 35.957636] start_kernel+0x913/0x94e [ 35.957640] x86_64_start_reservations+0x29/0x2b [ 35.957644] x86_64_start_kernel+0x76/0x79 [ 35.957648] secondary_startup_64+0xa4/0xb0 [ 35.957650] [ 35.957652] -> #1 (&p->pi_lock){-.-.}: [ 35.957667] _raw_spin_lock_irqsave+0x96/0xc0 [ 35.957671] try_to_wake_up+0xd2/0x1250 [ 35.957675] wake_up_process+0x10/0x20 [ 35.957678] __up.isra.1+0x1c0/0x2a0 [ 35.957681] up+0x13c/0x1c0 [ 35.957685] __up_console_sem+0xbe/0x1b0 [ 35.957689] console_unlock+0x506/0x10d0 [ 35.957693] vprintk_emit+0x33a/0x910 [ 35.957697] vprintk_default+0x28/0x30 [ 35.957700] vprintk_func+0x7a/0x117 [ 35.957704] printk+0xa7/0xcf [ 35.957707] load_umh+0x51/0xbd [ 35.957711] do_one_initcall+0x127/0x838 [ 35.957715] kernel_init_freeable+0x4bb/0x5ae [ 35.957719] kernel_init+0x11/0x1b3 [ 35.957722] ret_from_fork+0x3a/0x50 [ 35.957725] [ 35.957727] -> #0 ((console_sem).lock){-...}: [ 35.957741] lock_acquire+0x1e4/0x4f0 [ 35.957745] _raw_spin_lock_irqsave+0x96/0xc0 [ 35.957749] down_trylock+0x13/0x70 [ 35.957753] __down_trylock_console_sem+0xae/0x200 [ 35.957757] console_trylock+0x15/0xa0 [ 35.957761] vprintk_emit+0x31f/0x910 [ 35.957764] vprintk_default+0x28/0x30 [ 35.957768] vprintk_func+0x7a/0x117 [ 35.957772] printk+0xa7/0xcf [ 35.957775] kasan_report+0x9e/0x110 [ 35.957780] __asan_report_load8_noabort+0x14/0x20 [ 35.957783] __schedule+0xf54/0x1df0 [ 35.957787] preempt_schedule_common+0x22/0x60 [ 35.957791] _cond_resched+0x1d/0x30 [ 35.957795] wait_for_completion+0xa5/0x8d0 [ 35.957799] __synchronize_srcu+0x189/0x240 [ 35.957803] synchronize_srcu+0x335/0x56f [ 35.957808] kvm_page_track_unregister_notifier+0x17d/0x250 [ 35.957812] kvm_mmu_uninit_vm+0x1c/0x20 [ 35.957816] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 35.957820] kvm_put_kvm+0x73f/0x1060 [ 35.957824] kvm_vm_release+0x42/0x50 [ 35.957827] __fput+0x38a/0xa40 [ 35.957830] ____fput+0x15/0x20 [ 35.957834] task_work_run+0x1e8/0x2a0 [ 35.957838] do_exit+0x1ae4/0x26e0 [ 35.957842] do_group_exit+0x177/0x440 [ 35.957846] __x64_sys_exit_group+0x3e/0x50 [ 35.957849] do_syscall_64+0x1b9/0x820 [ 35.957854] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.957856] [ 35.957860] other info that might help us debug this: [ 35.957863] [ 35.957866] Chain exists of: [ 35.957868] (console_sem).lock --> &rq->lock --> report_lock [ 35.957885] [ 35.957889] Possible unsafe locking scenario: [ 35.957891] [ 35.957895] CPU0 CPU1 [ 35.957899] ---- ---- [ 35.957902] lock(report_lock); [ 35.957911] lock(&rq->lock); [ 35.957920] lock(report_lock); [ 35.957927] lock((console_sem).lock); [ 35.957935] [ 35.957938] *** DEADLOCK *** [ 35.957941] [ 35.957945] 2 locks held by syz-executor312/4667: [ 35.957947] #0: 00000000732fee54 (&rq->lock){-.-.}, at: __schedule+0x24d/0x1df0 [ 35.957964] #1: 00000000881ca499 (report_lock){....}, at: kasan_report+0x8e/0x110 [ 35.957980] [ 35.957983] stack backtrace: [ 35.957989] CPU: 1 PID: 4667 Comm: syz-executor312 Not tainted 4.19.0-rc1+ #215 [ 35.957996] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.957999] Call Trace: [ 35.958003] dump_stack+0x1c9/0x2b4 [ 35.958007] ? dump_stack_print_info.cold.2+0x52/0x52 [ 35.958011] ? vprintk_func+0x100/0x117 [ 35.958016] print_circular_bug.isra.34.cold.55+0x1bd/0x27d [ 35.958019] ? save_trace+0xe0/0x290 [ 35.958023] __lock_acquire+0x3449/0x5020 [ 35.958027] ? mark_held_locks+0x160/0x160 [ 35.958031] ? mark_held_locks+0x160/0x160 [ 35.958035] ? rcu_cleanup_dead_rnp+0x200/0x200 [ 35.958040] ? is_bpf_text_address+0xd7/0x170 [ 35.958044] ? kernel_text_address+0x79/0xf0 [ 35.958048] ? __kernel_text_address+0xd/0x40 [ 35.958052] ? __save_stack_trace+0x8d/0xf0 [ 35.958056] ? add_lock_to_list.isra.27+0x1ec/0x4b0 [ 35.958060] ? save_trace+0x290/0x290 [ 35.958063] ? save_stack_trace+0x1a/0x20 [ 35.958067] ? save_trace+0xe0/0x290 [ 35.958071] ? graph_lock+0x170/0x170 [ 35.958075] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 35.958079] lock_acquire+0x1e4/0x4f0 [ 35.958083] ? down_trylock+0x13/0x70 [ 35.958087] ? lock_release+0x9f0/0x9f0 [ 35.958096] ? trace_hardirqs_off+0xb8/0x2b0 [ 35.958100] ? trace_hardirqs_on+0x2c0/0x2c0 [ 35.958104] ? trace_hardirqs_off+0xb8/0x2b0 [ 35.958108] ? log_store+0x34f/0x4c0 [ 35.958111] ? vprintk_emit+0x31f/0x910 [ 35.958116] _raw_spin_lock_irqsave+0x96/0xc0 [ 35.958119] ? down_trylock+0x13/0x70 [ 35.958123] down_trylock+0x13/0x70 [ 35.958127] __down_trylock_console_sem+0xae/0x200 [ 35.958131] console_trylock+0x15/0xa0 [ 35.958134] vprintk_emit+0x31f/0x910 [ 35.958138] ? wake_up_klogd+0x110/0x110 [ 35.958143] ? run_rebalance_domains+0x4c0/0x4c0 [ 35.958146] ? kasan_check_read+0x11/0x20 [ 35.958150] ? rcu_is_watching+0x8c/0x150 [ 35.958154] ? rcu_pm_notify+0xc0/0xc0 [ 35.958158] ? lock_acquire+0x1e4/0x4f0 [ 35.958161] ? kasan_report+0x8e/0x110 [ 35.958165] ? __schedule+0xf54/0x1df0 [ 35.958169] vprintk_default+0x28/0x30 [ 35.958173] vprintk_func+0x7a/0x117 [ 35.958176] printk+0xa7/0xcf [ 35.958180] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 35.958184] ? kasan_check_write+0x14/0x20 [ 35.958188] ? do_raw_spin_lock+0xc1/0x200 [ 35.958192] ? do_raw_spin_lock+0xc1/0x200 [ 35.958195] kasan_report+0x9e/0x110 [ 35.958200] __asan_report_load8_noabort+0x14/0x20 [ 35.958203] __schedule+0xf54/0x1df0 [ 35.958208] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 35.958212] ? __sched_text_start+0x8/0x8 [ 35.958215] ? __call_srcu+0x7e7/0x1040 [ 35.958219] ? check_same_owner+0x340/0x340 [ 35.958223] ? mark_held_locks+0x160/0x160 [ 35.958227] ? find_held_lock+0x36/0x1c0 [ 35.958231] preempt_schedule_common+0x22/0x60 [ 35.958235] _cond_resched+0x1d/0x30 [ 35.958239] wait_for_completion+0xa5/0x8d0 [ 35.958244] ? wait_for_completion_interruptible+0x950/0x950 [ 35.958248] ? __lockdep_init_map+0x105/0x590 [ 35.958252] ? __init_waitqueue_head+0x9e/0x150 [ 35.958256] ? init_wait_entry+0x1c0/0x1c0 [ 35.958260] __synchronize_srcu+0x189/0x240 [ 35.958263] ? call_srcu+0x10/0x10 [ 35.958267] ? rcu_unexpedite_gp+0x20/0x20 [ 35.958271] synchronize_srcu+0x335/0x56f [ 35.958275] ? lock_downgrade+0x8f0/0x8f0 [ 35.958279] ? synchronize_srcu_expedited+0x20/0x20 [ 35.958283] ? kasan_check_read+0x11/0x20 [ 35.958287] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 35.958291] ? kasan_check_write+0x14/0x20 [ 35.958295] ? do_raw_spin_lock+0xc1/0x200 [ 35.958300] kvm_page_track_unregister_notifier+0x17d/0x250 [ 35.958304] ? kvm_slot_page_track_remove_page+0x70/0x70 [ 35.958308] ? kvfree+0x61/0x70 [ 35.958312] ? rcu_read_lock_sched_held+0x108/0x120 [ 35.958316] kvm_mmu_uninit_vm+0x1c/0x20 [ 35.958320] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 35.958334] ? kvm_arch_sync_events+0x30/0x30 [ 35.958339] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 35.958343] ? mmu_notifier_unregister+0x474/0x600 [ 35.958347] ? trace_hardirqs_on+0x2c0/0x2c0 [ 35.958350] ? kfree+0x111/0x210 [ 35.958355] ? __mmu_notifier_register+0x30/0x30 [ 35.958358] ? __free_pages+0x10a/0x190 [ 35.958362] ? free_unref_page+0x930/0x930 [ 35.958366] kvm_put_kvm+0x73f/0x1060 [ 35.958370] ? kvm_write_guest_cached+0x40/0x40 [ 35.958374] ? _raw_spin_unlock_irq+0x27/0x70 [ 35.958378] ? _raw_spin_unlock_irq+0x27/0x70 [ 35.958383] ? lockdep_hardirqs_on+0x421/0x5c0 [ 35.958387] ? kasan_check_write+0x14/0x20 [ 35.958391] ? do_raw_spin_lock+0xc1/0x200 [ 35.958395] ? kvm_irqfd_release+0xdd/0x120 [ 35.958399] ? kvm_irqfd_release+0xdd/0x120 [ 35.958403] ? kvm_put_kvm+0x1060/0x1060 [ 35.958407] kvm_vm_release+0x42/0x50 [ 35.958410] __fput+0x38a/0xa40 [ 35.958414] ? __alloc_file+0x400/0x400 [ 35.958418] ? check_same_owner+0x340/0x340 [ 35.958422] ? kasan_check_write+0x14/0x20 [ 35.958426] ? do_raw_spin_lock+0xc1/0x200 [ 35.958429] ____fput+0x15/0x20 [ 35.958433] task_work_run+0x1e8/0x2a0 [ 35.958437] ? task_work_cancel+0x240/0x240 [ 35.958442] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 35.958446] ? switch_task_namespaces+0xa2/0xd0 [ 35.958449] do_exit+0x1ae4/0x26e0 [ 35.958454] ? mm_update_next_owner+0x9a0/0x9a0 [ 35.958458] ? kvm_vcpu_ioctl+0x2b5/0x1280 [ 35.958462] ? rcu_read_lock_sched_held+0x108/0x120 [ 35.958465] ? kfree+0x1d7/0x210 [ 35.958469] ? kvm_vcpu_ioctl+0x2ba/0x1280 [ 35.958474] ? kvm_uevent_notify_change.part.32+0x440/0x440 [ 35.958478] ? is_bpf_text_address+0xd7/0x170 [ 35.958480] ? [ 35.958487] Lost 49 message(s)! [ 37.032570] Shutting down cpus with NMI [ 38.092209] Dumping ftrace buffer: [ 38.095732] (ftrace buffer empty) [ 38.099423] Kernel Offset: disabled [ 38.103044] Rebooting in 86400 seconds..