[....] Starting enhanced syslogd: rsyslogd[ 16.952834] audit: type=1400 audit(1520532854.319:5): avc: denied { syslog } for pid=4095 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: [ 19.477896] audit: type=1400 audit(1520532856.844:6): avc: denied { map } for pid=4235 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.46' (ECDSA) to the list of known hosts. executing program [ 25.807149] audit: type=1400 audit(1520532863.173:7): avc: denied { map } for pid=4249 comm="syzkaller677323" path="/root/syzkaller677323420" 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 [ 25.811564] kasan: CONFIG_KASAN_INLINE enabled [ 25.837858] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 25.845242] general protection fault: 0000 [#1] SMP KASAN [ 25.850762] Dumping ftrace buffer: [ 25.854274] (ftrace buffer empty) [ 25.857953] Modules linked in: [ 25.861117] CPU: 0 PID: 4249 Comm: syzkaller677323 Not tainted 4.16.0-rc4+ #346 [ 25.868530] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.877860] RIP: 0010:ucma_set_ib_path.isra.14+0x26a/0x850 [ 25.883451] RSP: 0018:ffff8801d3fcf820 EFLAGS: 00010202 [ 25.888782] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000029 [ 25.896026] RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000148 [ 25.903267] RBP: ffff8801d3fcfa20 R08: ffffed003a7f9f1e R09: ffffffff867a1b5c [ 25.910504] R10: 0000000000000002 R11: ffffed003a7f9f1d R12: ffff8801d3fcf8d0 [ 25.917744] R13: 1ffff1003a7f9f06 R14: ffff8801b0e3d070 R15: ffff8801b09576c0 [ 25.924984] FS: 0000000001c43880(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 [ 25.933883] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 25.939737] CR2: 00005581e954c110 CR3: 00000001b7de6005 CR4: 00000000001606f0 [ 25.946987] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 25.954243] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 25.961483] Call Trace: [ 25.964044] ? find_held_lock+0x35/0x1d0 [ 25.968074] ? ucma_event_handler+0xfa0/0xfa0 [ 25.972540] ? __might_fault+0x110/0x1d0 [ 25.976573] ? lock_downgrade+0x980/0x980 [ 25.980705] ? __might_sleep+0x95/0x190 [ 25.984663] ? kasan_check_write+0x14/0x20 [ 25.988869] ? _copy_from_user+0x99/0x110 [ 25.992989] ucma_set_option+0x252/0x4d0 [ 25.997031] ? ucma_set_option+0x252/0x4d0 [ 26.001239] ? ucma_set_ib_path.isra.14+0x850/0x850 [ 26.006224] ? kasan_check_write+0x14/0x20 [ 26.010431] ? _copy_from_user+0x99/0x110 [ 26.014550] ucma_write+0x2d6/0x3d0 [ 26.018147] ? ucma_set_ib_path.isra.14+0x850/0x850 [ 26.023134] ? ucma_resolve_route+0x1a0/0x1a0 [ 26.027601] ? ucma_resolve_route+0x1a0/0x1a0 [ 26.032068] __vfs_write+0xef/0x970 [ 26.035669] ? rcu_note_context_switch+0x710/0x710 [ 26.040569] ? kernel_read+0x120/0x120 [ 26.044425] ? __might_sleep+0x95/0x190 [ 26.048371] ? _cond_resched+0x14/0x30 [ 26.052233] ? __inode_security_revalidate+0xd9/0x130 [ 26.057400] ? avc_policy_seqno+0x9/0x20 [ 26.061430] ? selinux_file_permission+0x82/0x460 [ 26.066247] ? security_file_permission+0x89/0x1e0 [ 26.071148] ? rw_verify_area+0xe5/0x2b0 [ 26.075191] ? __fdget_raw+0x20/0x20 [ 26.078876] vfs_write+0x189/0x510 [ 26.082390] SyS_write+0xef/0x220 [ 26.085810] ? filp_open+0x70/0x70 [ 26.089320] ? SyS_read+0x220/0x220 [ 26.092917] ? do_syscall_64+0xb7/0x940 [ 26.096861] ? SyS_read+0x220/0x220 [ 26.100459] do_syscall_64+0x281/0x940 [ 26.104316] ? __do_page_fault+0xc90/0xc90 [ 26.108523] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.113249] ? syscall_return_slowpath+0x550/0x550 [ 26.118148] ? syscall_return_slowpath+0x2ac/0x550 [ 26.123047] ? prepare_exit_to_usermode+0x350/0x350 [ 26.128034] ? entry_SYSCALL_64_after_hwframe+0x52/0xb7 [ 26.133367] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.138181] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 26.143346] RIP: 0033:0x43fea9 [ 26.146507] RSP: 002b:00007ffc0b06c988 EFLAGS: 00000217 ORIG_RAX: 0000000000000001 [ 26.154181] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fea9 [ 26.161422] RDX: 000000000000034d RSI: 0000000020001340 RDI: 0000000000000003 [ 26.168662] RBP: 00000000006ca018 R08: 00000000004002c8 R09: 00000000004002c8 [ 26.175900] R10: 00000000004002c8 R11: 0000000000000217 R12: 00000000004017d0 [ 26.183138] R13: 0000000000401860 R14: 0000000000000000 R15: 0000000000000000 [ 26.190385] Code: 00 00 48 c1 ea 03 80 3c 02 00 0f 85 0d 05 00 00 49 8b 07 48 ba 00 00 00 00 00 fc ff df 48 8d b8 48 01 00 00 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 54 05 00 00 48 c1 e3 04 48 03 98 48 01 00 00 [ 26.209449] RIP: ucma_set_ib_path.isra.14+0x26a/0x850 RSP: ffff8801d3fcf820 [ 26.216568] ---[ end trace e658861a5e75e206 ]--- [ 26.221330] Kernel panic - not syncing: Fatal exception [ 26.227141] Dumping ftrace buffer: [ 26.230658] (ftrace buffer empty) [ 26.234337] Kernel Offset: disabled [ 26.237935] Rebooting in 86400 seconds..