[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 24.456215] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. [ 24.700028] random: sshd: uninitialized urandom read (32 bytes read) [ 25.113465] random: sshd: uninitialized urandom read (32 bytes read) [ 25.640750] random: sshd: uninitialized urandom read (32 bytes read) Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 25.824822] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.17' (ECDSA) to the list of known hosts. [ 31.433554] random: sshd: uninitialized urandom read (32 bytes read) executing program [ 31.529653] 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. [ 31.553654] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0x0) [ 31.560873] F2FS-fs (loop0): Can't find valid F2FS filesystem in 1th superblock [ 31.568598] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0x0) [ 31.575665] F2FS-fs (loop0): Can't find valid F2FS filesystem in 2th superblock [ 31.583278] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0x0) [ 31.590325] F2FS-fs (loop0): Can't find valid F2FS filesystem in 1th superblock [ 31.597847] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0x0) [ 31.604895] F2FS-fs (loop0): Can't find valid F2FS filesystem in 2th superblock [ 31.627449] ================================================================== [ 31.637350] BUG: KASAN: use-after-free in __schedule+0xf54/0x1df0 [ 31.643584] Read of size 8 at addr ffff8801ac070058 by task syz-executor948/4467 [ 31.651105] [ 31.652729] CPU: 1 PID: 4467 Comm: syz-executor948 Not tainted 4.19.0-rc1+ #211 [ 31.660502] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.669849] Call Trace: [ 31.672437] dump_stack+0x1c9/0x2b4 [ 31.676064] ? dump_stack_print_info.cold.2+0x52/0x52 [ 31.681252] ? printk+0xa7/0xcf [ 31.684797] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 31.689557] ? __schedule+0xf54/0x1df0 [ 31.693441] print_address_description+0x6c/0x20b [ 31.698278] ? __schedule+0xf54/0x1df0 [ 31.702168] kasan_report.cold.7+0x242/0x30d [ 31.706575] __asan_report_load8_noabort+0x14/0x20 [ 31.711498] __schedule+0xf54/0x1df0 [ 31.715208] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 31.720321] ? __sched_text_start+0x8/0x8 [ 31.724474] ? __call_srcu+0x7e7/0x1040 [ 31.728470] ? check_same_owner+0x340/0x340 [ 31.732794] ? mark_held_locks+0x160/0x160 [ 31.737025] ? find_held_lock+0x36/0x1c0 [ 31.741085] preempt_schedule_common+0x22/0x60 [ 31.745667] _cond_resched+0x1d/0x30 [ 31.749378] wait_for_completion+0xa5/0x8d0 [ 31.753701] ? wait_for_completion_interruptible+0x950/0x950 [ 31.759493] ? __lockdep_init_map+0x105/0x590 [ 31.763987] ? __init_waitqueue_head+0x9e/0x150 [ 31.768649] ? init_wait_entry+0x1c0/0x1c0 [ 31.772892] __synchronize_srcu+0x189/0x240 [ 31.777210] ? call_srcu+0x10/0x10 [ 31.780755] ? rcu_unexpedite_gp+0x20/0x20 [ 31.785005] synchronize_srcu+0x335/0x56f [ 31.789147] ? lock_downgrade+0x8f0/0x8f0 [ 31.793300] ? synchronize_srcu_expedited+0x20/0x20 [ 31.798321] ? kasan_check_read+0x11/0x20 [ 31.802471] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 31.807049] ? kasan_check_write+0x14/0x20 [ 31.811280] ? do_raw_spin_lock+0xc1/0x200 [ 31.815519] kvm_page_track_unregister_notifier+0x17d/0x250 [ 31.821229] ? kvm_slot_page_track_remove_page+0x70/0x70 [ 31.826676] ? kvfree+0x61/0x70 [ 31.829956] ? rcu_read_lock_sched_held+0x108/0x120 [ 31.834969] kvm_mmu_uninit_vm+0x1c/0x20 [ 31.839031] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 31.843439] ? kvm_arch_sync_events+0x30/0x30 [ 31.847935] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 31.853473] ? mmu_notifier_unregister+0x474/0x600 [ 31.858400] ? trace_hardirqs_on+0x2c0/0x2c0 [ 31.862811] ? kfree+0x111/0x210 [ 31.866177] ? __mmu_notifier_register+0x30/0x30 [ 31.870931] ? __free_pages+0x10a/0x190 [ 31.874901] ? free_unref_page+0x930/0x930 [ 31.879142] kvm_put_kvm+0x73f/0x1060 [ 31.882950] ? kvm_write_guest_cached+0x40/0x40 [ 31.887638] ? _raw_spin_unlock_irq+0x27/0x70 [ 31.892128] ? _raw_spin_unlock_irq+0x27/0x70 [ 31.896617] ? lockdep_hardirqs_on+0x421/0x5c0 [ 31.901200] ? kasan_check_write+0x14/0x20 [ 31.905429] ? do_raw_spin_lock+0xc1/0x200 [ 31.909660] ? kvm_irqfd_release+0xdd/0x120 [ 31.913979] ? kvm_irqfd_release+0xdd/0x120 [ 31.918385] ? kvm_put_kvm+0x1060/0x1060 [ 31.922441] kvm_vm_release+0x42/0x50 [ 31.926236] __fput+0x36e/0x8c0 [ 31.929513] ? __alloc_file+0x400/0x400 [ 31.933487] ? check_same_owner+0x340/0x340 [ 31.937807] ? kasan_check_write+0x14/0x20 [ 31.942037] ? do_raw_spin_lock+0xc1/0x200 [ 31.946267] ____fput+0x15/0x20 [ 31.949546] task_work_run+0x1e8/0x2a0 [ 31.953428] ? task_work_cancel+0x240/0x240 [ 31.957752] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 31.963296] ? switch_task_namespaces+0xa2/0xd0 [ 31.967962] do_exit+0x1ae4/0x26e0 [ 31.971504] ? mm_update_next_owner+0x9a0/0x9a0 [ 31.976172] ? mark_held_locks+0x160/0x160 [ 31.980405] ? debug_object_active_state+0x2f5/0x4d0 [ 31.985504] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 31.990604] ? kasan_check_write+0x14/0x20 [ 31.994833] ? do_raw_spin_lock+0xc1/0x200 [ 31.999067] ? __call_rcu.constprop.68+0x3bc/0xb30 [ 32.003990] ? __call_rcu.constprop.68+0x3bc/0xb30 [ 32.008917] ? lockdep_hardirqs_on+0x421/0x5c0 [ 32.013492] ? trace_hardirqs_on+0xbd/0x2c0 [ 32.017813] ? rcu_is_watching+0x8c/0x150 [ 32.021956] ? call_rcu_sched+0x12/0x20 [ 32.025926] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 32.031030] ? rcu_is_watching+0x8c/0x150 [ 32.035177] ? rcu_cleanup_dead_rnp+0x200/0x200 [ 32.039847] ? graph_lock+0x170/0x170 [ 32.043644] ? note_gp_changes+0x420/0x420 [ 32.047874] ? mnt_get_count+0x150/0x150 [ 32.051937] ? blkcg_maybe_throttle_current+0xa56/0x10c0 [ 32.057398] ? blkcg_print_stat+0x1420/0x1420 [ 32.061897] ? _raw_spin_unlock_irq+0x27/0x70 [ 32.066389] ? _raw_spin_unlock_irq+0x27/0x70 [ 32.070883] ? lockdep_hardirqs_on+0x421/0x5c0 [ 32.075462] ? trace_hardirqs_on+0xbd/0x2c0 [ 32.079788] ? kasan_check_read+0x11/0x20 [ 32.083939] ? task_work_run+0x1af/0x2a0 [ 32.087997] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 32.093099] ? kasan_check_write+0x14/0x20 [ 32.097331] ? do_raw_spin_lock+0xc1/0x200 [ 32.101563] ? trace_hardirqs_off+0xb8/0x2b0 [ 32.105968] ? do_syscall_64+0x6be/0x820 [ 32.110026] ? trace_hardirqs_on+0x2c0/0x2c0 [ 32.114426] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 32.119528] do_group_exit+0x177/0x440 [ 32.123427] ? trace_hardirqs_on+0xbd/0x2c0 [ 32.127745] ? __ia32_sys_exit+0x50/0x50 [ 32.131818] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 32.136920] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 32.142457] __x64_sys_exit_group+0x3e/0x50 [ 32.146787] do_syscall_64+0x1b9/0x820 [ 32.150677] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 32.156041] ? syscall_return_slowpath+0x5e0/0x5e0 [ 32.160966] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 32.165813] ? trace_hardirqs_on_caller+0x2b0/0x2b0 [ 32.170916] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 32.175928] ? prepare_exit_to_usermode+0x291/0x3b0 [ 32.180944] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 32.185801] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 32.190987] RIP: 0033:0x442e28 [ 32.194182] Code: Bad RIP value. [ 32.197536] RSP: 002b:00007ffc9b3065f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 32.205242] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000442e28 [ 32.212505] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 32.219766] RBP: 00000000004c2ca8 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 32.227036] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 32.234305] R13: 00000000006d5180 R14: 0000000000000000 R15: 0000000000000000 [ 32.241580] [ 32.243202] Allocated by task 4467: [ 32.246825] save_stack+0x43/0xd0 [ 32.250271] kasan_kmalloc+0xc4/0xe0 [ 32.253989] kasan_slab_alloc+0x12/0x20 [ 32.257959] kmem_cache_alloc+0x12e/0x710 [ 32.262101] vmx_create_vcpu+0xcf/0x2830 [ 32.266155] kvm_arch_vcpu_create+0xe5/0x220 [ 32.270562] kvm_vm_ioctl+0x488/0x1d80 [ 32.274459] do_vfs_ioctl+0x1de/0x1720 [ 32.278338] ksys_ioctl+0xa9/0xd0 [ 32.281793] __x64_sys_ioctl+0x73/0xb0 [ 32.285680] do_syscall_64+0x1b9/0x820 [ 32.289566] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 32.294744] [ 32.296369] Freed by task 4467: [ 32.299644] save_stack+0x43/0xd0 [ 32.303093] __kasan_slab_free+0x11a/0x170 [ 32.307323] kasan_slab_free+0xe/0x10 [ 32.311119] kmem_cache_free+0x86/0x280 [ 32.315085] vmx_free_vcpu+0x26b/0x300 [ 32.318971] kvm_arch_destroy_vm+0x365/0x7c0 [ 32.323380] kvm_put_kvm+0x73f/0x1060 [ 32.327174] kvm_vm_release+0x42/0x50 [ 32.330973] __fput+0x36e/0x8c0 [ 32.334250] ____fput+0x15/0x20 [ 32.337526] task_work_run+0x1e8/0x2a0 [ 32.341406] do_exit+0x1ae4/0x26e0 [ 32.344968] do_group_exit+0x177/0x440 [ 32.348849] __x64_sys_exit_group+0x3e/0x50 [ 32.353168] do_syscall_64+0x1b9/0x820 [ 32.357057] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 32.362233] [ 32.364100] The buggy address belongs to the object at ffff8801ac070040 [ 32.364100] which belongs to the cache kvm_vcpu of size 23872 [ 32.376667] The buggy address is located 24 bytes inside of [ 32.376667] 23872-byte region [ffff8801ac070040, ffff8801ac075d80) [ 32.388616] The buggy address belongs to the page: [ 32.393539] page:ffffea0006b01c00 count:1 mapcount:0 mapping:ffff8801d4bf6dc0 index:0x0 compound_mapcount: 0 [ 32.403506] flags: 0x2fffc0000008100(slab|head) [ 32.408176] raw: 02fffc0000008100 ffff8801d56d2248 ffff8801d56d2248 ffff8801d4bf6dc0 [ 32.416057] raw: 0000000000000000 ffff8801ac070040 0000000100000001 0000000000000000 [ 32.423925] page dumped because: kasan: bad access detected [ 32.429619] [ 32.431236] Memory state around the buggy address: [ 32.436159] ffff8801ac06ff00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.443508] ffff8801ac06ff80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 32.450862] >ffff8801ac070000: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 32.458207] ^ [ 32.464432] ffff8801ac070080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 32.472315] ffff8801ac070100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 32.479662] ================================================================== [ 32.487014] Kernel panic - not syncing: panic_on_warn set ... [ 32.487014] [ 32.494375] CPU: 1 PID: 4467 Comm: syz-executor948 Tainted: G B 4.19.0-rc1+ #211 [ 32.503202] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.512548] Call Trace: [ 32.515135] dump_stack+0x1c9/0x2b4 [ 32.518759] ? dump_stack_print_info.cold.2+0x52/0x52 [ 32.523954] ? lock_downgrade+0x8f0/0x8f0 [ 32.528107] ? __schedule+0xf54/0x1df0 [ 32.531991] panic+0x238/0x4e7 [ 32.535183] ? add_taint.cold.5+0x16/0x16 [ 32.539332] ? print_shadow_for_address+0xba/0x116 [ 32.544267] ? trace_hardirqs_off+0xaf/0x2b0 [ 32.548673] ? trace_hardirqs_off+0x77/0x2b0 [ 32.553076] ? __schedule+0xf54/0x1df0 [ 32.556960] kasan_end_report+0x47/0x4f [ 32.560931] kasan_report.cold.7+0x76/0x30d [ 32.565255] __asan_report_load8_noabort+0x14/0x20 [ 32.570179] __schedule+0xf54/0x1df0 [ 32.574182] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 32.579287] ? __sched_text_start+0x8/0x8 [ 32.583439] ? __call_srcu+0x7e7/0x1040 [ 32.587421] ? check_same_owner+0x340/0x340 [ 32.591734] ? mark_held_locks+0x160/0x160 [ 32.595961] ? find_held_lock+0x36/0x1c0 [ 32.600020] preempt_schedule_common+0x22/0x60 [ 32.604596] _cond_resched+0x1d/0x30 [ 32.608310] wait_for_completion+0xa5/0x8d0 [ 32.612718] ? wait_for_completion_interruptible+0x950/0x950 [ 32.618515] ? __lockdep_init_map+0x105/0x590 [ 32.623010] ? __init_waitqueue_head+0x9e/0x150 [ 32.627672] ? init_wait_entry+0x1c0/0x1c0 [ 32.631906] __synchronize_srcu+0x189/0x240 [ 32.636224] ? call_srcu+0x10/0x10 [ 32.639763] ? rcu_unexpedite_gp+0x20/0x20 [ 32.644013] synchronize_srcu+0x335/0x56f [ 32.648161] ? lock_downgrade+0x8f0/0x8f0 [ 32.652308] ? synchronize_srcu_expedited+0x20/0x20 [ 32.657336] ? kasan_check_read+0x11/0x20 [ 32.661482] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 32.666064] ? kasan_check_write+0x14/0x20 [ 32.670299] ? do_raw_spin_lock+0xc1/0x200 [ 32.674533] kvm_page_track_unregister_notifier+0x17d/0x250 [ 32.680245] ? kvm_slot_page_track_remove_page+0x70/0x70 [ 32.685690] ? kvfree+0x61/0x70 [ 32.688971] ? rcu_read_lock_sched_held+0x108/0x120 [ 32.693988] kvm_mmu_uninit_vm+0x1c/0x20 [ 32.698049] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 32.702455] ? kvm_arch_sync_events+0x30/0x30 [ 32.706951] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 32.712490] ? mmu_notifier_unregister+0x474/0x600 [ 32.717414] ? trace_hardirqs_on+0x2c0/0x2c0 [ 32.721817] ? kfree+0x111/0x210 [ 32.725189] ? __mmu_notifier_register+0x30/0x30 [ 32.729947] ? __free_pages+0x10a/0x190 [ 32.733920] ? free_unref_page+0x930/0x930 [ 32.738161] kvm_put_kvm+0x73f/0x1060 [ 32.741966] ? kvm_write_guest_cached+0x40/0x40 [ 32.746648] ? _raw_spin_unlock_irq+0x27/0x70 [ 32.751137] ? _raw_spin_unlock_irq+0x27/0x70 [ 32.755629] ? lockdep_hardirqs_on+0x421/0x5c0 [ 32.760212] ? kasan_check_write+0x14/0x20 [ 32.764442] ? do_raw_spin_lock+0xc1/0x200 [ 32.768678] ? kvm_irqfd_release+0xdd/0x120 [ 32.772996] ? kvm_irqfd_release+0xdd/0x120 [ 32.777328] ? kvm_put_kvm+0x1060/0x1060 [ 32.781384] kvm_vm_release+0x42/0x50 [ 32.785183] __fput+0x36e/0x8c0 [ 32.788458] ? __alloc_file+0x400/0x400 [ 32.792431] ? check_same_owner+0x340/0x340 [ 32.796747] ? kasan_check_write+0x14/0x20 [ 32.800982] ? do_raw_spin_lock+0xc1/0x200 [ 32.805217] ____fput+0x15/0x20 [ 32.808492] task_work_run+0x1e8/0x2a0 [ 32.812389] ? task_work_cancel+0x240/0x240 [ 32.816714] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 32.822251] ? switch_task_namespaces+0xa2/0xd0 [ 32.826934] do_exit+0x1ae4/0x26e0 [ 32.830477] ? mm_update_next_owner+0x9a0/0x9a0 [ 32.835146] ? mark_held_locks+0x160/0x160 [ 32.839375] ? debug_object_active_state+0x2f5/0x4d0 [ 32.844479] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 32.849588] ? kasan_check_write+0x14/0x20 [ 32.853823] ? do_raw_spin_lock+0xc1/0x200 [ 32.858056] ? __call_rcu.constprop.68+0x3bc/0xb30 [ 32.862981] ? __call_rcu.constprop.68+0x3bc/0xb30 [ 32.867910] ? lockdep_hardirqs_on+0x421/0x5c0 [ 32.872485] ? trace_hardirqs_on+0xbd/0x2c0 [ 32.876809] ? rcu_is_watching+0x8c/0x150 [ 32.880952] ? call_rcu_sched+0x12/0x20 [ 32.884921] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 32.890018] ? rcu_is_watching+0x8c/0x150 [ 32.894164] ? rcu_cleanup_dead_rnp+0x200/0x200 [ 32.898840] ? graph_lock+0x170/0x170 [ 32.902635] ? note_gp_changes+0x420/0x420 [ 32.906864] ? mnt_get_count+0x150/0x150 [ 32.910923] ? blkcg_maybe_throttle_current+0xa56/0x10c0 [ 32.916376] ? blkcg_print_stat+0x1420/0x1420 [ 32.920877] ? _raw_spin_unlock_irq+0x27/0x70 [ 32.925367] ? _raw_spin_unlock_irq+0x27/0x70 [ 32.929857] ? lockdep_hardirqs_on+0x421/0x5c0 [ 32.934433] ? trace_hardirqs_on+0xbd/0x2c0 [ 32.938748] ? kasan_check_read+0x11/0x20 [ 32.942908] ? task_work_run+0x1af/0x2a0 [ 32.946967] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 32.952068] ? kasan_check_write+0x14/0x20 [ 32.956305] ? do_raw_spin_lock+0xc1/0x200 [ 32.960538] ? trace_hardirqs_off+0xb8/0x2b0 [ 32.964942] ? do_syscall_64+0x6be/0x820 [ 32.969000] ? trace_hardirqs_on+0x2c0/0x2c0 [ 32.973408] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 32.978509] do_group_exit+0x177/0x440 [ 32.982396] ? trace_hardirqs_on+0xbd/0x2c0 [ 32.986710] ? __ia32_sys_exit+0x50/0x50 [ 32.990769] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 32.995883] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 33.001417] __x64_sys_exit_group+0x3e/0x50 [ 33.005738] do_syscall_64+0x1b9/0x820 [ 33.009622] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 33.014997] ? syscall_return_slowpath+0x5e0/0x5e0 [ 33.019922] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 33.024761] ? trace_hardirqs_on_caller+0x2b0/0x2b0 [ 33.029807] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 33.034832] ? prepare_exit_to_usermode+0x291/0x3b0 [ 33.039851] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 33.044705] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 33.049884] RIP: 0033:0x442e28 [ 33.053082] Code: Bad RIP value. [ 33.056438] RSP: 002b:00007ffc9b3065f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 33.064142] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000442e28 [ 33.071403] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 33.078662] RBP: 00000000004c2ca8 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 33.085926] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 33.093189] R13: 00000000006d5180 R14: 0000000000000000 R15: 0000000000000000 [ 33.100460] [ 33.100465] ====================================================== [ 33.100471] WARNING: possible circular locking dependency detected [ 33.100474] 4.19.0-rc1+ #211 Not tainted [ 33.100480] ------------------------------------------------------ [ 33.100484] syz-executor948/4467 is trying to acquire lock: [ 33.100488] 000000006eab3265 ((console_sem).lock){-...}, at: down_trylock+0x13/0x70 [ 33.100502] [ 33.100506] but task is already holding lock: [ 33.100509] 000000001cb8c6e1 (report_lock){....}, at: kasan_report+0x8e/0x110 [ 33.100523] [ 33.100527] which lock already depends on the new lock. [ 33.100530] [ 33.100532] [ 33.100537] the existing dependency chain (in reverse order) is: [ 33.100539] [ 33.100542] -> #3 (report_lock){....}: [ 33.100556] _raw_spin_lock_irqsave+0x96/0xc0 [ 33.100559] kasan_report+0x8e/0x110 [ 33.100564] __asan_report_load8_noabort+0x14/0x20 [ 33.100568] __schedule+0xf54/0x1df0 [ 33.100572] preempt_schedule_common+0x22/0x60 [ 33.100575] _cond_resched+0x1d/0x30 [ 33.100580] wait_for_completion+0xa5/0x8d0 [ 33.100584] __synchronize_srcu+0x189/0x240 [ 33.100587] synchronize_srcu+0x335/0x56f [ 33.100592] kvm_page_track_unregister_notifier+0x17d/0x250 [ 33.100596] kvm_mmu_uninit_vm+0x1c/0x20 [ 33.100600] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 33.100604] kvm_put_kvm+0x73f/0x1060 [ 33.100608] kvm_vm_release+0x42/0x50 [ 33.100611] __fput+0x36e/0x8c0 [ 33.100615] ____fput+0x15/0x20 [ 33.100619] task_work_run+0x1e8/0x2a0 [ 33.100622] do_exit+0x1ae4/0x26e0 [ 33.100626] do_group_exit+0x177/0x440 [ 33.100630] __x64_sys_exit_group+0x3e/0x50 [ 33.100634] do_syscall_64+0x1b9/0x820 [ 33.100638] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 33.100641] [ 33.100643] -> #2 (&rq->lock){-.-.}: [ 33.100656] _raw_spin_lock+0x2a/0x40 [ 33.100660] task_fork_fair+0x93/0x680 [ 33.100664] sched_fork+0x44b/0xbd0 [ 33.100668] copy_process+0x235e/0x7ad0 [ 33.100671] _do_fork+0x1ca/0x1170 [ 33.100675] kernel_thread+0x34/0x40 [ 33.100678] rest_init+0x22/0xe4 [ 33.100682] start_kernel+0x913/0x94e [ 33.100686] x86_64_start_reservations+0x29/0x2b [ 33.100690] x86_64_start_kernel+0x76/0x79 [ 33.100694] secondary_startup_64+0xa4/0xb0 [ 33.100696] [ 33.100699] -> #1 (&p->pi_lock){-.-.}: [ 33.100713] _raw_spin_lock_irqsave+0x96/0xc0 [ 33.100717] try_to_wake_up+0xd2/0x1250 [ 33.100720] wake_up_process+0x10/0x20 [ 33.100724] __up.isra.1+0x1c0/0x2a0 [ 33.100727] up+0x13c/0x1c0 [ 33.100731] __up_console_sem+0xbe/0x1b0 [ 33.100735] console_unlock+0x506/0x10d0 [ 33.100739] vprintk_emit+0x33a/0x910 [ 33.100743] vprintk_default+0x28/0x30 [ 33.100746] vprintk_func+0x7a/0x117 [ 33.100750] printk+0xa7/0xcf [ 33.100753] load_umh+0x51/0xbd [ 33.100757] do_one_initcall+0x127/0x838 [ 33.100761] kernel_init_freeable+0x4bb/0x5ae [ 33.100765] kernel_init+0x11/0x1b3 [ 33.100768] ret_from_fork+0x3a/0x50 [ 33.100771] [ 33.100773] -> #0 ((console_sem).lock){-...}: [ 33.100796] lock_acquire+0x1e4/0x4f0 [ 33.100800] _raw_spin_lock_irqsave+0x96/0xc0 [ 33.100804] down_trylock+0x13/0x70 [ 33.100808] __down_trylock_console_sem+0xae/0x200 [ 33.100812] console_trylock+0x15/0xa0 [ 33.100816] vprintk_emit+0x31f/0x910 [ 33.100820] vprintk_default+0x28/0x30 [ 33.100823] vprintk_func+0x7a/0x117 [ 33.100827] printk+0xa7/0xcf [ 33.100830] kasan_report+0x9e/0x110 [ 33.100835] __asan_report_load8_noabort+0x14/0x20 [ 33.100838] __schedule+0xf54/0x1df0 [ 33.100843] preempt_schedule_common+0x22/0x60 [ 33.100846] _cond_resched+0x1d/0x30 [ 33.100850] wait_for_completion+0xa5/0x8d0 [ 33.100855] __synchronize_srcu+0x189/0x240 [ 33.100858] synchronize_srcu+0x335/0x56f [ 33.100863] kvm_page_track_unregister_notifier+0x17d/0x250 [ 33.100867] kvm_mmu_uninit_vm+0x1c/0x20 [ 33.100871] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 33.100875] kvm_put_kvm+0x73f/0x1060 [ 33.100879] kvm_vm_release+0x42/0x50 [ 33.100882] __fput+0x36e/0x8c0 [ 33.100886] ____fput+0x15/0x20 [ 33.100889] task_work_run+0x1e8/0x2a0 [ 33.100893] do_exit+0x1ae4/0x26e0 [ 33.100897] do_group_exit+0x177/0x440 [ 33.100901] __x64_sys_exit_group+0x3e/0x50 [ 33.100905] do_syscall_64+0x1b9/0x820 [ 33.100909] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 33.100912] [ 33.100916] other info that might help us debug this: [ 33.100918] [ 33.100921] Chain exists of: [ 33.100923] (console_sem).lock --> &rq->lock --> report_lock [ 33.100941] [ 33.100945] Possible unsafe locking scenario: [ 33.100947] [ 33.100951] CPU0 CPU1 [ 33.100955] ---- ---- [ 33.100957] lock(report_lock); [ 33.100966] lock(&rq->lock); [ 33.100975] lock(report_lock); [ 33.100983] lock((console_sem).lock); [ 33.100991] [ 33.100994] *** DEADLOCK *** [ 33.100996] [ 33.101000] 2 locks held by syz-executor948/4467: [ 33.101002] #0: 00000000c5ca5739 (&rq->lock){-.-.}, at: __schedule+0x24d/0x1df0 [ 33.101019] #1: 000000001cb8c6e1 (report_lock){....}, at: kasan_report+0x8e/0x110 [ 33.101035] [ 33.101038] stack backtrace: [ 33.101044] CPU: 1 PID: 4467 Comm: syz-executor948 Not tainted 4.19.0-rc1+ #211 [ 33.101051] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.101054] Call Trace: [ 33.101058] dump_stack+0x1c9/0x2b4 [ 33.101062] ? dump_stack_print_info.cold.2+0x52/0x52 [ 33.101066] ? vprintk_func+0x100/0x117 [ 33.101071] print_circular_bug.isra.34.cold.55+0x1bd/0x27d [ 33.101074] ? save_trace+0xe0/0x290 [ 33.101078] __lock_acquire+0x3449/0x5020 [ 33.101082] ? mark_held_locks+0x160/0x160 [ 33.101086] ? mark_held_locks+0x160/0x160 [ 33.101090] ? rcu_cleanup_dead_rnp+0x200/0x200 [ 33.101094] ? is_bpf_text_address+0xd7/0x170 [ 33.101098] ? kernel_text_address+0x79/0xf0 [ 33.101102] ? __kernel_text_address+0xd/0x40 [ 33.101106] ? __save_stack_trace+0x8d/0xf0 [ 33.101111] ? add_lock_to_list.isra.27+0x1ec/0x4b0 [ 33.101114] ? save_trace+0x290/0x290 [ 33.101118] ? save_stack_trace+0x1a/0x20 [ 33.101122] ? save_trace+0xe0/0x290 [ 33.101126] ? graph_lock+0x170/0x170 [ 33.101130] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 33.101134] lock_acquire+0x1e4/0x4f0 [ 33.101138] ? down_trylock+0x13/0x70 [ 33.101142] ? lock_release+0x9f0/0x9f0 [ 33.101146] ? trace_hardirqs_off+0xb8/0x2b0 [ 33.101150] ? trace_hardirqs_on+0x2c0/0x2c0 [ 33.101154] ? trace_hardirqs_off+0xb8/0x2b0 [ 33.101157] ? log_store+0x34f/0x4c0 [ 33.101161] ? vprintk_emit+0x31f/0x910 [ 33.101165] _raw_spin_lock_irqsave+0x96/0xc0 [ 33.101169] ? down_trylock+0x13/0x70 [ 33.101172] down_trylock+0x13/0x70 [ 33.101177] __down_trylock_console_sem+0xae/0x200 [ 33.101180] console_trylock+0x15/0xa0 [ 33.101184] vprintk_emit+0x31f/0x910 [ 33.101188] ? wake_up_klogd+0x110/0x110 [ 33.101192] ? run_rebalance_domains+0x4c0/0x4c0 [ 33.101196] ? kasan_check_read+0x11/0x20 [ 33.101200] ? rcu_is_watching+0x8c/0x150 [ 33.101204] ? rcu_pm_notify+0xc0/0xc0 [ 33.101207] ? lock_acquire+0x1e4/0x4f0 [ 33.101211] ? kasan_report+0x8e/0x110 [ 33.101215] ? __schedule+0xf54/0x1df0 [ 33.101218] vprintk_default+0x28/0x30 [ 33.101222] vprintk_func+0x7a/0x117 [ 33.101225] printk+0xa7/0xcf [ 33.101230] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 33.101234] ? kasan_check_write+0x14/0x20 [ 33.101238] ? do_raw_spin_lock+0xc1/0x200 [ 33.101241] ? do_raw_spin_lock+0xc1/0x200 [ 33.101245] kasan_report+0x9e/0x110 [ 33.101249] __asan_report_load8_noabort+0x14/0x20 [ 33.101253] __schedule+0xf54/0x1df0 [ 33.101258] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 33.101262] ? __sched_text_start+0x8/0x8 [ 33.101265] ? __call_srcu+0x7e7/0x1040 [ 33.101269] ? check_same_owner+0x340/0x340 [ 33.101273] ? mark_held_locks+0x160/0x160 [ 33.101277] ? find_held_lock+0x36/0x1c0 [ 33.101281] preempt_schedule_common+0x22/0x60 [ 33.101285] _cond_resched+0x1d/0x30 [ 33.101289] wait_for_completion+0xa5/0x8d0 [ 33.101299] ? wait_for_completion_interruptible+0x950/0x950 [ 33.101304] ? __lockdep_init_map+0x105/0x590 [ 33.101308] ? __init_waitqueue_head+0x9e/0x150 [ 33.101312] ? init_wait_entry+0x1c0/0x1c0 [ 33.101316] __synchronize_srcu+0x189/0x240 [ 33.101319] ? call_srcu+0x10/0x10 [ 33.101323] ? rcu_unexpedite_gp+0x20/0x20 [ 33.101327] synchronize_srcu+0x335/0x56f [ 33.101331] ? lock_downgrade+0x8f0/0x8f0 [ 33.101335] ? synchronize_srcu_expedited+0x20/0x20 [ 33.101339] ? kasan_check_read+0x11/0x20 [ 33.101343] ? do_raw_spin_trylock+0x1c0/0x1c0 [ 33.101347] ? kasan_check_write+0x14/0x20 [ 33.101351] ? do_raw_spin_lock+0xc1/0x200 [ 33.101356] kvm_page_track_unregister_notifier+0x17d/0x250 [ 33.101361] ? kvm_slot_page_track_remove_page+0x70/0x70 [ 33.101364] ? kvfree+0x61/0x70 [ 33.101368] ? rcu_read_lock_sched_held+0x108/0x120 [ 33.101372] kvm_mmu_uninit_vm+0x1c/0x20 [ 33.101376] kvm_arch_destroy_vm+0x5f2/0x7c0 [ 33.101380] ? kvm_arch_sync_events+0x30/0x30 [ 33.101385] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 33.101389] ? mmu_notifier_unregister+0x474/0x600 [ 33.101393] ? trace_hardirqs_on+0x2c0/0x2c0 [ 33.101397] ? kfree+0x111/0x210 [ 33.101401] ? __mmu_notifier_register+0x30/0x30 [ 33.101405] ? __free_pages+0x10a/0x190 [ 33.101409] ? free_unref_page+0x930/0x930 [ 33.101412] kvm_put_kvm+0x73f/0x1060 [ 33.101416] ? kvm_write_guest_cached+0x40/0x40 [ 33.101420] ? _raw_spin_unlock_irq+0x27/0x70 [ 33.101425] ? _raw_spin_unlock_irq+0x27/0x70 [ 33.101429] ? lockdep_hardirqs_on+0x421/0x5c0 [ 33.101433] ? kasan_check_write+0x14/0x20 [ 33.101437] ? do_raw_spin_lock+0xc1/0x200 [ 33.101440] ? kvm_irqfd_release+0xdd/0x120 [ 33.101444] ? kvm_irqfd_release+0xdd/0x120 [ 33.101448] ? kvm_put_kvm+0x1060/0x1060 [ 33.101452] kvm_vm_release+0x42/0x50 [ 33.101467] __fput+0x36e/0x8c0 [ 33.101471] ? __alloc_file+0x400/0x400 [ 33.101474] ? check_same_owner+0x340/0x340 [ 33.101478] ? kasan_check_write+0x14/0x20 [ 33.101482] ? do_raw_spin_lock+0xc1/0x200 [ 33.101485] ____fput+0x15/0x20 [ 33.101489] task_work_run+0x1e8/0x2a0 [ 33.101493] ? task_work_cancel+0x240/0x240 [ 33.101497] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 33.101501] ? switch_task_namespaces+0xa2/0xd0 [ 33.101505] do_exit+0x1ae4/0x26e0 [ 33.101509] ? mm_update_next_owner+0x9a0/0x9a0 [ 33.101512] ? mark_held_locks+0x160/0x160 [ 33.101517] ? debug_object_active_state+0x2f5/0x4d0 [ 33.101521] ? trace_hardirqs_off_caller+0x2b0/0x2b0 [ 33.101525] ? kasan_check_write+0x14/0x20 [ 33.101528] ? do_raw_spin_lock+0xc1/0x200 [ 33.101532] ? __call_rcu.constprop.68+0x3bc/0 [ 33.101539] Lost 50 message(s)! [ 34.206589] Shutting down cpus with NMI [ 35.264504] Dumping ftrace buffer: [ 35.268029] (ftrace buffer empty) [ 35.271717] Kernel Offset: disabled [ 35.275325] Rebooting in 86400 seconds..