syzbot


KASAN: wild-memory-access Read of size 4060

Status: closed as invalid on 2017/10/18 09:01
First crash: 2396d, last: 2377d

Sample crash report:
netlink: 1 bytes leftover after parsing attributes in process `syz-executor1'.
==================================================================
BUG: KASAN: wild-memory-access on address ffe7087452183000
Read of size 4060 by task syz-executor3/5888
CPU: 1 PID: 5888 Comm: syz-executor3 Not tainted 4.9.56-g5c73594 #66
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801c9d67ae8 ffffffff81d93999 ffe7087452183000 0000000000000fdc
 0000000000000000 ffff8801aafbdd80 ffe7087452183000 ffff8801c9d67b70
 ffffffff8153d5cf 0000000000000000 0000000000000001 ffffffff8266527b
Call Trace:
 [<ffffffff81d93999>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81d93999>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff8153d5cf>] kasan_report_error mm/kasan/report.c:284 [inline]
 [<ffffffff8153d5cf>] kasan_report.part.1+0x40f/0x500 mm/kasan/report.c:309
 [<ffffffff8153d9a0>] kasan_report+0x20/0x30 mm/kasan/report.c:296
 [<ffffffff8153c2e7>] check_memory_region_inline mm/kasan/kasan.c:308 [inline]
 [<ffffffff8153c2e7>] check_memory_region+0x137/0x190 mm/kasan/kasan.c:315
 [<ffffffff8153c351>] kasan_check_read+0x11/0x20 mm/kasan/kasan.c:320
 [<ffffffff8266527b>] __copy_to_user arch/x86/include/asm/uaccess_64.h:182 [inline]
 [<ffffffff8266527b>] sg_read_oxfer drivers/scsi/sg.c:1978 [inline]
 [<ffffffff8266527b>] sg_read+0x124b/0x1400 drivers/scsi/sg.c:520
 [<ffffffff8156d893>] __vfs_read+0x103/0x670 fs/read_write.c:452
 [<ffffffff8156ee27>] vfs_read+0x107/0x330 fs/read_write.c:475
 [<ffffffff81572ac9>] SYSC_read fs/read_write.c:591 [inline]
 [<ffffffff81572ac9>] SyS_read+0xd9/0x1b0 fs/read_write.c:584
 [<ffffffff838ad085>] entry_SYSCALL_64_fastpath+0x23/0xc6
==================================================================
netlink: 1 bytes leftover after parsing attributes in process `syz-executor1'.
program syz-executor6 is using a deprecated SCSI ioctl, please convert it to SG_IO
sd 0:0:1:0: ioctl_internal_command: ILLEGAL REQUEST asc=0x20 ascq=0x0
==================================================================
BUG: KASAN: wild-memory-access on address ffe7087452183000
Read of size 4060 by task syz-executor3/5907
CPU: 1 PID: 5907 Comm: syz-executor3 Tainted: G    B           4.9.56-g5c73594 #66
program syz-executor6 is using a deprecated SCSI ioctl, please convert it to SG_IO
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801aa847ae8 ffffffff81d93999 ffe7087452183000 0000000000000fdc
 0000000000000000 ffff8801aa4dd6c0 ffe7087452183000 ffff8801aa847b70
 ffffffff8153d5cf 0000000000000000 0000000000000001 ffffffff8266527b
Call Trace:
program syz-executor6 is using a deprecated SCSI ioctl, please convert it to SG_IO
 [<ffffffff81d93999>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81d93999>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff8153d5cf>] kasan_report_error mm/kasan/report.c:284 [inline]
 [<ffffffff8153d5cf>] kasan_report.part.1+0x40f/0x500 mm/kasan/report.c:309
program syz-executor6 is using a deprecated SCSI ioctl, please convert it to SG_IO
 [<ffffffff8153d9a0>] kasan_report+0x20/0x30 mm/kasan/report.c:296
 [<ffffffff8153c2e7>] check_memory_region_inline mm/kasan/kasan.c:308 [inline]
 [<ffffffff8153c2e7>] check_memory_region+0x137/0x190 mm/kasan/kasan.c:315
 [<ffffffff8153c351>] kasan_check_read+0x11/0x20 mm/kasan/kasan.c:320
 [<ffffffff8266527b>] __copy_to_user arch/x86/include/asm/uaccess_64.h:182 [inline]
 [<ffffffff8266527b>] sg_read_oxfer drivers/scsi/sg.c:1978 [inline]
 [<ffffffff8266527b>] sg_read+0x124b/0x1400 drivers/scsi/sg.c:520
 [<ffffffff8156d893>] __vfs_read+0x103/0x670 fs/read_write.c:452
 [<ffffffff8156ee27>] vfs_read+0x107/0x330 fs/read_write.c:475
 [<ffffffff81572ac9>] SYSC_read fs/read_write.c:591 [inline]
 [<ffffffff81572ac9>] SyS_read+0xd9/0x1b0 fs/read_write.c:584
 [<ffffffff838ad085>] entry_SYSCALL_64_fastpath+0x23/0xc6
