[info] Using makefile-style concurrent boot in runlevel 2. [....] Starting enhanced syslogd: rsyslogd[ 8.892770] rsyslogd (2916) used greatest stack depth: 14992 bytes left [?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-next-kasan-gce-9,10.128.15.199' (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 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 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 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 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 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 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 executing program executing program executing program executing program executing program syzkaller login: [ 42.331727] ================================================================== [ 42.332920] BUG: KASAN: stack-out-of-bounds in sha3_final+0xeb/0x2e0 [ 42.333774] Write of size 4294967174 at addr ffff8801bf8b7cba by task syzkaller391100/3584 [ 42.334871] [ 42.335106] CPU: 0 PID: 3584 Comm: syzkaller391100 Not tainted 4.14.0-next-20171124+ #51 [ 42.336184] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.337403] Call Trace: [ 42.337761] dump_stack+0x194/0x257 [ 42.338254] ? arch_local_irq_restore+0x53/0x53 [ 42.338875] ? show_regs_print_info+0x65/0x65 [ 42.339480] ? sha3_final+0xeb/0x2e0 [ 42.339981] print_address_description+0x73/0x250 [ 42.340626] ? sha3_final+0xeb/0x2e0 [ 42.341131] kasan_report+0x25b/0x340 [ 42.341644] check_memory_region+0x137/0x190 [ 42.342232] memset+0x23/0x40 [ 42.342654] sha3_final+0xeb/0x2e0 [ 42.343140] ? sha3_512_init+0x20/0x20 [ 42.343662] crypto_shash_final+0xd3/0x1f0 [ 42.344235] shash_finup_unaligned+0x40/0x60 [ 42.344825] crypto_shash_finup+0xc4/0x120 [ 42.345394] hmac_finup+0x182/0x330 [ 42.345941] ? shash_default_import+0x5b/0x80 [ 42.346549] crypto_shash_finup+0xc4/0x120 [ 42.347138] shash_digest_unaligned+0x9e/0xd0 [ 42.347740] crypto_shash_digest+0xc4/0x120 [ 42.348321] hmac_setkey+0x36a/0x690 [ 42.348855] ? hmac_setkey+0x20/0x690 [ 42.349371] crypto_shash_setkey+0xad/0x190 [ 42.349956] shash_async_setkey+0x47/0x60 [ 42.350548] crypto_ahash_setkey+0xaf/0x180 [ 42.351134] hash_setkey+0x40/0x90 [ 42.351611] ? hash_accept_parent+0xd0/0xd0 [ 42.354103] alg_setsockopt+0x2a1/0x350 [ 42.358054] SyS_setsockopt+0x189/0x360 [ 42.361998] ? SyS_recv+0x40/0x40 [ 42.365419] ? entry_SYSCALL_64_fastpath+0x5/0x96 [ 42.370234] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 42.375220] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 42.379951] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 42.384684] RIP: 0033:0x445bb9 [ 42.387843] RSP: 002b:00007f6e51e20d08 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 42.395516] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000445bb9 [ 42.402751] RDX: 0000000000000001 RSI: 0000000000000117 RDI: 0000000000000012 [ 42.409986] RBP: 0000000000000086 R08: 0000000000000079 R09: 00007f6e51e21700 [ 42.417219] R10: 0000000020002000 R11: 0000000000000246 R12: 0000000000000000 [ 42.424454] R13: 00007fffef9e89ef R14: 00007f6e51e219c0 R15: 0000000000000000 executing program executing program executing program [ 42.431703] [ 42.433295] The buggy address belongs to the page: [ 42.438187] page:ffffea0006fe2dc0 count:0 mapcount:0 mapping: (null) index:0x0 [ 42.446295] flags: 0x2fffc0000000000() [ 42.450147] raw: 02fffc0000000000 0000000000000000 0000000000000000 00000000ffffffff [ 42.457998] raw: 0000000000000000 ffffea0006fe2de0 0000000000000000 0000000000000000 [ 42.465843] page dumped because: kasan: bad access detected [ 42.471520] [ 42.473111] Memory state around the buggy address: executing program executing program executing program [ 42.478003] ffff8801bf8b7d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 42.485325] ffff8801bf8b7e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 42.492656] >ffff8801bf8b7e80: f1 f1 f1 f1 04 f2 f2 f2 f2 f2 f2 f2 04 f2 f2 f2 [ 42.499977] ^ [ 42.503310] ffff8801bf8b7f00: f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 [ 42.510634] ffff8801bf8b7f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 42.517955] ================================================================== [ 42.525275] Disabling lock debugging due to kernel taint executing program executing program executing program executing program executing program [ 42.530748] Kernel panic - not syncing: panic_on_warn set ... [ 42.530748] [ 42.538079] CPU: 0 PID: 3584 Comm: syzkaller391100 Tainted: G B 4.14.0-next-20171124+ #51 [ 42.547569] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.556886] Call Trace: [ 42.559442] dump_stack+0x194/0x257 [ 42.563037] ? arch_local_irq_restore+0x53/0x53 [ 42.567674] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 42.572396] ? vsnprintf+0x1ed/0x1900 [ 42.576163] ? sha3_final+0x80/0x2e0 [ 42.579842] panic+0x1e4/0x41c [ 42.582999] ? refcount_error_report+0x214/0x214 [ 42.587722] ? add_taint+0x1c/0x50 [ 42.591225] ? add_taint+0x1c/0x50 [ 42.594729] ? sha3_final+0xeb/0x2e0 [ 42.598405] kasan_end_report+0x50/0x50 [ 42.602344] kasan_report+0x144/0x340 [ 42.606118] check_memory_region+0x137/0x190 [ 42.610490] memset+0x23/0x40 [ 42.613567] sha3_final+0xeb/0x2e0 [ 42.617076] ? sha3_512_init+0x20/0x20 [ 42.620929] crypto_shash_final+0xd3/0x1f0 [ 42.625128] shash_finup_unaligned+0x40/0x60 [ 42.629502] crypto_shash_finup+0xc4/0x120 [ 42.633702] hmac_finup+0x182/0x330 [ 42.637291] ? shash_default_import+0x5b/0x80 [ 42.641751] crypto_shash_finup+0xc4/0x120 [ 42.645952] shash_digest_unaligned+0x9e/0xd0 [ 42.650429] crypto_shash_digest+0xc4/0x120 [ 42.654714] hmac_setkey+0x36a/0x690 [ 42.658407] ? hmac_setkey+0x20/0x690 [ 42.662173] crypto_shash_setkey+0xad/0x190 [ 42.666459] shash_async_setkey+0x47/0x60 [ 42.670573] crypto_ahash_setkey+0xaf/0x180 [ 42.674858] hash_setkey+0x40/0x90 [ 42.678360] ? hash_accept_parent+0xd0/0xd0 [ 42.682644] alg_setsockopt+0x2a1/0x350 [ 42.686595] SyS_setsockopt+0x189/0x360 [ 42.690533] ? SyS_recv+0x40/0x40 [ 42.693954] ? entry_SYSCALL_64_fastpath+0x5/0x96 [ 42.698762] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 42.703745] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 42.708466] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 42.713185] RIP: 0033:0x445bb9 [ 42.716338] RSP: 002b:00007f6e51e20d08 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 42.724013] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000445bb9 [ 42.731246] RDX: 0000000000000001 RSI: 0000000000000117 RDI: 0000000000000012 [ 42.738481] RBP: 0000000000000086 R08: 0000000000000079 R09: 00007f6e51e21700 [ 42.745714] R10: 0000000020002000 R11: 0000000000000246 R12: 0000000000000000 [ 42.752951] R13: 00007fffef9e89ef R14: 00007f6e51e219c0 R15: 0000000000000000 [ 42.760220] Dumping ftrace buffer: [ 42.763729] (ftrace buffer empty) [ 42.767406] Kernel Offset: disabled [ 42.771007] Rebooting in 86400 seconds..