[ 38.009691] audit: type=1800 audit(1539203390.355:29): pid=5668 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 res=0 [ 38.031656] audit: type=1800 audit(1539203390.355:30): pid=5668 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.77' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program syzkaller login: [ 46.576042] kauditd_printk_skb: 5 callbacks suppressed [ 46.576057] audit: type=1400 audit(1539203398.925:36): avc: denied { map } for pid=5855 comm="syz-executor775" path="/root/syz-executor775778886" dev="sda1" ino=16481 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 46.591278] 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. [ 46.634924] ------------[ cut here ]------------ [ 46.639723] kernel BUG at arch/x86/kvm/x86.c:353! [ 46.644593] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 46.644667] kobject: 'kvm' (00000000154a8e53): fill_kobj_path: path = '/devices/virtual/misc/kvm' [ 46.649979] CPU: 0 PID: 5871 Comm: syz-executor775 Not tainted 4.19.0-rc7+ #55 [ 46.649992] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.650013] RIP: 0010:kvm_spurious_fault+0x9/0x10 [ 46.650027] Code: 45 10 50 e8 e9 44 7c 00 58 5a 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 1f 84 00 00 00 00 00 55 48 89 e5 e8 97 03 73 00 <0f> 0b 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 89 fd 41 54 [ 46.650033] RSP: 0018:ffff8801c428f388 EFLAGS: 00010293 [ 46.650046] RAX: ffff8801c5676380 RBX: ffff8801c428f408 RCX: ffffffff81385bcc [ 46.650054] RDX: 0000000000000000 RSI: ffffffff810bd1f9 RDI: ffff8801c428f3c8 [ 46.650061] RBP: ffff8801c428f388 R08: ffff8801c5676380 R09: fffff520003dea46 [ 46.650069] R10: fffff520003dea46 R11: ffffc90001ef5237 R12: 1ffff10038851e75 [ 46.650077] R13: ffff8801c428f3c8 R14: ffff8801c481d000 R15: ffff8801c7cdb000 [ 46.650088] FS: 00007f4825a83700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 46.650096] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 46.650107] CR2: ffff8801c428f3c8 CR3: 00000001c4e7c000 CR4: 00000000001426f0 [ 46.665366] kobject: 'kvm' (00000000154a8e53): kobject_uevent_env [ 46.666446] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 46.666456] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 46.666461] Call Trace: [ 46.666491] kvm_fastop_exception+0x523/0x5455 [ 46.677710] kobject: 'kvm' (00000000154a8e53): kobject_uevent_env [ 46.680660] ? vmcs_load+0xa0/0x150 [ 46.680672] ? vmcs_clear+0x100/0x100 [ 46.680691] ? preempt_schedule+0x4d/0x60 [ 46.700333] kobject: 'kvm' (00000000154a8e53): fill_kobj_path: path = '/devices/virtual/misc/kvm' [ 46.704923] vmx_vcpu_load+0x496/0x1030 [ 46.704939] ? preempt_schedule+0x4d/0x60 [ 46.704953] ? vmx_write_tsc_offset+0x680/0x680 [ 46.704976] ? vmx_create_vcpu+0x10b9/0x25e0 [ 46.719017] ------------[ cut here ]------------ [ 46.719497] ? vmx_free_vcpu+0x300/0x300 [ 46.726740] kernel BUG at arch/x86/kvm/x86.c:353! [ 46.734016] ? kasan_check_write+0x14/0x20 [ 46.852064] ? __mutex_unlock_slowpath+0x197/0x8c0 [ 46.856984] ? migrate_swap_stop+0x930/0x930 [ 46.861381] ? wait_for_completion+0x8a0/0x8a0 [ 46.865961] kvm_arch_vcpu_load+0x247/0x970 [ 46.870287] ? lock_downgrade+0x900/0x900 [ 46.874423] ? kvm_arch_dev_ioctl+0x630/0x630 [ 46.878906] ? kvm_vcpu_mtrr_init+0x75/0x140 [ 46.883299] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 46.888824] ? check_preemption_disabled+0x48/0x200 [ 46.893821] ? kvm_arch_vcpu_free+0x90/0x90 [ 46.898131] vcpu_load+0x35/0x70 [ 46.901481] kvm_arch_vcpu_setup+0x1d/0x40 [ 46.905702] kvm_vm_ioctl+0x107d/0x1d40 [ 46.909667] ? drop_futex_key_refs.isra.15+0x6d/0xe0 [ 46.914754] ? kvm_set_memory_region+0x50/0x50 [ 46.919323] ? get_futex_key+0x21b0/0x21b0 [ 46.923545] ? kvm_dev_ioctl+0x18a/0x1b10 [ 46.927685] ? do_futex+0x249/0x26d0 [ 46.931383] ? kasan_check_read+0x11/0x20 [ 46.935520] ? rcu_dynticks_curr_cpu_in_eqs+0x9f/0x160 [ 46.940781] ? unwind_dump+0x190/0x190 [ 46.944676] ? exit_robust_list+0x280/0x280 [ 46.948990] ? __fget+0x4aa/0x740 [ 46.952426] ? lock_downgrade+0x900/0x900 [ 46.956563] ? rcu_read_unlock_special.part.39+0x11f0/0x11f0 [ 46.962350] ? save_stack+0x43/0xd0 [ 46.965971] ? __kasan_slab_free+0x102/0x150 [ 46.970360] ? kasan_slab_free+0xe/0x10 [ 46.974321] ? __fget+0x4d1/0x740 [ 46.977763] ? ksys_dup3+0x680/0x680 [ 46.981465] ? arch_local_save_flags+0x40/0x40 [ 46.986033] ? kasan_check_write+0x14/0x20 [ 46.990268] ? trace_hardirqs_off+0xb8/0x310 [ 46.994660] ? kvm_set_memory_region+0x50/0x50 [ 46.999227] do_vfs_ioctl+0x1de/0x1720 [ 47.003101] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 47.008278] ? ioctl_preallocate+0x300/0x300 [ 47.012676] ? selinux_file_mprotect+0x620/0x620 [ 47.017414] ? putname+0xf2/0x130 [ 47.020857] ? kmem_cache_free+0x21a/0x290 [ 47.025079] ? __x64_sys_futex+0x47f/0x6a0 [ 47.029308] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.034829] ? security_file_ioctl+0x94/0xc0 [ 47.039221] ksys_ioctl+0xa9/0xd0 [ 47.042662] __x64_sys_ioctl+0x73/0xb0 [ 47.046537] do_syscall_64+0x1b9/0x820 [ 47.050409] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 47.055758] ? syscall_return_slowpath+0x5e0/0x5e0 [ 47.060672] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 47.065513] ? trace_hardirqs_on_caller+0x310/0x310 [ 47.070514] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 47.075514] ? prepare_exit_to_usermode+0x291/0x3b0 [ 47.080514] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 47.085344] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 47.090518] RIP: 0033:0x446df9 [ 47.093700] Code: e8 dc e6 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 4b 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 47.112586] RSP: 002b:00007f4825a82da8 EFLAGS: 00000297 ORIG_RAX: 0000000000000010 [ 47.120285] RAX: ffffffffffffffda RBX: 00000000006dcc48 RCX: 0000000000446df9 [ 47.127625] RDX: 0000000000000000 RSI: 000000000000ae41 RDI: 0000000000000004 [ 47.134875] RBP: 00000000006dcc40 R08: 0000000000000000 R09: 0000000000000000 [ 47.142127] R10: 0000000000000000 R11: 0000000000000297 R12: 00000000006dcc4c [ 47.149393] R13: 6d766b2f7665642f R14: 00007f4825a839c0 R15: 00000000006dcd4c [ 47.156650] Modules linked in: [ 47.159848] invalid opcode: 0000 [#2] PREEMPT SMP KASAN [ 47.160159] ---[ end trace 646ff58a828dac28 ]--- [ 47.165213] CPU: 1 PID: 5870 Comm: syz-executor775 Tainted: G D 4.19.0-rc7+ #55 [ 47.165220] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 47.165234] RIP: 0010:kvm_spurious_fault+0x9/0x10 [ 47.165249] Code: 45 10 50 e8 e9 44 7c 00 58 5a 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 1f 84 00 00 00 00 00 55 48 89 e5 e8 97 03 73 00 <0f> 0b 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 89 fd 41 54 [ 47.169981] RIP: 0010:kvm_spurious_fault+0x9/0x10 [ 47.178695] RSP: 0018:ffff8801c4347380 EFLAGS: 00010093 [ 47.178706] RAX: ffff8801c5662340 RBX: 1ffff10038868e74 RCX: ffffffff81385bcc [ 47.178713] RDX: 0000000000000000 RSI: ffffffff810bd1f9 RDI: ffff8801c43473c0 [ 47.178724] RBP: ffff8801c4347380 R08: ffff8801c5662340 R09: fffff520003e0247 [ 47.188074] Code: 45 10 50 e8 e9 44 7c 00 58 5a 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 1f 84 00 00 00 00 00 55 48 89 e5 e8 97 03 73 00 <0f> 0b 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 89 fd 41 54 [ 47.192881] R10: fffff520003e0247 R11: ffffc90001f0123b R12: ffff8801c4347400 [ 47.211772] RSP: 0018:ffff8801c428f388 EFLAGS: 00010293 [ 47.216581] R13: dffffc0000000000 R14: ffff8801be3c2000 R15: ffff8801c43473c0 [ 47.216592] FS: 00000000010fc880(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 [ 47.216604] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 47.229194] CR2: ffff8801c43473c0 CR3: 00000001c44d8000 CR4: 00000000001426e0 [ 47.229206] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 47.229216] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 47.236478] RAX: ffff8801c5676380 RBX: ffff8801c428f408 RCX: ffffffff81385bcc [ 47.243714] Call Trace: [ 47.262610] RDX: 0000000000000000 RSI: ffffffff810bd1f9 RDI: ffff8801c428f3c8 [ 47.269858] kvm_fastop_exception+0x50b/0x5455 [ 47.269875] ? vmcs_clear+0x94/0x100 [ 47.275221] RBP: ffff8801c428f388 R08: ffff8801c5676380 R09: fffff520003dea46 [ 47.282486] ? vmx_set_cr3+0x7a0/0x7a0 [ 47.290712] R10: fffff520003dea46 R11: ffffc90001ef5237 R12: 1ffff10038851e75 [ 47.296563] ? kasan_check_write+0x14/0x20 [ 47.296580] __loaded_vmcs_clear+0x2d6/0x690 [ 47.303825] R13: ffff8801c428f3c8 R14: ffff8801c481d000 R15: ffff8801c7cdb000 [ 47.311078] ? trace_hardirqs_off+0xb8/0x310 [ 47.311096] ? vmx_set_virtual_apic_mode+0x790/0x790 [ 47.318362] FS: 00007f4825a83700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 [ 47.325606] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.325620] ? check_preemption_disabled+0x48/0x200 [ 47.325636] ? vmx_set_virtual_apic_mode+0x790/0x790 [ 47.328655] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 47.335905] generic_exec_single+0x373/0x5f0 [ 47.335923] ? smp_call_on_cpu+0x560/0x560 [ 47.335947] ? kvm_mmu_free_roots+0x2c8/0x730 [ 47.340501] CR2: ffff8801c428f3c8 CR3: 00000001c4e7c000 CR4: 00000000001426f0 [ 47.344229] ? lock_downgrade+0x900/0x900 [ 47.351488] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 47.355338] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.355356] ? check_preemption_disabled+0x48/0x200 [ 47.362599] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 47.366817] smp_call_function_single+0x1b2/0x660 [ 47.366835] ? kvm_arch_vcpu_put+0x1d2/0x420 [ 47.371213] Kernel panic - not syncing: Fatal exception [ 47.378486] ? vmx_set_virtual_apic_mode+0x790/0x790 [ 47.486850] ? generic_exec_single+0x5f0/0x5f0 [ 47.491423] ? hardware_disable+0x530/0x530 [ 47.495735] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.501263] ? tg_nop+0x10/0x10 [ 47.504537] ? native_set_debugreg+0x31/0x40 [ 47.508932] free_loaded_vmcs+0x13c/0x1b0 [ 47.513079] vmx_free_vcpu+0x204/0x300 [ 47.516954] kvm_arch_destroy_vm+0x365/0x7c0 [ 47.521352] ? kvm_arch_sync_events+0x30/0x30 [ 47.525870] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 47.531404] ? mmu_notifier_unregister+0x474/0x600 [ 47.536331] ? __mmu_notifier_register+0x30/0x30 [ 47.541074] ? __free_pages+0x10a/0x190 [ 47.545035] ? free_unref_page+0x960/0x960 [ 47.549271] kvm_put_kvm+0x6c8/0xff0 [ 47.552979] ? kvm_write_guest_cached+0x40/0x40 [ 47.557643] ? do_raw_spin_unlock+0xa7/0x2f0 [ 47.562042] ? up_write+0x7b/0x220 [ 47.565573] ? up_read+0x110/0x110 [ 47.569104] ? mntput+0x74/0xa0 [ 47.572379] ? debugfs_remove_recursive+0x40d/0x530 [ 47.577390] ? debugfs_remove+0x130/0x130 [ 47.581533] ? kvm_vm_release+0x50/0x50 [ 47.585499] kvm_vcpu_release+0x7b/0xa0 [ 47.589459] __fput+0x385/0xa30 [ 47.592729] ? get_max_files+0x20/0x20 [ 47.596606] ? trace_hardirqs_on+0xbd/0x310 [ 47.600916] ? kasan_check_read+0x11/0x20 [ 47.605050] ? task_work_run+0x1af/0x2a0 [ 47.609099] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 47.614539] ? kasan_check_write+0x14/0x20 [ 47.618760] ? do_raw_spin_lock+0xc1/0x200 [ 47.622984] ____fput+0x15/0x20 [ 47.626250] task_work_run+0x1e8/0x2a0 [ 47.630127] ? task_work_cancel+0x240/0x240 [ 47.634437] ? copy_fd_bitmaps+0x210/0x210 [ 47.638667] exit_to_usermode_loop+0x318/0x380 [ 47.643240] ? syscall_slow_exit_work+0x520/0x520 [ 47.648076] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.653605] do_syscall_64+0x6be/0x820 [ 47.657486] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 47.662840] ? syscall_return_slowpath+0x5e0/0x5e0 [ 47.667755] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 47.672584] ? trace_hardirqs_on_caller+0x310/0x310 [ 47.677590] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 47.682595] ? prepare_exit_to_usermode+0x291/0x3b0 [ 47.687603] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 47.692430] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 47.697601] RIP: 0033:0x405db1 [ 47.700781] Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 b4 17 00 00 c3 48 83 ec 08 e8 6a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 b3 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 [ 47.719670] RSP: 002b:00007ffe77ba33f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 [ 47.727366] RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000405db1 [ 47.734650] RDX: 0000000000000000 RSI: 0000000000000080 RDI: 0000000000000005 [ 47.741906] RBP: 000000000000b61f R08: 00000000006dcc4c R09: 0000000000000000 [ 47.749161] R10: 00007ffe77ba3400 R11: 0000000000000293 R12: 000000000000002d [ 47.756429] R13: 20c49ba5e353f7cf R14: 0000000000000007 R15: 00000000006dcd4c [ 47.763691] Modules linked in: [ 47.766892] ---[ end trace 646ff58a828dac29 ]--- [ 47.771636] RIP: 0010:kvm_spurious_fault+0x9/0x10 [ 47.776490] Code: 45 10 50 e8 e9 44 7c 00 58 5a 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 1f 84 00 00 00 00 00 55 48 89 e5 e8 97 03 73 00 <0f> 0b 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 89 fd 41 54 [ 47.795461] RSP: 0018:ffff8801c428f388 EFLAGS: 00010293 [ 47.800807] RAX: ffff8801c5676380 RBX: ffff8801c428f408 RCX: ffffffff81385bcc [ 47.808062] RDX: 0000000000000000 RSI: ffffffff810bd1f9 RDI: ffff8801c428f3c8 [ 47.815316] RBP: ffff8801c428f388 R08: ffff8801c5676380 R09: fffff520003dea46 [ 47.822568] R10: fffff520003dea46 R11: ffffc90001ef5237 R12: 1ffff10038851e75 [ 47.829823] R13: ffff8801c428f3c8 R14: ffff8801c481d000 R15: ffff8801c7cdb000 [ 47.837082] FS: 00000000010fc880(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 [ 47.845291] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 47.851154] CR2: ffff8801c43473c0 CR3: 00000001c44d8000 CR4: 00000000001426e0 [ 47.858408] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 47.865659] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 48.554088] Shutting down cpus with NMI [ 48.559244] Kernel Offset: disabled [ 48.562867] Rebooting in 86400 seconds..