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-1,10.128.15.196' (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 syzkaller login: [ 25.846479] ================================================================== [ 25.847607] BUG: KASAN: stack-out-of-bounds in sha3_final+0xeb/0x2e0 [ 25.848462] Write of size 4294967174 at addr ffff8801cca5fcba by task syzkaller674662/3156 [ 25.849561] [ 25.849793] CPU: 0 PID: 3156 Comm: syzkaller674662 Not tainted 4.14.0+ #192 [ 25.850757] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.851975] Call Trace: [ 25.852338] dump_stack+0x194/0x257 [ 25.852833] ? arch_local_irq_restore+0x53/0x53 [ 25.853474] ? show_regs_print_info+0x65/0x65 [ 25.854077] ? find_held_lock+0x39/0x1d0 [ 25.854623] ? sha3_final+0xeb/0x2e0 [ 25.855143] print_address_description+0x73/0x250 [ 25.855788] ? sha3_final+0xeb/0x2e0 [ 25.856290] kasan_report+0x25b/0x340 [ 25.856809] check_memory_region+0x137/0x190 [ 25.857398] memset+0x23/0x40 [ 25.857824] sha3_final+0xeb/0x2e0 [ 25.858307] ? sha3_512_init+0x20/0x20 [ 25.858834] crypto_shash_final+0xd3/0x1f0 [ 25.859410] shash_finup_unaligned+0x40/0x60 [ 25.860002] crypto_shash_finup+0xc4/0x120 [ 25.860573] hmac_finup+0x182/0x330 [ 25.861060] ? shash_default_import+0x5b/0x80 [ 25.861670] crypto_shash_finup+0xc4/0x120 [ 25.862247] shash_digest_unaligned+0x9e/0xd0 [ 25.862852] crypto_shash_digest+0xc4/0x120 [ 25.863433] hmac_setkey+0x36a/0x690 [ 25.863979] ? hmac_setkey+0x20/0x690 [ 25.864501] crypto_shash_setkey+0xad/0x190 [ 25.865084] shash_async_setkey+0x47/0x60 [ 25.865642] crypto_ahash_setkey+0xaf/0x180 [ 25.866227] hash_setkey+0x40/0x90 [ 25.867227] ? hash_accept_parent+0xd0/0xd0 [ 25.871524] alg_setsockopt+0x2a1/0x350 [ 25.875480] SyS_setsockopt+0x189/0x360 [ 25.879426] ? SyS_recv+0x40/0x40 [ 25.882848] ? entry_SYSCALL_64_fastpath+0x5/0x96 [ 25.887664] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 25.892650] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.897382] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 25.902113] RIP: 0033:0x4460e9 [ 25.905269] RSP: 002b:00007f9d04c08dc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 25.912944] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004460e9 [ 25.920187] RDX: 0000000000000001 RSI: 0000000000000117 RDI: 0000000000000005 [ 25.927424] RBP: 0000000000000086 R08: 0000000000000079 R09: 00007f9d04c09700 [ 25.934663] R10: 0000000020002000 R11: 0000000000000246 R12: 0000000000000000 [ 25.941902] R13: 00007ffe4c265f6f R14: 00007f9d04c099c0 R15: 0000000000000000 [ 25.949162] [ 25.950756] The buggy address belongs to the page: [ 25.955667] page:ffffea00073297c0 count:0 mapcount:0 mapping: (null) index:0x0 [ 25.963774] flags: 0x2fffc0000000000() [ 25.967638] raw: 02fffc0000000000 0000000000000000 0000000000000000 00000000ffffffff [ 25.975490] raw: 0000000000000000 0000000100000001 0000000000000000 0000000000000000 [ 25.983340] page dumped because: kasan: bad access detected [ 25.989012] [ 25.990620] Memory state around the buggy address: [ 25.995515] ffff8801cca5fd80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.002838] ffff8801cca5fe00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.010169] >ffff8801cca5fe80: f1 f1 f1 f1 04 f2 f2 f2 f2 f2 f2 f2 04 f2 f2 f2 [ 26.017492] ^ [ 26.020824] ffff8801cca5ff00: f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.028150] ffff8801cca5ff80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.035473] ================================================================== [ 26.042797] Disabling lock debugging due to kernel taint [ 26.048309] Kernel panic - not syncing: panic_on_warn set ... [ 26.048309] [ 26.055660] CPU: 0 PID: 3156 Comm: syzkaller674662 Tainted: G B 4.14.0+ #192 [ 26.064024] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.073341] Call Trace: [ 26.075895] dump_stack+0x194/0x257 [ 26.079488] ? arch_local_irq_restore+0x53/0x53 [ 26.084121] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.088842] ? vsnprintf+0x1ed/0x1900 [ 26.092608] ? sha3_final+0x50/0x2e0 [ 26.096287] panic+0x1e4/0x41c [ 26.099444] ? refcount_error_report+0x214/0x214 [ 26.104165] ? add_taint+0x1c/0x50 [ 26.107668] ? add_taint+0x1c/0x50 [ 26.111175] ? sha3_final+0xeb/0x2e0 [ 26.114853] kasan_end_report+0x50/0x50 [ 26.118789] kasan_report+0x144/0x340 [ 26.122553] check_memory_region+0x137/0x190 [ 26.126926] memset+0x23/0x40 [ 26.130001] sha3_final+0xeb/0x2e0 [ 26.133506] ? sha3_512_init+0x20/0x20 [ 26.137359] crypto_shash_final+0xd3/0x1f0 [ 26.141559] shash_finup_unaligned+0x40/0x60 [ 26.145933] crypto_shash_finup+0xc4/0x120 [ 26.150132] hmac_finup+0x182/0x330 [ 26.153721] ? shash_default_import+0x5b/0x80 [ 26.158182] crypto_shash_finup+0xc4/0x120 [ 26.162383] shash_digest_unaligned+0x9e/0xd0 [ 26.166844] crypto_shash_digest+0xc4/0x120 [ 26.171133] hmac_setkey+0x36a/0x690 [ 26.174829] ? hmac_setkey+0x20/0x690 [ 26.178596] crypto_shash_setkey+0xad/0x190 [ 26.182884] shash_async_setkey+0x47/0x60 [ 26.186999] crypto_ahash_setkey+0xaf/0x180 [ 26.191286] hash_setkey+0x40/0x90 [ 26.194789] ? hash_accept_parent+0xd0/0xd0 [ 26.199075] alg_setsockopt+0x2a1/0x350 [ 26.203018] SyS_setsockopt+0x189/0x360 [ 26.206959] ? SyS_recv+0x40/0x40 [ 26.210376] ? entry_SYSCALL_64_fastpath+0x5/0x96 [ 26.215184] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 26.220166] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 26.224897] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 26.229615] RIP: 0033:0x4460e9 [ 26.232775] RSP: 002b:00007f9d04c08dc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 [ 26.240449] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004460e9 [ 26.247686] RDX: 0000000000000001 RSI: 0000000000000117 RDI: 0000000000000005 [ 26.254921] RBP: 0000000000000086 R08: 0000000000000079 R09: 00007f9d04c09700 [ 26.262157] R10: 0000000020002000 R11: 0000000000000246 R12: 0000000000000000 [ 26.269391] R13: 00007ffe4c265f6f R14: 00007f9d04c099c0 R15: 0000000000000000 [ 26.276664] Dumping ftrace buffer: [ 26.280175] (ftrace buffer empty) [ 26.283855] Kernel Offset: disabled [ 26.287447] Rebooting in 86400 seconds..