syzbot


KASAN: slab-out-of-bounds Write in mpol_parse_str
Status: fixed on 2020/02/18 14:31
Reported-by: syzbot+e64a13c5369a194d67df@syzkaller.appspotmail.com
Fix commit: c7a91bc7 mm/mempolicy.c: fix out of bounds write in mpol_parse_str()
First crash: 41d, last: 41d

Cause bisection: introduced by (bisect log):

commit 626c3920aeb4575f53c96b0d4ad4e651a21cbb66
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Mon Sep 9 00:28:06 2019 +0000

  shmem_parse_one(): switch to use of fs_parse()

Crash: KASAN: slab-out-of-bounds Write in mpol_parse_str (log)
Repro: C syz .config

Sample crash report:

Crashes (3):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro Maintainers
ci-upstream-kasan-gce-root 2020/01/11 08:07 upstream e69ec487 4de4e9f0 .config log report syz C akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org
ci-upstream-kasan-gce-selinux-root 2020/01/11 02:42 upstream e69ec487 4de4e9f0 .config log report syz C akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org
ci-upstream-kasan-gce-selinux-root 2020/01/11 02:21 upstream e69ec487 4de4e9f0 .config log report akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org