random: sshd: uninitialized urandom read (32 bytes read, 120 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 ffff8801d303b140 by task syzkaller148856/3311 CPU: 1 PID: 3311 Comm: syzkaller148856 Not tainted 4.4.113-ge70c132 #34 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 8cf95c9b540b97d9 ffff8801d17379f0 ffffffff81d0278d ffffea00074c0ec0 ffff8801d303b140 0000000000000000 ffff8801d303b140 ffff8801d0d70238 ffff8801d1737a28 ffffffff814fd053 ffff8801d303b140 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 ffff8801d303b100 which belongs to the cache fasync_cache of size 96 The buggy address is located 64 bytes inside of 96-byte region [ffff8801d303b100, ffff8801d303b160) The buggy address belongs to the page: BUG: unable to handle kernel paging request at ffffebe000000028 IP: [] __list_del_entry+0x30/0x1d0 lib/list_debug.c:49 PGD 0 Oops: 0000 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 7 Comm: rcu_preempt Not tainted 4.4.113-ge70c132 #34 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801da3717c0 task.stack: ffff8801da388000 RIP: 0010:[] [] __list_del_entry+0x30/0x1d0 lib/list_debug.c:49 RSP: 0018:ffff8801da38f918 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffffebe000000020 RCX: ffffebe000000020 RDX: ffffebe000000020 RSI: ffff8801da372030 RDI: ffffebe000000028 RBP: ffff8801da38f930 R08: 0000000000000001 R09: ffffffff850e5920 R10: 0000000000000001 R11: 1ffff1003b471ef2 R12: ffff8801d1721900 R13: 0000000080000000 R14: 000077ff80000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffebe000000028 CR3: 00000000b41f2000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: 0000000000000000 ffffebe000000020 ffff8801d1721900 ffff8801da38f948 ffffffff81d62add 0000000000000000 ffff8801da38f978 ffffffff810e93f3 ffff8801d1721900 ffff8801d1721c40 0000000000000000 0000000000000000 Call Trace: [] list_del+0xd/0x70 lib/list_debug.c:77 [] pgd_list_del arch/x86/mm/pgtable.c:98 [inline] [] pgd_dtor arch/x86/mm/pgtable.c:142 [inline] [] pgd_free+0x63/0x100 arch/x86/mm/pgtable.c:407 [] mm_free_pgd kernel/fork.c:552 [inline] [] __mmdrop+0x66/0x260 kernel/fork.c:698 [] mmdrop include/linux/sched.h:2776 [inline] [] finish_task_switch+0x213/0x4e0 kernel/sched/core.c:2679 [] context_switch kernel/sched/core.c:2803 [inline] [] __schedule+0xa9d/0x1c70 kernel/sched/core.c:3322 [] schedule+0x7a/0x1b0 kernel/sched/core.c:3351 [] schedule_timeout+0x356/0x970 kernel/time/timer.c:1531 [] rcu_gp_kthread+0xdf2/0x2200 kernel/rcu/tree.c:2121 [] kthread+0x268/0x300 kernel/kthread.c:211 [] ret_from_fork+0x55/0x80 arch/x86/entry/entry_64.S:506 Code: 00 00 fc ff df 48 89 f9 55 48 83 c7 08 48 89 fa 48 89 e5 41 54 48 c1 ea 03 53 48 83 ec 08 80 3c 02 00 0f 85 87 01 00 00 48 89 ca <48> 8b 59 08 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 RIP [] __list_del_entry+0x30/0x1d0 lib/list_debug.c:49 RSP CR2: ffffebe000000028 ---[ end trace 2b1767a38770374c ]---