random: sshd: uninitialized urandom read (32 bytes read, 107 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 ffff8800b4e74140 by task syzkaller419570/3324 CPU: 1 PID: 3324 Comm: syzkaller419570 Not tainted 4.4.111-g7902639 #25 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 b4e991a42a6c54d1 ffff8800b4947ab0 ffffffff81d0509d ffffea0002d39d00 ffff8800b4e74140 0000000000000000 ffff8800b4e74140 ffff8801d0384438 ffff8800b4947ae8 ffffffff814fd433 ffff8800b4e74140 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 [] entry_SYSCALL_64_fastpath+0x16/0x92 Allocated by task 0: (stack is not available) Freed by task 0: (stack is not available) The buggy address belongs to the object at ffff8800b4e74100 which belongs to the cache fasync_cache of size 96 The buggy address is located 64 bytes inside of 96-byte region [ffff8800b4e74100, ffff8800b4e74160) The buggy address belongs to the page: BUG: unable to handle kernel paging request at fffffffd291ea300 IP: [] cpuacct_charge+0x155/0x390 kernel/sched/cpuacct.c:247 PGD 420f067 PUD 0 Oops: 0000 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 3304 Comm: getty Not tainted 4.4.111-g7902639 #25 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8800b5654740 task.stack: ffff8801d0c00000 RIP: 0010:[] [] cpuacct_charge+0x155/0x390 kernel/sched/cpuacct.c:247 RSP: 0000:ffff8801d0c07578 EFLAGS: 00010046 RAX: 1ffffffff0854dff RBX: 0000000000018528 RCX: ffffffff847ea080 RDX: fffffbffa523d460 RSI: fffffffd291ea300 RDI: ffffffff842a6ff8 RBP: ffff8801d0c075c0 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 1ffff1003a180e7a R12: ffffffff842a6f20 R13: dffffc0000000000 R14: 0000000048875b94 R15: ffffffffb4940050 FS: 0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffd291ea300 CR3: 000000000420c000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff8122a4a0 ffff8801d0c075a8 0000000000000046 0000000000000003 ffff8801d09bdf60 ffffffff83843900 0000000048875b94 ffff8801d09bdfb0 ffff8801d09bdf00 ffff8801d0c07610 ffffffff811dc017 ffff8801db31f4c0 Call Trace: [] update_curr+0x2c7/0x6c0 kernel/sched/fair.c:882 [] enqueue_entity kernel/sched/fair.c:3511 [inline] [] enqueue_task_fair+0x313/0x2940 kernel/sched/fair.c:4694 [] enqueue_task kernel/sched/core.c:856 [inline] [] activate_task+0x148/0x270 kernel/sched/core.c:872 [] ttwu_activate kernel/sched/core.c:1734 [inline] [] ttwu_do_activate.constprop.131+0xbf/0x1e0 kernel/sched/core.c:1787 [] ttwu_queue kernel/sched/core.c:1932 [inline] [] try_to_wake_up+0x68d/0xf60 kernel/sched/core.c:2066 [] wake_up_state+0x10/0x20 kernel/sched/core.c:2146 [] signal_wake_up_state+0x44/0x70 kernel/signal.c:659 [] signal_wake_up include/linux/sched.h:3307 [inline] [] complete_signal+0x2ed/0x700 kernel/signal.c:952 [] __send_signal+0x90f/0x1330 kernel/signal.c:1080 [] send_signal+0x4a/0xc0 kernel/signal.c:1096 [] __group_send_sig_info kernel/signal.c:1135 [inline] [] do_notify_parent+0x9dc/0xd70 kernel/signal.c:1665 [] exit_notify kernel/exit.c:612 [inline] [] do_exit+0x1f85/0x2a20 kernel/exit.c:776 [] do_group_exit+0x108/0x320 kernel/exit.c:885 [] get_signal+0x565/0x1660 kernel/signal.c:2317 [] do_signal+0x8b/0x1d40 arch/x86/kernel/signal.c:712 [] exit_to_usermode_loop+0x122/0x170 arch/x86/entry/common.c:247 [] prepare_exit_to_usermode+0xe3/0x100 arch/x86/entry/common.c:282 [] retint_user+0x8/0x3c Code: 49 8d bc 24 d8 00 00 00 48 89 f8 48 c1 e8 03 42 80 3c 28 00 0f 85 9e 01 00 00 49 8b 9c 24 d8 00 00 00 80 3a 00 0f 85 0a 02 00 00 <4a> 03 1c f9 48 89 d8 48 c1 e8 03 42 80 3c 28 00 0f 85 cf 01 00 RIP [] cpuacct_charge+0x155/0x390 kernel/sched/cpuacct.c:247 RSP CR2: fffffffd291ea300 ---[ end trace d8a5f12a29caa41d ]---