random: sshd: uninitialized urandom read (32 bytes read, 119 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 ffff8801d0987140 by task syzkaller972061/3315 CPU: 1 PID: 3315 Comm: syzkaller972061 Not tainted 4.4.113-ge70c132 #34 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 a821a694a5719786 ffff8801cd2af9f0 ffffffff81d0278d ffffea00074261c0 ffff8801d0987140 0000000000000000 ffff8801d0987140 ffff8801d0c84438 ffff8801cd2afa28 ffffffff814fd053 ffff8801d0987140 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 ffff8801d0987100 which belongs to the cache fasync_cache of size 96 The buggy address is located 64 bytes inside of 96-byte region [ffff8801d0987100, ffff8801d0987160) The buggy address belongs to the page: BUG: unable to handle kernel paging request at fffffffdedd2b780 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: 3168 Comm: rsyslogd Not tainted 4.4.113-ge70c132 #34 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8800b6608000 task.stack: ffff8801d3620000 RIP: 0010:[] [] cpuacct_charge+0x155/0x390 kernel/sched/cpuacct.c:247 RSP: 0018:ffff8801d36279c8 EFLAGS: 00010046 RAX: 1ffffffff0854fff RBX: 0000000000018528 RCX: ffffffff847eb500 RDX: fffffbffbdba56f0 RSI: fffffffdedd2b780 RDI: ffffffff842a7ff8 RBP: ffff8801d3627a10 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 1ffff1003a6c4f04 R12: ffffffff842a7f20 R13: dffffc0000000000 R14: 0000000002cc2d61 R15: ffffffffcd2a8050 FS: 00007f3cf68d6700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffdedd2b780 CR3: 00000001cfb50000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff8122a430 ffff8801d36279f8 0000000000000046 0000000000000003 ffff8801d1e79820 ffffffff83844340 0000000002cc2d61 ffff8801d1e79870 ffff8801d1e797c0 ffff8801d3627a60 ffffffff811dbea7 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_q+0xbe/0x130 kernel/sched/core.c:581 [] futex_wake_op kernel/futex.c:1459 [inline] [] do_futex+0xe83/0x15d0 kernel/futex.c:3112 [] SYSC_futex kernel/futex.c:3162 [inline] [] SyS_futex+0x208/0x2c0 kernel/futex.c:3130 [] entry_SYSCALL_64_fastpath+0x1c/0x98 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: fffffffdedd2b780 ---[ end trace d6675582bfecc880 ]---