random: sshd: uninitialized urandom read (32 bytes read, 121 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 ffff8800b79f1140 by task syzkaller107646/3314 CPU: 1 PID: 3314 Comm: syzkaller107646 Not tainted 4.4.112-g5f6325b #28 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 e953a3dcf93a4edf ffff8801d04d79f0 ffffffff81d0579d ffffea0002de7c40 ffff8800b79f1140 0000000000000000 ffff8800b79f1140 ffff8800b4230238 ffff8801d04d7a28 ffffffff814fd9f3 ffff8800b79f1140 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 [] 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+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 ffff8800b79f1100 which belongs to the cache fasync_cache of size 96 The buggy address is located 64 bytes inside of 96-byte region [ffff8800b79f1100, ffff8800b79f1160) The buggy address belongs to the page: kernel tried to execute NX-protected page - exploit attempt? (uid: 0) BUG: unable to handle kernel paging request at ffffea0002de7c40 IP: [] 0xffffea0002de7c40 PGD 21f7fa067 PUD 21f7f9067 PMD 800000021aa000e3 Oops: 0011 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 1734 Comm: udevd Not tainted 4.4.112-g5f6325b #28 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d3a917c0 task.stack: ffff8801d3b18000 RIP: 0010:[] [] 0xffffea0002de7c40 RSP: 0018:ffff8801d3b1f900 EFLAGS: 00010293 RAX: ffffea0002de7c40 RBX: ffff8801cfcc36b0 RCX: ffffffff8153bf65 RDX: 0000000000000001 RSI: ffff8801cfcc36b0 RDI: ffff8801da27f820 RBP: ffff8801d3b1f938 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 1ffff1003a763ec2 R12: ffff8801da27f820 R13: 0000000000000001 R14: ffff8801cfcc36b2 R15: ffff8801cfcc3710 FS: 00007f165a2457a0(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffea0002de7c40 CR3: 00000001d3b20000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffffffff8153bf74 ffffea0002de7c40 0000000000000001 ffff8801cfcc36b0 ffff8801da27f820 ffff8801d3b1fd40 ffff8800b4103329 ffff8801d3b1f968 ffffffff8153c0af ffff8801da27f820 0000000000000000 ffff8801cfcc36b0 Call Trace: [] inode_permission2+0x2f/0x100 fs/namei.c:474 [] may_lookup fs/namei.c:1669 [inline] [] link_path_walk+0x8a8/0x16e0 fs/namei.c:1927 [] path_openat+0x22d/0x3b60 fs/namei.c:3353 [] do_filp_open+0x197/0x290 fs/namei.c:3388 [] do_sys_open+0x343/0x4b0 fs/open.c:1038 [] SYSC_open fs/open.c:1056 [inline] [] SyS_open+0x2d/0x40 fs/open.c:1051 [] entry_SYSCALL_64_fastpath+0x16/0x92 Code: 00 00 00 ff ff ff ff 00 00 00 00 e0 7f dd 02 00 ea ff ff e0 35 d5 02 00 ea ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <80> 00 00 00 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 00 RIP [] 0xffffea0002de7c40 RSP CR2: ffffea0002de7c40 ---[ end trace af6d1c17598444d5 ]---