random: sshd: uninitialized urandom read (32 bytes read, 101 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:2120 Read of size 8 at addr ffff8801d1bda140 by task syzkaller210785/3324 CPU: 0 PID: 3324 Comm: syzkaller210785 Not tainted 4.4.113-ge70c132 #34 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 bfe6495c8f134624 ffff8801d06e79f0 ffffffff81d0278d ffffea000746f680 ffff8801d1bda140 0000000000000000 ffff8801d1bda140 ffff8801d0674438 ffff8801d06e7a28 ffffffff814fd053 ffff8801d1bda140 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:2120 [] sg_finish_rem_req+0x295/0x340 drivers/scsi/sg.c:1837 [] sg_read+0xa1b/0x1490 drivers/scsi/sg.c:537 [] do_loop_readv_writev+0x141/0x1e0 fs/read_write.c:680 [] do_readv_writev+0x5dd/0x6e0 fs/read_write.c:810 [] vfs_readv+0x78/0xb0 fs/read_write.c:834 [] SYSC_readv fs/read_write.c:860 [inline] [] SyS_readv+0xd9/0x240 fs/read_write.c:852 [] entry_SYSCALL_64_fastpath+0x1c/0x98 Allocated by task 0: (stack is not available) Freed by task 0: (stack is not available) The buggy address belongs to the object at ffff8801d1bda100 which belongs to the cache fasync_cache of size 96 The buggy address is located 64 bytes inside of 96-byte region [ffff8801d1bda100, ffff8801d1bda160) The buggy address belongs to the page: kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 490 Comm: khugepaged Not tainted 4.4.113-ge70c132 #34 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8800bb2c2f80 task.stack: ffff8801d9308000 RIP: 0010:[] [] __lock_acquire+0x61f/0x4b50 kernel/locking/lockdep.c:3100 RSP: 0018:ffff8801d930fa20 EFLAGS: 00010002 RAX: dffffc0000000000 RBX: 0428bb8d48ffed02 RCX: 0000000000000000 RDX: 1ffffffff0291f3d RSI: 0000000000000001 RDI: ffffffff8148f9e9 RBP: ffff8801d930fbb8 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 1ffff1003b261f56 R12: 0000000000000000 R13: ffff8800bb2c2f80 R14: ffffffff8148f9e1 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d04a7fb100 CR3: 00000001d1214000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff857f0d88 ffff8801d930fa48 ffffffff85175180 ffff8800bb2c3808 ffff8800bb2c37e0 ffff8800bb2c37e8 ffff8800bb2c3810 ffff8800004352ca 0000000000000200 0000000000055fe0 ffffffff85174fd0 ffff8800bb2c3808 Call Trace: [] lock_acquire+0x15e/0x460 kernel/locking/lockdep.c:3592 [] down_read+0x42/0x60 kernel/locking/rwsem.c:22 [] khugepaged_scan_mm_slot mm/huge_memory.c:2807 [inline] [] khugepaged_do_scan mm/huge_memory.c:2926 [inline] [] khugepaged+0x7fe/0x28a0 mm/huge_memory.c:2961 [] kthread+0x268/0x300 kernel/kthread.c:211 [] ret_from_fork+0x55/0x80 arch/x86/entry/entry_64.S:506 Code: 00 fc ff df 44 89 e3 49 8d 7c de 08 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 b6 37 00 00 49 8b 5c de 08 48 85 db 0f 84 28 fb ff ff ff 83 98 01 00 00 49 8d 85 68 08 00 00 48 89 c2 48 89 44 24 RIP [] __lock_acquire+0x61f/0x4b50 kernel/locking/lockdep.c:3100 RSP ---[ end trace 8ad8064e66e9e32e ]---