Re: [syzbot] KASAN: stack-out-of-bounds Read in profile_pc

From: Lee Jones
Date: Mon Oct 11 2021 - 09:07:22 EST


On Thu, 03 Jun 2021, Andi Kleen wrote:

>
> > True, ftrace does have function profiling (function_profile_enabled).
> >
> > Steve, is there a way to enable that on the kernel cmdline?
>
> That's not really comparable. function profiling has a lot more overhead.
> Also there is various code which has ftrace instrumentation disabled.
>
> I don't think why you want to kill the old profiler. It's rarely used, but
> when you need it usually works. It's always good to have simple fall backs.
> And it's not that it's a lot of difficult code.

sysbot is still sending out reports on this:

https://syzkaller.appspot.com/bug?id=00c965d957410afc0d40cac5343064e0a98b9ecd

Are you guys still planning on sending out a fix?

Is there anything I can do to help?

--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog