syzbot


KASAN: wild-memory-access Read in do_select

Status: moderation: reported on 2022/09/19 22:12
Reported-by: syzbot+6fa51f3129db55bb63c8@syzkaller.appspotmail.com
First crash: 83d, last: 83d

Sample crash report:
==================================================================
BUG: KASAN: wild-memory-access in do_select+0x6ee/0xeb4 fs/select.c:520
Read of size 8 at addr 2f8c1d029c594400 by task sshd/2016

CPU: 1 PID: 2016 Comm: sshd Not tainted 5.17.0-rc1-syzkaller-00002-g0966d385830d #0
Hardware name: riscv-virtio,qemu (DT)
Call Trace:
[<ffffffff8000a228>] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:113
[<ffffffff831668cc>] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:119
[<ffffffff831756ba>] __dump_stack lib/dump_stack.c:88 [inline]
[<ffffffff831756ba>] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:106
[<ffffffff80474da6>] __kasan_report mm/kasan/report.c:446 [inline]
[<ffffffff80474da6>] kasan_report+0x1de/0x1e0 mm/kasan/report.c:459
[<ffffffff80475b20>] check_region_inline mm/kasan/generic.c:183 [inline]
[<ffffffff80475b20>] __asan_load8+0x6e/0x96 mm/kasan/generic.c:256
[<ffffffff804f9ea4>] do_select+0x6ee/0xeb4 fs/select.c:520
[<ffffffff804fb57c>] core_sys_select+0x364/0x8c8 fs/select.c:681
==================================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-qemu2-riscv64 2022/09/15 21:56 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d dd9a85ff .config log report info KASAN: wild-memory-access Read in do_select
* Struck through repros no longer work on HEAD.