[....] Starting enhanced syslogd: rsyslogd[ 16.636311] audit: type=1400 audit(1521536106.001:5): avc: denied { syslog } for pid=4075 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 OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 21.757876] audit: type=1400 audit(1521536111.122:6): avc: denied { map } for pid=4214 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.12' (ECDSA) to the list of known hosts. [ 28.108393] audit: type=1400 audit(1521536117.473:7): avc: denied { map } for pid=4228 comm="syz-execprog" path="/root/syz-execprog" dev="sda1" ino=16479 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 2018/03/20 08:55:17 parsed 1 programs 2018/03/20 08:55:17 executed programs: 0 [ 28.363562] audit: type=1400 audit(1521536117.727:8): avc: denied { map } for pid=4228 comm="syz-execprog" path="/root/syzkaller-shm640761244" dev="sda1" ino=16482 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:file_t:s0 tclass=file permissive=1 [ 28.375233] IPVS: ftp: loaded support on port[0] = 21 [ 28.421642] ================================================================== [ 28.429062] BUG: KASAN: slab-out-of-bounds in pfkey_add+0x1634/0x3270 [ 28.435617] Read of size 8160 at addr ffff8801b348b300 by task syz-executor0/4236 [ 28.443213] [ 28.444820] CPU: 1 PID: 4236 Comm: syz-executor0 Not tainted 4.16.0-rc6+ #270 [ 28.452069] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.461394] Call Trace: [ 28.463961] dump_stack+0x194/0x24d [ 28.467567] ? arch_local_irq_restore+0x53/0x53 [ 28.472212] ? show_regs_print_info+0x18/0x18 [ 28.477401] ? __lock_is_held+0xb6/0x140 [ 28.481439] ? pfkey_add+0x1634/0x3270 [ 28.485310] print_address_description+0x73/0x250 [ 28.490123] ? pfkey_add+0x1634/0x3270 [ 28.493982] kasan_report+0x23c/0x360 [ 28.497763] check_memory_region+0x137/0x190 [ 28.502147] memcpy+0x23/0x50 [ 28.505231] pfkey_add+0x1634/0x3270 [ 28.508938] ? set_ipsecrequest+0x310/0x310 [ 28.513235] ? lock_release+0xa40/0xa40 [ 28.517183] ? set_ipsecrequest+0x310/0x310 [ 28.521478] pfkey_process+0x67e/0x740 [ 28.525363] ? pfkey_send_new_mapping+0x11b0/0x11b0 [ 28.530351] ? kasan_check_write+0x14/0x20 [ 28.534584] pfkey_sendmsg+0x4dc/0xa00 [ 28.538449] ? pfkey_spdget+0xb00/0xb00 [ 28.542398] ? selinux_socket_sendmsg+0x36/0x40 [ 28.547048] ? security_socket_sendmsg+0x89/0xb0 [ 28.551779] ? pfkey_spdget+0xb00/0xb00 [ 28.555728] sock_sendmsg+0xca/0x110 [ 28.559416] ___sys_sendmsg+0x767/0x8b0 [ 28.563369] ? copy_msghdr_from_user+0x590/0x590 [ 28.568100] ? __handle_mm_fault+0x5ba/0x38c0 [ 28.572571] ? __pmd_alloc+0x4e0/0x4e0 [ 28.576429] ? trace_hardirqs_off+0x10/0x10 [ 28.580726] ? __fget_light+0x2b2/0x3c0 [ 28.584677] ? fget_raw+0x20/0x20 [ 28.588114] ? find_held_lock+0x35/0x1d0 [ 28.592163] __sys_sendmsg+0xe5/0x210 [ 28.595950] ? __sys_sendmsg+0xe5/0x210 [ 28.599904] ? SyS_shutdown+0x290/0x290 [ 28.603859] ? compat_SyS_futex+0x288/0x380 [ 28.608174] compat_SyS_sendmsg+0x2a/0x40 [ 28.612293] ? compat_SyS_getsockopt+0x420/0x420 [ 28.617026] do_fast_syscall_32+0x3ec/0xf9f [ 28.621328] ? do_int80_syscall_32+0x9c0/0x9c0 [ 28.625881] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 28.630613] ? syscall_return_slowpath+0x2ac/0x550 [ 28.635524] ? prepare_exit_to_usermode+0x350/0x350 [ 28.640517] ? sysret32_from_system_call+0x5/0x3c [ 28.645341] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 28.650167] entry_SYSENTER_compat+0x70/0x7f [ 28.654549] RIP: 0023:0xf7fc9c99 [ 28.657892] RSP: 002b:00000000ff99416c EFLAGS: 00000282 ORIG_RAX: 0000000000000172 [ 28.665575] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020b6dfc8 [ 28.672814] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 28.680057] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 28.687305] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 28.694547] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 28.701815] [ 28.703419] Allocated by task 4236: [ 28.707026] save_stack+0x43/0xd0 [ 28.710456] kasan_kmalloc+0xad/0xe0 [ 28.714144] __kmalloc_node_track_caller+0x47/0x70 [ 28.719054] __kmalloc_reserve.isra.39+0x41/0xd0 [ 28.723780] __alloc_skb+0x13b/0x780 [ 28.727466] pfkey_sendmsg+0x20f/0xa00 [ 28.731322] sock_sendmsg+0xca/0x110 [ 28.735006] ___sys_sendmsg+0x767/0x8b0 [ 28.738960] __sys_sendmsg+0xe5/0x210 [ 28.742732] compat_SyS_sendmsg+0x2a/0x40 [ 28.746850] do_fast_syscall_32+0x3ec/0xf9f [ 28.751148] entry_SYSENTER_compat+0x70/0x7f [ 28.755523] [ 28.757119] Freed by task 0: [ 28.760108] (stack is not available) [ 28.763789] [ 28.765387] The buggy address belongs to the object at ffff8801b348b2c0 [ 28.765387] which belongs to the cache kmalloc-512 of size 512 [ 28.778019] The buggy address is located 64 bytes inside of [ 28.778019] 512-byte region [ffff8801b348b2c0, ffff8801b348b4c0) [ 28.789783] The buggy address belongs to the page: [ 28.794686] page:ffffea0006cd22c0 count:1 mapcount:0 mapping:ffff8801b348b040 index:0x0 [ 28.802802] flags: 0x2fffc0000000100(slab) [ 28.807011] raw: 02fffc0000000100 ffff8801b348b040 0000000000000000 0000000100000006 [ 28.814869] raw: ffffea0006ccc7e0 ffffea0006cd5e20 ffff8801dac00940 0000000000000000 [ 28.822722] page dumped because: kasan: bad access detected [ 28.828400] [ 28.829998] Memory state around the buggy address: [ 28.834901] ffff8801b348b380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 28.842237] ffff8801b348b400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 28.849568] >ffff8801b348b480: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 28.856896] ^ [ 28.862317] ffff8801b348b500: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 28.869651] ffff8801b348b580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 28.876978] ================================================================== [ 28.884317] Disabling lock debugging due to kernel taint [ 28.889806] Kernel panic - not syncing: panic_on_warn set ... [ 28.889806] [ 28.897157] CPU: 1 PID: 4236 Comm: syz-executor0 Tainted: G B 4.16.0-rc6+ #270 [ 28.905701] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 28.915028] Call Trace: [ 28.917597] dump_stack+0x194/0x24d [ 28.921199] ? arch_local_irq_restore+0x53/0x53 [ 28.925839] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 28.930565] ? vsnprintf+0x1ed/0x1900 [ 28.934336] ? pfkey_add+0x1540/0x3270 [ 28.938195] panic+0x1e4/0x41c [ 28.941356] ? refcount_error_report+0x214/0x214 [ 28.946083] ? add_taint+0x1c/0x50 [ 28.949592] ? add_taint+0x1c/0x50 [ 28.953103] ? pfkey_add+0x1634/0x3270 [ 28.956962] kasan_end_report+0x50/0x50 [ 28.960906] kasan_report+0x149/0x360 [ 28.964677] check_memory_region+0x137/0x190 [ 28.969055] memcpy+0x23/0x50 [ 28.972136] pfkey_add+0x1634/0x3270 [ 28.975824] ? set_ipsecrequest+0x310/0x310 [ 28.980120] ? lock_release+0xa40/0xa40 [ 28.984063] ? set_ipsecrequest+0x310/0x310 [ 28.988356] pfkey_process+0x67e/0x740 [ 28.992217] ? pfkey_send_new_mapping+0x11b0/0x11b0 [ 28.997203] ? kasan_check_write+0x14/0x20 [ 29.001419] pfkey_sendmsg+0x4dc/0xa00 [ 29.005280] ? pfkey_spdget+0xb00/0xb00 [ 29.009224] ? selinux_socket_sendmsg+0x36/0x40 [ 29.013865] ? security_socket_sendmsg+0x89/0xb0 [ 29.018590] ? pfkey_spdget+0xb00/0xb00 [ 29.022534] sock_sendmsg+0xca/0x110 [ 29.026215] ___sys_sendmsg+0x767/0x8b0 [ 29.030161] ? copy_msghdr_from_user+0x590/0x590 [ 29.034890] ? __handle_mm_fault+0x5ba/0x38c0 [ 29.039357] ? __pmd_alloc+0x4e0/0x4e0 [ 29.043213] ? trace_hardirqs_off+0x10/0x10 [ 29.047504] ? __fget_light+0x2b2/0x3c0 [ 29.051467] ? fget_raw+0x20/0x20 [ 29.054898] ? find_held_lock+0x35/0x1d0 [ 29.058936] __sys_sendmsg+0xe5/0x210 [ 29.062714] ? __sys_sendmsg+0xe5/0x210 [ 29.066661] ? SyS_shutdown+0x290/0x290 [ 29.070609] ? compat_SyS_futex+0x288/0x380 [ 29.074943] compat_SyS_sendmsg+0x2a/0x40 [ 29.079062] ? compat_SyS_getsockopt+0x420/0x420 [ 29.083787] do_fast_syscall_32+0x3ec/0xf9f [ 29.088081] ? do_int80_syscall_32+0x9c0/0x9c0 [ 29.092631] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 29.097358] ? syscall_return_slowpath+0x2ac/0x550 [ 29.102256] ? prepare_exit_to_usermode+0x350/0x350 [ 29.107247] ? sysret32_from_system_call+0x5/0x3c [ 29.112064] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 29.116881] entry_SYSENTER_compat+0x70/0x7f [ 29.121258] RIP: 0023:0xf7fc9c99 [ 29.124591] RSP: 002b:00000000ff99416c EFLAGS: 00000282 ORIG_RAX: 0000000000000172 [ 29.132268] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000020b6dfc8 [ 29.139509] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 29.146747] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 29.153986] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 29.161225] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 29.168957] Dumping ftrace buffer: [ 29.172465] (ftrace buffer empty) [ 29.176149] Kernel Offset: disabled [ 29.179743] Rebooting in 86400 seconds..