Re: KASAN: slab-out-of-bounds Read in cgroup_file_notify

From: Tejun Heo
Date: Thu Mar 12 2020 - 14:28:33 EST


On Tue, Mar 10, 2020 at 08:55:14AM -0700, syzbot wrote:
> Hello,
>
> syzbot found the following crash on:
>
> HEAD commit: c99b17ac Add linux-next specific files for 20200225
> git tree: linux-next
> console output: https://syzkaller.appspot.com/x/log.txt?x=1610d70de00000
> kernel config: https://syzkaller.appspot.com/x/.config?x=6b7ebe4bd0931c45
> dashboard link: https://syzkaller.appspot.com/bug?extid=cac0c4e204952cf449b1
> compiler: gcc (GCC) 9.0.0 20181231 (experimental)
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1242e1fde00000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1110d70de00000
>
> The bug was bisected to:
>
> commit 6863de00e5400b534cd4e3869ffbc8f94da41dfc
> Author: Mina Almasry <almasrymina@xxxxxxxxxx>
> Date: Thu Feb 20 03:55:30 2020 +0000
>
> hugetlb_cgroup: add accounting for shared mappings

Mina, can you please take a look at this?

Thanks.

--
tejun