INIT: Entering runlevel: 2 [info] Using makefile-style concurrent boot in runlevel 2. [....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?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 '10.128.0.14' (ECDSA) to the list of known hosts. 2018/04/13 15:54:41 parsed 1 programs 2018/04/13 15:54:41 executed programs: 0 syzkaller login: [ 25.596683] IPVS: Creating netns size=2536 id=1 [ 25.653564] ================================================================== [ 25.660966] BUG: KASAN: slab-out-of-bounds in pfkey_add+0x2565/0x3240 [ 25.667525] Read of size 8192 at addr ffff8801c6d911c0 by task syz-executor0/3784 [ 25.675116] [ 25.676720] CPU: 0 PID: 3784 Comm: syz-executor0 Not tainted 4.9.93-gcb02358 #2 [ 25.684133] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.693461] ffff8801d98876d0 ffffffff81d9c249 ffffea00071b6400 ffff8801c6d911c0 [ 25.701448] 0000000000000000 ffff8801c6d91380 ffff8801c6d91180 ffff8801d9887708 [ 25.709424] ffffffff8156533b ffff8801c6d911c0 0000000000002000 0000000000000000 [ 25.717415] Call Trace: [ 25.719985] [] dump_stack+0xc1/0x128 [ 25.725326] [] print_address_description+0x6c/0x234 [ 25.731969] [] kasan_report.cold.6+0xac/0x2f5 [ 25.738086] [] ? pfkey_add+0x2565/0x3240 [ 25.743778] [] check_memory_region+0x14f/0x1b0 [ 25.749985] [] memcpy+0x23/0x50 [ 25.754887] [] pfkey_add+0x2565/0x3240 [ 25.760394] [] ? pfkey_get+0x660/0x660 [ 25.765911] [] ? __skb_clone+0x25c/0x7d0 [ 25.771600] [] ? pfkey_get+0x660/0x660 [ 25.777108] [] pfkey_process+0x671/0x740 [ 25.782796] [] ? pfkey_send_new_mapping+0x1170/0x1170 [ 25.789606] [] pfkey_sendmsg+0x346/0xae0 [ 25.795288] [] ? pfkey_spdget+0x840/0x840 [ 25.801071] [] sock_sendmsg+0xcc/0x110 [ 25.806580] [] ___sys_sendmsg+0x6fc/0x840 [ 25.812353] [] ? copy_msghdr_from_user+0x560/0x560 [ 25.818905] [] ? do_futex+0x174/0x1770 [ 25.824416] [] ? __lru_cache_add+0x187/0x250 [ 25.830454] [] ? exit_robust_list+0x220/0x220 [ 25.836576] [] ? _raw_spin_unlock+0x2c/0x50 [ 25.842524] [] ? do_huge_pmd_anonymous_page+0x648/0x10f0 [ 25.849602] [] ? __fget_light+0x169/0x1f0 [ 25.855371] [] ? __fdget+0x18/0x20 [ 25.860534] [] ? sockfd_lookup_light+0xb6/0x160 [ 25.866837] [] __sys_sendmsg+0xd9/0x190 [ 25.872435] [] ? SyS_shutdown+0x1b0/0x1b0 [ 25.878212] [] ? compat_SyS_futex+0x1e1/0x2f0 [ 25.884334] [] compat_SyS_sendmsg+0x2a/0x40 [ 25.890279] [] ? compat_SyS_getsockopt+0x2a0/0x2a0 [ 25.896839] [] do_fast_syscall_32+0x2f7/0x870 [ 25.902958] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.909622] [] entry_SYSENTER_compat+0x90/0xa2 [ 25.915823] [ 25.917427] Allocated by task 3784: [ 25.921028] save_stack_trace+0x16/0x20 [ 25.924977] save_stack+0x43/0xd0 [ 25.928403] kasan_kmalloc+0xc7/0xe0 [ 25.932086] kasan_slab_alloc+0x12/0x20 [ 25.936037] __kmalloc_track_caller+0xdc/0x2b0 [ 25.940590] __kmalloc_reserve.isra.37+0x33/0xc0 [ 25.945334] __alloc_skb+0x11a/0x600 [ 25.949025] pfkey_sendmsg+0xfe/0xae0 [ 25.952798] sock_sendmsg+0xcc/0x110 [ 25.956484] ___sys_sendmsg+0x6fc/0x840 [ 25.960429] __sys_sendmsg+0xd9/0x190 [ 25.964203] compat_SyS_sendmsg+0x2a/0x40 [ 25.968331] do_fast_syscall_32+0x2f7/0x870 [ 25.972627] entry_SYSENTER_compat+0x90/0xa2 [ 25.977015] [ 25.978620] Freed by task 2142: [ 25.981871] save_stack_trace+0x16/0x20 [ 25.985817] save_stack+0x43/0xd0 [ 25.989250] kasan_slab_free+0x72/0xc0 [ 25.993112] kfree+0xfb/0x310 [ 25.996192] kernfs_fop_release+0xff/0x140 [ 26.000400] __fput+0x263/0x700 [ 26.003652] ____fput+0x15/0x20 [ 26.006906] task_work_run+0x10c/0x180 [ 26.010766] exit_to_usermode_loop+0xfc/0x120 [ 26.015233] do_syscall_64+0x364/0x490 [ 26.019094] entry_SYSCALL_64_after_swapgs+0x5d/0xdb [ 26.024163] [ 26.025765] The buggy address belongs to the object at ffff8801c6d91180 [ 26.025765] which belongs to the cache kmalloc-512 of size 512 [ 26.038394] The buggy address is located 64 bytes inside of [ 26.038394] 512-byte region [ffff8801c6d91180, ffff8801c6d91380) [ 26.050152] The buggy address belongs to the page: [ 26.055055] page:ffffea00071b6400 count:1 mapcount:0 mapping: (null) index:0x0 compound_mapcount: 0 [ 26.065232] flags: 0x8000000000004080(slab|head) [ 26.069957] page dumped because: kasan: bad access detected [ 26.075634] [ 26.077232] Memory state around the buggy address: [ 26.082142] ffff8801c6d91280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.089570] ffff8801c6d91300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.096908] >ffff8801c6d91380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 26.104246] ^ [ 26.107598] ffff8801c6d91400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.114936] ffff8801c6d91480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 26.122267] ================================================================== [ 26.129594] Disabling lock debugging due to kernel taint [ 26.135510] Kernel panic - not syncing: panic_on_warn set ... [ 26.135510] [ 26.142875] CPU: 0 PID: 3784 Comm: syz-executor0 Tainted: G B 4.9.93-gcb02358 #2 [ 26.151856] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.161195] ffff8801d9887630 ffffffff81d9c249 ffffffff841a8689 00000000ffffffff [ 26.169197] 0000000000000000 0000000000000000 ffff8801c6d91180 ffff8801d98876f0 [ 26.177223] ffffffff8141f825 0000000041b58ab3 ffffffff8419bdc0 ffffffff8141f666 [ 26.185224] Call Trace: [ 26.187793] [] dump_stack+0xc1/0x128 [ 26.193130] [] panic+0x1bf/0x3bc [ 26.198120] [] ? add_taint.cold.6+0x16/0x16 [ 26.204068] [] ? ___preempt_schedule+0x16/0x18 [ 26.210279] [] kasan_end_report+0x47/0x4f [ 26.216061] [] kasan_report.cold.6+0xc9/0x2f5 [ 26.222204] [] ? pfkey_add+0x2565/0x3240 [ 26.227891] [] check_memory_region+0x14f/0x1b0 [ 26.234114] [] memcpy+0x23/0x50 [ 26.239041] [] pfkey_add+0x2565/0x3240 [ 26.244568] [] ? pfkey_get+0x660/0x660 [ 26.250083] [] ? __skb_clone+0x25c/0x7d0 [ 26.255769] [] ? pfkey_get+0x660/0x660 [ 26.261280] [] pfkey_process+0x671/0x740 [ 26.266976] [] ? pfkey_send_new_mapping+0x1170/0x1170 [ 26.273791] [] pfkey_sendmsg+0x346/0xae0 [ 26.279476] [] ? pfkey_spdget+0x840/0x840 [ 26.285264] [] sock_sendmsg+0xcc/0x110 [ 26.290792] [] ___sys_sendmsg+0x6fc/0x840 [ 26.296563] [] ? copy_msghdr_from_user+0x560/0x560 [ 26.303120] [] ? do_futex+0x174/0x1770 [ 26.308636] [] ? __lru_cache_add+0x187/0x250 [ 26.314670] [] ? exit_robust_list+0x220/0x220 [ 26.320789] [] ? _raw_spin_unlock+0x2c/0x50 [ 26.326733] [] ? do_huge_pmd_anonymous_page+0x648/0x10f0 [ 26.333813] [] ? __fget_light+0x169/0x1f0 [ 26.339584] [] ? __fdget+0x18/0x20 [ 26.344753] [] ? sockfd_lookup_light+0xb6/0x160 [ 26.351052] [] __sys_sendmsg+0xd9/0x190 [ 26.356646] [] ? SyS_shutdown+0x1b0/0x1b0 [ 26.362418] [] ? compat_SyS_futex+0x1e1/0x2f0 [ 26.368537] [] compat_SyS_sendmsg+0x2a/0x40 [ 26.374489] [] ? compat_SyS_getsockopt+0x2a0/0x2a0 [ 26.381051] [] do_fast_syscall_32+0x2f7/0x870 [ 26.387167] [] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 26.393807] [] entry_SYSENTER_compat+0x90/0xa2 [ 26.400535] Dumping ftrace buffer: [ 26.404057] (ftrace buffer empty) [ 26.407741] Kernel Offset: disabled [ 26.411339] Rebooting in 86400 seconds..