[....] Starting enhanced syslogd: rsyslogd[ 16.691728] audit: type=1400 audit(1520562597.191:5): avc: denied { syslog } for pid=4083 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: [ 22.526968] audit: type=1400 audit(1520562603.026:6): avc: denied { map } for pid=4223 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.10.20' (ECDSA) to the list of known hosts. executing program [ 28.894519] audit: type=1400 audit(1520562609.394:7): avc: denied { map } for pid=4237 comm="syzkaller349843" path="/root/syzkaller349843806" 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 [ 28.925184] kasan: CONFIG_KASAN_INLINE enabled [ 28.929764] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 28.937093] general protection fault: 0000 [#1] SMP KASAN [ 28.942599] Dumping ftrace buffer: [ 28.946105] (ftrace buffer empty) [ 28.949784] Modules linked in: [ 28.952950] CPU: 1 PID: 4241 Comm: syzkaller349843 Not tainted 4.16.0-rc4+ #346 [ 28.960362] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.969693] RIP: 0010:__lock_acquire+0xa09/0x3e00 [ 28.974500] RSP: 0018:ffff8801b0947370 EFLAGS: 00010002 [ 28.980262] RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000 [ 28.987508] RDX: 0000000000000046 RSI: 0000000000000000 RDI: ffffffff86ec9920 [ 28.994760] RBP: ffff8801b0947700 R08: ffffffff841cb7c9 R09: 0000000000000001 [ 29.001998] R10: 0000000000000000 R11: 0000000000000230 R12: 0000000000000000 [ 29.009242] R13: 0000000000000001 R14: 0000000000000000 R15: ffff8801b43ae040 [ 29.016482] FS: 00007f7ddd58d700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 [ 29.024677] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 29.030529] CR2: 00007f7ddd58ce78 CR3: 00000001b096b001 CR4: 00000000001606e0 [ 29.037770] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 29.045013] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 29.052261] Call Trace: [ 29.054823] ? __lock_acquire+0x664/0x3e00 [ 29.059028] ? print_irqtrace_events+0x270/0x270 [ 29.063755] ? __lockdep_init_map+0xe4/0x650 [ 29.068131] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 29.073294] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 29.078451] ? __lock_acquire+0x664/0x3e00 [ 29.082662] ? ucma_destroy_id+0x269/0x4c0 [ 29.086874] ? debug_check_no_locks_freed+0x3c0/0x3c0 [ 29.092037] ? __might_sleep+0x95/0x190 [ 29.095980] ? ucma_destroy_id+0x269/0x4c0 [ 29.100185] ? __mutex_lock+0x16f/0x1a80 [ 29.104215] ? ucma_destroy_id+0x269/0x4c0 [ 29.108421] ? trace_hardirqs_off+0x10/0x10 [ 29.112721] ? trace_hardirqs_off+0x10/0x10 [ 29.117017] ? mutex_lock_io_nested+0x1900/0x1900 [ 29.121834] ? futex_wait+0x6a9/0x9a0 [ 29.125601] ? entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 29.130937] lock_acquire+0x1d5/0x580 [ 29.134707] ? lock_acquire+0x1d5/0x580 [ 29.138653] ? rdma_destroy_id+0xa9/0xda0 [ 29.142769] ? lock_release+0xa40/0xa40 [ 29.146712] ? lock_downgrade+0x980/0x980 [ 29.150826] ? lock_release+0xa40/0xa40 [ 29.154768] ? check_same_owner+0x320/0x320 [ 29.159068] ? do_raw_spin_trylock+0x190/0x190 [ 29.163635] _raw_spin_lock_irqsave+0x96/0xc0 [ 29.168100] ? rdma_destroy_id+0xa9/0xda0 [ 29.172216] rdma_destroy_id+0xa9/0xda0 [ 29.176161] ? trace_hardirqs_on+0xd/0x10 [ 29.180275] ? _raw_spin_unlock_irq+0x27/0x70 [ 29.184740] ? wait_for_completion+0xe0/0x770 [ 29.189205] ? cma_release_dev+0x350/0x350 [ 29.193412] ? wait_for_completion_interruptible+0x7e0/0x7e0 [ 29.199182] ? do_wait_intr_irq+0x3e0/0x3e0 [ 29.203477] ? do_raw_spin_trylock+0x190/0x190 [ 29.208032] ? _raw_spin_unlock_irqrestore+0x31/0xc0 [ 29.213105] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 29.218092] ? trace_hardirqs_on+0xd/0x10 [ 29.222206] ? complete+0x62/0x80 [ 29.225640] ucma_destroy_id+0x2e9/0x4c0 [ 29.229677] ? ucma_close+0x2f0/0x2f0 [ 29.233444] ? __might_sleep+0x95/0x190 [ 29.237389] ? kasan_check_write+0x14/0x20 [ 29.241591] ? _copy_from_user+0x99/0x110 [ 29.245708] ucma_write+0x2d6/0x3d0 [ 29.249304] ? ucma_close+0x2f0/0x2f0 [ 29.253072] ? ucma_resolve_route+0x1a0/0x1a0 [ 29.257541] ? ucma_resolve_route+0x1a0/0x1a0 [ 29.262007] __vfs_write+0xef/0x970 [ 29.265611] ? rcu_note_context_switch+0x710/0x710 [ 29.270509] ? kernel_read+0x120/0x120 [ 29.274363] ? __might_sleep+0x95/0x190 [ 29.278311] ? _cond_resched+0x14/0x30 [ 29.282169] ? __inode_security_revalidate+0xd9/0x130 [ 29.287327] ? avc_policy_seqno+0x9/0x20 [ 29.291356] ? selinux_file_permission+0x82/0x460 [ 29.296169] ? security_file_permission+0x89/0x1e0 [ 29.301067] ? rw_verify_area+0xe5/0x2b0 [ 29.305096] ? __fdget_raw+0x20/0x20 [ 29.308782] vfs_write+0x189/0x510 [ 29.312290] SyS_write+0xef/0x220 [ 29.315711] ? SyS_read+0x220/0x220 [ 29.319309] ? do_syscall_64+0xb7/0x940 [ 29.323253] ? SyS_read+0x220/0x220 [ 29.326848] do_syscall_64+0x281/0x940 [ 29.330703] ? _raw_spin_unlock_irq+0x27/0x70 [ 29.335168] ? finish_task_switch+0x1c1/0x7e0 [ 29.339632] ? syscall_return_slowpath+0x550/0x550 [ 29.344531] ? syscall_return_slowpath+0x2ac/0x550 [ 29.349431] ? prepare_exit_to_usermode+0x350/0x350 [ 29.354416] ? entry_SYSCALL_64_after_hwframe+0x52/0xb7 [ 29.359754] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 29.364568] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 29.369724] RIP: 0033:0x446959 [ 29.372880] RSP: 002b:00007f7ddd58cda8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 29.380555] RAX: ffffffffffffffda RBX: 00000000006e29fc RCX: 0000000000446959 [ 29.387794] RDX: 0000000000000018 RSI: 0000000020000140 RDI: 0000000000000004 [ 29.395036] RBP: 00000000006e29f8 R08: 0000000000000000 R09: 0000000000000000 [ 29.402276] R10: 0000000000000000 R11: 0000000000000246 R12: 006d635f616d6472 [ 29.409513] R13: 2f646e6162696e69 R14: 666e692f7665642f R15: 0000000000000005 [ 29.416752] 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 [ 29.435792] RIP: __lock_acquire+0xa09/0x3e00 RSP: ffff8801b0947370 [ 29.442080] ---[ end trace 3f7f1b39ef62752b ]--- [ 29.446799] Kernel panic - not syncing: Fatal exception [ 29.452534] Dumping ftrace buffer: [ 29.456042] (ftrace buffer empty) [ 29.459720] Kernel Offset: disabled [ 29.463314] Rebooting in 86400 seconds..