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 'ci-upstream-mmots-kasan-gce-0,10.128.0.44' (ECDSA) to the list of known hosts. 2017/11/04 10:51:20 parsed 1 programs 2017/11/04 10:51:20 executed programs: 0 syzkaller login: [ 42.413541] ================================================================== [ 42.414641] BUG: KASAN: slab-out-of-bounds in xfrm_hash_rebuild+0xdbe/0xf00 [ 42.415604] Read of size 2 at addr ffff8801d180fa34 by task kworker/1:2/1348 [ 42.416545] [ 42.416781] CPU: 1 PID: 1348 Comm: kworker/1:2 Not tainted 4.14.0-rc5-mm1+ #20 [ 42.417756] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.418979] Workqueue: events xfrm_hash_rebuild [ 42.419602] Call Trace: [ 42.419963] dump_stack+0x194/0x257 [ 42.420455] ? arch_local_irq_restore+0x53/0x53 [ 42.421078] ? show_regs_print_info+0x65/0x65 [ 42.421695] ? lock_release+0xa40/0xa40 [ 42.422229] ? xfrm_hash_rebuild+0xdbe/0xf00 [ 42.422822] print_address_description+0x73/0x250 [ 42.423468] ? xfrm_hash_rebuild+0xdbe/0xf00 [ 42.424109] kasan_report+0x25b/0x340 [ 42.424641] __asan_report_load2_noabort+0x14/0x20 [ 42.425329] xfrm_hash_rebuild+0xdbe/0xf00 [ 42.425899] ? lock_acquire+0x100/0x580 [ 42.426434] ? xfrm_policy_bysel_ctx+0x360/0x360 [ 42.427187] ? __lock_is_held+0xb6/0x140 [ 42.427744] process_one_work+0xbf0/0x1bc0 [ 42.428311] ? _raw_spin_unlock_irq+0x27/0x70 [ 42.428921] ? pwq_dec_nr_in_flight+0x450/0x450 [ 42.429550] ? preempt_notifier_dec+0x20/0x20 [ 42.430163] ? __schedule+0x8f3/0x2060 [ 42.430697] ? check_noncircular+0x20/0x20 [ 42.431281] ? retint_kernel+0x10/0x10 [ 42.431804] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 42.432474] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 42.433126] ? lock_acquire+0x1d5/0x580 [ 42.433671] ? lock_acquire+0x1d5/0x580 [ 42.434205] ? worker_thread+0x4a3/0x1990 [ 42.438321] ? lock_downgrade+0x990/0x990 [ 42.442440] ? lock_release+0xa40/0xa40 [ 42.446379] ? do_raw_spin_trylock+0x190/0x190 [ 42.450935] ? __update_idle_core+0x305/0x600 [ 42.455409] worker_thread+0x223/0x1990 [ 42.459385] ? process_one_work+0x1bc0/0x1bc0 [ 42.463852] ? _raw_spin_unlock_irq+0x27/0x70 [ 42.468318] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 42.473301] ? trace_hardirqs_on+0xd/0x10 [ 42.477419] ? mmdrop+0x18/0x30 [ 42.480668] ? finish_task_switch+0x1f6/0x740 [ 42.485134] ? preempt_notifier_dec+0x20/0x20 [ 42.489610] ? __schedule+0x8f3/0x2060 [ 42.493470] ? lock_downgrade+0x990/0x990 [ 42.497589] ? do_raw_spin_trylock+0x190/0x190 [ 42.502148] ? find_held_lock+0x35/0x1d0 [ 42.506185] ? find_held_lock+0x35/0x1d0 [ 42.510221] ? complete+0x62/0x80 [ 42.513647] ? __schedule+0x2060/0x2060 [ 42.517584] ? do_wait_intr+0x3d0/0x3e0 [ 42.521526] ? __lockdep_init_map+0xe4/0x650 [ 42.525905] ? lockdep_init_map+0x9/0x10 [ 42.529932] ? _raw_spin_unlock_irqrestore+0x31/0xba [ 42.535003] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 42.539989] ? trace_hardirqs_on+0xd/0x10 [ 42.544105] ? __kthread_parkme+0x175/0x240 [ 42.548397] kthread+0x38b/0x470 [ 42.551729] ? process_one_work+0x1bc0/0x1bc0 [ 42.556191] ? kthread_create_on_node+0x100/0x100 [ 42.561002] ret_from_fork+0x2a/0x40 [ 42.564703] [ 42.566300] Allocated by task 3006: [ 42.569895] save_stack+0x43/0xd0 [ 42.573313] kasan_kmalloc+0xad/0xe0 [ 42.576992] __kmalloc+0x162/0x760 [ 42.580500] sk_prot_alloc+0x101/0x2a0 [ 42.584354] sk_alloc+0x89/0x700 [ 42.587688] pfkey_create+0x2b2/0xae0 [ 42.591455] __sock_create+0x4d4/0x850 [ 42.595306] SyS_socket+0xeb/0x200 [ 42.598812] entry_SYSCALL_64_fastpath+0x1f/0xbe [ 42.603532] [ 42.605132] Freed by task 0: [ 42.608117] (stack is not available) [ 42.611798] [ 42.613394] The buggy address belongs to the object at ffff8801d180f500 [ 42.613394] which belongs to the cache kmalloc-2048 of size 2048 [ 42.626189] The buggy address is located 1332 bytes inside of [ 42.626189] 2048-byte region [ffff8801d180f500, ffff8801d180fd00) [ 42.638201] The buggy address belongs to the page: [ 42.643095] page:ffffea0007460380 count:1 mapcount:0 mapping:ffff8801d180e400 index:0x0 compound_mapcount: 0 [ 42.653028] flags: 0x200000000008100(slab|head) [ 42.657664] raw: 0200000000008100 ffff8801d180e400 0000000000000000 0000000100000003 [ 42.665511] raw: ffffea0007490720 ffff8801dac01948 ffff8801dac00c40 0000000000000000 [ 42.673357] page dumped because: kasan: bad access detected [ 42.679033] [ 42.680627] Memory state around the buggy address: [ 42.685520] ffff8801d180f900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 42.692844] ffff8801d180f980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 42.700171] >ffff8801d180fa00: 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.707495] ^ [ 42.712390] ffff8801d180fa80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.719717] ffff8801d180fb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 42.727040] ================================================================== [ 42.734364] Disabling lock debugging due to kernel taint [ 42.739823] Kernel panic - not syncing: panic_on_warn set ... [ 42.739823] [ 42.747152] CPU: 1 PID: 1348 Comm: kworker/1:2 Tainted: G B 4.14.0-rc5-mm1+ #20 [ 42.755775] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.765106] Workqueue: events xfrm_hash_rebuild [ 42.769742] Call Trace: [ 42.772300] dump_stack+0x194/0x257 [ 42.775895] ? arch_local_irq_restore+0x53/0x53 [ 42.780533] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 42.785259] ? vsnprintf+0x1ed/0x1900 [ 42.789024] ? xfrm_hash_rebuild+0xdb0/0xf00 [ 42.793400] panic+0x1e4/0x41c [ 42.796560] ? refcount_error_report+0x214/0x214 [ 42.801284] ? add_taint+0x1c/0x50 [ 42.804790] ? add_taint+0x1c/0x50 [ 42.808297] ? xfrm_hash_rebuild+0xdbe/0xf00 [ 42.812673] kasan_end_report+0x50/0x50 [ 42.816612] kasan_report+0x144/0x340 [ 42.820378] __asan_report_load2_noabort+0x14/0x20 [ 42.825274] xfrm_hash_rebuild+0xdbe/0xf00 [ 42.829476] ? lock_acquire+0x100/0x580 [ 42.833418] ? xfrm_policy_bysel_ctx+0x360/0x360 [ 42.838146] ? __lock_is_held+0xb6/0x140 [ 42.842180] process_one_work+0xbf0/0x1bc0 [ 42.846381] ? _raw_spin_unlock_irq+0x27/0x70 [ 42.850845] ? pwq_dec_nr_in_flight+0x450/0x450 [ 42.855482] ? preempt_notifier_dec+0x20/0x20 [ 42.859948] ? __schedule+0x8f3/0x2060 [ 42.863806] ? check_noncircular+0x20/0x20 [ 42.868004] ? retint_kernel+0x10/0x10 [ 42.871857] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 42.876839] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 42.881571] ? lock_acquire+0x1d5/0x580 [ 42.885509] ? lock_acquire+0x1d5/0x580 [ 42.889447] ? worker_thread+0x4a3/0x1990 [ 42.893561] ? lock_downgrade+0x990/0x990 [ 42.897674] ? lock_release+0xa40/0xa40 [ 42.901610] ? do_raw_spin_trylock+0x190/0x190 [ 42.906163] ? __update_idle_core+0x305/0x600 [ 42.910627] worker_thread+0x223/0x1990 [ 42.914578] ? process_one_work+0x1bc0/0x1bc0 [ 42.919042] ? _raw_spin_unlock_irq+0x27/0x70 [ 42.923502] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 42.928482] ? trace_hardirqs_on+0xd/0x10 [ 42.932594] ? mmdrop+0x18/0x30 [ 42.935837] ? finish_task_switch+0x1f6/0x740 [ 42.940300] ? preempt_notifier_dec+0x20/0x20 [ 42.944765] ? __schedule+0x8f3/0x2060 [ 42.948622] ? lock_downgrade+0x990/0x990 [ 42.952736] ? do_raw_spin_trylock+0x190/0x190 [ 42.957284] ? find_held_lock+0x35/0x1d0 [ 42.961312] ? find_held_lock+0x35/0x1d0 [ 42.965341] ? complete+0x62/0x80 [ 42.968762] ? __schedule+0x2060/0x2060 [ 42.972701] ? do_wait_intr+0x3d0/0x3e0 [ 42.976638] ? __lockdep_init_map+0xe4/0x650 [ 42.981012] ? lockdep_init_map+0x9/0x10 [ 42.985039] ? _raw_spin_unlock_irqrestore+0x31/0xba [ 42.990110] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 42.995090] ? trace_hardirqs_on+0xd/0x10 [ 42.999205] ? __kthread_parkme+0x175/0x240 [ 43.003494] kthread+0x38b/0x470 [ 43.006824] ? process_one_work+0x1bc0/0x1bc0 [ 43.011284] ? kthread_create_on_node+0x100/0x100 [ 43.016092] ret_from_fork+0x2a/0x40 [ 43.019809] Dumping ftrace buffer: [ 43.023317] (ftrace buffer empty) [ 43.026993] Kernel Offset: disabled [ 43.030586] Rebooting in 86400 seconds..