lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Tue, 14 Nov 2023 14:43:05 +0100
From:   Linus Walleij <>
To:     Antonio Borneo <>
Cc:     Maxime Coquelin <>,
        Alexandre Torgue <>,
        Rob Herring <>,
        Geert Uytterhoeven <>,
        Emil Renner Berthing <>,
        Valentin Caron <>,
        Dario Binacchi <>,
        Bernhard Rosenkränzer <>,,,,
Subject: Re: [PATCH] pinctrl: stm32: fix array read out of bound

On Tue, Nov 7, 2023 at 12:06 PM Antonio Borneo
<> 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 <>
> 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.

Linus Walleij

Powered by blists - more mailing lists