syzbot


KASAN: use-after-free Read in delete_partition
Status: upstream: reported C repro on 2020/09/05 01:39
Reported-by: syzbot+b8639c8dcb5ec4483d4f@syzkaller.appspotmail.com
First crash: 28d, last: 27d

Cause bisection: introduced by (bisect log):

commit cddae808aeb77e5c29d22a8e0dfbdaed413f9e04
Author: Christoph Hellwig <hch@lst.de>
Date: Tue Apr 14 07:28:54 2020 +0000

  block: pass a hd_struct to delete_partition

Crash: KASAN: use-after-free Read in delete_partition (log)
Repro: C syz .config
Patch testing requests:
Created Duration User Patch Repo Result
2020/09/06 18:30 17m dragonjetli@gmail.com patch linux-next OK
2020/09/06 15:33 17m dragonjetli@gmail.com linux-next report log
2020/09/06 15:04 17m anant.thazhemadam@gmail.com https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master OK
2020/09/06 06:28 17m anant.thazhemadam@gmail.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master OK
2020/09/06 04:35 17m anant.thazhemadam@gmail.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master OK

Sample crash report:

Crashes (3):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Maintainers
ci-upstream-kasan-gce-selinux-root 2020/09/01 02:18 upstream f75aef39 d5a3ae1f .config log report syz C axboe@kernel.dk, johannes.thumshirn@wdc.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org
ci-upstream-linux-next-kasan-gce-root 2020/09/01 13:31 linux-next b36c9697 d5a3ae1f .config log report syz C axboe@kernel.dk, johannes.thumshirn@wdc.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org
ci-upstream-kasan-gce-root 2020/09/01 01:29 upstream f75aef39 d5a3ae1f .config log report syz axboe@kernel.dk, johannes.thumshirn@wdc.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org