[....] Starting enhanced syslogd: rsyslogd[ 17.675701] audit: type=1400 audit(1520372118.003:5): avc: denied { syslog } for pid=4122 comm="rsyslogd" capability=34 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=1 [?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. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 23.723433] audit: type=1400 audit(1520372124.051:6): avc: denied { map } for pid=4262 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 Warning: Permanently added '10.128.0.25' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program [ 30.153607] audit: type=1400 audit(1520372130.481:7): avc: denied { map } for pid=4276 comm="syzkaller771653" path="/root/syzkaller771653808" 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 31.778948] kasan: CONFIG_KASAN_INLINE enabled [ 31.783564] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 31.790896] general protection fault: 0000 [#1] SMP KASAN [ 31.796408] Dumping ftrace buffer: [ 31.799914] (ftrace buffer empty) [ 31.803593] Modules linked in: [ 31.806757] CPU: 1 PID: 4278 Comm: syzkaller771653 Not tainted 4.16.0-rc4+ #343 [ 31.814169] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.823504] RIP: 0010:__lock_acquire+0xa09/0x3e00 [ 31.828311] RSP: 0018:ffff8801b0477370 EFLAGS: 00010002 [ 31.833641] RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000 [ 31.840879] RDX: 0000000000000046 RSI: 0000000000000000 RDI: ffffffff86ec9920 [ 31.848117] RBP: ffff8801b0477700 R08: ffffffff841cb939 R09: 0000000000000001 [ 31.855354] R10: 0000000000000000 R11: 0000000000000230 R12: 0000000000000000 [ 31.862593] R13: 0000000000000001 R14: 0000000000000000 R15: ffff8801b09f8080 [ 31.869835] FS: 00007f9804bd9700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 [ 31.878030] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 31.883878] CR2: 00007fd44e116000 CR3: 00000001b77dc005 CR4: 00000000001606e0 [ 31.891118] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 31.898357] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 31.905597] Call Trace: [ 31.908162] ? __lock_acquire+0x664/0x3e00 [ 31.912364] ? print_irqtrace_events+0x270/0x270 [ 31.917087] ? __lockdep_init_map+0xe4/0x650 [ 31.921464] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 31.926623] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 31.931779] ? __lock_acquire+0x664/0x3e00 [ 31.935985] ? ucma_destroy_id+0x269/0x4c0 [ 31.940191] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 31.945352] ? __might_sleep+0x95/0x190 [ 31.949292] ? ucma_destroy_id+0x269/0x4c0 [ 31.953495] ? __mutex_lock+0x16f/0x1a80 [ 31.957522] ? ucma_destroy_id+0x269/0x4c0 [ 31.961728] ? trace_hardirqs_off+0x10/0x10 [ 31.966016] ? trace_hardirqs_off+0x10/0x10 [ 31.970303] ? mutex_lock_io_nested+0x1900/0x1900 [ 31.975114] ? futex_wait+0x6a9/0x9a0 [ 31.978884] lock_acquire+0x1d5/0x580 [ 31.982660] ? lock_acquire+0x1d5/0x580 [ 31.986606] ? rdma_destroy_id+0xa9/0xda0 [ 31.990721] ? lock_release+0xa40/0xa40 [ 31.994663] ? lock_downgrade+0x980/0x980 [ 31.998779] ? lock_release+0xa40/0xa40 [ 32.002725] ? check_same_owner+0x320/0x320 [ 32.007025] ? do_raw_spin_trylock+0x190/0x190 [ 32.011577] _raw_spin_lock_irqsave+0x96/0xc0 [ 32.016043] ? rdma_destroy_id+0xa9/0xda0 [ 32.020157] rdma_destroy_id+0xa9/0xda0 [ 32.024100] ? trace_hardirqs_on+0xd/0x10 [ 32.028225] ? _raw_spin_unlock_irq+0x27/0x70 [ 32.032692] ? wait_for_completion+0xe0/0x770 [ 32.037157] ? cma_release_dev+0x350/0x350 [ 32.041359] ? wait_for_completion_interruptible+0x7e0/0x7e0 [ 32.047125] ? do_wait_intr_irq+0x3e0/0x3e0 [ 32.051416] ? do_raw_spin_trylock+0x190/0x190 [ 32.055967] ? _raw_spin_unlock_irqrestore+0x31/0xc0 [ 32.061038] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 32.066023] ? trace_hardirqs_on+0xd/0x10 [ 32.070137] ? complete+0x62/0x80 [ 32.073559] ucma_destroy_id+0x2e9/0x4c0 [ 32.077588] ? ucma_close+0x2f0/0x2f0 [ 32.081359] ? __might_sleep+0x95/0x190 [ 32.085302] ? kasan_check_write+0x14/0x20 [ 32.089511] ? _copy_from_user+0x99/0x110 [ 32.093630] ucma_write+0x2d6/0x3d0 [ 32.097223] ? ucma_close+0x2f0/0x2f0 [ 32.100991] ? ucma_resolve_route+0x1a0/0x1a0 [ 32.105458] ? ucma_resolve_route+0x1a0/0x1a0 [ 32.109930] __vfs_write+0xef/0x970 [ 32.113529] ? rcu_note_context_switch+0x710/0x710 [ 32.118427] ? kernel_read+0x120/0x120 [ 32.122295] ? __might_sleep+0x95/0x190 [ 32.126241] ? _cond_resched+0x14/0x30 [ 32.130097] ? __inode_security_revalidate+0xd9/0x130 [ 32.135254] ? avc_policy_seqno+0x9/0x20 [ 32.139281] ? selinux_file_permission+0x82/0x460 [ 32.144102] ? security_file_permission+0x89/0x1e0 [ 32.148997] ? rw_verify_area+0xe5/0x2b0 [ 32.153025] ? __fdget_raw+0x20/0x20 [ 32.156706] vfs_write+0x189/0x510 [ 32.160214] SyS_write+0xef/0x220 [ 32.163634] ? filp_open+0x70/0x70 [ 32.167141] ? SyS_read+0x220/0x220 [ 32.170737] ? do_syscall_64+0xb7/0x940 [ 32.174681] ? SyS_read+0x220/0x220 [ 32.178274] do_syscall_64+0x281/0x940 [ 32.182130] ? _raw_spin_unlock_irq+0x27/0x70 [ 32.186593] ? finish_task_switch+0x1c1/0x7e0 [ 32.191056] ? syscall_return_slowpath+0x550/0x550 [ 32.195952] ? syscall_return_slowpath+0x2ac/0x550 [ 32.200849] ? prepare_exit_to_usermode+0x350/0x350 [ 32.205832] ? entry_SYSCALL_64_after_hwframe+0x52/0xb7 [ 32.211163] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 32.215975] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 32.221132] RIP: 0033:0x449639 [ 32.224291] RSP: 002b:00007f9804bd8da8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 32.231968] RAX: ffffffffffffffda RBX: 00000000006dac5c RCX: 0000000000449639 [ 32.239206] RDX: 00000000000000a4 RSI: 0000000020000000 RDI: 00000000000001b4 [ 32.246443] RBP: 00000000006dac58 R08: 0000000000000000 R09: 0000000000000000 [ 32.253682] R10: 0000000000000000 R11: 0000000000000246 R12: 006d635f616d6472 [ 32.260922] R13: 2f646e6162696e69 R14: 666e692f7665642f R15: 0000000000000007 [ 32.268163] Code: 81 c4 60 03 00 00 44 89 d0 5b 41 5a 41 5c 41 5d 41 5e 41 5f 5d 49 8d 62 f8 c3 4c 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 0a 33 00 00 49 81 3b 60 ed 9f 87 41 bd 00 00 [ 32.287208] RIP: __lock_acquire+0xa09/0x3e00 RSP: ffff8801b0477370 [ 32.293497] ---[ end trace 885cef83eddc104c ]--- [ 32.298219] Kernel panic - not syncing: Fatal exception [ 32.304030] Dumping ftrace buffer: [ 32.307548] (ftrace buffer empty) [ 32.311227] Kernel Offset: disabled [ 32.314823] Rebooting in 86400 seconds..