[....] Starting enhanced syslogd: rsyslogd[ 16.016707] audit: type=1400 audit(1521002026.745:5): avc: denied { syslog } for pid=4072 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.491825] audit: type=1400 audit(1521002030.220:6): avc: denied { map } for pid=4210 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.1' (ECDSA) to the list of known hosts. [ 43.268491] audit: type=1400 audit(1521002053.997:7): avc: denied { map } for pid=4227 comm="syzkaller326171" path="/root/syzkaller326171364" 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 [ 43.279538] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program [ 43.323084] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program [ 43.348859] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program executing program executing program [ 43.375895] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program executing program executing program [ 43.404340] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program executing program executing program executing program executing program [ 43.434295] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program executing program executing program executing program [ 43.472999] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 43.505638] IPVS: ftp: loaded support on port[0] = 21 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 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 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 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 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 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 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 [ 45.970749] ================================================================== [ 45.978354] BUG: KASAN: null-ptr-deref in rdma_resolve_addr+0x12e/0x26c0 [ 45.985170] Write of size 28 at addr 00000000000000a0 by task syzkaller326171/7671 [ 45.992856] [ 45.994464] CPU: 0 PID: 7671 Comm: syzkaller326171 Not tainted 4.16.0-rc5+ #352 [ 46.001885] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.011222] Call Trace: [ 46.013795] dump_stack+0x194/0x24d executing program executing program executing program executing program executing program [ 46.017403] ? arch_local_irq_restore+0x53/0x53 [ 46.022060] ? __might_sleep+0x95/0x190 [ 46.026034] ? rdma_resolve_addr+0x12e/0x26c0 [ 46.030524] kasan_report+0x140/0x360 [ 46.034325] check_memory_region+0x137/0x190 [ 46.038726] memcpy+0x37/0x50 [ 46.041827] rdma_resolve_addr+0x12e/0x26c0 [ 46.046149] ? find_held_lock+0x35/0x1d0 [ 46.050215] ? rdma_bind_addr+0x1b50/0x1b50 [ 46.054530] ? lock_downgrade+0x980/0x980 [ 46.058685] ? __radix_tree_lookup+0x435/0x5e0 [ 46.063286] ? __mutex_unlock_slowpath+0xe9/0xac0 executing program executing program executing program executing program [ 46.068146] ? wait_for_completion+0x770/0x770 [ 46.072735] ? lock_release+0xa40/0xa40 [ 46.076717] ? check_same_owner+0x320/0x320 [ 46.081065] ? find_held_lock+0x35/0x1d0 [ 46.085159] ucma_resolve_ip+0x142/0x1f0 [ 46.089213] ? ucma_resolve_ip+0x142/0x1f0 [ 46.093446] ? ucma_resolve_addr+0x330/0x330 [ 46.097864] ? kasan_check_write+0x14/0x20 [ 46.102128] ucma_write+0x2d6/0x3d0 [ 46.105761] ? ucma_resolve_addr+0x330/0x330 [ 46.110170] ? ucma_resolve_route+0x1a0/0x1a0 [ 46.114668] ? ucma_resolve_route+0x1a0/0x1a0 [ 46.119156] __vfs_write+0xef/0x970 [ 46.122782] ? rcu_note_context_switch+0x710/0x710 [ 46.127718] ? kernel_read+0x120/0x120 [ 46.131608] ? __might_sleep+0x95/0x190 [ 46.135581] ? _cond_resched+0x14/0x30 [ 46.139462] ? __inode_security_revalidate+0xd9/0x130 [ 46.144822] ? avc_policy_seqno+0x9/0x20 [ 46.148877] ? selinux_file_permission+0x82/0x460 [ 46.153728] ? security_file_permission+0x89/0x1e0 [ 46.158670] ? rw_verify_area+0xe5/0x2b0 [ 46.162727] ? __fdget_raw+0x20/0x20 [ 46.166432] vfs_write+0x189/0x510 [ 46.169954] SyS_write+0xef/0x220 [ 46.173386] ? SyS_read+0x220/0x220 [ 46.177009] ? do_syscall_64+0xb7/0x940 [ 46.180983] ? SyS_read+0x220/0x220 [ 46.184616] do_syscall_64+0x281/0x940 [ 46.188511] ? _raw_spin_unlock_irq+0x27/0x70 [ 46.193006] ? finish_task_switch+0x1c1/0x7e0 [ 46.197487] ? syscall_return_slowpath+0x550/0x550 [ 46.202482] ? syscall_return_slowpath+0x2ac/0x550 [ 46.207398] ? prepare_exit_to_usermode+0x350/0x350 [ 46.212404] ? entry_SYSCALL_64_after_hwframe+0x52/0xb7 [ 46.217764] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 46.222598] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 46.227762] RIP: 0033:0x446b29 [ 46.230932] RSP: 002b:00007f72069e1da8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 46.238633] RAX: ffffffffffffffda RBX: 00000000006e29fc RCX: 0000000000446b29 [ 46.245914] RDX: 000000000000002e RSI: 0000000020000c40 RDI: 0000000000000004 [ 46.253174] RBP: 00000000006e29f8 R08: 00007f72069e2700 R09: 0000000000000000 [ 46.260435] R10: 00007f72069e2700 R11: 0000000000000246 R12: 006d635f616d6472 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 [ 46.267697] R13: 2f646e6162696e69 R14: 666e692f7665642f R15: 0000000000000004 [ 46.274984] ================================================================== [ 46.282328] Disabling lock debugging due to kernel taint [ 46.287930] Kernel panic - not syncing: panic_on_warn set ... [ 46.287930] [ 46.295283] CPU: 0 PID: 7671 Comm: syzkaller326171 Tainted: G B 4.16.0-rc5+ #352 [ 46.304020] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.313372] Call Trace: [ 46.315961] dump_stack+0x194/0x24d [ 46.319583] ? arch_local_irq_restore+0x53/0x53 [ 46.324260] ? kasan_end_report+0x32/0x50 [ 46.328404] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 46.333147] ? vsnprintf+0x1ed/0x1900 [ 46.336938] ? rdma_resolve_addr+0x110/0x26c0 [ 46.341422] panic+0x1e4/0x41c [ 46.344603] ? refcount_error_report+0x214/0x214 [ 46.349352] ? add_taint+0x1c/0x50 [ 46.352892] ? add_taint+0x1c/0x50 [ 46.356424] ? rdma_resolve_addr+0x12e/0x26c0 [ 46.360912] kasan_end_report+0x50/0x50 [ 46.364902] kasan_report+0x149/0x360 [ 46.368692] check_memory_region+0x137/0x190 [ 46.373090] memcpy+0x37/0x50 [ 46.376189] rdma_resolve_addr+0x12e/0x26c0 [ 46.380506] ? find_held_lock+0x35/0x1d0 [ 46.384567] ? rdma_bind_addr+0x1b50/0x1b50 [ 46.388892] ? lock_downgrade+0x980/0x980 [ 46.393038] ? __radix_tree_lookup+0x435/0x5e0 [ 46.397621] ? __mutex_unlock_slowpath+0xe9/0xac0 [ 46.402454] ? wait_for_completion+0x770/0x770 [ 46.407031] ? lock_release+0xa40/0xa40 [ 46.410999] ? check_same_owner+0x320/0x320 [ 46.415326] ? find_held_lock+0x35/0x1d0 [ 46.419395] ucma_resolve_ip+0x142/0x1f0 [ 46.423446] ? ucma_resolve_ip+0x142/0x1f0 [ 46.427679] ? ucma_resolve_addr+0x330/0x330 [ 46.432098] ? kasan_check_write+0x14/0x20 [ 46.436325] ucma_write+0x2d6/0x3d0 [ 46.439939] ? ucma_resolve_addr+0x330/0x330 [ 46.444339] ? ucma_resolve_route+0x1a0/0x1a0 [ 46.448827] ? ucma_resolve_route+0x1a0/0x1a0 [ 46.453320] __vfs_write+0xef/0x970 [ 46.456937] ? rcu_note_context_switch+0x710/0x710 [ 46.461858] ? kernel_read+0x120/0x120 [ 46.465742] ? __might_sleep+0x95/0x190 [ 46.469724] ? _cond_resched+0x14/0x30 [ 46.473612] ? __inode_security_revalidate+0xd9/0x130 [ 46.479573] ? avc_policy_seqno+0x9/0x20 [ 46.483626] ? selinux_file_permission+0x82/0x460 [ 46.488461] ? security_file_permission+0x89/0x1e0 [ 46.493384] ? rw_verify_area+0xe5/0x2b0 [ 46.497435] ? __fdget_raw+0x20/0x20 [ 46.501137] vfs_write+0x189/0x510 [ 46.504688] SyS_write+0xef/0x220 [ 46.508145] ? SyS_read+0x220/0x220 [ 46.511763] ? do_syscall_64+0xb7/0x940 [ 46.515739] ? SyS_read+0x220/0x220 [ 46.519363] do_syscall_64+0x281/0x940 [ 46.523239] ? _raw_spin_unlock_irq+0x27/0x70 [ 46.527724] ? finish_task_switch+0x1c1/0x7e0 [ 46.532213] ? syscall_return_slowpath+0x550/0x550 [ 46.537803] ? syscall_return_slowpath+0x2ac/0x550 [ 46.542726] ? prepare_exit_to_usermode+0x350/0x350 [ 46.547734] ? entry_SYSCALL_64_after_hwframe+0x52/0xb7 [ 46.553090] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 46.557929] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 46.563110] RIP: 0033:0x446b29 [ 46.566287] RSP: 002b:00007f72069e1da8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 46.573988] RAX: ffffffffffffffda RBX: 00000000006e29fc RCX: 0000000000446b29 [ 46.581334] RDX: 000000000000002e RSI: 0000000020000c40 RDI: 0000000000000004 [ 46.588597] RBP: 00000000006e29f8 R08: 00007f72069e2700 R09: 0000000000000000 [ 46.595863] R10: 00007f72069e2700 R11: 0000000000000246 R12: 006d635f616d6472 [ 46.603124] R13: 2f646e6162696e69 R14: 666e692f7665642f R15: 0000000000000004 [ 46.611049] Dumping ftrace buffer: [ 46.614582] (ftrace buffer empty) [ 46.618263] Kernel Offset: disabled [ 46.621872] Rebooting in 86400 seconds..