[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[ 20.686665] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 23.879522] random: sshd: uninitialized urandom read (32 bytes read) [ 24.299950] random: sshd: uninitialized urandom read (32 bytes read) [ 25.093474] random: sshd: uninitialized urandom read (32 bytes read) [ 25.257287] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.12' (ECDSA) to the list of known hosts. [ 30.640202] random: sshd: uninitialized urandom read (32 bytes read) 2018/06/07 14:45:46 parsed 1 programs [ 31.809151] random: cc1: uninitialized urandom read (8 bytes read) 2018/06/07 14:45:48 executed programs: 0 [ 33.012930] IPVS: ftp: loaded support on port[0] = 21 [ 33.142359] bridge0: port 1(bridge_slave_0) entered blocking state [ 33.148846] bridge0: port 1(bridge_slave_0) entered disabled state [ 33.156207] device bridge_slave_0 entered promiscuous mode [ 33.172528] bridge0: port 2(bridge_slave_1) entered blocking state [ 33.178928] bridge0: port 2(bridge_slave_1) entered disabled state [ 33.186171] device bridge_slave_1 entered promiscuous mode [ 33.201375] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 33.218053] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready [ 33.259155] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 33.278384] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 33.342134] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 33.349659] team0: Port device team_slave_0 added [ 33.364619] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 33.372451] team0: Port device team_slave_1 added [ 33.387574] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 33.406454] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 33.423537] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 33.441273] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready [ 33.561713] bridge0: port 2(bridge_slave_1) entered blocking state [ 33.568177] bridge0: port 2(bridge_slave_1) entered forwarding state [ 33.575182] bridge0: port 1(bridge_slave_0) entered blocking state [ 33.581569] bridge0: port 1(bridge_slave_0) entered forwarding state [ 34.015966] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 34.022138] 8021q: adding VLAN 0 to HW filter on device bond0 [ 34.065554] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 34.110692] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 34.119189] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 34.158274] 8021q: adding VLAN 0 to HW filter on device team0 [ 34.419942] ================================================================== [ 34.427479] BUG: KASAN: slab-out-of-bounds in sha1_finup+0x44e/0x4b0 [ 34.433976] Write of size 4 at addr ffff8801d3384118 by task syz-executor0/4780 [ 34.441407] [ 34.443031] CPU: 1 PID: 4780 Comm: syz-executor0 Not tainted 4.17.0+ #114 [ 34.449958] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.459312] Call Trace: [ 34.461894] dump_stack+0x1b9/0x294 [ 34.465520] ? dump_stack_print_info.cold.2+0x52/0x52 [ 34.470701] ? printk+0x9e/0xba [ 34.473991] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 34.478748] ? kasan_check_write+0x14/0x20 [ 34.482982] print_address_description+0x6c/0x20b [ 34.487827] ? sha1_finup+0x44e/0x4b0 [ 34.491637] kasan_report.cold.7+0x242/0x2fe [ 34.496050] __asan_report_store4_noabort+0x17/0x20 [ 34.501071] sha1_finup+0x44e/0x4b0 [ 34.504692] ? sha1_base_init+0x150/0x150 [ 34.508832] sha1_avx2_final+0x28/0x30 [ 34.512709] crypto_shash_final+0x104/0x260 [ 34.517040] ? sha1_avx2_finup+0x40/0x40 [ 34.521113] __keyctl_dh_compute+0x1184/0x1bc0 [ 34.525689] ? copy_overflow+0x30/0x30 [ 34.529576] ? find_held_lock+0x36/0x1c0 [ 34.533669] ? lock_downgrade+0x8e0/0x8e0 [ 34.537817] ? check_same_owner+0x320/0x320 [ 34.542147] ? find_held_lock+0x36/0x1c0 [ 34.546205] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 34.551728] ? _copy_from_user+0xdf/0x150 [ 34.555868] compat_keyctl_dh_compute+0x2c8/0x3e0 [ 34.560732] ? __x32_compat_sys_keyctl+0x3b0/0x3b0 [ 34.565672] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 34.570856] __ia32_compat_sys_keyctl+0x137/0x3b0 [ 34.575696] do_fast_syscall_32+0x345/0xf9b [ 34.580034] ? do_int80_syscall_32+0x880/0x880 [ 34.584615] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 34.589361] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 34.594896] ? syscall_return_slowpath+0x30f/0x5c0 [ 34.599828] ? sysret32_from_system_call+0x5/0x46 [ 34.604679] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 34.609525] entry_SYSENTER_compat+0x70/0x7f [ 34.613920] RIP: 0023:0xf7f53cb9 [ 34.617265] Code: 55 08 8b 88 64 cd ff ff 8b 98 68 cd ff ff 89 c8 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 1c 24 c3 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 [ 34.636462] RSP: 002b:00000000ffe1a3cc EFLAGS: 00000282 ORIG_RAX: 0000000000000120 [ 34.644259] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 0000000020000100 [ 34.651518] RDX: 0000000020a53ffb RSI: 0000000000000005 RDI: 0000000020c61fc8 [ 34.658779] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 34.666060] R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000 [ 34.673333] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 34.680599] [ 34.682225] Allocated by task 4780: [ 34.685853] save_stack+0x43/0xd0 [ 34.689301] kasan_kmalloc+0xc4/0xe0 [ 34.693001] __kmalloc+0x14e/0x760 [ 34.696554] __keyctl_dh_compute+0xfe9/0x1bc0 [ 34.701047] compat_keyctl_dh_compute+0x2c8/0x3e0 [ 34.705920] __ia32_compat_sys_keyctl+0x137/0x3b0 [ 34.710755] do_fast_syscall_32+0x345/0xf9b [ 34.715069] entry_SYSENTER_compat+0x70/0x7f [ 34.719456] [ 34.721067] Freed by task 2309: [ 34.724357] save_stack+0x43/0xd0 [ 34.727803] __kasan_slab_free+0x11a/0x170 [ 34.732047] kasan_slab_free+0xe/0x10 [ 34.735862] kfree+0xd9/0x260 [ 34.738967] kvfree+0x61/0x70 [ 34.742075] __vunmap+0x2c5/0x3c0 [ 34.745513] vfree+0x68/0x100 [ 34.748631] n_tty_close+0xc3/0x130 [ 34.752245] tty_ldisc_close.isra.0+0xb0/0xe0 [ 34.756724] tty_ldisc_kill+0x4b/0xc0 [ 34.760523] tty_ldisc_hangup+0x2dd/0x640 [ 34.764669] __tty_hangup.part.21+0x2da/0x6e0 [ 34.769152] tty_vhangup+0x21/0x30 [ 34.772690] pty_close+0x3bd/0x510 [ 34.776227] tty_release+0x494/0x12e0 [ 34.780043] __fput+0x353/0x890 [ 34.783339] ____fput+0x15/0x20 [ 34.786640] task_work_run+0x1e4/0x290 [ 34.790548] exit_to_usermode_loop+0x2bd/0x310 [ 34.795161] do_syscall_64+0x6ac/0x800 [ 34.799076] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.804276] [ 34.805897] The buggy address belongs to the object at ffff8801d3384100 [ 34.805897] which belongs to the cache kmalloc-32 of size 32 [ 34.818382] The buggy address is located 24 bytes inside of [ 34.818382] 32-byte region [ffff8801d3384100, ffff8801d3384120) [ 34.830335] The buggy address belongs to the page: [ 34.835258] page:ffffea00074ce100 count:1 mapcount:0 mapping:ffff8801d3384000 index:0xffff8801d3384fc1 [ 34.844714] flags: 0x2fffc0000000100(slab) [ 34.848943] raw: 02fffc0000000100 ffff8801d3384000 ffff8801d3384fc1 0000000100000017 [ 34.857432] raw: ffffea000749ce20 ffffea000742da20 ffff8801da8001c0 0000000000000000 [ 34.865297] page dumped because: kasan: bad access detected [ 34.870997] [ 34.872617] Memory state around the buggy address: [ 34.877542] ffff8801d3384000: 00 00 00 00 fc fc fc fc fb fb fb fb fc fc fc fc [ 34.884987] ffff8801d3384080: 01 fc fc fc fc fc fc fc fb fb fb fb fc fc fc fc [ 34.893226] >ffff8801d3384100: 00 00 00 fc fc fc fc fc fb fb fb fb fc fc fc fc [ 34.900577] ^ [ 34.904722] ffff8801d3384180: 00 00 00 00 fc fc fc fc fb fb fb fb fc fc fc fc [ 34.912079] ffff8801d3384200: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 34.919441] ================================================================== [ 34.926784] Disabling lock debugging due to kernel taint [ 34.932613] Kernel panic - not syncing: panic_on_warn set ... [ 34.932613] [ 34.939994] CPU: 1 PID: 4780 Comm: syz-executor0 Tainted: G B 4.17.0+ #114 [ 34.948323] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.957671] Call Trace: [ 34.960254] dump_stack+0x1b9/0x294 [ 34.963864] ? dump_stack_print_info.cold.2+0x52/0x52 [ 34.969042] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 34.973796] ? sha1_finup+0x3a0/0x4b0 [ 34.977599] panic+0x22f/0x4de [ 34.980774] ? add_taint.cold.5+0x16/0x16 [ 34.984918] ? do_raw_spin_unlock+0x9e/0x2e0 [ 34.989315] ? do_raw_spin_unlock+0x9e/0x2e0 [ 34.993715] ? sha1_finup+0x44e/0x4b0 [ 34.997520] kasan_end_report+0x47/0x4f [ 35.001501] kasan_report.cold.7+0x76/0x2fe [ 35.005806] __asan_report_store4_noabort+0x17/0x20 [ 35.010808] sha1_finup+0x44e/0x4b0 [ 35.014431] ? sha1_base_init+0x150/0x150 [ 35.018581] sha1_avx2_final+0x28/0x30 [ 35.022454] crypto_shash_final+0x104/0x260 [ 35.026757] ? sha1_avx2_finup+0x40/0x40 [ 35.030803] __keyctl_dh_compute+0x1184/0x1bc0 [ 35.035373] ? copy_overflow+0x30/0x30 [ 35.040022] ? find_held_lock+0x36/0x1c0 [ 35.044080] ? lock_downgrade+0x8e0/0x8e0 [ 35.048226] ? check_same_owner+0x320/0x320 [ 35.052550] ? find_held_lock+0x36/0x1c0 [ 35.056700] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 35.062220] ? _copy_from_user+0xdf/0x150 [ 35.066354] compat_keyctl_dh_compute+0x2c8/0x3e0 [ 35.071183] ? __x32_compat_sys_keyctl+0x3b0/0x3b0 [ 35.076108] ? __sanitizer_cov_trace_switch+0x53/0x90 [ 35.081284] __ia32_compat_sys_keyctl+0x137/0x3b0 [ 35.086115] do_fast_syscall_32+0x345/0xf9b [ 35.090429] ? do_int80_syscall_32+0x880/0x880 [ 35.094996] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 35.099755] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 35.105279] ? syscall_return_slowpath+0x30f/0x5c0 [ 35.110222] ? sysret32_from_system_call+0x5/0x46 [ 35.115217] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 35.120055] entry_SYSENTER_compat+0x70/0x7f [ 35.124538] RIP: 0023:0xf7f53cb9 [ 35.127902] Code: 55 08 8b 88 64 cd ff ff 8b 98 68 cd ff ff 89 c8 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 1c 24 c3 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 [ 35.147192] RSP: 002b:00000000ffe1a3cc EFLAGS: 00000282 ORIG_RAX: 0000000000000120 [ 35.154904] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 0000000020000100 [ 35.162187] RDX: 0000000020a53ffb RSI: 0000000000000005 RDI: 0000000020c61fc8 [ 35.169443] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 35.176826] R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000 [ 35.184083] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 35.192050] Dumping ftrace buffer: [ 35.195586] (ftrace buffer empty) [ 35.199278] Kernel Offset: disabled [ 35.202886] Rebooting in 86400 seconds..