[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdayD_47kvwDgS+7N01qsUT+DoNqz+jODb5g2uT74Byycw@mail.gmail.com>
Date: Tue, 12 Sep 2023 09:04:07 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Mikhail Kobuk <m.kobuk@...ras.ru>
Cc: Jonathan Neuschäfer <j.neuschaefer@....net>,
openbmc@...ts.ozlabs.org, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org, lvc-project@...uxtesting.org,
Alexey Khoroshilov <khoroshilov@...ras.ru>
Subject: Re: [PATCH] pinctrl: nuvoton: wpcm450: fix out of bounds write
On Fri, Aug 25, 2023 at 12:15 PM Mikhail Kobuk <m.kobuk@...ras.ru> wrote:
> Write into 'pctrl->gpio_bank' happens before the check for GPIO index
> validity, so out of bounds write may happen.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Fixes: a1d1e0e3d80a ("pinctrl: nuvoton: Add driver for WPCM450")
> Signed-off-by: Mikhail Kobuk <m.kobuk@...ras.ru>
> Reviewed-by: Alexey Khoroshilov <khoroshilov@...ras.ru>
Patch applied for fixes.
Yours,
Linus Walleij
Powered by blists - more mailing lists