[ 16.432322] random: sshd: uninitialized urandom read (32 bytes read, 32 bits of entropy available) [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 19.802200] random: sshd: uninitialized urandom read (32 bytes read, 37 bits of entropy available) [ 20.182628] random: sshd: uninitialized urandom read (32 bytes read, 37 bits of entropy available) [ 20.938972] random: sshd: uninitialized urandom read (32 bytes read, 89 bits of entropy available) [ 21.130641] random: sshd: uninitialized urandom read (32 bytes read, 93 bits of entropy available) Warning: Permanently added '10.128.15.215' (ECDSA) to the list of known hosts. [ 26.546478] random: sshd: uninitialized urandom read (32 bytes read, 99 bits of entropy available) executing program [ 26.688205] ================================================================== [ 26.695611] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0xf9/0x110 [ 26.702595] Read of size 8 at addr ffff8800b56fb140 by task syzkaller739569/3317 [ 26.710096] [ 26.711700] CPU: 1 PID: 3317 Comm: syzkaller739569 Not tainted 4.4.112-g5f6325b #28 [ 26.719466] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 26.728821] 0000000000000000 22d8cf7d356f0761 ffff8801cc8379f0 ffffffff81d0579d [ 26.736800] ffffea0002d5bec0 ffff8800b56fb140 0000000000000000 ffff8800b56fb140 [ 26.744768] ffff8800b46d0238 ffff8801cc837a28 ffffffff814fd9f3 ffff8800b56fb140 [ 26.754750] Call Trace: [ 26.757314] [] dump_stack+0xc1/0x124 [ 26.762675] [] print_address_description+0x73/0x260 [ 26.769313] [] kasan_report+0x285/0x370 [ 26.774915] [] ? sg_remove_request+0xf9/0x110 [ 26.781030] [] __asan_report_load8_noabort+0x14/0x20 [ 26.787760] [] sg_remove_request+0xf9/0x110 [ 26.793708] [] sg_finish_rem_req+0x295/0x340 [ 26.799739] [] sg_read+0xa21/0x1490 [ 26.804990] [] ? __check_object_size+0x154/0x35b [ 26.811369] [] ? sg_proc_seq_show_debug+0xd30/0xd30 [ 26.818015] [] ? fsnotify+0xee0/0xee0 [ 26.823440] [] ? avc_policy_seqno+0x9/0x20 [ 26.829299] [] do_loop_readv_writev+0x141/0x1e0 [ 26.835604] [] ? security_file_permission+0x89/0x1e0 [ 26.842335] [] ? sg_proc_seq_show_debug+0xd30/0xd30 [ 26.848975] [] ? sg_proc_seq_show_debug+0xd30/0xd30 [ 26.855617] [] do_readv_writev+0x5dd/0x6e0 [ 26.861476] [] ? vfs_write+0x530/0x530 [ 26.866995] [] ? _raw_spin_unlock+0x2c/0x50 [ 26.872941] [] ? do_huge_pmd_anonymous_page+0x3dd/0xa10 [ 26.879929] [] ? handle_mm_fault+0x3f2/0x3190 [ 26.886052] [] ? sg_fasync+0x8d/0xb0 [ 26.891404] [] vfs_readv+0x78/0xb0 [ 26.896567] [] SyS_readv+0xd9/0x240 [ 26.901823] [] ? rw_copy_check_uvector+0x2d0/0x2d0 [ 26.908384] [] ? trace_hardirqs_on_thunk+0x17/0x19 [ 26.914941] [] entry_SYSCALL_64_fastpath+0x16/0x92 [ 26.921506] [ 26.923122] Allocated by task 0: [ 26.926455] (stack is not available) [ 26.930133] [ 26.931732] Freed by task 0: [ 26.934716] (stack is not available) [ 26.938397] [ 26.939995] The buggy address belongs to the object at ffff8800b56fb100 [ 26.939995] which belongs to the cache fasync_cache of size 96 [ 26.952623] The buggy address is located 64 bytes inside of [ 26.952623] 96-byte region [ffff8800b56fb100, ffff8800b56fb160) [ 26.964297] The buggy address belongs to the page: [ 26.973609] kasan: CONFIG_KASAN_INLINE enabled [ 26.978045] kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] PREEMPT SMP KASAN [ 26.991031] Dumping ftrace buffer: [ 26.994570] (ftrace buffer empty) [ 26.998286] Modules linked in: [ 27.001622] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.112-g5f6325b #28 [ 27.008636] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 27.018005] task: ffffffff84217840 task.stack: ffffffff84200000 [ 27.024074] RIP: 0010:[] [] rb_insert_color+0x9f/0xcb0 [ 27.032730] RSP: 0018:ffff8801db207d18 EFLAGS: 00010003 [ 27.038185] RAX: 0a0508a8e82a0be9 RBX: ffffffff838a8620 RCX: ffffffff838a8620 [ 27.045464] RDX: 1ffffffff07150c5 RSI: ffff8801db219710 RDI: ffff8801db219c40 [ 27.052737] RBP: ffff8801db207d60 R08: ffffffff85808f08 R09: 0000000000000001 [ 27.060019] R10: 0000000000000000 R11: 1ffff1003b640f62 R12: ffff8801cc82fdf8 [ 27.067992] R13: 5028454741505f4e R14: ffff8801db219c40 R15: dffffc0000000000 [ 27.075274] FS: 0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 [ 27.083503] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 27.089387] CR2: 00007f3504450000 CR3: 00000000b45b8000 CR4: 0000000000160670 [ 27.096666] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 27.103942] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 27.111240] Stack: [ 27.113394] ffffffff842bcb20 ffffffff842180b0 0000000000000000 ffff8801db207d70 [ 27.121481] ffff8801db219c40 dffffc0000000000 0000000000000000 ffff8801db219710 [ 27.129550] ffff8801cc82fe00 ffff8801db207db0 ffffffff81d23067 ffff8801db219c58 [ 27.137596] Call Trace: [ 27.140171] [ 27.142245] [] timerqueue_add+0x157/0x2a0 [ 27.148386] [] enqueue_hrtimer+0x168/0x450 [ 27.154294] [] __hrtimer_run_queues+0x732/0xfe0 [ 27.160635] [] ? hrtimer_fixup_init+0x70/0x70 [ 27.166802] [] ? hrtimer_interrupt+0x131/0x440 [ 27.173059] [] hrtimer_interrupt+0x1a6/0x440 [ 27.179137] [] local_apic_timer_interrupt+0x6a/0xb0 [ 27.185823] [] smp_apic_timer_interrupt+0x76/0xa0 [ 27.192336] [] apic_timer_interrupt+0xa0/0xb0 [ 27.198487] [ 27.200571] [] ? native_safe_halt+0x6/0x10 [ 27.206776] [] default_idle+0x55/0x3c0 [ 27.212334] [] arch_cpu_idle+0xa/0x10 [ 27.217802] [] default_idle_call+0x48/0x70 [ 27.223708] [] cpu_startup_entry+0x605/0x820 [ 27.229780] [] ? call_cpuidle+0xe0/0xe0 [ 27.235426] [] rest_init+0x189/0x190 [ 27.241853] [] start_kernel+0x6b9/0x6ee [ 27.248197] [] ? thread_stack_cache_init+0xb/0xb [ 27.254622] [] ? early_idt_handler_array+0x120/0x120 [ 27.261394] [] ? early_idt_handler_array+0x120/0x120 [ 27.268164] [] x86_64_start_reservations+0x2a/0x2c [ 27.274761] [] x86_64_start_kernel+0x140/0x163 [ 27.280998] Code: 48 89 c2 48 c1 ea 03 42 80 3c 3a 00 0f 85 94 09 00 00 4c 8b 6b 08 4d 39 e5 0f 84 b0 01 00 00 4d 85 ed 74 1d 4c 89 e8 48 c1 e8 03 <42> 80 3c 38 00 0f 85 95 09 00 00 41 f6 45 00 01 0f 84 20 03 00 [ 27.308622] RIP [] rb_insert_color+0x9f/0xcb0 [ 27.314910] RSP [ 27.318538] ---[ end trace 9e1e153b24960c63 ]--- [ 27.323293] Kernel panic - not syncing: Fatal exception in interrupt [ 28.437288] Shutting down cpus with NMI [ 28.441869] Dumping ftrace buffer: [ 28.445397] (ftrace buffer empty) [ 28.449075] Kernel Offset: disabled [ 28.452674] Rebooting in 86400 seconds..