==================================================================
sd 0:0:1:0: ioctl_internal_command: ILLEGAL REQUEST asc=0x20 ascq=0x0
sd 0:0:1:0: ioctl_internal_command: ILLEGAL REQUEST asc=0x20 ascq=0x0
sd 0:0:1:0: ioctl_internal_command: ILLEGAL REQUEST asc=0x20 ascq=0x0
==================================================================
BUG: KASAN: wild-memory-access on address ffe7087452183000
Read of size 4060 by task syz-executor3/5907
CPU: 1 PID: 5907 Comm: syz-executor3 Tainted: G    B           4.9.56-g5c73594 #66
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801aa847ae8 ffffffff81d93999 ffe7087452183000 0000000000000fdc
 0000000000000000 ffff8801ab115180 ffe7087452183000 ffff8801aa847b70
 ffffffff8153d5cf 0000000000000000 0000000000000001 ffffffff8266527b
Call Trace:
 [<ffffffff81d93999>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81d93999>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff8153d5cf>] kasan_report_error mm/kasan/report.c:284 [inline]
 [<ffffffff8153d5cf>] kasan_report.part.1+0x40f/0x500 mm/kasan/report.c:309
 [<ffffffff8153d9a0>] kasan_report+0x20/0x30 mm/kasan/report.c:296
 [<ffffffff8153c2e7>] check_memory_region_inline mm/kasan/kasan.c:308 [inline]
 [<ffffffff8153c2e7>] check_memory_region+0x137/0x190 mm/kasan/kasan.c:315
 [<ffffffff8153c351>] kasan_check_read+0x11/0x20 mm/kasan/kasan.c:320
 [<ffffffff8266527b>] __copy_to_user arch/x86/include/asm/uaccess_64.h:182 [inline]
 [<ffffffff8266527b>] sg_read_oxfer drivers/scsi/sg.c:1978 [inline]
 [<ffffffff8266527b>] sg_read+0x124b/0x1400 drivers/scsi/sg.c:520
 [<ffffffff8156d893>] __vfs_read+0x103/0x670 fs/read_write.c:452
 [<ffffffff8156ee27>] vfs_read+0x107/0x330 fs/read_write.c:475
 [<ffffffff81572ac9>] SYSC_read fs/read_write.c:591 [inline]
 [<ffffffff81572ac9>] SyS_read+0xd9/0x1b0 fs/read_write.c:584
 [<ffffffff838ad085>] entry_SYSCALL_64_fastpath+0x23/0xc6
==================================================================
==================================================================
BUG: KASAN: wild-memory-access on address ffe7087452183000
Read of size 4060 by task syz-executor3/5969
CPU: 1 PID: 5969 Comm: syz-executor3 Tainted: G    B           4.9.56-g5c73594 #66
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801c6c8fae8 ffffffff81d93999 ffe7087452183000 0000000000000fdc
 0000000000000000 ffff8801ab115cc0 ffe7087452183000 ffff8801c6c8fb70
 ffffffff8153d5cf 0000000000000000 0000000000000001 ffffffff8266527b
