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-kasan-gce-386-3,10.128.0.54' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 33.678814] ================================================================== [ 33.679956] BUG: KASAN: stack-out-of-bounds in sha3_final+0xeb/0x2e0 [ 33.680812] Write of size 4294967174 at addr ffff8801cc1f7b62 by task syzkaller834580/3137 [ 33.681909] [ 33.682144] CPU: 1 PID: 3137 Comm: syzkaller834580 Not tainted 4.14.0+ #102 [ 33.683073] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.684290] Call Trace: [ 33.684650] dump_stack+0x194/0x257 [ 33.685143] ? arch_local_irq_restore+0x53/0x53 [ 33.685781] ? show_regs_print_info+0x65/0x65 [ 33.686383] ? find_held_lock+0x39/0x1d0 [ 33.686927] ? sha3_final+0xeb/0x2e0 [ 33.687430] print_address_description+0x73/0x250 [ 33.688076] ? sha3_final+0xeb/0x2e0 [ 33.688586] kasan_report+0x25b/0x340 [ 33.689099] check_memory_region+0x137/0x190 [ 33.689686] memset+0x23/0x40 [ 33.690107] sha3_final+0xeb/0x2e0 [ 33.690587] ? sha3_512_init+0x20/0x20 [ 33.691109] crypto_shash_final+0xd3/0x1f0 [ 33.691680] shash_finup_unaligned+0x40/0x60 [ 33.692270] crypto_shash_finup+0xc4/0x120 [ 33.692853] hmac_finup+0x182/0x330 [ 33.693339] ? shash_default_import+0x5b/0x80 [ 33.693943] crypto_shash_finup+0xc4/0x120 [ 33.694514] shash_digest_unaligned+0x9e/0xd0 [ 33.695116] crypto_shash_digest+0xc4/0x120 [ 33.695696] hmac_setkey+0x36a/0x690 [ 33.696229] ? hmac_setkey+0x20/0x690 [ 33.696748] crypto_shash_setkey+0xad/0x190 [ 33.697329] shash_async_setkey+0x47/0x60 [ 33.697885] crypto_ahash_setkey+0xaf/0x180 [ 33.698466] hash_setkey+0x40/0x90 [ 33.698944] ? hash_accept_parent+0xd0/0xd0 [ 33.699521] alg_setsockopt+0x2a1/0x350 [ 33.703466] compat_SyS_setsockopt+0x2e7/0x410 [ 33.708016] ? scm_detach_fds_compat+0x3c0/0x3c0 [ 33.712736] ? lock_acquire+0x1d5/0x580 [ 33.716679] ? finish_task_switch+0x1aa/0x740 [ 33.721139] ? do_fast_syscall_32+0x156/0xf9d [ 33.725603] ? scm_detach_fds_compat+0x3c0/0x3c0 [ 33.730326] do_fast_syscall_32+0x3ee/0xf9d [ 33.734613] ? do_raw_spin_trylock+0x190/0x190 [ 33.739166] ? do_int80_syscall_32+0x9d0/0x9d0 [ 33.743719] ? lockdep_sys_exit+0x47/0xf0 [ 33.747833] ? syscall_return_slowpath+0x2ad/0x550 [ 33.752727] ? prepare_exit_to_usermode+0x340/0x340 [ 33.757711] ? sysret32_from_system_call+0x5/0x3b [ 33.762523] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 33.767338] entry_SYSENTER_compat+0x51/0x60 [ 33.771711] RIP: 0023:0xf7f85c79 [ 33.775040] RSP: 002b:00000000f4f7b12c EFLAGS: 00000292 ORIG_RAX: 000000000000016e [ 33.782712] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000000117 [ 33.789975] RDX: 0000000000000001 RSI: 0000000020002000 RDI: 0000000000000079 [ 33.797210] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 33.804445] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 33.811679] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 33.818930] [ 33.820521] The buggy address belongs to the page: executing program executing program [ 33.825416] page:ffffea0007307dc0 count:0 mapcount:0 mapping: (null) index:0x0 [ 33.833519] flags: 0x2fffc0000000000() [ 33.837374] raw: 02fffc0000000000 0000000000000000 0000000000000000 00000000ffffffff [ 33.845219] raw: 0000000000000000 0000000100000001 0000000000000000 0000000000000000 [ 33.853060] page dumped because: kasan: bad access detected [ 33.858731] [ 33.860324] Memory state around the buggy address: [ 33.865216] ffff8801cc1f7c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.872540] ffff8801cc1f7c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 executing program executing program [ 33.879864] >ffff8801cc1f7d00: 00 00 00 00 00 f1 f1 f1 f1 04 f2 f2 f2 f3 f3 f3 [ 33.887186] ^ [ 33.891827] ffff8801cc1f7d80: f3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.899152] ffff8801cc1f7e00: f1 f1 f1 f1 f8 f2 f2 f2 f2 f2 f2 f2 00 f2 f2 f2 [ 33.906474] ================================================================== [ 33.913796] Disabling lock debugging due to kernel taint [ 33.919282] Kernel panic - not syncing: panic_on_warn set ... [ 33.919282] executing program executing program executing program executing program [ 33.926615] CPU: 1 PID: 3137 Comm: syzkaller834580 Tainted: G B 4.14.0+ #102 [ 33.934980] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.944300] Call Trace: [ 33.946858] dump_stack+0x194/0x257 [ 33.950451] ? arch_local_irq_restore+0x53/0x53 [ 33.955086] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 33.959808] ? vsnprintf+0x1ed/0x1900 [ 33.963572] ? sha3_final+0x50/0x2e0 [ 33.967251] panic+0x1e4/0x41c [ 33.970406] ? refcount_error_report+0x214/0x214 [ 33.975126] ? add_taint+0x1c/0x50 [ 33.978627] ? add_taint+0x1c/0x50 [ 33.982132] ? sha3_final+0xeb/0x2e0 [ 33.985808] kasan_end_report+0x50/0x50 [ 33.989746] kasan_report+0x144/0x340 [ 33.993511] check_memory_region+0x137/0x190 [ 33.997882] memset+0x23/0x40 [ 34.000952] sha3_final+0xeb/0x2e0 [ 34.004458] ? sha3_512_init+0x20/0x20 [ 34.008311] crypto_shash_final+0xd3/0x1f0 [ 34.012514] shash_finup_unaligned+0x40/0x60 [ 34.016895] crypto_shash_finup+0xc4/0x120 [ 34.021097] hmac_finup+0x182/0x330 [ 34.024686] ? shash_default_import+0x5b/0x80 [ 34.029147] crypto_shash_finup+0xc4/0x120 [ 34.033347] shash_digest_unaligned+0x9e/0xd0 [ 34.037808] crypto_shash_digest+0xc4/0x120 [ 34.042094] hmac_setkey+0x36a/0x690 [ 34.045791] ? hmac_setkey+0x20/0x690 [ 34.049558] crypto_shash_setkey+0xad/0x190 [ 34.053844] shash_async_setkey+0x47/0x60 [ 34.057954] crypto_ahash_setkey+0xaf/0x180 [ 34.062243] hash_setkey+0x40/0x90 [ 34.065747] ? hash_accept_parent+0xd0/0xd0 [ 34.070030] alg_setsockopt+0x2a1/0x350 [ 34.073970] compat_SyS_setsockopt+0x2e7/0x410 [ 34.078519] ? scm_detach_fds_compat+0x3c0/0x3c0 [ 34.083237] ? lock_acquire+0x1d5/0x580 [ 34.087177] ? finish_task_switch+0x1aa/0x740 [ 34.091636] ? do_fast_syscall_32+0x156/0xf9d [ 34.096095] ? scm_detach_fds_compat+0x3c0/0x3c0 [ 34.100812] do_fast_syscall_32+0x3ee/0xf9d [ 34.105098] ? do_raw_spin_trylock+0x190/0x190 [ 34.109646] ? do_int80_syscall_32+0x9d0/0x9d0 [ 34.114193] ? lockdep_sys_exit+0x47/0xf0 [ 34.118305] ? syscall_return_slowpath+0x2ad/0x550 [ 34.123198] ? prepare_exit_to_usermode+0x340/0x340 [ 34.128179] ? sysret32_from_system_call+0x5/0x3b [ 34.132987] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 34.137797] entry_SYSENTER_compat+0x51/0x60 [ 34.142166] RIP: 0023:0xf7f85c79 [ 34.145493] RSP: 002b:00000000f4f7b12c EFLAGS: 00000292 ORIG_RAX: 000000000000016e [ 34.153177] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000000117 [ 34.160411] RDX: 0000000000000001 RSI: 0000000020002000 RDI: 0000000000000079 [ 34.167643] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 34.174875] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 34.182108] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 34.189674] Dumping ftrace buffer: [ 34.193179] (ftrace buffer empty) [ 34.196855] Kernel Offset: disabled [ 34.200449] Rebooting in 86400 seconds..