KASAN + CPU soft-hotplug = stack-out-of-bounds at cpuinfo_store_cpu

Dmitry Vyukov dvyukov at google.com
Fri Nov 12 22:49:39 PST 2021


On Sat, 13 Nov 2021 at 07:07, Qian Cai <quic_qiancai at quicinc.com> wrote:
>
> On Fri, Nov 12, 2021 at 11:50:19PM -0500, Qian Cai wrote:
> > FYI, running CPU soft-hotplug with KASAN on arm64 defconfig will
> > always trigger a stack-out-of-bounds below.
>
> Actually, KASAN is not enough to trigger. It needs some addition
> debugging options to reproduce. I'll narrow it down later. Anyway,
> this one will reproduce.
>
> http://lsbug.org/tmp/config-bad-14rc1.txt

This may be just a bad format string.
But I don't see kernel/printk/printk.c:2264 doing any printk on
next-20211110. What's up with line numbers?



More information about the linux-arm-kernel mailing list