Call Trace:
 [<ffffffff81d93999>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81d93999>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff8153d5cf>] kasan_report_error mm/kasan/report.c:284 [inline]
 [<ffffffff8153d5cf>] kasan_report.part.1+0x40f/0x500 mm/kasan/report.c:309
 [<ffffffff8153d9a0>] kasan_report+0x20/0x30 mm/kasan/report.c:296
 [<ffffffff8153c2e7>] check_memory_region_inline mm/kasan/kasan.c:308 [inline]
 [<ffffffff8153c2e7>] check_memory_region+0x137/0x190 mm/kasan/kasan.c:315
 [<ffffffff8153c351>] kasan_check_read+0x11/0x20 mm/kasan/kasan.c:320
 [<ffffffff8266527b>] __copy_to_user arch/x86/include/asm/uaccess_64.h:182 [inline]
 [<ffffffff8266527b>] sg_read_oxfer drivers/scsi/sg.c:1978 [inline]
 [<ffffffff8266527b>] sg_read+0x124b/0x1400 drivers/scsi/sg.c:520
 [<ffffffff8156d893>] __vfs_read+0x103/0x670 fs/read_write.c:452
 [<ffffffff8156ee27>] vfs_read+0x107/0x330 fs/read_write.c:475
 [<ffffffff81572ac9>] SYSC_read fs/read_write.c:591 [inline]
 [<ffffffff81572ac9>] SyS_read+0xd9/0x1b0 fs/read_write.c:584
 [<ffffffff838ad085>] entry_SYSCALL_64_fastpath+0x23/0xc6
==================================================================
==================================================================
BUG: KASAN: wild-memory-access on address ffe7087452183000
Read of size 4060 by task syz-executor3/5969
CPU: 1 PID: 5969 Comm: syz-executor3 Tainted: G    B           4.9.56-g5c73594 #66
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801c6c8fae8 ffffffff81d93999 ffe7087452183000 0000000000000fdc
 0000000000000000 ffff8801aa4dd660 ffe7087452183000 ffff8801c6c8fb70
 ffffffff8153d5cf 0000000000000000 0000000000000001 ffffffff8266527b
Call Trace:
 [<ffffffff81d93999>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81d93999>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff8153d5cf>] kasan_report_error mm/kasan/report.c:284 [inline]
 [<ffffffff8153d5cf>] kasan_report.part.1+0x40f/0x500 mm/kasan/report.c:309
 [<ffffffff8153d9a0>] kasan_report+0x20/0x30 mm/kasan/report.c:296
 [<ffffffff8153c2e7>] check_memory_region_inline mm/kasan/kasan.c:308 [inline]
 [<ffffffff8153c2e7>] check_memory_region+0x137/0x190 mm/kasan/kasan.c:315
 [<ffffffff8153c351>] kasan_check_read+0x11/0x20 mm/kasan/kasan.c:320
 [<ffffffff8266527b>] __copy_to_user arch/x86/include/asm/uaccess_64.h:182 [inline]
 [<ffffffff8266527b>] sg_read_oxfer drivers/scsi/sg.c:1978 [inline]
 [<ffffffff8266527b>] sg_read+0x124b/0x1400 drivers/scsi/sg.c:520
 [<ffffffff8156d893>] __vfs_read+0x103/0x670 fs/read_write.c:452
 [<ffffffff8156ee27>] vfs_read+0x107/0x330 fs/read_write.c:475
 [<ffffffff81572ac9>] SYSC_read fs/read_write.c:591 [inline]
 [<ffffffff81572ac9>] SyS_read+0xd9/0x1b0 fs/read_write.c:584
 [<ffffffff838ad085>] entry_SYSCALL_64_fastpath+0x23/0xc6
==================================================================
==================================================================
BUG: KASAN: wild-memory-access on address ffe7087452183000
Read of size 4060 by task syz-executor3/6051
CPU: 0 PID: 6051 Comm: syz-executor3 Tainted: G    B           4.9.56-g5c73594 #66
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801cb24fae8 ffffffff81d93999 ffe7087452183000 0000000000000fdc
 0000000000000000 ffff8801d8d6c2a0 ffe7087452183000 ffff8801cb24fb70
 ffffffff8153d5cf 0000000000000000 0000000000000001 ffffffff8266527b
Call Trace:
 [<ffffffff81d93999>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81d93999>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff8153d5cf>] kasan_report_error mm/kasan/report.c:284 [inline]
 [<ffffffff8153d5cf>] kasan_report.part.1+0x40f/0x500 mm/kasan/report.c:309
 [<ffffffff8153d9a0>] kasan_report+0x20/0x30 mm/kasan/report.c:296
 [<ffffffff8153c2e7>] check_memory_region_inline mm/kasan/kasan.c:308 [inline]
 [<ffffffff8153c2e7>] check_memory_region+0x137/0x190 mm/kasan/kasan.c:315
 [<ffffffff8153c351>] kasan_check_read+0x11/0x20 mm/kasan/kasan.c:320
 [<ffffffff8266527b>] __copy_to_user arch/x86/include/asm/uaccess_64.h:182 [inline]
 [<ffffffff8266527b>] sg_read_oxfer drivers/scsi/sg.c:1978 [inline]
 [<ffffffff8266527b>] sg_read+0x124b/0x1400 drivers/scsi/sg.c:520
 [<ffffffff8156d893>] __vfs_read+0x103/0x670 fs/read_write.c:452
 [<ffffffff8156ee27>] vfs_read+0x107/0x330 fs/read_write.c:475
 [<ffffffff81572ac9>] SYSC_read fs/read_write.c:591 [inline]
 [<ffffffff81572ac9>] SyS_read+0xd9/0x1b0 fs/read_write.c:584
 [<ffffffff838ad085>] entry_SYSCALL_64_fastpath+0x23/0xc6
