[PATCH v7 00/17] mm, dma, arm64: Reduce ARCH_KMALLOC_MINALIGN to 8

Isaac Manjarres isaacmanjarres at google.com
Tue Jul 11 12:44:03 PDT 2023


On Sat, Jul 8, 2023 at 6:03 AM Amit Pundir <amit.pundir at linaro.org> wrote:
> Hi Issac, I can't reproduce this crash if I have slub_debug enabled
> https://bugs.linaro.org/attachment.cgi?id=1149.
>
> But I can still reproduce the crash, with the same build, if I just
> remove the slub_debug bootarg
> https://bugs.linaro.org/attachment.cgi?id=1150
>

Hey Amit,

Thanks for trying this out. John Stultz and I tried this out as well, and we
couldn't reproduce the issue with slub_debug enabled either.

However, we were able to reproduce the issue you reported along with
KASAN enabled, which also helped us catch an out-of-bounds access
in the regmap-irq code. Once we fixed it, the memory corruption you
reported was also fixed. I've sent the patch [1] for review. Can you please
test it out and see if it works for you too?

[1]: https://lore.kernel.org/all/20230711193059.2480971-1-isaacmanjarres@google.com/

Thanks,
Isaac



More information about the linux-arm-kernel mailing list