random: sshd: uninitialized urandom read (32 bytes read, 99 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 ffff8801d38cd140 by task syzkaller204114/3308 CPU: 1 PID: 3308 Comm: syzkaller204114 Not tainted 4.4.111-g3301b55 #24 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 ae0e640a0fb02897 ffff8801d0c8fab0 ffffffff81d0509d ffffea00074e3340 ffff8801d38cd140 0000000000000000 ffff8801d38cd140 ffff8800b46e4438 ffff8801d0c8fae8 ffffffff814fd433 ffff8801d38cd140 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 ffff8801d38cd100 which belongs to the cache fasync_cache of size 96 The buggy address is located 64 bytes inside of 96-byte region [ffff8801d38cd100, ffff8801d38cd160) The buggy address belongs to the page: PANIC: double fault, error_code: 0x0 CPU: 1 PID: 3308 Comm: Not tainted 4.4.111-g3301b55 #24 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 BUG: spinlock bad magic on CPU#0, init/1 lock: 0xffff8801ceda8580, .magic: 00000000, .owner: H/0, .owner_cpu: 0 CPU: 0 PID: 1 Comm: init Not tainted 4.4.111-g3301b55 #24 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 97486a22f1aaedb5 ffff8801da3176b8 ffffffff81d0509d ffff8801ceda8580 ffff8801ceda85d0 ffff8801da308000 ffff8801da317960 ffff8801da317990 ffff8801da3176f8 ffffffff81245acd ffff880100000000 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x124 lib/dump_stack.c:51 [] spin_dump+0x14d/0x280 kernel/locking/spinlock_debug.c:67 [] spin_bug kernel/locking/spinlock_debug.c:75 [inline] [] debug_spin_lock_before kernel/locking/spinlock_debug.c:83 [inline] [] do_raw_spin_lock+0x228/0x2c0 kernel/locking/spinlock_debug.c:135 [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:119 [inline] [] _raw_spin_lock_irqsave+0x56/0x70 kernel/locking/spinlock.c:159 [] remove_wait_queue+0x14/0x40 kernel/sched/wait.c:49 [] free_poll_entry fs/select.c:132 [inline] [] poll_freewait+0xd2/0x250 fs/select.c:141 [] do_select+0x1003/0x13f0 fs/select.c:534 [] core_sys_select+0x3d8/0x740 fs/select.c:599 [] SYSC_select fs/select.c:640 [inline] [] SyS_select+0x14a/0x1d0 fs/select.c:622 [] entry_SYSCALL_64_fastpath+0x16/0x92 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 1 at lib/list_debug.c:59 __list_del_entry+0x14f/0x1d0 lib/list_debug.c:57() list_del corruption. prev->next should be ffff8801da3179b8, but was ffffffff838a83a0