Re: KASAN: null-ptr-deref Write in bdi_put

From: syzbot
Date: Mon Mar 01 2021 - 07:56:53 EST


syzbot suspects this issue was fixed by commit:

commit 2d2f6f1b4799428d160c021dd652bc3e3593945e
Author: Christoph Hellwig <hch@xxxxxx>
Date: Thu Jan 7 18:36:40 2021 +0000

block: pre-initialize struct block_device in bdev_alloc_inode

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1424a5b6d00000
start commit: 71c061d2 Merge tag 'for-5.11-rc2-tag' of git://git.kernel...
git tree: upstream
kernel config: https://syzkaller.appspot.com/x/.config?x=33b7f56c5bf0f684
dashboard link: https://syzkaller.appspot.com/bug?extid=aded2f2ab94d81727898
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=143f7fc0d00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1089023f500000

If the result looks correct, please mark the issue as fixed by replying with:

#syz fix: block: pre-initialize struct block_device in bdev_alloc_inode

For information about bisection process see: https://goo.gl/tpsmEJ#bisection