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

From: Alexander Potapenko
Date: Thu Dec 22 2022 - 13:12:24 EST


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)

>
> Thank you!
>