[?25l[?1c7[ ok 8[?25h[?0c. [....] 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. [ 12.288884] audit: type=1400 audit(1513435153.331:6): avc: denied { map } for pid=3132 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added 'ci-upstream-kasan-gce-8,10.128.0.53' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 18.432961] audit: type=1400 audit(1513435159.475:7): avc: denied { map } for pid=3146 comm="syzkaller542136" path="/root/syzkaller542136138" 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 [ 18.465480] kvm: KVM_SET_TSS_ADDR need to be called before entering vcpu [ 18.482490] kasan: CONFIG_KASAN_INLINE enabled [ 18.487098] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 18.494427] general protection fault: 0000 [#1] SMP KASAN [ 18.499926] Dumping ftrace buffer: [ 18.503432] (ftrace buffer empty) [ 18.507105] Modules linked in: [ 18.510262] CPU: 1 PID: 3146 Comm: syzkaller542136 Not tainted 4.15.0-rc3+ #224 [ 18.517670] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 18.527010] RIP: 0010:native_write_cr4+0x4/0x10 [ 18.531644] RSP: 0018:ffff8801c7dbf5a0 EFLAGS: 00010093 [ 18.536971] RAX: ffff8801c985a180 RBX: 00000000001606e0 RCX: ffffffff811a2a92 [ 18.544206] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000001606e0 [ 18.551439] RBP: ffff8801c7dbf5a0 R08: 1ffff10038fb7e0f R09: 0000000000000004 [ 18.558672] R10: ffff8801c7dbf510 R11: 0000000000000004 R12: 0000000000000093 [ 18.565906] R13: ffff8801c985a180 R14: ffff8801db514850 R15: ffff8801db514850 [ 18.573143] FS: 000000000141b880(0000) GS:ffff8801db500000(0000) knlGS:0000000000000000 [ 18.581331] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 18.587176] CR2: 0000000000000000 CR3: 0000000005e22003 CR4: 00000000001626e0 [ 18.594411] Call Trace: [ 18.596969] hardware_disable+0x34a/0x4b0 [ 18.601088] ? kvm_io_bus_get_dev+0x2a0/0x2a0 [ 18.605553] kvm_arch_hardware_disable+0x35/0xd0 [ 18.610273] ? kvm_io_bus_get_dev+0x2a0/0x2a0 [ 18.614733] hardware_disable_nolock+0x30/0x40 [ 18.619280] on_each_cpu+0xca/0x1b0 [ 18.622872] hardware_disable_all_nolock+0x3e/0x50 [ 18.627765] kvm_put_kvm+0x956/0xdf0 [ 18.631447] ? kvm_clear_guest+0xb0/0xb0 [ 18.635477] ? kvm_irqfd_release+0xd1/0x120 [ 18.639763] ? lock_downgrade+0x980/0x980 [ 18.643882] ? _raw_spin_unlock_irq+0x27/0x70 [ 18.648342] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 18.653324] ? kvm_irqfd_release+0xdd/0x120 [ 18.657608] ? kvm_irqfd_release+0xdd/0x120 [ 18.661894] ? kvm_put_kvm+0xdf0/0xdf0 [ 18.665750] kvm_vm_release+0x42/0x50 [ 18.669522] __fput+0x327/0x7e0 [ 18.672770] ? fput+0x140/0x140 [ 18.676020] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 18.681873] ? _raw_spin_unlock_irq+0x27/0x70 [ 18.686334] ____fput+0x15/0x20 [ 18.689581] task_work_run+0x199/0x270 [ 18.693434] ? task_work_cancel+0x210/0x210 [ 18.697720] ? _raw_spin_unlock+0x22/0x30 [ 18.701833] ? switch_task_namespaces+0x87/0xc0 [ 18.706470] do_exit+0x9bb/0x1ad0 [ 18.709890] ? __kvm_gfn_to_hva_cache_init+0xbb0/0xbb0 [ 18.715136] ? mm_update_next_owner+0x930/0x930 [ 18.719777] ? mntput_no_expire+0x15e/0xa90 [ 18.724061] ? _raw_spin_unlock+0x22/0x30 [ 18.728184] ? mnt_get_count+0x150/0x150 [ 18.732213] ? find_held_lock+0x35/0x1d0 [ 18.736243] ? task_work_run+0x16c/0x270 [ 18.740268] ? lock_downgrade+0x980/0x980 [ 18.744379] ? mntput+0x66/0x90 [ 18.747624] ? lock_release+0xa40/0xa40 [ 18.751565] ? do_raw_spin_trylock+0x190/0x190 [ 18.756110] ? _raw_spin_unlock_irq+0x27/0x70 [ 18.760571] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 18.765566] ? trace_hardirqs_on+0xd/0x10 [ 18.769676] ? _raw_spin_unlock_irq+0x27/0x70 [ 18.774137] ? task_work_run+0x1f4/0x270 [ 18.778162] ? task_work_cancel+0x210/0x210 [ 18.782448] ? __kvm_gfn_to_hva_cache_init+0xbb0/0xbb0 [ 18.787689] ? do_vfs_ioctl+0x486/0x1520 [ 18.791716] ? ioctl_preallocate+0x2b0/0x2b0 [ 18.796091] ? selinux_capable+0x40/0x40 [ 18.800118] ? __close_fd+0x222/0x360 [ 18.803886] do_group_exit+0x149/0x400 [ 18.807739] ? SyS_exit+0x30/0x30 [ 18.811155] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 18.816141] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 18.820861] SyS_exit_group+0x1d/0x20 [ 18.824625] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 18.829343] RIP: 0033:0x441c78 [ 18.832495] RSP: 002b:00007ffe22612de8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 18.840167] RAX: ffffffffffffffda RBX: 00007ffe226119a0 RCX: 0000000000441c78 [ 18.847405] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 18.854640] RBP: 0000000000000006 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 18.861873] R10: 0000000000000012 R11: 0000000000000246 R12: 0000000000000000 [ 18.869113] R13: 0000000000000004 R14: 0000000000000004 R15: 0000000020c21000 [ 18.876355] Code: 0f 1f 80 00 00 00 00 55 48 89 e5 0f 20 d8 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5 0f 22 df 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5 <0f> 22 e7 5d c3 0f 1f 80 00 00 00 00 55 48 89 e5 44 0f 20 c0 5d [ 18.895420] RIP: native_write_cr4+0x4/0x10 RSP: ffff8801c7dbf5a0 [ 18.901529] ---[ end trace aeb847488cfb38c8 ]--- [ 18.906244] Kernel panic - not syncing: Fatal exception [ 18.911967] Dumping ftrace buffer: [ 18.915559] (ftrace buffer empty) [ 18.919234] Kernel Offset: disabled [ 18.922827] Rebooting in 86400 seconds..