==================================================================
==================================================================
BUG: KASAN: wild-memory-access on address ffe7087452183000
Read of size 4060 by task syz-executor3/6082
CPU: 1 PID: 6082 Comm: syz-executor3 Tainted: G    B           4.9.56-g5c73594 #66
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801c6da7ae8 ffffffff81d93999 ffe7087452183000 0000000000000fdc
 0000000000000000 ffff8801aa8145a0 ffe7087452183000 ffff8801c6da7b70
 ffffffff8153d5cf 0000000000000000 0000000000000001 ffffffff8266527b
Call Trace:
 [<ffffffff81d93999>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81d93999>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff8153d5cf>] kasan_report_error mm/kasan/report.c:284 [inline]
 [<ffffffff8153d5cf>] kasan_report.part.1+0x40f/0x500 mm/kasan/report.c:309
 [<ffffffff8153d9a0>] kasan_report+0x20/0x30 mm/kasan/report.c:296
 [<ffffffff8153c2e7>] check_memory_region_inline mm/kasan/kasan.c:308 [inline]
 [<ffffffff8153c2e7>] check_memory_region+0x137/0x190 mm/kasan/kasan.c:315
 [<ffffffff8153c351>] kasan_check_read+0x11/0x20 mm/kasan/kasan.c:320
 [<ffffffff8266527b>] __copy_to_user arch/x86/include/asm/uaccess_64.h:182 [inline]
 [<ffffffff8266527b>] sg_read_oxfer drivers/scsi/sg.c:1978 [inline]
 [<ffffffff8266527b>] sg_read+0x124b/0x1400 drivers/scsi/sg.c:520
 [<ffffffff8156d893>] __vfs_read+0x103/0x670 fs/read_write.c:452
 [<ffffffff8156ee27>] vfs_read+0x107/0x330 fs/read_write.c:475
 [<ffffffff81572ac9>] SYSC_read fs/read_write.c:591 [inline]
 [<ffffffff81572ac9>] SyS_read+0xd9/0x1b0 fs/read_write.c:584
 [<ffffffff838ad085>] entry_SYSCALL_64_fastpath+0x23/0xc6
==================================================================
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:[   82.255471] binder: 6114:6115 ioctl 5404 207dcfec returned -22
CPU: 0 PID: 6111 Comm: syz-executor3 Tainted: G    B           4.9.56-g5c73594 #66
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801c8149800 task.stack: ffff8801aa0a8000
RIP: 0010:[<ffffffff8144e4b1>]  [<ffffffff8144e4b1>] __read_once_size include/linux/compiler.h:243 [inline]
RIP: 0010:[<ffffffff8144e4b1>]  [<ffffffff8144e4b1>] atomic_read arch/x86/include/asm/atomic.h:26 [inline]
RIP: 0010:[<ffffffff8144e4b1>]  [<ffffffff8144e4b1>] page_ref_count include/linux/page_ref.h:66 [inline]
RIP: 0010:[<ffffffff8144e4b1>]  [<ffffffff8144e4b1>] put_page_testzero include/linux/mm.h:445 [inline]
RIP: 0010:[<ffffffff8144e4b1>]  [<ffffffff8144e4b1>] __free_pages+0x21/0x80 mm/page_alloc.c:3901
RSP: 0018:ffff8801aa0afb00  EFLAGS: 00010a07
RAX: dffffc0000000000 RBX: dead4ead00000000 RCX: ffffc90001241000
RDX: 1bd5a9d5a0000003 RSI: 0000000000000000 RDI: dead4ead0000001c
RBP: ffff8801aa0afb10 R08: 0000000000000000 R09: ffffed0039b98701
R10: 0000000000000005 R11: ffffed0039b98700 R12: 0000000000000004
R13: 0000000000000020 R14: ffff8801a76a4200 R15: dffffc0000000000
FS:  00007f4c4b2d9700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020f63000 CR3: 00000001d4f40000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffffffff838adab9 ffff8801a76a4358 ffff8801aa0afb70 ffffffff82662871
 ffff8801a76a4370 ffffed0034ed486b ffffed0034ed486e ffff8801a76a4368
 dead4ead00000000 ffff8801a76a4340 0000000000000000 0000000000000000
