lists.openwall.net   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]
Message-ID: <CAMuHMdVoU3UNie4cqm-sD4bNpfiR2xFGZdrFpDA8X8KOf4B-rA@mail.gmail.com>
Date: Tue, 11 Feb 2025 08:38:27 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Chenyuan Yang <chenyuan0y@...il.com>
Cc: linus.walleij@...aro.org, richardcochran@...il.com, matthias.bgg@...il.com, 
	angelogioacchino.delregno@...labora.com, linux-renesas-soc@...r.kernel.org, 
	linux-gpio@...r.kernel.org, netdev@...r.kernel.org, 
	linux-kernel@...r.kernel.org, zzjas98@...il.com
Subject: Re: [PATCH] pinctrl: Fix potential NULL pointer dereference

On Tue, 11 Feb 2025 at 00:25, Chenyuan Yang <chenyuan0y@...il.com> wrote:
> The `chip.label` could be NULL. Add missing check in the
> rza2_gpio_register().
> This is similar to commit 3027e7b15b02
> ("ice: Fix some null pointer dereference issues in ice_ptp.c").
> Besides, mediatek_gpio_bank_probe() in drivers/gpio/gpio-mt7621.c also
> has a very similar check.
>
> Signed-off-by: Chenyuan Yang <chenyuan0y@...il.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@...der.be>
i.e. will queue in renesas-pinctrl for v6.15.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