Re: [PATCH] sh: intc: sort the prio and sense lists after filling them

From: Karl Mehltretter

Date: Fri Oct 02 2026 - 17:58:27 EST


On Fri, Oct 02, 2026 at 06:57:19AM +0100, John Paul Adrian Glaubitz wrote:
> I just booted the kernel with slub_debug=FZPU on my SH-7785LCR EVB and
> I'm getting the following "kmalloc Redzone overwritten" warning in both
> cases.
>

Hi Adrian,

thanks for testing. A cold reboot is not needed. The reported object was
allocated by usb_get_configuration(), so this warning is unrelated to the
INTC patch.

I sent a fix for the USB R8A66597 bug and copied you:

https://lore.kernel.org/r/20261002213225.27834-1-kmehltretter@xxxxxxxxx/

> Are you sure your patch actually fixes this problem?
>
> Or do I maybe need a cold reboot?

A cold reboot is not needed.

The INTC allocation remains live after boot, so SLUB does not necessarily
check its redzone automatically. To check it explicitly after boot, run:

echo 1 > /sys/kernel/slab/kmalloc-32/validate

Could you please test once with only the USB patch and once with both
patches, using slub_debug=FZPU and running that command after each boot?

Thanks,
Karl