syzbot


KASAN: stack-out-of-bounds Read in unwind_get_return_address

Status: public: reported C repro on 2019/04/12 00:00
Reported-by: syzbot+f2e5d42cf37627b85bed@syzkaller.appspotmail.com
First crash: 2534d, last: 2120d

Sample crash report:
==================================================================
BUG: KASAN: stack-out-of-bounds in unwind_get_return_address+0x96/0xa0 arch/x86/kernel/unwind_frame.c:17
Read of size 8 at addr ffff8801d0fefa68 by task syz-executor107/27952

CPU: 0 PID: 27952 Comm: syz-executor107 Not tainted 4.9.154+ #19
 ffff8801d089f7e8 ffffffff81b47411 0000000000000000 ffffea000743fbc0
 ffff8801d0fefa68 0000000000000008 ffffffff810ab576 ffff8801d089f820
 ffffffff81502615 0000000000000000 ffff8801d0fefa68 ffff8801d0fefa68
Call Trace:
 [<ffffffff81b47411>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81b47411>] dump_stack+0xc1/0x120 lib/dump_stack.c:51
 [<ffffffff81502615>] print_address_description+0x6f/0x238 mm/kasan/report.c:256
 [<ffffffff8150286a>] kasan_report_error mm/kasan/report.c:355 [inline]
 [<ffffffff8150286a>] kasan_report mm/kasan/report.c:412 [inline]
 [<ffffffff8150286a>] kasan_report.cold+0x8c/0x2ba mm/kasan/report.c:397
 [<ffffffff814f4a64>] __asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:433
 [<ffffffff810ab576>] unwind_get_return_address+0x96/0xa0 arch/x86/kernel/unwind_frame.c:17
 [<ffffffff8107732a>] __save_stack_trace+0x8a/0xf0 arch/x86/kernel/stacktrace.c:43
 [<ffffffff810773f2>] save_stack_trace_tsk arch/x86/kernel/stacktrace.c:71 [inline]
 [<ffffffff810773f2>] save_stack_trace_tsk+0x42/0x60 arch/x86/kernel/stacktrace.c:66
 [<ffffffff8166a962>] proc_pid_stack+0x1a2/0x290 fs/proc/base.c:483
 [<ffffffff81662f16>] proc_single_show+0xf6/0x160 fs/proc/base.c:785
 [<ffffffff81582edd>] seq_read+0x4cd/0x1250 fs/seq_file.c:240
 [<ffffffff8150bbcc>] do_loop_readv_writev.part.0+0xcc/0x2c0 fs/read_write.c:718
 [<ffffffff8150d2d6>] do_loop_readv_writev fs/read_write.c:707 [inline]
 [<ffffffff8150d2d6>] do_readv_writev+0x556/0x7a0 fs/read_write.c:873
 [<ffffffff8150d5a6>] vfs_readv+0x86/0xc0 fs/read_write.c:897
 [<ffffffff8150d9db>] do_preadv+0x19b/0x240 fs/read_write.c:974
 [<ffffffff81510ec1>] SYSC_preadv fs/read_write.c:1024 [inline]
 [<ffffffff81510ec1>] SyS_preadv+0x31/0x40 fs/read_write.c:1019
 [<ffffffff810056bd>] do_syscall_64+0x1ad/0x570 arch/x86/entry/common.c:285
 [<ffffffff82816493>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb

The buggy address belongs to the page:
page:ffffea000743fbc0 count:0 mapcount:0 mapping:          (null) index:0x0
flags: 0x4000000000000000()
page dumped because: kasan: bad access detected

Memory state around the buggy address:
 ffff8801d0fef900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff8801d0fef980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff8801d0fefa00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
                                                          ^
 ffff8801d0fefa80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff8801d0fefb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
==================================================================

Crashes (53):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/01/31 19:49 https://android.googlesource.com/kernel/common android-4.9 27c2fe3fe6ba 0e8ea0a3 .config console log report syz C ci-android-49-kasan-gce-root
2019/01/26 13:30 https://android.googlesource.com/kernel/common android-4.9 fe0eb27ac6e2 c73f090a .config console log report syz C ci-android-49-kasan-gce-root
2018/01/09 16:23 https://android.googlesource.com/kernel/common android-4.9 8910fa508811 11dc42f6 .config console log report syz ci-android-49-kasan-gce-386
2018/02/19 13:13 https://android.googlesource.com/kernel/common android-4.9 cdfc8df1d262 833f78c7 .config console log report syz ci-android-49-kasan-gce-386
2018/02/13 21:08 https://android.googlesource.com/kernel/common android-4.9 f8bbe517d04f 88bc17df .config console log report syz ci-android-49-kasan-gce-386
2018/02/10 09:53 https://android.googlesource.com/kernel/common android-4.9 8a174b4749d3 2b6b214c .config console log report syz ci-android-49-kasan-gce-386
2018/02/01 13:39 https://android.googlesource.com/kernel/common android-4.9 71f146972231 02553e22 .config console log report syz ci-android-49-kasan-gce-386
2019/01/13 00:40 https://android.googlesource.com/kernel/common android-4.9 9e6c14f45398 c3f3344c .config console log report ci-android-49-kasan-gce-root
2019/01/12 14:25 https://android.googlesource.com/kernel/common android-4.9 9e6c14f45398 c3f3344c .config console log report ci-android-49-kasan-gce-root
2019/01/11 23:48 https://android.googlesource.com/kernel/common android-4.9 9e6c14f45398 c3f3344c .config console log report ci-android-49-kasan-gce-root
2019/01/09 02:12 https://android.googlesource.com/kernel/common android-4.9 043c92bd0517 010ed08b .config console log report ci-android-49-kasan-gce-root
2019/01/07 21:24 https://android.googlesource.com/kernel/common android-4.9 043c92bd0517 69d69aa9 .config console log report ci-android-49-kasan-gce-root
2019/01/07 20:09 https://android.googlesource.com/kernel/common android-4.9 043c92bd0517 69d69aa9 .config console log report ci-android-49-kasan-gce-root
2019/01/06 19:12 https://android.googlesource.com/kernel/common android-4.9 043c92bd0517 94f8adb5 .config console log report ci-android-49-kasan-gce-root
2019/01/02 01:26 https://android.googlesource.com/kernel/common android-4.9 9f23a833fdcd 3d85f48c .config console log report ci-android-49-kasan-gce-root
2019/01/01 18:22 https://android.googlesource.com/kernel/common android-4.9 9f23a833fdcd 3d85f48c .config console log report ci-android-49-kasan-gce-root
2019/01/01 08:27 https://android.googlesource.com/kernel/common android-4.9 9f23a833fdcd 3d85f48c .config console log report ci-android-49-kasan-gce-root
2018/12/31 18:40 https://android.googlesource.com/kernel/common android-4.9 9f23a833fdcd 2b42fdc8 .config console log report ci-android-49-kasan-gce-root
2018/08/03 15:22 https://android.googlesource.com/kernel/common android-4.9 8b21e85d919c cc4f6d0a .config console log report ci-android-49-kasan-gce
2018/07/31 01:16 https://android.googlesource.com/kernel/common android-4.9 8956c50bdcd3 1a381291 .config console log report ci-android-49-kasan-gce
2018/06/09 00:14 https://android.googlesource.com/kernel/common android-4.9 db2c520bb56b 866118af .config console log report ci-android-49-kasan-gce
2018/06/05 09:29 https://android.googlesource.com/kernel/common android-4.9 dbe0f6122097 a316ff92 .config console log report ci-android-49-kasan-gce
2018/05/26 12:22 https://android.googlesource.com/kernel/common android-4.9 0cecdf831513 f48c20b8 .config console log report ci-android-49-kasan-gce
2018/05/11 11:52 https://android.googlesource.com/kernel/common android-4.9 c462abbf779b 12c7428a .config console log report ci-android-49-kasan-gce
2018/05/07 15:24 https://android.googlesource.com/kernel/common android-4.9 63a812bb84e4 a211da1a .config console log report ci-android-49-kasan-gce
2018/04/24 10:43 https://android.googlesource.com/kernel/common android-4.9 320d53a9d07c e7e85d36 .config console log report ci-android-49-kasan-gce
2018/04/24 05:36 https://android.googlesource.com/kernel/common android-4.9 142d4b530f5a e7e85d36 .config console log report ci-android-49-kasan-gce-root
2018/04/23 08:25 https://android.googlesource.com/kernel/common android-4.9 ee0bcd679075 d23fcf6c .config console log report ci-android-49-kasan-gce
2018/04/21 21:48 https://android.googlesource.com/kernel/common android-4.9 ee0bcd679075 d23fcf6c .config console log report ci-android-49-kasan-gce
2018/04/15 00:55 https://android.googlesource.com/kernel/common android-4.9 8683408f8e81 7a67784c .config console log report ci-android-49-kasan-gce
2018/04/13 06:53 https://android.googlesource.com/kernel/common android-4.9 f6bec4e8c771 eb2295de .config console log report ci-android-49-kasan-gce
2018/04/11 04:43 https://android.googlesource.com/kernel/common android-4.9 f6bec4e8c771 8b8de427 .config console log report ci-android-49-kasan-gce
2018/04/04 20:11 https://android.googlesource.com/kernel/common android-4.9 13b40d327b49 676bd07e .config console log report ci-android-49-kasan-gce
2018/03/26 00:48 https://android.googlesource.com/kernel/common android-4.9 dd1e37e64645 e033c1f1 .config console log report ci-android-49-kasan-gce
2018/03/20 21:05 https://android.googlesource.com/kernel/common android-4.9 71df7bbae4d8 72c33b66 .config console log report ci-android-49-kasan-gce
2018/03/05 16:43 https://android.googlesource.com/kernel/common android-4.9 b324a701539e bbd5104f .config console log report ci-android-49-kasan-gce
2018/02/18 15:52 https://android.googlesource.com/kernel/common android-4.9 cdfc8df1d262 833f78c7 .config console log report ci-android-49-kasan-gce
2018/01/04 08:12 https://android.googlesource.com/kernel/common android-4.9 173c52eae928 00193447 .config console log report ci-android-49-kasan-gce
2017/12/27 06:29 https://android.googlesource.com/kernel/common android-4.9 250637879165 73aba437 .config console log report ci-android-49-kasan-gce
2017/12/25 00:04 https://android.googlesource.com/kernel/common android-4.9 250637879165 73aba437 .config console log report ci-android-49-kasan-gce
2017/12/14 08:39 https://android.googlesource.com/kernel/common android-4.9 fb66dc2a6e5e ac20b98c .config console log report ci-android-49-kasan-gce-386
2018/10/03 15:41 https://android.googlesource.com/kernel/common android-4.9 35740bcd1107 8b311eaf .config console log report ci-android-49-kasan-gce-386
2018/09/08 23:34 https://android.googlesource.com/kernel/common android-4.9 dcae9fa1319b 6b5120a4 .config console log report ci-android-49-kasan-gce-386
2018/07/11 17:48 https://android.googlesource.com/kernel/common android-4.9 9e7903954483 2e0e3130 .config console log report ci-android-49-kasan-gce-386
2018/04/28 15:46 https://android.googlesource.com/kernel/common android-4.9 71fce1edd26d d5a5d045 .config console log report ci-android-49-kasan-gce-386
2018/04/14 03:31 https://android.googlesource.com/kernel/common android-4.9 cb023581bd03 7a67784c .config console log report ci-android-49-kasan-gce-386
2018/02/23 18:37 https://android.googlesource.com/kernel/common android-4.9 74659dc64c9d 33464158 .config console log report ci-android-49-kasan-gce-386
2018/02/13 20:47 https://android.googlesource.com/kernel/common android-4.9 f8bbe517d04f 88bc17df .config console log report ci-android-49-kasan-gce-386
2018/02/13 04:16 https://android.googlesource.com/kernel/common android-4.9 8a174b4749d3 88bc17df .config console log report ci-android-49-kasan-gce-386
2018/02/10 09:05 https://android.googlesource.com/kernel/common android-4.9 8a174b4749d3 2b6b214c .config console log report ci-android-49-kasan-gce-386
2018/02/06 00:06 https://android.googlesource.com/kernel/common android-4.9 b30d2b5deba5 a1bc9d40 .config console log report ci-android-49-kasan-gce-386
2018/02/01 23:59 https://android.googlesource.com/kernel/common android-4.9 71f146972231 67bd3383 .config console log report ci-android-49-kasan-gce-386
2018/02/01 12:58 https://android.googlesource.com/kernel/common android-4.9 71f146972231 02553e22 .config console log report ci-android-49-kasan-gce-386
* Struck through repros no longer work on HEAD.