================================================================== 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 ffff8800b5632140 by task syzkaller260995/3311 CPU: 1 PID: 3311 Comm: syzkaller260995 Not tainted 4.4.112-gca0ebb4 #29 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 3e9b55770a1c3377 ffff8801d0287ab0 ffffffff81d056fd ffffea0002d58c80 ffff8800b5632140 0000000000000000 ffff8800b5632140 ffff8801d025a338 ffff8801d0287ae8 ffffffff814fd953 ffff8800b5632140 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 ffff8800b5632100 which belongs to the cache fasync_cache of size 96 The buggy address is located 64 bytes inside of 96-byte region [ffff8800b5632100, ffff8800b5632160) The buggy address belongs to the page: PANIC: double fault, error_code: 0x0 CPU: 1 PID: 3311 Comm: syzkaller260995 Not tainted 4.4.112-gca0ebb4 #29 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8800b5742f80 task.stack: ffff8801d0280000 RIP: 0010:[] [] dump_page_badflags+0x8/0x250 mm/debug.c:84 RSP: 0018:ffff880100000000 EFLAGS: 00010046 RAX: ffff8800b5742f80 RBX: ffffea0002d58c80 RCX: ffffffff8148fea0 RDX: 0000000000000000 RSI: ffffffff838a8620 RDI: ffffea0002d58c80 RBP: ffff880100000010 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000002 R11: fffffbfff0ad7a1e R12: 0000000000000000 R13: ffffffff838a8620 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000002220880(0063) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff8800fffffff8 CR3: 00000000b4f5c000 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 11 01