================================================================== 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 ffff8801d0e904c0 by task syzkaller403495/3315 CPU: 0 PID: 3315 Comm: syzkaller403495 Not tainted 4.4.111-g3301b55 #17 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 9a394161b932e6ca ffff8801d08cf970 ffffffff81d0509d ffffea000743a400 ffff8801d0e904c0 0000000000000000 ffff8801d0e904c0 ffff8801d0b68238 ffff8801d08cf9a8 ffffffff814fd433 ffff8801d0e904c0 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 ffff8801d0e90480 which belongs to the cache fasync_cache of size 96 The buggy address is located 64 bytes inside of 96-byte region [ffff8801d0e90480, ffff8801d0e904e0) The buggy address belongs to the page: PANIC: double fault, error_code: 0x0 CPU: 0 PID: 3315 Comm: syzkaller403495 Not tainted 4.4.111-g3301b55 #17 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d154df00 task.stack: ffff8801d08c8000 RIP: 0010:[] [] dump_page_badflags+0x8/0x250 mm/debug.c:84 RSP: 0018:ffff880100000000 EFLAGS: 00010046 RAX: ffff8801d154df00 RBX: ffffea000743a400 RCX: ffffffff8148f980 RDX: 0000000000000000 RSI: ffffffff838a83a0 RDI: ffffea000743a400 RBP: ffff880100000010 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000002 R11: fffffbfff0ad781e R12: 0000000000000000 R13: ffffffff838a83a0 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8801db200000(0063) knlGS:00000000f7774b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: ffff8800fffffff8 CR3: 00000001d0938000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: Call Trace: Code: 00 e9 83 fd ff ff e8 a8 e2 06 00 e9 50 fd ff ff e8 9e e2 06 00 e9 1d fd ff ff 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 <41> 55 49 89 f5 41 54 49 89 d4 53 48 89 fb 48 83 ec 08 e8 61 06