random: nonblocking pool is initialized ================================================================== 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 ffff8801d1a0b1c0 by task syzkaller478028/3333 CPU: 1 PID: 3333 Comm: syzkaller478028 Not tainted 4.4.111-gc2f631b #20 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 6e486de963a4331c ffff8801d0887a40 ffffffff81d0513d ffffea00074682c0 ffff8801d1a0b1c0 0000000000000000 ffff8801d1a0b1c0 ffff8800b4314438 ffff8801d0887a78 ffffffff814fd433 ffff8801d1a0b1c0 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 [] 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 ffff8801d1a0b180 which belongs to the cache fasync_cache of size 96 The buggy address is located 64 bytes inside of 96-byte region [ffff8801d1a0b180, ffff8801d1a0b1e0) The buggy address belongs to the page: kasan: CONFIG_KASAN_INLINE enabled[ 43.280174] page:ffffea00074682c0 count:1 mapcount:-2145386463 mapping: (null) index:0x0 flags: 0xffff8801db219c40(active|reserved|private|private_2|swapcache|mappedtodisk|uncached) page dumped because: VM_BUG_ON_PAGE(PageSlab(page)) ------------[ cut here ]------------ kernel BUG at include/linux/mm.h:460! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 3333 Comm: syzkaller478028 Not tainted 4.4.111-gc2f631b #20 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d0df2f80 task.stack: ffff8801d0880000 RIP: 0010:[] [] dump_page mm/debug.c:105 [inline] RIP: 0010:[] [] page_mapcount include/linux/mm.h:460 [inline] RIP: 0010:[] [] dump_page_badflags+0x191/0x250 mm/debug.c:85 RSP: 0018:ffff8801cd800030 EFLAGS: 00010082 RAX: ffff8801d0df2f80 RBX: ffffea00074682c0 RCX: ffffffff8148f96c RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8801d0df37ec RBP: ffff8801cd800060 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000002 R11: fffffbfff0ad8d04 R12: 0000000000000000 R13: ffffffff838a8360 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8801db300000(0063) knlGS:00000000f77bdb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000002039a000 CR3: 00000000b5766000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: 0000000000000000 ffffea00074682c0 0000000000000000 ffffffff838a8360 0000000000000000 0000000000000000 ffff8801cd8000a0 ffffffff8148f991 ffff8801d9857620 ffffea00074682c0 0000000000000000 ffffffff838a8360 Call Trace: Code: 46 e8 14 05 ed ff 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 00 05 ed ff 31 d2 48 c7 c6 60 83 8a 83 48 89 df e8 6f fe ff ff <0f> 0b e8 d8 e0 06 00 e9 21 ff ff ff 89 4d d4 e8 cb e0 06 00 8b RIP [] dump_page mm/debug.c:105 [inline] RIP [] page_mapcount include/linux/mm.h:460 [inline] RIP [] dump_page_badflags+0x191/0x250 mm/debug.c:85 RSP ---[ end trace d70b9f2f6d9d896a ]---