Re: Syzkaller found a bug: KASAN: use-after-free Write in put_pmu_ctx

From: Peter Zijlstra
Date: Thu Dec 22 2022 - 15:20:21 EST


On Thu, Dec 22, 2022 at 07:11:38PM +0100, Alexander Potapenko wrote:
> On Thu, Dec 22, 2022 at 6:40 PM Sanan Hasanov
> <sanan.hasanov@xxxxxxxxxxxxxxx> wrote:
> >
> > Good day, dear maintainers,
>
> Hi Sanan,
>
> > Config file: https://drive.google.com/file/d/1JutR21cgcf28flJVyLqDniNyrExMsSn_/view?usp=sharing
> >
> > Reproducer file: https://drive.google.com/file/d/1X31x8w4ULrtP_YnkD7_RCyW7FlwGewMR/view?usp=sharing
>
> Any chance you can build with debug info enabled (CONFIG_DEBUG_INFO=y)?
> Then you'll be able to generate file:line information for the report
> (probably your syzkaller instance will do that for you, otherwise you
> can always use scripts/decode_stacktrace.sh)

Ok use Google before posting....

https://lkml.kernel.org/r/000000000000a20a2e05f029c577@xxxxxxxxxx