random: sshd: uninitialized urandom read (32 bytes read, 98 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 ffff8801d91e9140 by task syzkaller773317/3322 CPU: 1 PID: 3322 Comm: syzkaller773317 Not tainted 4.4.111-g7902639 #18 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 b847e9dd29e08e73 ffff8800b3c37970 ffffffff81d0509d ffffea0007647a40 ffff8801d91e9140 0000000000000000 ffff8801d91e9140 ffff8801d069a338 ffff8800b3c379a8 ffffffff814fd433 ffff8801d91e9140 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 [] do_loop_readv_writev+0x141/0x1e0 fs/read_write.c:680 [] compat_do_readv_writev+0x5df/0x6e0 fs/read_write.c:984 [] compat_readv+0xd9/0x140 fs/read_write.c:1013 [] C_SYSC_readv fs/read_write.c:1033 [inline] [] compat_SyS_readv+0xd8/0x1b0 fs/read_write.c:1022 [] 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 ffff8801d91e9100 which belongs to the cache fasync_cache of size 96 The buggy address is located 64 bytes inside of 96-byte region [ffff8801d91e9100, ffff8801d91e9160) 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: 0 PID: 1519 Comm: kworker/0:2 Not tainted 4.4.111-g7902639 #18 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events vmstat_shepherd task: ffff8801d4d997c0 task.stack: ffff8801d4df8000 RIP: 0010:[] [] lookup_object lib/debugobjects.c:120 [inline] RIP: 0010:[] [] debug_object_activate+0x1de/0x500 lib/debugobjects.c:405 RSP: 0018:ffff8801d4dffa10 EFLAGS: 00010003 RAX: 1ffff10016786fe9 RBX: 00000000ffc3697c RCX: ffffffff8428ec00 RDX: 000000001ff86d32 RSI: 0000000000000008 RDI: 00000000ffc36994 RBP: ffff8801d4dffae0 R08: ffffffff85794088 R09: 0000000000000096 R10: 0000000000000001 R11: 1ffff1003a9bff08 R12: 1ffff1003a9bff46 R13: 0000000000065fb6 R14: ffff8801db31b720 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005646e59d1100 CR3: 00000000b78d8000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff842bcb20 ffffffff8428ec00 0000000000000096 ffffffff85794088 0000000041b58ab3 ffffffff83fcc949 ffffffff81d669b0 ffff8801d4d9a030 0000000000000000 0000000000000000 0000000000000005 ffff8801db31b720 Call Trace: [] debug_work_activate kernel/workqueue.c:499 [inline] [] __queue_work+0x48/0xea0 kernel/workqueue.c:1354 [] __queue_delayed_work+0x237/0x390 kernel/workqueue.c:1495 [] queue_delayed_work_on+0x59/0xb0 kernel/workqueue.c:1533 [] vmstat_shepherd+0x1c9/0x230 mm/vmstat.c:1488 [] process_one_work+0x7d7/0x16e0 kernel/workqueue.c:2064 [] worker_thread+0xdf/0xfe0 kernel/workqueue.c:2196 [] kthread+0x268/0x300 kernel/kthread.c:211 [] ret_from_fork+0x3f/0x70 arch/x86/entry/entry_64.S:494 Code: d8 48 c1 e8 03 42 80 3c 38 00 0f 85 80 02 00 00 48 8b 1b 48 85 db 0f 84 84 00 00 00 48 8d 7b 18 41 83 c5 01 48 89 fa 48 c1 ea 03 <42> 80 3c 3a 00 0f 85 32 02 00 00 4c 3b 73 18 75 c2 4c 8d 6b 10 RIP [] lookup_object lib/debugobjects.c:120 [inline] RIP [] debug_object_activate+0x1de/0x500 lib/debugobjects.c:405 RSP ---[ end trace fc920f4e74d2e9ee ]---