syzbot


KASAN: out-of-bounds Read in unwind_next_frame

Status: auto-closed as invalid on 2019/04/28 00:03
Reported-by: syzbot+3a7b2a527f88ef40e5e1@syzkaller.appspotmail.com
First crash: 2226d, last: 2226d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 KASAN: out-of-bounds Read in unwind_next_frame C error 14 1548d 1882d 0/1 upstream: reported C repro on 2019/09/26 21:20
upstream KASAN: out-of-bounds Read in unwind_next_frame fs syz error error 12 1880d 2145d 0/28 auto-obsoleted due to no activity on 2022/09/07 09:08
linux-4.19 KASAN: out-of-bounds Read in unwind_next_frame 1 1827d 1827d 0/1 auto-closed as invalid on 2020/03/19 23:00
linux-4.19 KASAN: stack-out-of-bounds Read in unwind_next_frame C error 525 644d 1729d 0/1 upstream: reported C repro on 2020/02/26 18:51
upstream KASAN: stack-out-of-bounds Read in unwind_next_frame kernel C 929 609d 2346d 0/28 closed as dup on 2018/06/20 07:51
android-49 KASAN: out-of-bounds Read in unwind_next_frame C 14 2233d 2049d 0/3 public: reported C repro on 2019/04/13 00:00
android-54 KASAN: out-of-bounds Read in unwind_next_frame 16 1163d 1669d 0/2 auto-closed as invalid on 2022/01/13 05:16
linux-4.19 KASAN: out-of-bounds Read in unwind_next_frame (2) 1 1416d 1416d 0/1 auto-closed as invalid on 2021/05/04 22:57
android-414 KASAN: out-of-bounds Read in unwind_next_frame (2) C 5 1822d 1929d 0/1 public: reported C repro on 2019/08/11 14:38

Sample crash report:
==================================================================
BUG: KASAN: out-of-bounds in deref_stack_regs arch/x86/kernel/unwind_orc.c:290 [inline]
BUG: KASAN: out-of-bounds in unwind_next_frame+0x1595/0x1930 arch/x86/kernel/unwind_orc.c:420
Read of size 8 at addr ffff88019df4f818 by task syz-executor1/25085

CPU: 1 PID: 25085 Comm: syz-executor1 Not tainted 4.14.76+ #20
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0xb9/0x11b lib/dump_stack.c:53
 print_address_description+0x60/0x22b mm/kasan/report.c:252
 kasan_report_error mm/kasan/report.c:351 [inline]
 kasan_report.cold.6+0x11b/0x2dd mm/kasan/report.c:409
 deref_stack_regs arch/x86/kernel/unwind_orc.c:290 [inline]
 unwind_next_frame+0x1595/0x1930 arch/x86/kernel/unwind_orc.c:420
 __save_stack_trace+0x7d/0xf0 arch/x86/kernel/stacktrace.c:44
 save_stack_trace_tsk+0x3e/0x60 arch/x86/kernel/stacktrace.c:73
 proc_pid_stack+0x17c/0x260 fs/proc/base.c:460
 proc_single_show+0xf1/0x160 fs/proc/base.c:762
 seq_read+0x4e0/0x11d0 fs/seq_file.c:237
 do_loop_readv_writev fs/read_write.c:698 [inline]
 do_iter_read+0x3cc/0x580 fs/read_write.c:922
 vfs_readv+0xe6/0x150 fs/read_write.c:984
 do_preadv+0x187/0x230 fs/read_write.c:1068
 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x457569
RSP: 002b:00007fae9f29dc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000127
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457569
RDX: 1000000000000156 RSI: 0000000020000480 RDI: 0000000000000006
RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fae9f29e6d4
R13: 00000000004c3088 R14: 00000000004d4a40 R15: 00000000ffffffff

The buggy address belongs to the page:
page:ffffea000677d3c0 count:0 mapcount:0 mapping:          (null) index:0x0
flags: 0x4000000000000000()
raw: 4000000000000000 0000000000000000 0000000000000000 00000000ffffffff
raw: 0000000000000000 ffffea000677d3e0 0000000000000000 0000000000000000
page dumped because: kasan: bad access detected

Memory state around the buggy address:
 ffff88019df4f700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff88019df4f780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88019df4f800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
                               ^
 ffff88019df4f880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff88019df4f900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/10/18 15:27 android-4.14 6d46bcc5a747 d257b2d2 .config console log report ci-android-414-kasan-gce-root
* Struck through repros no longer work on HEAD.