Re: KASAN: use-after-free Read in ext4_xattr_set_entry (2)

From: Theodore Y. Ts'o
Date: Sun Dec 15 2019 - 01:31:06 EST


On Sat, Dec 14, 2019 at 05:27:00PM -0800, syzbot wrote:
> syzbot has bisected this bug to:
>
> commit 8835cae5f2abd7f7a3143afe357f416aff5517a4
> Author: Chris Lapa <chris@xxxxxxxxxxx>
> Date: Wed Jan 11 01:44:47 2017 +0000
>
> power: supply: bq27xxx: adds specific support for bq27520-g4 revision.

This is pretty clearly nonsense. However let's try this fix:

#syz test: https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git master