syzbot


KASAN: out-of-bounds Read in do_exit

Status: auto-closed as invalid on 2021/10/17 21:26
Reported-by: syzbot+b80bbdcca4c4dfaa189e@syzkaller.appspotmail.com
First crash: 528d, last: 528d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KASAN: unknown-crash Read in do_exit (2) 1 390d 386d 0/24 auto-closed as invalid on 2022/02/02 23:28

Sample crash report:
==================================================================
BUG: KASAN: out-of-bounds in stack_not_used include/linux/sched/task_stack.h:101 [inline]
BUG: KASAN: out-of-bounds in check_stack_usage kernel/exit.c:711 [inline]
BUG: KASAN: out-of-bounds in do_exit+0x1c6b/0x23d0 kernel/exit.c:869
Read of size 8 at addr ffffc90017d60400 by task loop0/31717

CPU: 0 PID: 31717 Comm: loop0 Not tainted 5.13.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:79 [inline]
 dump_stack+0x202/0x31e lib/dump_stack.c:120
 print_address_description+0x5f/0x3b0 mm/kasan/report.c:233
 __kasan_report mm/kasan/report.c:419 [inline]
 kasan_report+0x15c/0x200 mm/kasan/report.c:436
 stack_not_used include/linux/sched/task_stack.h:101 [inline]
 check_stack_usage kernel/exit.c:711 [inline]
 do_exit+0x1c6b/0x23d0 kernel/exit.c:869
 kthread+0x3b8/0x3c0 kernel/kthread.c:315
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294


Memory state around the buggy address:
 ffffc90017d60300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffffc90017d60380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffffc90017d60400: 07 07 07 07 07 07 07 07 00 00 00 00 00 00 00 00
                   ^
 ffffc90017d60480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffffc90017d60500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
==================================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2021/06/19 21:25 upstream 9ed13a17e38e aba2b2fb .config log report info KASAN: out-of-bounds Read in do_exit
* Struck through repros no longer work on HEAD.