Call Trace:
 [<ffffffff82662871>] sg_remove_scat.isra.20+0x1c1/0x2d0 drivers/scsi/sg.c:1954
 [<ffffffff82662c35>] sg_finish_rem_req+0x2b5/0x340 drivers/scsi/sg.c:1836
 [<ffffffff8266494c>] sg_read+0x91c/0x1400 drivers/scsi/sg.c:527
 [<ffffffff8156d893>] __vfs_read+0x103/0x670 fs/read_write.c:452
 [<ffffffff8156ee27>] vfs_read+0x107/0x330 fs/read_write.c:475
 [<ffffffff81572ac9>] SYSC_read fs/read_write.c:591 [inline]
 [<ffffffff81572ac9>] SyS_read+0xd9/0x1b0 fs/read_write.c:584
 [<ffffffff838ad085>] entry_SYSCALL_64_fastpath+0x23/0xc6
Code: ff 66 0f 1f 84 00 00 00 00 00 48 b8 00 00 00 00 00 fc ff df 55 48 89 e5 53 48 89 fb 48 83 c7 1c 48 89 fa 48 83 ec 08 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 3d 
RIP  [<ffffffff8144e4b1>] __read_once_size include/linux/compiler.h:243 [inline]
RIP  [<ffffffff8144e4b1>] atomic_read arch/x86/include/asm/atomic.h:26 [inline]
RIP  [<ffffffff8144e4b1>] page_ref_count include/linux/page_ref.h:66 [inline]
RIP  [<ffffffff8144e4b1>] put_page_testzero include/linux/mm.h:445 [inline]
RIP  [<ffffffff8144e4b1>] __free_pages+0x21/0x80 mm/page_alloc.c:3901
 RSP <ffff8801aa0afb00>
---[ end trace 8a95d257fdfaab9b ]---

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/10/17 21:17 https://android.googlesource.com/kernel/common android-4.9 5c73594e214f b69d27d1 .config console log report ci-android-49-kasan-gce
2017/10/10 10:06 https://android.googlesource.com/kernel/common android-4.9 e5eba30388a2 c26ea367 .config console log report ci-android-49-kasan-gce
2017/10/09 06:13 https://android.googlesource.com/kernel/common android-4.9 e5eba30388a2 c26ea367 .config console log report ci-android-49-kasan-gce
2017/10/03 11:17 https://android.googlesource.com/kernel/common android-4.9 291d96822913 c26ea367 .config console log report ci-android-49-kasan-gce
2017/10/03 06:40 https://android.googlesource.com/kernel/common android-4.9 291d96822913 c26ea367 .config console log report ci-android-49-kasan-gce
2017/10/03 01:47 https://android.googlesource.com/kernel/common android-4.9 291d96822913 c26ea367 .config console log report ci-android-49-kasan-gce
2017/10/02 15:28 https://android.googlesource.com/kernel/common android-4.9 9b2b08179641 c26ea367 .config console log report ci-android-49-kasan-gce
2017/10/01 22:29 https://android.googlesource.com/kernel/common android-4.9 9b2b08179641 c26ea367 .config console log report ci-android-49-kasan-gce
2017/10/01 12:14 https://android.googlesource.com/kernel/common android-4.9 9b2b08179641 c26ea367 .config console log report ci-android-49-kasan-gce
2017/09/30 13:38 https://android.googlesource.com/kernel/common android-4.9 9b2b08179641 c26ea367 .config console log report ci-android-49-kasan-gce
2017/09/30 10:35 https://android.googlesource.com/kernel/common android-4.9 9b2b08179641 c26ea367 .config console log report ci-android-49-kasan-gce
2017/09/28 21:11 https://android.googlesource.com/kernel/common android-4.9 c30c69c76c1d c26ea367 .config console log report ci-android-49-kasan-gce
* Struck through repros no longer work on HEAD.