syzbot


KASAN: slab-out-of-bounds Read in btrfs_scan_one_device
Status: fixed on 2021/03/10 01:48
Reported-by: syzbot+c4b1e5278d93269fd69c@syzkaller.appspotmail.com
Fix commit: 0697d9a61099 btrfs: don't access possibly stale fs_info data for printing duplicate device
First crash: 397d, last: 397d

Cause bisection: introduced by (bisect log) :
commit 3831bf0094abed51e71cbeca8b6edf8b88c2644b
Author: Johannes Thumshirn <jthumshirn@suse.de>
Date: Mon Oct 7 09:11:02 2019 +0000

  btrfs: add sha256 to checksumming algorithm

Crash: KASAN: use-after-free Read in btrfs_scan_one_device (log)
Repro: C syz .config

Fix bisection: fixed by (bisect log) :
commit 0697d9a610998b8bdee6b2390836cb2391d8fd1a
Author: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Date: Wed Nov 18 09:03:26 2020 +0000

  btrfs: don't access possibly stale fs_info data for printing duplicate device


Sample crash report:

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2020/11/06 09:17 upstream 521b619acdc8 64069d48 .config log report syz C