On Tue, Nov 7, 2023 at 12:06 PM Antonio Borneo <antonio.borneo@xxxxxxxxxxx> wrote: > The existing code does not verify if the "tentative" index exceeds > the size of the array, causing out of bound read. > Issue identified with kasan. > > Check the index before using it. > > Signed-off-by: Antonio Borneo <antonio.borneo@xxxxxxxxxxx> > Fixes: 32c170ff15b0 ("pinctrl: stm32: set default gpio line names using pin names") Patch applied for fixes. And now I feel better about that I spent so much time porting Kasan to ARM32. Yours, Linus Walleij