Re: [PATCH v2] mm: kfence: fix objcgs vector allocation
From: Marco Elver
Date: Mon Mar 28 2022 - 14:58:15 EST
On Mon, 28 Mar 2022 at 17:54, Muchun Song <songmuchun@xxxxxxxxxxxxx> wrote:
[...]
> > >
> > > Btw, how did you test this?
> > >
>
> I have tested it with syzkaller with the following configs.
> And I didn't find any issues.
>
> CONFIG_KFENCE=y
> CONFIG_KFENCE_SAMPLE_INTERVAL=10
> CONFIG_KFENCE_NUM_OBJECTS=2550
> CONFIG_KFENCE_DEFERRABLE=n
> CONFIG_KFENCE_STATIC_KEYS=y
> CONFIG_KFENCE_STRESS_TEST_FAULTS=0
Hmm, I would have expected that you have some definitive test case
that shows the issue, and with the patch the issue is gone. Were there
issues triggered by syzkaller w/o this patch?
Thanks,
-- Marco