random: sshd: uninitialized urandom read (32 bytes read, 105 bits of entropy available) ================================================================== BUG: KASAN: slab-out-of-bounds in list_empty include/linux/list.h:189 [inline] BUG: KASAN: slab-out-of-bounds in sg_remove_request+0xf9/0x110 drivers/scsi/sg.c:2130 Read of size 8 at addr ffff8800b4a2e140 by task syzkaller273823/3323 CPU: 1 PID: 3323 Comm: syzkaller273823 Not tainted 4.4.111-gf851888 #16 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 074ad797ff57d64b ffff8800b0a97a40 ffffffff81d0507d ffffea0002d28b80 ffff8800b4a2e140 0000000000000000 ffff8800b4a2e140 ffff8800b00d8238 ffff8800b0a97a78 ffffffff814fd433 ffff8800b4a2e140 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x124 lib/dump_stack.c:51 [] print_address_description+0x73/0x260 mm/kasan/report.c:252 [] kasan_report_error mm/kasan/report.c:351 [inline] [] kasan_report+0x285/0x370 mm/kasan/report.c:408 [] __asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:429 [] list_empty include/linux/list.h:189 [inline] [] sg_remove_request+0xf9/0x110 drivers/scsi/sg.c:2130 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1848 [] sg_read+0xa21/0x1490 drivers/scsi/sg.c:538 [] __vfs_read+0x103/0x440 fs/read_write.c:432 [] vfs_read+0x123/0x3a0 fs/read_write.c:454 [] SYSC_read fs/read_write.c:569 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:562 [] do_syscall_32_irqs_on arch/x86/entry/common.c:390 [inline] [] do_fast_syscall_32+0x314/0x890 arch/x86/entry/common.c:457 [] sysenter_flags_fixed+0xd/0x17 Allocated by task 0: (stack is not available) Freed by task 0: (stack is not available) The buggy address belongs to the object at ffff8800b4a2e100 which belongs to the cache fasync_cache of size 96 The buggy address is located 64 bytes inside of 96-byte region [ffff8800b4a2e100, ffff8800b4a2e160) The buggy address belongs to the page: BUG: unable to handle kernel paging request at fffff940005a5170 IP: [] memset_erms+0x9/0x10 arch/x86/lib/memset_64.S:61 PGD 49df067 PUD 49de063 PMD 49dd063 PTE 80000000049e0161 Oops: 0003 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 1 Comm: init Not tainted 4.4.111-gf851888 #16 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801da308000 task.stack: ffff8801da310000 RIP: 0010:[] [] memset_erms+0x9/0x10 arch/x86/lib/memset_64.S:61 RSP: 0018:ffff8801da317b70 EFLAGS: 00010206 RAX: 1ffffd40005a5100 RBX: fffff940005a5187 RCX: 0000000000000017 RDX: 0000000000000017 RSI: 0000000000000000 RDI: fffff940005a5170 RBP: ffff8801da317b88 R08: ffffed003b462f63 R09: fffff940005a5170 R10: 0000000000000000 R11: ffffed003b462f63 R12: 00000000000000b8 R13: 00000000024000c0 R14: ffffea0002d28c38 R15: ffff8801da263140 FS: 00007f9dff6667a0(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffff940005a5170 CR3: 00000001d4508000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff814fc5f5 ffffea0002d28c37 ffffea0002d28b80 ffff8801da317bc8 ffffffff814fc710 00000000000000b8 4000000000000080 00000000024000c0 ffffffff81129a24 ffffea0002d28b80 ffff8801da263140 ffff8801da317bd8 Call Trace: [] kasan_kmalloc+0x50/0xe0 mm/kasan/kasan.c:611 [] kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:554 [] slab_post_alloc_hook mm/slub.c:1349 [inline] [] slab_alloc_node mm/slub.c:2615 [inline] [] slab_alloc mm/slub.c:2623 [inline] [] kmem_cache_alloc+0xba/0x290 mm/slub.c:2628 [] dup_mmap kernel/fork.c:460 [inline] [] dup_mm kernel/fork.c:983 [inline] [] copy_mm kernel/fork.c:1037 [inline] [] copy_process+0x47f4/0x6120 kernel/fork.c:1503 [] _do_fork+0x151/0xe00 kernel/fork.c:1784 [] SYSC_clone kernel/fork.c:1893 [inline] [] SyS_clone+0x37/0x50 kernel/fork.c:1887 [] entry_SYSCALL_64_fastpath+0x16/0x92 Code: 48 c1 e9 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 aa 4c 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 RIP [] memset_erms+0x9/0x10 arch/x86/lib/memset_64.S:61 RSP CR2: fffff940005a5170 ---[ end trace 59fe3327ee7cf4d4 ]---