[....] Starting enhanced syslogd: rsyslogd[ 12.362163] audit: type=1400 audit(1513328902.098:4): avc: denied { syslog } for pid=3161 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 Warning: Permanently added 'ci-android-49-kasan-gce-4,10.128.15.197' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 19.902345] ================================================================== [ 19.909732] BUG: KASAN: slab-out-of-bounds in pfkey_add+0x153e/0x3470 at addr ffff8801ccb41198 [ 19.918448] Read of size 8192 by task syzkaller504987/3316 [ 19.924043] CPU: 0 PID: 3316 Comm: syzkaller504987 Not tainted 4.9.69-g3f1d77c #108 [ 19.931801] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 19.941123] ffff8801cd81f748 ffffffff81d90a29 ffff8801da001280 ffff8801ccb41180 [ 19.949078] ffff8801ccb41380 ffffed0039968270 ffff8801ccb41198 ffff8801cd81f770 [ 19.957045] ffffffff8153a45c ffffed0039968270 ffff8801da001280 0000000000000000 [ 19.964995] Call Trace: [ 19.967554] [] dump_stack+0xc1/0x128 [ 19.972898] [] kasan_object_err+0x1c/0x70 [ 19.978661] [] kasan_report.part.1+0x21c/0x500 [ 19.984863] [] ? __kmalloc+0x19d/0x310 [ 19.990384] [] ? pfkey_add+0x153e/0x3470 [ 19.996070] [] ? rcu_read_lock_sched_held+0x103/0x120 [ 20.002876] [] kasan_report+0x21/0x30 [ 20.008290] [] check_memory_region+0x137/0x190 [ 20.014486] [] memcpy+0x23/0x50 [ 20.019381] [] pfkey_add+0x153e/0x3470 [ 20.024883] [] ? pfkey_delete+0x360/0x360 [ 20.030648] [] ? pfkey_seq_stop+0x80/0x80 [ 20.036412] [] ? __skb_clone+0x24a/0x7d0 [ 20.042087] [] ? pfkey_delete+0x360/0x360 [ 20.047854] [] pfkey_process+0x61e/0x730 [ 20.053528] [] ? pfkey_send_new_mapping+0x11b0/0x11b0 [ 20.060332] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.067152] [] pfkey_sendmsg+0x3a9/0x760 [ 20.072828] [] ? pfkey_spdget+0x820/0x820 [ 20.078591] [] sock_sendmsg+0xca/0x110 [ 20.084093] [] ___sys_sendmsg+0x6d1/0x7e0 [ 20.089867] [] ? copy_msghdr_from_user+0x550/0x550 [ 20.096413] [] ? __lru_cache_add+0x187/0x250 [ 20.102437] [] ? do_huge_pmd_anonymous_page+0xb05/0x10d0 [ 20.109503] [] ? _raw_spin_unlock+0x2c/0x50 [ 20.115441] [] ? do_huge_pmd_anonymous_page+0x2d4/0x10d0 [ 20.122507] [] ? handle_mm_fault+0x6ee/0x2530 [ 20.128627] [] ? __lock_is_held+0xa1/0xf0 [ 20.134389] [] ? __pmd_alloc+0x410/0x410 [ 20.140065] [] ? __fget_light+0x158/0x1e0 [ 20.145833] [] ? __fdget+0x18/0x20 [ 20.151007] [] __sys_sendmsg+0xd6/0x190 [ 20.156617] [] ? SyS_shutdown+0x1b0/0x1b0 [ 20.162404] [] ? __do_page_fault+0x5ec/0xd40 [ 20.168453] [] ? __do_page_fault+0x3bd/0xd40 [ 20.174503] [] ? trace_hardirqs_on_caller+0x38b/0x590 [ 20.181332] [] SyS_sendmsg+0x2d/0x50 [ 20.186683] [] entry_SYSCALL_64_fastpath+0x23/0xc6 [ 20.193245] Object at ffff8801ccb41180, in cache kmalloc-512 size: 512 [ 20.199889] Allocated: [ 20.202360] PID = 3316 [ 20.204827] save_stack_trace+0x16/0x20 [ 20.208766] save_stack+0x43/0xd0 [ 20.212182] kasan_kmalloc+0xad/0xe0 [ 20.215859] kasan_slab_alloc+0x12/0x20 [ 20.219796] __kmalloc_track_caller+0xda/0x2b0 [ 20.224343] __kmalloc_reserve.isra.37+0x33/0xc0 [ 20.229062] __alloc_skb+0x119/0x600 [ 20.232741] pfkey_sendmsg+0x135/0x760 [ 20.236591] sock_sendmsg+0xca/0x110 [ 20.240267] ___sys_sendmsg+0x6d1/0x7e0 [ 20.244204] __sys_sendmsg+0xd6/0x190 [ 20.247968] SyS_sendmsg+0x2d/0x50 [ 20.251474] entry_SYSCALL_64_fastpath+0x23/0xc6 [ 20.256187] Freed: [ 20.258299] PID = 0 [ 20.260496] (stack is not available) [ 20.264171] Memory state around the buggy address: [ 20.269064] ffff8801ccb41280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.276388] ffff8801ccb41300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.283711] >ffff8801ccb41380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.291030] ^ [ 20.294362] ffff8801ccb41400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.301685] ffff8801ccb41480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 20.309006] ================================================================== [ 20.316326] Disabling lock debugging due to kernel taint